1 2019-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3 * include/spawn.h (__posix_spawn_file_actions_addopen): New
5 * posix/spawn_faction_addopen.c (posix_spawn_file_actions_addopen):
7 * posix/wordexp.c (create_environment, free_environment): New
9 (exec_comm_child, exec_comm): Use posix_spawn instead of fork+exec.
10 * posix/wordexp-test.c: Use libsupport.
12 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13 Add small optimization for older kernel to avoid issuing
14 __NR_getdents64 on each call and replace scratch_buffer usage with
15 a static allocated buffer.
17 2019-10-09 Florian Weimer <fweimer@redhat.com>
19 * config.h.in (HAVE_GCC_GOTDATA): Remove.
20 * sysdeps/sparc/configure.ac: Remove checks for HAVE_GCC_GOTDATA
21 and PI_STATIC_AND_HIDDEN. Always define PI_STATIC_AND_HIDDEN.
22 * sysdeps/sparc/configure: Regenerate.
24 2019-10-09 Petr Vorel <pvorel@suse.cz>
26 * include/dirent.h (__getdents64): Update comment.
28 2019-10-08 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
30 * Makefile: Fix locale dependency for a couple of tests.
31 ($(objpfx)tst-strftime2.out): New rule.
32 ($(objpfx)tst-strftime3.out): Likewise.
34 2019-10-08 Florian Weimer <fweimer@redhat.com>
36 * posix/tst-wordexp-nocmd.c (do_test): Fix diagnostics output.
38 2019-10-08 Florian Weimer <fweimer@redhat.com>
40 * posix/Makefile (tests): Add tst-wordexp-nocmd.
41 * posix/wordexp-test.c (__app_register_atfork): Remove function.
42 (registered_forks): Remove variable.
43 (register_fork): Remove function.
44 (test_case): Remove WRDE_NOCMD tests.
45 (main): Do not set up fork tracking. Remove integer overflow in
47 (testit): Do not check for unexpected forks.
48 * posix/tst-wordexp-nocmd.c: New file containing the tests removed
49 from posix/wordexp-test.c.
51 2019-10-07 Florian Weimer <fweimer@redhat.com>
53 nptl: Move pthread_attr_setschedparam implementation into libc.
54 * nptl/Makefile (routines): Add pthread_attr_setschedparam.
55 (libpthread-routines): Remove pthread_attr_setschedparam.
56 * nptl/Versions (libpthread GLIBC_2.0): Remove
57 pthread_attr_setschedparam.
58 * nptl/forward.c (pthread_attr_setschedparam): Remove definition.
59 * nptl/nptl-init.c (pthread_functions): Remove initializer for
60 ptr_pthread_attr_setschedparam.
61 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
62 Remove ptr_pthread_attr_setschedparam member.
63 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
64 Remove pthread_attr_setschedparam.
65 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
67 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
69 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
71 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
73 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
75 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
77 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
79 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
80 (GLIBC_2.4): Likewise.
81 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
82 (GLIBC_2.0): Likewise.
83 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
84 (GLIBC_2.18): Likewise.
85 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
86 (GLIBC_2.18): Likewise.
87 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
88 (GLIBC_2.0): Likewise.
89 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
90 (GLIBC_2.0): Likewise.
91 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
93 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
94 (GLIBC_2.0): Likewise.
95 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
96 (GLIBC_2.3): Likewise.
97 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
98 (GLIBC_2.17): Likewise.
99 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
100 (GLIBC_2.27): Likewise.
101 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
102 (GLIBC_2.0): Likewise.
103 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
104 (GLIBC_2.2): Likewise.
105 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
107 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
109 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
110 (GLIBC_2.0): Likewise.
111 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
112 (GLIBC_2.2): Likewise.
113 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
114 (GLIBC_2.2.5): Likewise.
115 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
116 (GLIBC_2.16): Likewise.
118 2019-10-07 Florian Weimer <fweimer@redhat.com>
120 riscv: Remove support for variable page sizes.
121 * sysdeps/unix/sysv/linux/riscv/Makefile [$(subdir) == elf]
122 (sysdep_routines): Do not add dl-static.
123 * sysdeps/unix/sysv/linux/riscv/dl-static.c: Remove file.
124 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
126 2019-10-07 Florian Weimer <fweimer@redhat.com>
128 nptl: Move pthread_attr_getschedparam implementation into libc.
129 * nptl/Makefile (routines): Add pthread_attr_getschedparam.
130 (libpthread-routines): Remove pthread_attr_getschedparam.
131 * nptl/Versions (libpthread GLIBC_2.0): Remove
132 pthread_attr_getschedparam.
133 * nptl/forward.c (pthread_attr_getschedparam): Remove definition.
134 * nptl/nptl-init.c (pthread_functions): Remove initializer for
135 ptr_pthread_attr_getschedparam.
136 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
137 Remove ptr_pthread_attr_getschedparam member.
138 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
139 Remove pthread_attr_getschedparam.
140 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
142 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
144 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
146 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
148 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
150 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
152 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
154 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
155 (GLIBC_2.4): Likewise.
156 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
157 (GLIBC_2.0): Likewise.
158 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
159 (GLIBC_2.18): Likewise.
160 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
161 (GLIBC_2.18): Likewise.
162 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
163 (GLIBC_2.0): Likewise.
164 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
165 (GLIBC_2.0): Likewise.
166 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
169 (GLIBC_2.0): Likewise.
170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
171 (GLIBC_2.3): Likewise.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
173 (GLIBC_2.17): Likewise.
174 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
175 (GLIBC_2.27): Likewise.
176 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
177 (GLIBC_2.0): Likewise.
178 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
179 (GLIBC_2.2): Likewise.
180 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
182 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
184 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
185 (GLIBC_2.0): Likewise.
186 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
187 (GLIBC_2.2): Likewise.
188 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
189 (GLIBC_2.2.5): Likewise.
190 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
191 (GLIBC_2.16): Likewise.
193 2019-10-04 Florian Weimer <fweimer@redhat.com>
196 * elf/dl-load.c (_dl_map_object_from_fd): Only assign TLS modid if
197 the link map will be returned to the caller.
198 * elf/Makefile [$(have-fpie) && $(build-shared)] (tests, tests-pie):
199 Add tst-dlopen-aout-pie.
200 (tst-tst-dlopen-aout-no-pie): Set.
201 (CFLAGS-tst-dlopen-aout-pie.c): Build with -fpie.
202 (tst-dlopen-aout-pie): Link with -ldl -lpthread.
203 * elf/tst-dlopen-aout-pie.c: New file.
205 2019-10-04 Florian Weimer <fweimer@redhat.com>
208 * elf/dl-load.c (_dl_map_object_from_fd): Do not use the file ID
209 when loading the executable as part of an explicit loader
212 2019-10-04 Florian Weimer <fweimer@redhat.com>
214 nptl: Move pthread_attr_setinheritsched implementation into libc.
215 * nptl/Makefile (routines): Add pthread_attr_setinheritsched.
216 (libpthread-routines): Remove pthread_attr_setinheritsched.
217 * nptl/Versions (libpthread GLIBC_2.0): Remove
218 pthread_attr_setinheritsched.
219 * nptl/forward.c (pthread_attr_setinheritsched): Remove definition.
220 * nptl/nptl-init.c (pthread_functions): Remove initializer for
221 ptr_pthread_attr_setinheritsched.
222 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
223 Remove ptr_pthread_attr_setinheritsched member.
224 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
225 Remove pthread_attr_setinheritsched.
226 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
228 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
230 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
232 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
234 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
236 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
238 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
240 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
241 (GLIBC_2.4): Likewise.
242 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
243 (GLIBC_2.0): Likewise.
244 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
245 (GLIBC_2.18): Likewise.
246 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
247 (GLIBC_2.18): Likewise.
248 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
249 (GLIBC_2.0): Likewise.
250 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
251 (GLIBC_2.0): Likewise.
252 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
255 (GLIBC_2.0): Likewise.
256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
257 (GLIBC_2.3): Likewise.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
259 (GLIBC_2.17): Likewise.
260 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
261 (GLIBC_2.27): Likewise.
262 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
263 (GLIBC_2.0): Likewise.
264 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
265 (GLIBC_2.2): Likewise.
266 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
268 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
270 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
271 (GLIBC_2.0): Likewise.
272 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
273 (GLIBC_2.2): Likewise.
274 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
275 (GLIBC_2.2.5): Likewise.
276 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
277 (GLIBC_2.16): Likewise.
279 2019-10-02 Joseph Myers <joseph@codesourcery.com>
281 * sunrpc/clnt_udp.c: Include <libc-diag.h>.
282 (clntudp_call): Disable -Wmaybe-uninitialized around declaration
285 2019-10-02 Alistair Francis <alistair.francis@wdc.com>
287 * string/endian.h: Restore the __USE_MISC conditionals.
289 2019-10-02 Joseph Myers <joseph@codesourcery.com>
291 * string/tester.c: Ignore -Warray-bounds and
292 -Wmemset-transposed-args at top level.
293 [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict and -Wstringop-overflow=
295 [__GNUC_PREREQ (8, 0)]: Ignore -Wstringop-truncation at top level.
296 (test_stpncpy): Do not ignore warnings here.
297 (test_strncat): Likewise.
298 (test_strncpy): Likewise.
299 (test_memset): Likewise.
301 2019-10-02 Łukasz Majewski <lukma@denx.de>
302 * include/time.h: Add #include <bits/types/struct_timeval.h>
304 2019-10-02 Paul A. Clarke <pc@us.ibm.com>
306 * sysdeps/powerpc/fpu/fenv_private.h:
307 (__TEST_AND_BEGIN_NON_STOP): New.
308 (__TEST_AND_END_NON_STOP): New.
309 (libc_feholdexcept_setround_ppc): Use __TEST_AND_BEGIN_NON_STOP.
310 (__libc_femergeenv_ppc): Use __TEST_AND_BEGIN_NON_STOP and
311 __TEST_AND_END_NON_STOP.
312 (libc_feholdsetround_noex_ppc_ctx): Use __TEST_AND_END_NON_STOP.
314 2019-10-02 Arjun Shankar <arjun@redhat.com>
316 debugglibc.sh: Implement program arguments
317 * Makefile (debugglibc): Change variable definition.
319 2019-10-01 Alistair Francis <alistair.francis@wdc.com>
321 * time/bits/types/struct_timespec.h: Add padding for the timespec if
324 2019-10-01 Zack Weinberg <zackw@panix.com>
325 Alistair Francis <alistair.francis@wdc.com>
327 * string/endian.h: Unconditionally define LITTLE_ENDIAN,
328 BIG_ENDIAN, PDP_ENDIAN, and BYTE_ORDER. Condition byteswapping
329 macros only on !__ASSEMBLER__. Move the definitions of
330 __BIG_ENDIAN, __LITTLE_ENDIAN, __PDP_ENDIAN, __FLOAT_WORD_ORDER,
331 and __LONG_LONG_PAIR to...
332 * string/bits/endian.h: ...this new file, which includes
333 the renamed header bits/endianness.h for the definition of
334 __BYTE_ORDER and possibly __FLOAT_WORD_ORDER.
336 * string/Makefile: Install bits/endianness.h.
337 * include/bits/endian.h: New wrapper.
339 * bits/endian.h: Rename to bits/endianness.h.
340 Add multiple-include guard. Rewrite the comment explaining what
341 the machine-specific variants of this file should do.
343 * sysdeps/unix/sysv/linux/ia64/bits/endian.h:
344 Move to sysdeps/ia64.
346 * sysdeps/aarch64/bits/endian.h
347 * sysdeps/alpha/bits/endian.h
348 * sysdeps/arm/bits/endian.h
349 * sysdeps/csky/bits/endian.h
350 * sysdeps/hppa/bits/endian.h
351 * sysdeps/ia64/bits/endian.h
352 * sysdeps/m68k/bits/endian.h
353 * sysdeps/microblaze/bits/endian.h
354 * sysdeps/mips/bits/endian.h
355 * sysdeps/nios2/bits/endian.h
356 * sysdeps/powerpc/bits/endian.h
357 * sysdeps/riscv/bits/endian.h
358 * sysdeps/s390/bits/endian.h
359 * sysdeps/sh/bits/endian.h
360 * sysdeps/sparc/bits/endian.h
361 * sysdeps/x86/bits/endian.h:
362 Rename to endianness.h; canonicalize form of file; remove
363 redundant definitions of __FLOAT_WORD_ORDER.
365 * sysdeps/powerpc/bits/endianness.h: Remove logic to check for
369 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
370 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
371 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h
372 * sysdeps/ia64/ieee754.h
373 * sysdeps/ieee754/ieee754.h
374 * sysdeps/ieee754/ldbl-128/ieee754.h
375 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
376 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
377 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
378 * sysdeps/mips/ieee754/ieee754.h
379 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
380 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
381 * sysdeps/nptl/pthread.h
382 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h
383 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
384 * sysdeps/sparc/sparc32/ieee754.h
385 * sysdeps/unix/sysv/linux/generic/bits/stat.h
386 * sysdeps/unix/sysv/linux/generic/bits/statfs.h
387 * sysdeps/unix/sysv/linux/sys/acct.h
388 * wctype/bits/wctype-wchar.h:
389 Include bits/endian.h, not endian.h.
391 * sysdeps/unix/sysv/linux/hppa/pthread.h: Don’t include endian.h.
393 * sysdeps/mips/ieee754/ieee754.h: Use __LDBL_MANT_DIG__
394 in ifdefs, instead of LDBL_MANT_DIG. Only include float.h
395 when __LDBL_MANT_DIG__ is not predefined, in which case
396 define __LDBL_MANT_DIG__ to equal LDBL_MANT_DIG.
398 2019-09-17 Mike FABIAN <mfabian@redhat.com>
400 * localedata/locales/az_AZ: Make lang_name agree with CLDR
401 * localedata/locales/be_BY@latin: Make lang_name agree with langtable
402 * localedata/locales/ber_DZ: Make language, country_name, lang_name agree with langtable
403 * localedata/locales/ber_MA: Add country_name from langtable, make language, lang_name agree with langtable
404 * localedata/locales/bhb_IN: Add country_name from langtable, make lang_name agree with langtable
405 * localedata/locales/bho_IN: Add country_name from langtable
406 * localedata/locales/chr_US: Make country_name agree with CLDR
407 * localedata/locales/crh_UA: Make lang_name agree with langtable
408 * localedata/locales/csb_PL: Add country_name from langtable
409 * localedata/locales/doi_IN: Add country_name from langtable
410 * localedata/locales/dv_MV: Add country_name from langtable
411 * localedata/locales/eo: Fix capitalisation of lang_name, agree with CLDR
412 * localedata/locales/hak_TW: Make lang_name agree with langtable
413 * localedata/locales/hif_FJ: Make lang_name agree with langtable
414 * localedata/locales/hne_IN: Add country_name from langtable
415 * localedata/locales/ia_FR: Fix capitalisation of lang_name, agree with CLDR
416 * localedata/locales/id_ID: Make lang_name agree with CLDR
417 * localedata/locales/ig_NG: Make country_name, lang_name agree with CLDR
418 * localedata/locales/kab_DZ: Make country_name agree with CLDR
419 * localedata/locales/ks_IN: Make country_name agree with CLDR
420 * localedata/locales/ku_TR: Make country_name, lang_name agree with CLDR
421 * localedata/locales/mag_IN: Add country_name from langtable
422 * localedata/locales/mfe_MU: Make country_name agree with CLDR
423 * localedata/locales/mhr_RU: Add lang_name from langtable
424 * localedata/locales/mi_NZ: Make lang_name agree with CLDR
425 * localedata/locales/ms_MY: Make lang_name agree with CLDR
426 * localedata/locales/nan_TW: Make lang_name agree with langtable
427 * localedata/locales/nan_TW@latin: Make lang_name agree with langtable
428 * localedata/locales/nds_DE: Make lang_name agree with langtable
429 * localedata/locales/nds_NL: Make lang_name agree with langtable
430 * localedata/locales/nhn_MX: Add country_name from langtable, make lang_name agree with langtable
431 * localedata/locales/niu_NU: Add country_name, lang_name from langtable
432 * localedata/locales/niu_NZ: Add lang_name from langtable
433 * localedata/locales/nr_ZA: Fix capitalisation of lang_name from langtable
434 * localedata/locales/oc_FR: Fix capitalisation of lang_name from langtable
435 * localedata/locales/or_IN: Fix spelling of language from langtable
436 * localedata/locales/pa_PK: Make country_name agree with CLDR
437 * localedata/locales/ps_AF: Make country_name agree with CLDR
438 * localedata/locales/quz_PE: Make language, lang_name agree with langtable
439 * localedata/locales/raj_IN: Make country_name, lang_name agree with langtable
440 * localedata/locales/rw_RW: Make country_name agree with CLDR
441 * localedata/locales/sah_RU: Make langauge, country_name, lang_name agree with CLDR
442 * localedata/locales/sat_IN: Make country_name, lang_name agree with langtable
443 * localedata/locales/sc_IT: Fix capitalisaton of lang_name according to langtable
444 * localedata/locales/sd_IN: Make country_name, lang_name agree with CLDR
445 * localedata/locales/sd_IN@devanagari: Make lang_name agree with langtable
446 * localedata/locales/shn_MM: Make country_name agree with langtable
447 * localedata/locales/shs_CA: Make language, lang_name agree with langtable
448 * localedata/locales/sm_WS: Make country_name agree with langtable
449 * localedata/locales/ss_ZA: Fix capitalisation of lang_name from langtable
450 * localedata/locales/szl_PL: Add country_name from langtable
451 * localedata/locales/te_IN: Fix country_name from CLDR
452 * localedata/locales/tg_TJ: Add lang_name from CLDR
453 * localedata/locales/the_NP: Add country_name, lang_name from langtable
454 * localedata/locales/tk_TM: Make lang_name agree with CLDR
455 * localedata/locales/tl_PH: Add lang_name from langtable
456 * localedata/locales/to_TO: Make lang_name agree with CLDR
457 * localedata/locales/tpi_PG: Make country_name, lang_name agree with langtable
458 * localedata/locales/tt_RU@iqtelif: Add country_name, lang_name from langtable
459 * localedata/locales/ug_CN: Add lang_name from CLDR
460 * localedata/locales/unm_US: Add lang_name from langtable
461 * localedata/locales/wa_BE: Fix capitalisation of lang_name from langtable
462 * localedata/locales/wo_SN: Add lang_name from CLDR
463 * localedata/locales/xh_ZA: Fix capitalisation of country_name, lang_name from CLDR
464 * localedata/locales/yo_NG: Make country_name agree with CLDR
465 * localedata/locales/yuw_PG: Make langauge, lang_name agree with langtable
466 * localedata/locales/zh_HK: Add lang_name from langtable
467 * localedata/locales/zh_SG: Add lang_name from langtable
469 2019-09-30 Joseph Myers <joseph@codesourcery.com>
471 * scripts/build-many-glibcs.py (Context.checkout): Default
472 binutils version to 2.33 branch.
474 2019-10-01 Lukasz Majewski <lukma@denx.de>
476 * include/time.h (valid_timeval_to_timespec64): Add.
477 * include/time.h (valid_timespec_to_timespec64): Likewise.
478 * include/time.h (valid_timespec64_to_timespec): Likewise.
479 * include/time.h (valid_timespec64_to_timeval): Likewise.
481 2019-09-30 Joseph Myers <joseph@codesourcery.com>
483 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
484 (MAP_SYNC): New macro.
485 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
486 (MAP_SYNC): Likewise.
487 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
488 kernel version number to 5.3.
490 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
492 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): Rename to
494 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
495 rename of fesetenv_mode to fegetenv_control.
496 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
497 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
498 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Likewise.
499 (libc_feholdsetround_noex_ppc_ctx): Likewise.
501 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
503 * sysdeps/powerpc/fpu/fenv_private.h
504 (libc_feholdsetround_noex_ppc_ctx): Call fesetenv_mode instead
505 of fesetenv_register.
507 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
509 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status): Rename to
511 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
512 rename of fegetenv_status to fegetenv_control.
513 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
514 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
515 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Likewise.
516 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
517 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
519 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
521 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline): Use
522 'mffscrn' instruction on POWER9.
523 (__fesetround_inline_nocheck): Likewise.
525 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
527 * sysdeps/powerpc/fpu/fenv_libc.h (FPSCR_EXCEPTIONS_MASK): New.
528 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Optimize
529 to write FPSCR control only, if exceptions have not changed.
531 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
533 * sysdeps/powerpc/fpu/fenv_libc.h:
534 (__TEST_AND_ENTER_NON_STOP): New.
535 (__TEST_AND_EXIT_NON_STOP): New.
536 * sysdeps/powerpc/fpu/fenv_private.h
537 (_FPU_ALL_TRAPS): Delete, replace with FPSCR_ENABLES_MASK.
538 (_FPU_MASK_RN): Delete.
539 (_FPU_MASK_NOT_RN_NI): Delete.
540 (_FPU_MASK_TRAPS_RN): Delete, replace with ~FPSCR_CONTROL_MASK.
541 (_FPU_MASK_FRAC_INEX_RET_CC): Delete, replace with ~FPSCR_STATUS_MASK.
542 (__libc_feholdbits_ppc): Delete, move code into
543 libc_feholdexcept_setround_ppc.
544 (libc_feholdexcept_ppc): Delete.
545 (libc_fesetround_ppc): Delete.
546 (libc_fetestexcept_ppc): Delete.
547 (libc_feholdsetround_ppc): Delete.
548 (__libc_femergeenv_ppc): Use __TEST_AND_ENTER/EXIT_NON_STOP.
549 (libc_feholdsetround_noex_ppc_ctx): Likewise.
550 (libc_feupdateenv_test_ppc): Use FPSCR defines.
551 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
552 __TEST_AND_ENTER_NON_STOP.
553 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
554 * sysdeps/powerpc/fpu/feholdexcpt.c (__feholdexcept): Likewise.
555 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
556 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
557 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
558 (_FPU_MASK_ALL): Delete.
560 2019-09-27 Joseph Myers <joseph@codesourcery.com>
562 * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
564 2019-09-26 Lukasz Majewski <lukma@denx.de>
566 * include/time.h: Add struct __timespec64 definition
568 2019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
570 * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
573 2019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
575 * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
576 * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
578 * sysdeps/unix/sysv/linux/Makefile
579 (CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
580 CFLAGS-tst-sigcontext-get_pc.c.
582 2019-09-24 Alistair Francis <alistair.francis@wdc.com>
584 * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
586 2019-09-24 Andreas Schwab <schwab@suse.de>
588 * sysdeps/unix/sysv/linux/arm/sysdep.h
589 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
590 not "__vdso_gettimeofday".
591 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
592 "__vdso_clock_gettime".
593 * sysdeps/unix/sysv/linux/mips/sysdep.h
594 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
595 not "__vdso_gettimeofday".
596 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
597 "__vdso_clock_gettime".
599 2019-09-19 Paul A. Clarke <pc@us.ibm.com>
601 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
603 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
604 Do not clear enable bits, remove obsolete code, use
606 (libc_feresetround_ppc): Remove obsolete code, use
609 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
611 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
613 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
615 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
616 (_HP_TIMING_S390_H): Define.
618 2019-09-18 Joseph Myers <joseph@codesourcery.com>
620 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
622 (clone3): New syscall.
623 (pidfd_open): Likewise.
625 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
628 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
630 * sysdeps/s390/hp-timing.h: New file.
632 2019-09-18 Joseph Myers <joseph@codesourcery.com>
634 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
636 (CLONE_VM): New macro.
637 (CLONE_VFORK): Likewise.
639 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
641 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
642 Rearrange subprocesses.
643 (pldd_process): New function.
644 * support/Makefile (libsupport-routines): Add support_ptrace.
645 * support/xptrace.h: New file.
646 * support/support_ptrace.c: Likewise.
648 2019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
650 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
652 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
653 (INTERNAL_VSYSCALL_CALL): Remove.
654 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
655 (INTERNAL_VSYSCALL_CALL): Likewise.
656 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
657 (INTERNAL_VSYSCALL_CALL): Likewise.
658 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
661 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
663 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
664 (__get_timebase_freq): Remove use of
665 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
666 (get_timebase_freq_fallback): New symbol.
667 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
668 HAVE_GETTIMEOFDAY_VSYSCALL.
669 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
671 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
674 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
676 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
677 * .../sysv/linux/powerpc/powerpc64/sysdep.h
678 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
679 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
680 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
682 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
683 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
684 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
686 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
687 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
688 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
689 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
690 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
691 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
692 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
693 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
694 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
695 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
696 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
697 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
698 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
699 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
700 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
702 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
703 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
705 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
706 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
707 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
708 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
709 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
710 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
711 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
712 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
713 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
714 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
715 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
716 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
717 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
718 HAVE_GETCPU_VSYSCALL): Likewise.
719 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
720 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
721 HAVE_GETCPU_VSYSCALL): Likewise.
722 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
723 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
725 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
726 HAVE_GETCPU_VSYSCALL): Likewise.
727 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
728 invalid names if architecture does not define them.
729 (get_vdso_mangle_symbol): New symbol.
730 * sysdeps/unix/sysv/linux/init-first.c: New file.
731 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
732 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
733 clock_gettime, clock_getres, getcpu, time): Remove declaration.
734 (__libc_vdso_platform_setup_arch): Likewise and use
735 get_vdso_mangle_symbol to setup vDSO symbols.
736 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
738 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
739 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
742 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
743 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
744 Use get_vdso_symbol instead of _dl_vdso_vsym.
745 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
746 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
747 (__lookup_riscv_flush_icache): Likewise.
748 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
750 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
751 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
752 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
753 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
754 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
755 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
756 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
757 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
758 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
759 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
760 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
761 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
763 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
765 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
767 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
769 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
773 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
774 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
776 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
777 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
778 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
779 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
781 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
783 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
784 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
785 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
786 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
787 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
788 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
789 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
790 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
791 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
792 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
793 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
794 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
795 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
796 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
797 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
798 (get_vdso_symbol): New function.
800 2019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
802 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
803 position of string null termination.
805 2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
808 * sysdeps/unix/alpha/getegid.S: Move to ...
809 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
810 * sysdeps/unix/alpha/geteuid.S: Move to ...
811 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
812 * sysdeps/unix/alpha/getppid.S: Move to ...
813 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
815 2019-09-09 Paul Eggert <eggert@cs.ucla.edu>
817 Fix http: URL in 'configure'
818 * configure.ac: Add URL to AC_INIT so that it generates an
819 https: URL instead of an http: URL.
820 * configure: Regenerate.
822 Regenerate charmap-kw.h, locfile-kw.h
823 This propagates the recent http->https URL changes.
824 Since I used gperf 3.1 to regenerate, this is also a minor
825 internal-to-localedef API change.
826 URL problem reported by Joseph Myers in:
827 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
828 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
829 Regenerate with gperf 3.1.
830 * locale/programs/linereader.h (kw_hash_fct_t):
831 * locale/programs/repertoire.c (repertoiremap_hash):
832 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
834 2019-09-05 Florian Weimer <fweimer@redhat.com>
837 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
838 (_nl_category_names_get): New function.
839 * intl/dcigettext.c (category_to_name): Call it.
840 * locale/findlocale.c (_nl_find_locale): Likewise.
841 * intl/loadlocale.c (_nl_load_locale): Likewise.
842 * locale/newlocale.c (__newlocale): Likewise.
843 * locale/setlocale.c (_nl_category_names): Adjust definition.
844 (_nl_category_name_idxs): Likewise.
845 (new_composite_name): Call _nl_category_names_get.
846 (setlocale): Likewise.
848 2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
850 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
851 const attribute with pure attribute.
853 2019-09-04 Lukasz Majewski <lukma@denx.de>
855 * sysdeps/unix/sysv/linux/kernel-features.h
856 (__ASSUME_TIME64_SYSCALLS): New macro.
858 2019-09-04 Zack Weinberg <zackw@panix.com>
861 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
862 * rt/clock_getres.c: Move to time/clock_getres.c.
863 * rt/clock_gettime.c: Move to time/clock_gettime.c.
864 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
865 * rt/clock_settime.c: Move to time/clock_settime.c.
866 * rt/tst-clock.c: Move to time/tst-clock.c.
867 * rt/tst-clock2.c: Move to time/tst-clock2.c.
868 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
869 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
870 * rt/clock-compat.c: Delete file.
872 * time/clock_getcpuclockid.c
873 * time/clock_getres.c
874 * time/clock_gettime.c
875 * time/clock_nanosleep.c
876 * time/clock_settime.c
877 * sysdeps/posix/clock_getres.c
878 * sysdeps/unix/clock_gettime.c
879 * sysdeps/unix/clock_nanosleep.c
880 * sysdeps/unix/clock_settime.c
881 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
882 * sysdeps/unix/sysv/linux/clock_getres.c
883 * sysdeps/unix/sysv/linux/clock_gettime.c
884 * sysdeps/unix/sysv/linux/clock_nanosleep.c
885 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
886 defined by this file with default symbol version GLIBC_2_17,
887 and optionally a compatibility alias at symbol version GLIBC_2_2.
888 * include/time.h: Remove internal prototypes for clock_getres,
889 clock_nanosleep, and clock_getcpuclockid.
891 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
892 Remove unused function realtime_gettime.
894 * rt/Makefile (clock-routines, routines): Remove variable.
895 (librt-routines): Remove clock-compat.
896 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
898 * time/Makefile (routines): Add clock_getres, clock_gettime,
899 clock_settime, clock_getcpuclockid, and clock_nanosleep.
900 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
903 * rt/Versions (libc): Remove entire stanza.
904 (librt GLIBC_2.2): Remove all clock_* functions.
905 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
906 Add clock_getres, clock_gettime, clock_settime,
907 clock_getcpuclockid, and clock_nanosleep.
908 (libc GLIBC_PRIVATE): Add __clock_gettime.
910 * sysdeps/mach/hurd/i386/librt.abilist
911 * sysdeps/unix/sysv/linux/alpha/librt.abilist
912 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
913 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
914 * sysdeps/unix/sysv/linux/hppa/librt.abilist
915 * sysdeps/unix/sysv/linux/i386/librt.abilist
916 * sysdeps/unix/sysv/linux/ia64/librt.abilist
917 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
918 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
919 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
920 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
921 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
922 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
925 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
926 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
927 * sysdeps/unix/sysv/linux/sh/librt.abilist
928 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
929 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
930 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
931 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
932 Remove entries for clock_getres, clock_gettime, clock_settime,
933 clock_getcpuclockid, and clock_nanosleep.
935 * sysdeps/mach/hurd/i386/libc.abilist
936 * sysdeps/unix/sysv/linux/alpha/libc.abilist
937 * sysdeps/unix/sysv/linux/arm/libc.abilist
938 * sysdeps/unix/sysv/linux/hppa/libc.abilist
939 * sysdeps/unix/sysv/linux/i386/libc.abilist
940 * sysdeps/unix/sysv/linux/ia64/libc.abilist
941 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
942 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
943 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
944 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
945 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
946 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
950 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
951 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
952 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
953 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
954 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
955 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
956 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
957 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
958 Add another set of entries for clock_getres, clock_gettime,
959 clock_settime, clock_getcpuclockid, and clock_nanosleep at
960 whatever version GLIBC_2.2 maps to.
962 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
964 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
966 2019-09-03 Florian Weimer <fweimer@redhat.com>
969 * locale/programs/charmap.h (struct charseq): Turn bytes into a
970 flexible array member.
971 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
974 2019-09-02 Florian Weimer <fweimer@redhat.com>
976 * misc/tst-mntent-autofs.c: New file.
977 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
979 2019-09-02 Ian Kent <ikent@redhat.com>
981 Use autofs "ignore" mount hint in getmntent_r/getmntent.
982 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
984 (__getmntent_r): Call it. Filter out autofs entries with an
985 "ignore" mount option.
987 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
989 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
990 (generic_memcpy): Include generic C memcpy.
991 * benchtests/bench-memmove.c (simple_memmove): Remove.
992 (generic_memmove): Include generic C memmove.
993 * benchtests/bench-memset.c (simple_memset): Remove.
994 (generic_memset): Include generic C memset.
995 * benchtests/bench-memset-large.c (simple_memset): Remove.
996 (generic_memset): Include generic C memset.
997 * benchtests/bench-memset-walk.c (simple_memset): Remove.
998 (generic_memset): Include generic C memset.
999 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
1000 * string/memset.c (MEMSET): Likewise.
1001 * sysdeps/x86_64/memcopy.h: Remove empty file.
1003 2019-08-30 Florian Weimer <fweimer@redhat.com>
1005 nptl: Move pthread_attr_getinheritsched implementation into libc.
1006 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
1007 (libpthread-routines): Remove pthread_attr_getinheritsched.
1008 * nptl/Versions (libpthread GLIBC_2.0): Remove
1009 pthread_attr_getinheritsched.
1010 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
1011 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1012 ptr_pthread_attr_getinheritsched.
1013 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1014 Remove ptr_pthread_attr_getinheritsched member.
1015 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1016 Remove pthread_attr_getinheritsched.
1017 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1019 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
1021 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
1023 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1025 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1027 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1029 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1031 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1032 (GLIBC_2.4): Likewise.
1033 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1034 (GLIBC_2.0): Likewise.
1035 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
1036 (GLIBC_2.18): Likewise.
1037 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
1038 (GLIBC_2.18): Likewise.
1039 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1040 (GLIBC_2.0): Likewise.
1041 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1042 (GLIBC_2.0): Likewise.
1043 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1046 (GLIBC_2.0): Likewise.
1047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1048 (GLIBC_2.3): Likewise.
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1050 (GLIBC_2.17): Likewise.
1051 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1052 (GLIBC_2.27): Likewise.
1053 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1054 (GLIBC_2.0): Likewise.
1055 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1056 (GLIBC_2.2): Likewise.
1057 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
1059 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
1061 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1062 (GLIBC_2.0): Likewise.
1063 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1064 (GLIBC_2.2): Likewise.
1065 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1066 (GLIBC_2.2.5): Likewise.
1067 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1068 (GLIBC_2.16): Likewise.
1070 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1072 * sysdeps/mach/hurd/getcwd.c
1073 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
1074 slash if we got an unknown root directory. (__getcwd): Do not fail with
1075 EGRATUITOUS if we got an unknown root directory.
1076 * hurd/hurdselect.c (SELECT_ERROR): New macro.
1078 - Add `error' field to `d' structures array.
1079 - If a poll descriptor is bogus, set EBADF, but continue with a zero
1081 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
1082 EBADF there is any bit set above _hurd_dtablesize.
1083 - Do not request io_select on bogus descriptors (SELECT_ERROR).
1084 - On io_select request error, record the error.
1085 - On io_select bogus reply, use EIO error code.
1086 - On io_select bogus or error reply, record the error.
1087 - Do not destroy reply port for bogus FDs.
1088 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
1089 EBADF case, or else POLLERR.
1090 - On error, make select simulated readiness.
1093 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
1096 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
1097 unlocks SS and returns to the saved PC.
1098 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
1099 thread stack instead of the saved PC.
1101 2019-08-30 Richard Braun <rbraun@sceen.net>
1103 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
1105 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
1106 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
1107 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
1109 (_hurd_select): Replace the call to __io_select with either
1110 __io_select_request or __io_select_timeout_request, depending on the
1111 timeout. Count the number of ready descriptors (replies for which at
1112 least one type bit is set). Implement the timeout locally when there is
1115 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
1117 * elf/dl-addr.c (determine_info): Calculate the symbol index
1118 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
1119 * elf/dl-lookup.c (do_lookup_x): Ditto.
1120 (_dl_setup_hash): Initialize MIPS xhash translation table.
1121 * elf/elf.h (SHT_MIPS_XHASH): New define.
1122 (DT_MIPS_XHASH): New define.
1123 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
1125 (ELF_MACHINE_HASH_SYMIDX): Ditto.
1126 (ELF_MACHINE_XHASH_SETUP): Ditto.
1127 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
1129 (ELF_MACHINE_HASH_SYMIDX): Ditto.
1130 (ELF_MACHINE_XHASH_SETUP): Ditto.
1131 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
1132 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
1134 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
1136 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1138 * sysdeps/sh/preconfigure.ac: New file.
1139 * sysdeps/sh/preconfigure: Regenerate.
1140 * sysdeps/sh/be/sh3/Implies: New file.
1141 * sysdeps/sh/be/sh4/Implies: Likewise.
1142 * sysdeps/sh/le/sh3/Implies: Likewise.
1143 * sysdeps/sh/le/sh4/Implies: Likewise.
1144 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
1145 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
1146 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
1147 sysdeps/unix/sysv/linux/sh/le/*.abilist.
1148 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
1150 * sysdeps/microblaze/preconfigure.ac: New file.
1151 * sysdeps/microblaze/preconfigure: Regenerate.
1152 * sysdeps/microblaze/be/implies: New file.
1153 * sysdeps/microblaze/le/implies: Likewise.
1154 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
1155 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
1156 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
1157 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
1158 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
1160 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
1161 * sysdeps/arm/preconfigure: Regenerate.
1162 * sysdeps/arm/be/Implies: New file.
1163 * sysdeps/arm/be/armv6/Implies: Likewise.
1164 * sysdeps/arm/be/armv6t2/Implies: Likewise.
1165 * sysdeps/arm/be/armv7/Implies: Likewise.
1166 * sysdeps/arm/le/Implies: Likewise.
1167 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
1168 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
1169 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
1170 sysdeps/unix/sysv/linux/arm/le/*.abilist.
1171 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
1173 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
1175 Fix posix/tst-regex by using UTF-8 and own test input
1176 Problem reported by Stefan Liebler in:
1177 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
1178 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
1179 (do_test, test_expr): Adjust to the fact that this source file,
1180 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
1181 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
1182 so that it is now UTF-8.
1184 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
1186 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
1187 (fegetenv_status): Generate 'mffsl' unconditionally.
1189 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
1191 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
1193 (_FPU_MASK_ALL): Delete.
1195 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
1197 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
1198 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
1200 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
1201 with simpler required steps, set fewer FPSCR bits if possible.
1203 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
1205 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
1206 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
1207 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
1208 weight access to FPSCR; remove unnecessary second FPSCR read and
1210 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1211 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
1212 access to FPSCR; Use macros in fenv_libc.h in favor of local.
1214 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
1216 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
1217 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
1218 (fenv_exceptions_to_reg): New.
1219 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
1220 operation with call to fenv_exceptions_to_reg().
1221 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1223 2019-08-28 Florian Weimer <fweimer@redhat.com>
1225 * misc/mntent.c (struct mntent_buffer): Define.
1226 (mntent_buffer): Adjust type to void *.
1227 (allocate): Adjust for allocate_once.
1228 (deallocate): New function.
1229 (getmntent): Call allocate_once.
1231 2019-08-28 Florian Weimer <fweimer@redhat.com>
1233 nptl: Move pthread_attr_setdetachstate implementation into libc.
1234 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
1235 (libpthread-routines): Remove pthread_attr_setdetachstate.
1236 * nptl/Versions (libpthread GLIBC_2.0): Remove
1237 pthread_attr_setdetachstate.
1238 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
1239 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1240 ptr_pthread_attr_setdetachstate.
1241 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1242 Remove ptr_pthread_attr_setdetachstate member.
1243 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1244 Remove pthread_attr_setdetachstate.
1245 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1247 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1249 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1251 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1253 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1255 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1257 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1258 (GLIBC_2.4): Likewise.
1259 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1260 (GLIBC_2.0): Likewise.
1261 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1262 (GLIBC_2.18): Likewise.
1263 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1264 (GLIBC_2.0): Likewise.
1265 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1266 (GLIBC_2.0): Likewise.
1267 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1270 (GLIBC_2.0): Likewise.
1271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1272 (GLIBC_2.3): Likewise.
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1274 (GLIBC_2.17): Likewise.
1275 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1276 (GLIBC_2.27): Likewise.
1277 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1278 (GLIBC_2.0): Likewise.
1279 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1280 (GLIBC_2.2): Likewise.
1281 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1283 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1284 (GLIBC_2.0): Likewise.
1285 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1286 (GLIBC_2.2): Likewise.
1287 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1288 (GLIBC_2.2.5): Likewise.
1289 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1290 (GLIBC_2.16): Likewise.
1292 2019-08-28 Florian Weimer <fweimer@redhat.com>
1295 * login/Makefile (tests): Add tst-pututxline-lockfail.
1296 (tst-pututxline-lockfail): Link with -lpthread.
1297 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
1298 (__libc_getutid_r): Adjust.
1299 (__libc_pututline): Likewise. Check for file_offset == -1.
1300 * login/tst-pututxline-lockfail.c: New file.
1302 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
1304 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
1305 * posix/tst-regex.input: New file.
1307 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
1310 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
1312 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
1313 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
1314 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
1315 * sysdeps/mips/tst-undefined-weak.c: Likewise.
1316 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
1317 Increment highest valid ABIVERSION value.
1319 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1321 * sysdeps/unix/sysv/linux/mips/Makefile
1322 (test-xfail-check-execstack):
1323 Move under mips-has-gnustack != yes.
1324 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
1325 Apply -Wa,-execstack if mips-force-execstack == yes.
1326 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1327 * sysdeps/unix/sysv/linux/mips/configure.ac
1328 (mips-force-execstack): New var.
1329 Set to yes for hard-float builds with minimum_kernel < 4.8.0
1330 or minimum_kernel not set at all.
1331 (mips-has-gnustack): New var.
1332 Use value of libc_cv_as_noexecstack
1333 if mips-force-execstack != yes, otherwise set to no.
1335 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1336 Florian Weimer <fweimer@redhat.com>
1338 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
1339 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1340 Make a compat_symbol.
1341 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
1342 (__profil_counter_global): Likewise.
1344 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
1345 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
1347 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
1348 sigcontext_get_pc and return aligned cast to uintptr_t.
1349 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
1350 * sysdeps/posix/profil.c (profil_count): Change PC argument to
1352 (__profil): Use SA_SIGINFO.
1353 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
1355 (__sprofil): Use SA_SIGINFO.
1356 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
1357 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
1358 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1359 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
1360 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
1361 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
1362 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
1363 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
1364 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
1365 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
1366 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
1367 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
1368 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
1369 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
1370 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
1371 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
1372 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
1373 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
1374 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
1375 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
1376 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
1377 GET_PC, __sigaction, sigaction): Remove defines.
1378 (sigcontext_get_pc): New function.
1379 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1380 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1381 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1382 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
1383 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1384 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
1385 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
1386 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
1387 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
1388 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
1389 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
1390 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1391 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
1392 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
1393 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1394 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1395 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
1396 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
1397 Handle CTX argument as ucontext_t.
1398 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1400 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
1401 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1402 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1403 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
1404 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
1405 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1406 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1407 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1408 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
1409 tst-sigcontextinfo-get_pc.
1410 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
1411 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
1413 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1415 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
1418 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
1421 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
1422 * localedata/locales/ug_CN (first_weekday): Likewise.
1423 * localedata/locales/zh_CN (first_weekday): Likewise.
1425 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
1427 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
1428 field name in mcontext_t struct.
1430 2019-08-22 Joseph Myers <joseph@codesourcery.com>
1432 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
1433 unsupported with libidn2 before 2.0.5.
1434 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
1436 * manual/time.texi (strftime): Document %Ob and %OB as C2X
1439 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
1441 Remove dead regex code
1442 * posix/regex_internal.c (re_node_set_insert):
1443 Remove unnecessary assignment. Reported by Tim Rühsen in:
1444 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
1446 Fix bad pointer / leak in regex code
1447 This was found by Coverity (CID 1484201). [BZ#24844]
1448 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
1449 pointer and/or memory leak when storage is exhausted.
1451 2019-08-21 Zack Weinberg <zackw@panix.com>
1453 * misc/syslog.c (__vsyslog_internal)
1454 * time/getdate.c (__getdate_r)
1455 * time/tst_wcsftime.c (main):
1456 Use return value of time, not its argument.
1458 * string/strfry.c (strfry)
1459 * sysdeps/mach/sleep.c (__sleep):
1460 Remove unnecessary casts of NULL in calls to time.
1462 2019-08-21 Joseph Myers <joseph@codesourcery.com>
1464 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
1465 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
1466 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
1467 (__TGMATH_2_NARROW_F): Likewise.
1468 (__TGMATH_2_NARROW_D): New macro.
1469 (__TGMATH_2_NARROW_F16): Likewise.
1470 (__TGMATH_2_NARROW_F32): Likewise.
1471 (__TGMATH_2_NARROW_F64): Likewise.
1472 (__TGMATH_2_NARROW_F32X): Likewise.
1473 (__TGMATH_2_NARROW_F64X): Likewise.
1474 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
1475 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
1476 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
1477 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
1478 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
1479 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
1480 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
1481 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
1482 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
1483 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
1484 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
1485 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
1486 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
1487 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
1489 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
1491 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
1493 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
1495 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
1497 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
1499 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
1501 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
1503 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1504 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
1505 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1506 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
1507 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1508 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
1509 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1510 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
1511 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
1513 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
1515 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
1517 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
1519 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1520 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
1521 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1522 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
1523 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1524 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
1525 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1526 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
1527 * math/gen-tgmath-tests.py (Type): Add members
1528 non_standard_real_argument_types_list, long_double_type,
1529 complex_float64_type and float32x_ext_type.
1530 (Type.__init__): Set the new members.
1531 (Type.floating_type): Add new argument floatn.
1532 (Type.real_floating_type): Likewise.
1533 (Type.can_combine_types): Likewise.
1534 (Type.combine_types): Likewise.
1535 (Type.init_types): Create internal Float32x_ext type.
1536 (Tests.__init__): Define Float32x_ext in generated C code.
1537 (Tests.add_tests): Handle narrowing functions.
1538 (Tests.add_all_tests): Likewise.
1539 (Tests.tests_text): Allow variation in mant_dig for narrowing
1540 functions with compilers before GCC 8.
1541 * math/Makefile (tgmath3-narrow-types): New variable.
1542 (tgmath3-narrow-macros): Likewise.
1543 (tgmath3-macros): Add $(tgmath3-narrow-macros).
1545 2019-08-20 Andreas Schwab <schwab@suse.de>
1547 * sysdeps/i386/fpu/libm-test-ulps: Update.
1549 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1551 * nscd/nscd.conf: Add warning and comment about shared option.
1553 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1555 * nss/nsswitch.conf: Expand comments, and simplify defaults.
1556 * manual/nss.texi (NSS Basics): List all known databases.
1557 (Services in the NSS configuration): Mention automount.
1559 2019-08-19 Florian Weimer <fweimer@redhat.com>
1561 Do not print backtraces on fatal errors.
1562 * debug/fortify_fail.c (__libc_argv): Remove declaration.
1563 (__fortify_fail_abort): Remove definition.
1564 (__fortify_fail): Call __libc_message directly.
1565 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
1566 (__stack_chk_fail): Call __fortify_fail instead of
1567 __fortify_fail_abort.
1568 * include/stdio.h (__fortify_fail_abort): Remove declaration.
1569 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
1571 (__libc_message): Do not handle do_backtrace. Do not call
1573 (__libc_fatal): Do not pass do_backtrace to __libc_message.
1574 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
1575 (before_abort): Remove definitions.
1577 2019-08-16 Florian Weimer <fweimer@redhat.com>
1579 nptl: Move pthread_attr_getdetachstate implementation into libc.
1580 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
1581 (libpthread-routines): Remove pthread_attr_getdetachstate.
1582 * nptl/Versions (libpthread GLIBC_2.0): Remove
1583 pthread_attr_getdetachstate.
1584 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
1585 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1586 ptr_pthread_attr_getdetachstate.
1587 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1588 Remove ptr_pthread_attr_getdetachstate member.
1589 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1590 Remove pthread_attr_getdetachstate.
1591 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1593 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1595 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1597 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1599 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1601 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1603 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1604 (GLIBC_2.4): Likewise.
1605 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1606 (GLIBC_2.0): Likewise.
1607 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1608 (GLIBC_2.18): Likewise.
1609 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1610 (GLIBC_2.0): Likewise.
1611 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1612 (GLIBC_2.0): Likewise.
1613 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1616 (GLIBC_2.0): Likewise.
1617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1618 (GLIBC_2.3): Likewise.
1619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1620 (GLIBC_2.17): Likewise.
1621 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1622 (GLIBC_2.27): Likewise.
1623 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1624 (GLIBC_2.0): Likewise.
1625 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1626 (GLIBC_2.2): Likewise.
1627 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1629 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1630 (GLIBC_2.0): Likewise.
1631 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1632 (GLIBC_2.2): Likewise.
1633 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1634 (GLIBC_2.2.5): Likewise.
1635 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1636 (GLIBC_2.16): Likewise.
1638 2019-08-16 Joseph Myers <joseph@codesourcery.com>
1640 * math/libm-test-compat_totalorder.inc (do_test)
1641 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1642 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1643 * math/libm-test-compat_totalordermag.inc (do_test)
1644 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1646 2019-08-15 Florian Weimer <fweimer@redhat.com>
1648 nptl: Move pthread_attr_init implementation into libc.
1649 * nptl/Makefile (routines): Add pthread_attr_init.
1650 (libpthread-routines): Remove pthread_attr_init.
1651 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1652 (libpthread GLIBC_2.0): Likewise.
1653 * nptl/pthread_attr_init.c: Check for libc compat version instead
1654 of libpthread compat version.
1655 * nptl/forward.c (__pthread_attr_init_2_0)
1656 (__pthread_attr_init_2_1): Remove definitions.
1657 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1658 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1659 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1660 Remove members ptr___pthread_attr_init_2_0,
1661 ptr___pthread_attr_init_2_1.
1662 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1663 Remove pthread_attr_init.
1664 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1666 (GLIBC_2.1): Likewise.
1667 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1669 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1671 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1673 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1675 (GLIBC_2.1): Likewise.
1676 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1678 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1679 (GLIBC_2.4): Likewise.
1680 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1681 (GLIBC_2.0): Likewise.
1682 (GLIBC_2.1): Likewise.
1683 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1684 (GLIBC_2.18): Likewise.
1685 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1686 (GLIBC_2.0): Likewise.
1687 (GLIBC_2.1): Likewise.
1688 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1689 (GLIBC_2.0): Likewise.
1690 (GLIBC_2.1): Likewise.
1691 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1694 (GLIBC_2.0): Likewise.
1695 (GLIBC_2.1): Likewise.
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1697 (GLIBC_2.3): Likewise.
1698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1699 (GLIBC_2.17): Likewise.
1700 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1701 (GLIBC_2.27): Likewise.
1702 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1703 (GLIBC_2.0): Likewise.
1704 (GLIBC_2.1): Likewise.
1705 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1706 (GLIBC_2.2): Likewise.
1707 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1709 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1710 (GLIBC_2.0): Likewise.
1711 (GLIBC_2.1): Likewise.
1712 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1713 (GLIBC_2.2): Likewise.
1714 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1715 (GLIBC_2.2.5): Likewise.
1716 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1717 (GLIBC_2.16): Likewise.
1719 2019-08-15 Florian Weimer <fweimer@redhat.com>
1722 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1723 new object in __RTLD_OPENEXEC mode (except for the origin).
1724 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1725 check for the error message.
1726 (do_test): Call it. Add check using relative path.
1727 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1728 (tst-dlopen-aout-container): Link with libpthread.
1729 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1731 2019-08-15 Joseph Myers <joseph@codesourcery.com>
1733 * math/bits/mathcalls.h
1734 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1735 (totalorder): Take pointer arguments.
1736 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1737 (totalordermag): Likewise.
1738 * manual/arith.texi (totalorder): Likewise.
1739 (totalorderf): Likewise.
1740 (totalorderl): Likewise.
1741 (totalorderfN): Likewise.
1742 (totalorderfNx): Likewise.
1743 (totalordermag): Likewise.
1744 (totalordermagf): Likewise.
1745 (totalordermagl): Likewise.
1746 (totalordermagfN): Likewise.
1747 (totalordermagfNx): Likewise.
1748 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1749 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1750 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1751 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1752 totalorderl, totalordermag, totalordermagf, totalordermagl,
1753 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1754 totalordermagf64, totalordermagf32x, totalorderf64x,
1755 totalordermagf64x, totalorderf128 and totalordermagf128.
1756 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1757 and compat_totalordermag.
1758 (libm-test-funcs-compat): New variable.
1759 (libm-tests-compat): Likewise.
1760 (tests): Do not include compat tests.
1761 (tests-internal): Add compat tests.
1762 ($(foreach t,$(libm-tests-base),
1763 $(objpfx)$(t)-compat_totalorder.o)): Depend
1764 on $(objpfx)libm-test-totalorder.c.
1765 ($(foreach t,$(libm-tests-base),
1766 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1767 $(objpfx)libm-test-totalordermag.c.
1768 (tgmath3-macros): Remove totalorder and totalordermag.
1769 * math/libm-test-compat_totalorder.inc: New file.
1770 * math/libm-test-compat_totalordermag.inc: Likewise.
1771 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1772 (RUN_TEST_fpfp_b): New macro.
1773 (RUN_TEST_LOOP_fpfp_b): Likewise.
1774 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1776 (totalorder_test): Condition on [!COMPAT_TEST].
1777 (do_test): Likewise.
1778 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1780 (totalordermag_test): Condition on [!COMPAT_TEST].
1781 (do_test): Likewise.
1782 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1783 totalorder and totalordermag.
1784 * math/test-tgmath.c (NCALLS): Change to 132.
1785 (F(compile_test)): Do not call totalorder or totalordermag.
1786 (F(totalorder)): Remove.
1787 (F(totalordermag)): Likewise.
1788 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1789 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1790 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1792 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1793 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1794 [!_ISOMAC] (TEST_ALIGN): Likewise.
1795 [!_ISOMAC] (TEST_OFFSET): Likewise.
1796 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1797 and <first-versions.h>.
1798 (__totalorder): Take pointer arguments. Add symbol versions and
1800 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1801 <shlib-compat.h> and <first-versions.h>.
1802 (__totalordermag): Take pointer arguments. Add symbol versions
1804 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1805 <shlib-compat.h> and <first-versions.h>.
1806 (__totalorder): Take pointer arguments. Add symbol versions and
1808 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1809 <shlib-compat.h> and <first-versions.h>.
1810 (__totalordermag): Take pointer arguments. Add symbol versions
1812 * sysdeps/ieee754/float128/float128_private.h
1813 (__totalorder_compatl): New macro.
1814 (__totalordermag_compatl): Likewise.
1815 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1816 and <first-versions.h>.
1817 (__totalorderf): Take pointer arguments. Add symbol versions and
1819 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1820 <shlib-compat.h> and <first-versions.h>.
1821 (__totalordermagf): Take pointer arguments. Add symbol versions
1823 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1824 <shlib-compat.h> and <first-versions.h>.
1825 (__totalorderl): Take pointer arguments. Add symbol versions and
1827 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1828 <shlib-compat.h> and <first-versions.h>.
1829 (__totalordermagl): Take pointer arguments. Add symbol versions
1831 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1833 (__totalorderl): Take pointer arguments. Add symbol versions and
1835 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1837 (__totalordermagl): Take pointer arguments. Add symbol versions
1839 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1840 <shlib-compat.h> and <first-versions.h>.
1841 (__totalorderl): Take pointer arguments. Add symbol versions and
1843 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1844 <shlib-compat.h> and <first-versions.h>.
1845 (__totalordermagl): Take pointer arguments. Add symbol versions
1847 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1849 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1851 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1852 (do_test): Update calls to totalorderl and totalordermagl.
1853 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1854 Update calls to totalorderl and totalordermagl.
1855 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1856 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1857 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1858 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1859 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1860 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1861 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1862 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1863 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1864 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1865 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1866 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1867 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1868 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1877 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1878 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1879 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1880 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1881 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1882 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1883 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1884 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1886 2019-08-15 Florian Weimer <fweimer@redhat.com>
1889 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1890 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1891 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1893 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1894 __attribute_nonstring__ to ut_id.
1895 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1898 2019-08-15 Florian Weimer <fweimer@redhat.com>
1901 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1902 (file_locking_unlock): Likewise.
1904 2019-08-15 Florian Weimer <fweimer@redhat.com>
1907 login: Disarm timer after utmp lock acquisition.
1908 * login/utmp_file.c (struct file_locking): Remove.
1909 (try_file_lock): Adjust.
1910 (file_lock_restore): Remove function.
1911 (__libc_getutent_r): .
1912 (internal_getut_r): Likewise.
1913 (__libc_getutline_r): Likewise.
1914 (__libc_pututline): Likewise.
1915 (__libc_updwtmp): Likewise.
1917 2019-08-15 Florian Weimer <fweimer@redhat.com>
1919 nptl: Remove pthread_self compatibility symbol from libpthread.
1920 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1922 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1923 * nptl/compat-pthread_self.c: Remove file.
1924 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1925 Remove pthread_self.
1926 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1928 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1930 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1932 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1934 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1936 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1937 (GLIBC_2.4): Likewise.
1938 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1939 (GLIBC_2.0): Likewise.
1940 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1941 (GLIBC_2.18): Likewise.
1942 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1943 (GLIBC_2.0): Likewise.
1944 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1945 (GLIBC_2.0): Likewise.
1946 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1949 (GLIBC_2.0): Likewise.
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1951 (GLIBC_2.3): Likewise.
1952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1953 (GLIBC_2.17): Likewise.
1954 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1955 (GLIBC_2.0): Likewise.
1956 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1957 (GLIBC_2.2): Likewise.
1958 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1960 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1961 (GLIBC_2.0): Likewise.
1962 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1963 (GLIBC_2.2): Likewise.
1964 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1965 (GLIBC_2.2.5): Likewise.
1966 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1967 (GLIBC_2.16): Likewise.
1969 2019-08-15 Florian Weimer <fweimer@redhat.com>
1971 nptl: Move pthread_attr_destroy implementation into libc.
1972 * nptl/Makefile (routines): Add pthread_attr_destroy.
1973 (libpthread-routines): Remove pthread_attr_destroy.
1974 * nptl/Versions (libpthread GLIBC_2.0): Remove
1975 pthread_attr_destroy.
1976 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1977 libc compat version instead of libpthread compat version.
1978 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1979 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1980 ptr_pthread_attr_destroy.
1981 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1982 Remove ptr_pthread_attr_destroy member.
1983 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1984 Remove pthread_attr_destroy.
1985 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1987 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1989 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1991 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1993 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1995 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1997 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1998 (GLIBC_2.4): Likewise.
1999 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2000 (GLIBC_2.0): Likewise.
2001 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2002 (GLIBC_2.18): Likewise.
2003 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2004 (GLIBC_2.0): Likewise.
2005 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2006 (GLIBC_2.0): Likewise.
2007 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
2009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2010 (GLIBC_2.0): Likewise.
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2012 (GLIBC_2.3): Likewise.
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2014 (GLIBC_2.17): Likewise.
2015 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2016 (GLIBC_2.27): Likewise.
2017 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2018 (GLIBC_2.0): Likewise.
2019 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2020 (GLIBC_2.2): Likewise.
2021 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2023 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2024 (GLIBC_2.0): Likewise.
2025 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2026 (GLIBC_2.2): Likewise.
2027 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2028 (GLIBC_2.2.5): Likewise.
2029 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2030 (GLIBC_2.16): Likewise.
2032 2019-08-15 Andreas Schwab <schwab@suse.de>
2034 * sysdeps/i386/fpu/libm-test-ulps: Update.
2036 2019-08-15 Florian Weimer <fweimer@redhat.com>
2038 * malloc/Makefile (tests): Only add tst-mxfast for
2040 * malloc/tst-mxfast.c: Fix copyright year.
2041 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
2044 2019-08-15 Florian Weimer <fweimer@redhat.com>
2046 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
2048 * login/Makefile (tests): Add tst-updwtmpx.
2049 * login/tst-updwtmpx.c: New file.
2051 2019-08-15 Florian Weimer <fweimer@redhat.com>
2053 nptl: Move pthread_equal implementation into libc.
2054 * nptl/Makefile (routines): Add pthread_equal.
2055 * nptl/forward.c (pthread_equal): Remove definition.
2056 * nptl/nptl-init.c (pthread_functions): Remove initializer for
2058 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
2059 Remove ptr_pthread_equal member.
2060 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2061 Remove pthread_equal.
2062 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2064 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2066 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
2068 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2070 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2072 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2074 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2075 (GLIBC_2.4): Likewise.
2076 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2077 (GLIBC_2.0): Likewise.
2078 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2079 (GLIBC_2.18): Likewise.
2080 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2081 (GLIBC_2.0): Likewise.
2082 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2083 (GLIBC_2.0): Likewise.
2084 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2087 (GLIBC_2.0): Likewise.
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2089 (GLIBC_2.3): Likewise.
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2091 (GLIBC_2.17): Likewise.
2092 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2093 (GLIBC_2.27): Likewise.
2094 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2095 (GLIBC_2.0): Likewise.
2096 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2097 (GLIBC_2.2): Likewise.
2098 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2100 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2101 (GLIBC_2.0): Likewise.
2102 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2103 (GLIBC_2.2): Likewise.
2104 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2105 (GLIBC_2.2.5): Likewise.
2106 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2107 (GLIBC_2.16): Likewise.
2109 2019-08-14 Florian Weimer <fweimer@redhat.com>
2111 * support/support_descriptors.c: Include <support/descriptors.h>.
2113 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
2115 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
2116 Disable DC ZVA code if this macro is defined as zero.
2117 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
2118 Change to zero to disable using DC ZVA.
2120 2019-08-13 Joseph Myers <joseph@codesourcery.com>
2122 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
2124 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
2125 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
2126 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
2127 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
2130 2019-08-13 Florian Weimer <fweimer@redhat.com>
2132 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
2134 (struct file_locking): New.
2135 (try_file_lock, file_unlock, file_lock_restore): New functions.
2136 (__libc_getutent_r): Use the new functions.
2137 (internal_getut_r): Likewise.
2138 (__libc_getutline_r): Likewise.
2139 (__libc_pututline): Likewise.
2140 (__libc_updwtmp): Likewise.
2142 2019-08-13 Joseph Myers <joseph@codesourcery.com>
2144 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
2146 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
2147 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
2148 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
2149 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2150 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2151 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2152 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2154 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2155 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2156 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2158 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2160 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2162 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2164 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2166 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2168 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2170 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
2171 (IEC_60559_BFP_EXT)]: Likewise.
2172 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2174 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2176 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2178 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2180 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2182 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2184 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2186 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2188 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2189 Likewise, except for totalorder, totalordermag, getpayload,
2190 setpayload and setpayloadsig.
2191 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
2192 except for totalorder and totalordermag.
2194 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
2196 (strndup): Likewise.
2198 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
2199 Undefine and define to 1 if [_GNU_SOURCE].
2200 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
2201 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
2202 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
2203 (__USE_ISOC99): Likewise.
2204 (__USE_ISOC95): Likewise.
2205 * manual/creature.texi (_ISOC2X_SOURCE): Document.
2207 2019-08-13 Florian Weimer <fweimer@redhat.com>
2209 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
2211 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
2212 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
2213 * login/getutmpx.c (getutmpx): Likewise.
2214 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
2216 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
2217 _HAVE_UT_TV are always true.
2218 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
2219 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
2220 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
2221 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
2223 (internal_getut_r): _HAVE_UT_TYPE is always true.
2224 (__libc_pututline): Likewise.
2225 * login/programs/utmpdump.c (print_entry): Assume that
2226 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
2227 _HAVE_UT_TV are always true.
2228 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
2229 _HAVE_UT_ID are always true.
2230 * sysdeps/gnu/bits/utmp.h: Move to ...
2231 * bits/utmp.h: ... here, replacing the old file.
2233 2019-08-12 Florian Weimer <fweimer@redhat.com>
2235 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
2236 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
2238 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
2239 (do_test): Open the executable using an absolute path. Print
2240 error message to standard output.
2242 2019-08-09 DJ Delorie <dj@redhat.com>
2244 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
2245 * manual/tunables.texi: Document it.
2246 * malloc/malloc.c (do_set_mxfast): New.
2247 (__libc_mallopt): Call it.
2248 * malloc/arena.c: Add mxfast tunable.
2249 * malloc/tst-mxfast.c: New.
2250 * malloc/Makefile: Add it.
2252 2019-08-08 Niklas Hambüchen <mail@nh2.me>
2253 Carlos O'Donell <carlos@redhat.com>
2256 * malloc/malloc.c (__malloc_info): Account for top chunk.
2258 2019-08-07 Joseph Myers <joseph@codesourcery.com>
2260 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2261 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
2263 2019-08-06 Joseph Myers <joseph@codesourcery.com>
2265 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
2267 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2269 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
2271 2019-08-05 Joseph Myers <joseph@codesourcery.com>
2273 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
2276 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2279 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
2281 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
2283 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
2285 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
2287 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2288 (ALWAYS_USE_VSYSCALL): Likewise.
2289 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2290 (ALWAYS_USE_VSYSCALL): Likewise.
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2292 (ALWAYS_USE_VSYSCALL): Likewise.
2293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2294 (ALWAYS_USE_VSYSCALL): Likewise.
2295 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
2297 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2298 (ALWAYS_USE_VSYSCALL): Likewise.
2299 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2300 (ALWAYS_USE_VSYSCALL): Likewise.
2301 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
2303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
2305 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
2306 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
2307 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
2308 USE_VSYSCALL): Remove defitions.
2311 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
2312 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
2313 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
2317 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
2318 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
2319 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2320 (ALWAYS_USE_VSYSCALL): Define.
2321 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2322 (ALWAYS_USE_VSYSCALL): Likewise.
2325 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
2326 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
2327 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
2330 * sysdeps/sh/libm-test-ulps: Update.
2332 2019-08-05 Florian Weimer <fweimer@redhat.com>
2335 * login/uptmp-private.h (struct ufuncs): Remove definition.
2336 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
2337 (__libc_utmp_jump_table): Remove declarations.
2338 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
2339 (__libc_getutline_r, __libc_pututline, __libc_endutent)
2340 (__libc_updwtmp): Declare.
2341 * login/getutent_r.c (__libc_utmp_unknown_functions)
2342 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
2343 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
2344 (endutent_unknown): Remove definitions.
2345 (__setutent): Call __libc_setutent.
2346 (__getutent_r): Call __libc_getutent_r.
2347 (__pututline): Call __libc_pututline.
2348 (__endutent): Call __libc_endutent.
2349 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
2350 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
2351 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
2352 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
2353 (__libc_setutent): Rename from stetutent_file. Drop static.
2354 (maybe_setutent): New function.
2355 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
2356 Check for initialization.
2357 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
2358 Check for initialization.
2359 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
2360 Check for initialization.
2361 (__libc_pututline): Rename from pututline_file. Drop static.
2362 Check for initialization.
2363 (__libc_endutent): Rename from endutent_file. Drop static. Check
2365 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
2366 * login/utmpname.c (__utmpname): Call __libc_endutent.
2367 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
2368 __libc_getutlien_r, __libc_endutent.
2369 * manual/users.texi (Who Logged In, Manipulating the Database):
2372 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
2374 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
2376 2019-08-02 Joseph Myers <joseph@codesourcery.com>
2378 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
2380 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
2381 kernel version number to 5.2.
2383 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
2385 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
2386 mnemonics and set .machine power8.
2387 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2388 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
2389 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2390 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2391 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2392 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2393 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2394 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2395 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2396 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2398 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2400 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2402 2019-08-01 Florian Weimer <fweimer@redhat.com>
2405 * malloc/malloc.c (__malloc_info): Remove unwanted leading
2408 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2411 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
2414 2019-08-01 Carlos O'Donell <carlos@redhat.com>
2416 * version.h (RELEASE): Set to "stable".
2417 (VERSION): Set to "2.30".
2418 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
2420 * manual/install.texi: Update component versions.
2421 * INSTALL: Regenerate.
2424 2019-07-31 Carlos O'Donell <carlos@redhat.com>
2426 * po/be.po: Update translations.
2427 * po/bg.po: Likewise.
2428 * po/ca.po: Likewise.
2429 * po/cs.po: Likewise.
2430 * po/da.po: Likewise.
2431 * po/de.po: Likewise.
2432 * po/el.po: Likewise.
2433 * po/eo.po: Likewise.
2434 * po/es.po: Likewise.
2435 * po/fi.po: Likewise.
2436 * po/fr.po: Likewise.
2437 * po/gl.po: Likewise.
2438 * po/hr.po: Likewise.
2439 * po/hu.po: Likewise.
2440 * po/ia.po: Likewise.
2441 * po/id.po: Likewise.
2442 * po/it.po: Likewise.
2443 * po/ja.po: Likewise.
2444 * po/ko.po: Likewise.
2445 * po/lt.po: Likewise.
2446 * po/nb.po: Likewise.
2447 * po/nl.po: Likewise.
2448 * po/pl.po: Likewise.
2449 * po/pt_BR.po: Likewise.
2450 * po/ru.po: Likewise.
2451 * po/rw.po: Likewise.
2452 * po/sk.po: Likewise.
2453 * po/sl.po: Likewise.
2454 * po/sv.po: Likewise.
2455 * po/tr.po: Likewise.
2456 * po/uk.po: Likewise.
2457 * po/vi.po: Likewise.
2458 * po/zh_CN.po: Likewise.
2459 * po/zh_TW.po: Likewise.
2461 2019-07-31 Florian Weimer <fweimer@redhat.com>
2465 iconv, libio: Revert reference counting changes.
2466 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
2467 free the steps array.
2468 * libio/Makefile (tests): Remove tst-wfile-gconv.
2469 (tests-container): Do not add tst-wfile-ascii.
2470 (tst-wfile-gconv-ENV): Do not set.
2471 (generated): Do not add tst-wfile-gconv.mtrace,
2472 tst-wfile-gconv.check.
2473 [($run-built-tests)] (tests-special): Do not add
2474 tst-wfile-gconv-mem.out.
2475 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
2476 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
2477 instead of __wcsmbs_clone_conv.
2478 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
2479 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
2481 2019-07-30 Joseph Myers <joseph@codesourcery.com>
2483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2484 (__CONTEXT_FUNC_NAME): Restore setting of r31.
2486 2019-07-30 Florian Weimer <fweimer@redhat.com>
2488 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
2489 type to uintptr_t. Update comment.
2490 (check_stack_top): Adjust.
2492 2019-07-29 Florian Weimer <fweimer@redhat.com>
2494 Linux: Move declaration of getdents64 to <dirent.h>.
2495 * bits/dirent_ext.h: New file.
2496 * dirent/Makefile (headers): Add bits/dirent_ext.h.
2497 * dirent/dirent.h: Include <bits/dirent_ext.h>.
2498 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
2499 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
2501 * manual/filesys.texi (Low-level Directory Access): Update header
2504 2019-07-29 DJ Delorie <dj@redhat.com>
2505 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2508 * Makeconfig (all-subdirs): Improved source comments.
2509 * Makefile (testroot.pristine/install.stamp): Pass
2510 subdirs='$(sorted-subdirs)' to make install.
2512 2019-07-25 Florian Weimer <fweimer@redhat.com>
2515 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
2516 counter before freeing array.
2518 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
2521 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
2523 * sysdeps/x86_64/configure: Regenerated.
2524 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
2525 to -mprefer-vector-width=128 if supported.
2527 2019-07-24 Florian Weimer <fweimer@redhat.com>
2529 * scripts/build-many-glibcs.py (Context.checkout): Default to
2532 2019-07-24 Florian Weimer <fweimer@redhat.com>
2535 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
2536 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
2537 (sysdep_headers): Add bits/socket-constants.h.
2538 (tests-special): Add tst-socket-consts.out.
2539 (tst-socket-consts.out): New target.
2540 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
2541 around <asm/unistd.h>.
2542 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
2543 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
2545 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
2546 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
2547 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
2548 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
2549 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
2550 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
2552 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
2554 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2557 * Makefile (testroot.pristine/install.stamp): Pass
2558 subdirs='$(all-subdirs)' to make install.
2560 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
2561 the same arguments used in all tests.
2563 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2565 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
2567 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
2570 * locale/C-translit.h.in: Add Cyrillic transliteration.
2572 2019-07-19 Florian Weimer <fweimer@redhat.com>
2574 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
2576 (fsconfig): Add system call name.
2577 (fsmount): Likewise.
2580 (move_mount): Likewise.
2581 (open_tree): Likewise.
2583 2019-07-18 Carlos O'Donell <carlos@redhat.com>
2585 * po/libc.pot: Regenerate.
2587 2019-07-18 Mike Crowe <mac@mcrowe.com>
2589 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
2590 functions recently added to sysdeps/nptl/pthread.h:
2591 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
2592 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
2594 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
2595 pthread_cond_clockwait forwarding functions. There are no internal
2596 users, so it is unnecessary to expose these functions in libc.so.
2597 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2598 unnecessary ptr___pthread_cond_clockwait member.
2599 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2602 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2605 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2606 begin with an uppercase letter now.
2608 (mon): Update from CLDR, reword February from "Kudo" to
2609 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2610 and August from "Liiqen" to "Leqeeni".
2611 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2612 April from "Agda Baxisso" to "Agda Baxis" and August from
2613 "Leqeeni" to "Liiqen".
2614 * localedata/locales/aa_ER@saaho (mon): Likewise.
2615 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2616 abbreviated February from "Kud" to "Nah".
2617 (mon): Update from CLDR, reword February from "Kudo" to
2618 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2620 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2623 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2625 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
2628 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2629 name_mrs, name_miss, and name_ms.
2630 * localedata/locales/nl_NL (LC_NAME): Likewise.
2632 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2635 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2636 * localedata/locales/en_IE (first_weekday): Likewise.
2638 2019-07-12 Mike Crowe <mac@mcrowe.com>
2640 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2641 that is only useful if futex_supports_exact_relative_timeouts ()
2643 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2645 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2646 timeouts potentially being imprecise since it's no longer true.
2647 Remove declaration of futex_supports_exact_relative_timeouts.
2648 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2649 of futex_supports_exact_relative_timeouts.
2651 * NEWS: Mention recently-added pthread_cond_clockwait,
2652 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2653 sem_clockwait functions.
2655 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2656 works like pthread_mutex_timedlock but takes a clockid parameter to
2657 measure the abstime parameter against.
2658 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2659 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2660 * nptl/pthread_mutex_timedlock.c
2661 (__pthread_mutex_clocklock_common): Rename from
2662 __pthread_mutex_timedlock and add clockid parameter. Pass this
2663 parameter to lll_clocklock and lll_clocklock_elision in place of
2664 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2665 LIBC_PROBE and validate clockid parameter before calling
2666 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2667 implementation to add LIBC_PROBE and calls
2668 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2670 * nptl/Makefile: Add tst-mutex11.c.
2671 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2672 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2673 clockid parameters to pthread_mutex_clocklock.
2674 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2675 clockid parameter to indicate which clock to be used. Call
2676 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2677 (do_test): Call do_test_clock to separately test
2678 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2679 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2680 * nptl/tst-mutex9.c: Likewise.
2681 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2682 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2684 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2686 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2688 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2690 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2692 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2694 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2696 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2697 (GLIBC_2.30): Likewise.
2698 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2699 (GLIBC_2.30): Likewise.
2700 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2701 (GLIBC_2.30): Likewise.
2702 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2703 (GLIBC_2.30): Likewise.
2704 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2705 (GLIBC_2.30): Likewise.
2706 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2709 (GLIBC_2.30): Likewise.
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2711 (GLIBC_2.30): Likewise.
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2713 (GLIBC_2.30): Likewise.
2714 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2715 (GLIBC_2.30): Likewise.
2716 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2717 (GLIBC_2.30): Likewise.
2718 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2719 (GLIBC_2.30): Likewise.
2720 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2722 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2723 (GLIBC_2.30): Likewise.
2724 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2725 (GLIBC_2.30): Likewise.
2726 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2727 (GLIBC_2.30): Likewise.
2728 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2729 (GLIBC_2.30): Likewise.
2731 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2732 parameter to indicate the clock that the abstime parameter should
2733 be measured against in preparation for adding
2734 pthread_mutex_clocklock.
2735 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2736 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2737 from __lll_timedlock and add clockid parameter.
2738 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2740 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2741 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2742 rather than __gettimeofday so that clockid can be used. This means
2743 that conversion from struct timeval is no longer required.
2744 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2746 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2747 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2748 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2749 from lll_timedlock_elision, add clockid parameter and use
2750 meaningful names for other parameters. (__pthread_mutex_timedlock):
2751 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2752 lll_clocklock_elision.
2753 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2754 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2755 clockid parameter. (__lll_clocklock_elision): Rename from
2756 __lll_timedlock_elision and add clockid parameter.
2757 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2758 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2759 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2760 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2761 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2762 (LLL_LOCK): Likewise.
2763 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2764 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2766 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2767 pthread_rwlock_clockwrlock which behave like
2768 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2769 respectively, except they always measure abstime against the
2770 supplied clockid. The functions currently support CLOCK_REALTIME
2771 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2773 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2774 pthread_wrlock_clockwrlock.
2775 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2776 pthread_rwlock_clockwrlock.c.
2777 * nptl/pthread_rwlock_clockrdlock.c: Implement
2778 pthread_rwlock_clockrdlock.
2779 * nptl/pthread_rwlock_clockwrlock.c: Implement
2780 pthread_rwlock_clockwrlock.
2781 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2782 clockid parameter and verify that it indicates a supported clock on
2783 entry so that we fail even if it doesn't end up being used. Pass
2784 that clock on to futex_abstimed_wait when necessary.
2785 (__pthread_rwlock_wrlock_full): Likewise.
2786 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2787 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2788 be used because there's no timeout.
2789 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2790 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2791 be used because there is no timeout.
2792 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2793 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2795 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2796 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2798 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2799 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2800 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2801 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2802 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2803 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2804 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2805 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2806 (GLIBC_2.30): Likewise.
2807 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2808 (GLIBC_2.30): Likewise.
2809 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2810 (GLIBC_2.30): Likewise.
2811 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2812 (GLIBC_2.30): Likewise.
2813 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2814 (GLIBC_2.30): Likewise.
2815 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2817 (GLIBC_2.30): Likewise.
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2819 (GLIBC_2.30): Likewise.
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2821 (GLIBC_2.30): Likewise.
2822 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2823 (GLIBC_2.30): Likewise.
2824 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2825 (GLIBC_2.30): Likewise.
2826 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2827 (GLIBC_2.30): Likewise.
2828 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2829 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2830 (GLIBC_2.30): Likewise.
2831 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2832 (GLIBC_2.30): Likewise.
2833 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2834 (GLIBC_2.30): Likewise.
2835 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2836 (GLIBC_2.30): Likewise.
2837 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2838 pthread_rwlock_clockwrlock timeout tests to match the existing
2839 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2840 * nptl/tst-rwlock14.c (do_test): Likewise.
2841 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2842 ancillary output throughout. (tf): Accept thread_args structure so
2843 that rwlock, a clockid and function name can be passed to the
2844 thread. (do_test_clock): Rename from do_test. Accept clockid
2845 parameter to specify test clock. Use the magic clockid value of
2846 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2847 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2848 specified clockid to pthread_rwlock_clockrdlock and
2849 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2850 (do_test): Call do_test_clock to test each clockid in turn.
2851 * nptl/tst-rwlock7.c: Likewise.
2852 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2853 thread_args structure so that the (now int) thread number, the
2854 clockid and the function name can be passed to the thread.
2855 (do_test_clock): Renamed from do_test. Pass the necessary
2856 thread_args when creating the reader and writer threads. Use
2857 xpthread_create and xpthread_join.
2858 (do_test): Call do_test_clock to test each clockid in turn.
2859 * manual/threads.texi: Add documentation for
2860 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2862 nptl: pthread_rwlock: Move timeout validation into _full functions
2863 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2864 Check validity of abstime parameter.
2865 (__pthread_rwlock_rwlock_full): Likewise.
2866 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2867 Remove check for validity of abstime parameter.
2868 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2871 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2872 like pthread_cond_timedwait except it always measures abstime
2873 against the supplied clockid.
2874 * nptl/Makefile: Add tst-cond26 and tst-cond27
2875 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2876 * sysdeps/nptl/pthread.h: Likewise
2877 * nptl/forward.c: Add __pthread_cond_clockwait
2878 * nptl/forward.c: Likewise
2879 * nptl/pthreadP.h: Likewise
2880 * sysdeps/nptl/pthread-functions.h: Likewise
2881 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2882 clockid parameter and comment describing why we don't need to check
2883 its value. Use that value when calling
2884 futex_abstimed_wait_cancelable rather than reading the clock from
2885 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2886 (__pthread_cond_timedwait): Read clock from flags and pass it to
2887 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2888 function with weak alias from pthread_cond_clockwait.
2889 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2890 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2891 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2892 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2893 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2894 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2895 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2896 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2897 (GLIBC_2.30): Likewise.
2898 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2899 (GLIBC_2.30): Likewise.
2900 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2901 (GLIBC_2.30): Likewise.
2902 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2903 (GLIBC_2.30): Likewise.
2904 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2905 (GLIBC_2.30): Likewise.
2906 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2908 (GLIBC_2.30): Likewise.
2909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2910 (GLIBC_2.30): Likewise.
2911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2912 (GLIBC_2.30): Likewise.
2913 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2914 (GLIBC_2.30): Likewise.
2915 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2916 (GLIBC_2.30): Likewise.
2917 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2918 (GLIBC_2.30): Likewise.
2919 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2920 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2921 (GLIBC_2.30): Likewise.
2922 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2923 (GLIBC_2.30): Likewise.
2924 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2925 (GLIBC_2.30): Likewise.
2926 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2927 (GLIBC_2.30): Likewise.
2928 * nptl/tst-cond11.c (run_test): Support testing
2929 pthread_cond_clockwait too by using a special magic
2930 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2931 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2932 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2933 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2934 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2935 clocks to pthread_cond_clockwait.
2936 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2937 struct timespec and pthread_cond_clockwait.
2938 * manual/threads.texi: Document pthread_cond_clockwait.
2940 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2941 sem_timedwait, but measures abstime against the specified clock.
2942 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2943 clockid parameters to indicate the clock which abstime should be
2945 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2946 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2947 __new_sem_wait_slow.
2948 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2950 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2951 sem_clockwait.c to match those used for sem_timedwait.c.
2952 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2953 * nptl/Versions (GLIBC_2.30): Likewise.
2954 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2955 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2956 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2957 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2958 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2959 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2960 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2961 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2962 (GLIBC_2.30): Likewise.
2963 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2964 (GLIBC_2.30): Likewise.
2965 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2966 (GLIBC_2.30): Likewise.
2967 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2968 (GLIBC_2.30): Likewise.
2969 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2970 (GLIBC_2.30): Likewise.
2971 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2973 (GLIBC_2.30): Likewise.
2974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2975 (GLIBC_2.30): Likewise.
2976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2977 (GLIBC_2.30): Likewise.
2978 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2979 (GLIBC_2.30): Likewise.
2980 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2981 (GLIBC_2.30): Likewise.
2982 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2983 (GLIBC_2.30): Likewise.
2984 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2985 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2986 (GLIBC_2.30): Likewise.
2987 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2988 (GLIBC_2.30): Likewise.
2989 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2990 (GLIBC_2.30): Likewise.
2991 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2992 (GLIBC_2.30): Likewise.
2993 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2995 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2996 tests to also test sem_clockwait.
2997 * manual/threads.texi: Document sem_clockwait.
2999 nptl: Add clockid parameter to futex timed wait calls
3000 * sysdeps/nptl/lowlevellock-futex.h,
3001 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
3002 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
3003 takes a clockid rather than a special clockbit.
3004 * sysdeps/nptl/lowlevellock-futex.h: Add
3005 lll_futex_supported_clockid so that client functions can check
3006 whether their clockid parameter is valid even if they don't
3007 ultimately end up calling lll_futex_clock_wait_bitset.
3008 * sysdeps/nptl/futex-internal.h,
3009 sysdeps/unix/sysv/linux/futex-internal.h
3010 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
3011 clockid_t parameter to indicate which clock the absolute time
3012 passed should be measured against. Pass that clockid onto
3013 lll_futex_clock_wait_bitset. Add invalid clock as reason for
3015 * sysdeps/nptl/futex-internal.h,
3016 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
3017 futex_abstimed_supported_clockid so that client functions can check
3018 whether their clockid parameter is valid even if they don't
3019 ultimately end up calling futex_abstimed_wait.
3020 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
3021 code to calculate relative timeout for
3022 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
3023 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
3024 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
3025 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
3026 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
3027 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3028 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
3030 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3033 * posix/tst-mmap-offset.c: Mention BZ #24699.
3034 (do_test_bz21270): Rename to do_test_large_offset and use
3035 mmap64_maximum_offset to check for maximum expected offset value.
3036 * sysdeps/generic/mmap_info.h: New file.
3037 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
3038 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
3041 2019-07-10 DJ Delorie <dj@redhat.com>
3042 Sergei Trofimovich <slyfox@inbox.ru>
3046 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
3048 * nss/tst-nss-db-endgrent.c: New.
3049 * nss/tst-nss-db-endgrent.root: New.
3050 * nss/tst-nss-db-endpwent.c: New.
3051 * nss/tst-nss-db-endpwent.root: New.
3052 * nss/Makefile: Add new tests.
3053 * support/links-dso-program-c.c: Add selinux dependency.
3054 * support/links-dso-program.cc: Add selinux dependency.
3055 * support/Makefile: Build those with -lselinux if enabled.
3057 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
3059 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
3060 DT_AARCH64_VARIANT_PCS check.
3061 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
3062 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
3065 2019-07-10 Andreas Schwab <schwab@suse.de>
3068 * malloc/malloc.h (__malloc_check_init): Don't declare.
3069 * include/malloc.h (__malloc_check_init): Likewise.
3070 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
3071 * manual/memory.texi (__malloc_check_init): Don't mention it.
3073 2019-07-10 Mao Han <han_mao@c-sky.com>
3075 * locale/Makefile: Fix tst-locale-locpath arguments passing.
3077 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
3079 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
3080 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
3082 2019-07-08 DJ Delorie <dj@redhat.com>
3085 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
3086 * io/tst-ftw-lnk.c: New test.
3087 * io/Makefile: Run it.
3089 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3091 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
3092 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
3093 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
3094 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
3095 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
3096 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
3097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
3098 Adjust implementation path.
3099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
3100 Adjust implementation path.
3101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
3102 Adjust implementation path.
3103 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3104 (libm-sysdep_routines): Add s_log* objects.
3105 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
3106 CFLAGS-s_logb-power7.c): New fule.
3107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
3109 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
3111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
3113 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
3115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
3116 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
3117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
3119 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
3121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
3123 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
3125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
3126 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
3127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
3129 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
3131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
3133 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
3135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
3136 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
3137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
3138 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
3139 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3140 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3142 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
3143 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
3144 powerpc32 integer 0 converting to -0.
3146 * benchtests/Makefile (bench-math): Add logb.
3147 * benchtests/logb-inputs: New file.
3148 * benchtests/logbf-inputs: New file.
3150 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
3151 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
3152 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
3153 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
3154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3158 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
3159 sysdep_routines): Add s_modf* objects.
3160 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
3161 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
3162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
3164 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
3166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
3168 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
3170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
3171 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
3172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
3174 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
3176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
3177 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
3179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
3180 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
3182 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
3183 twoM500, twoM600, two60factor, pdnum): Remove.
3184 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
3185 (__ieee754_hypot): Replace static variables with inline definition,
3186 remove ununsed branches.
3187 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3188 (libm-sysdep_routines): Remove e_hypot-* objects.
3189 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
3190 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
3192 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
3193 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
3194 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
3195 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
3196 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
3198 * benchtests/Makefile (bench-math): Add hypot.
3199 * benchtests/hypot-inputs: New file.
3201 2019-07-08 Vincent Chen <vincentc@andestech.com>
3203 * sysdeps/unix/sysv/linux/dl-vdso.h
3204 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
3206 2019-07-04 Andreas Schwab <schwab@suse.de>
3209 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
3211 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3213 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
3214 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
3215 * sysdeps/aarch64/sys/ifunc.h: New file.
3216 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
3217 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
3219 2019-07-01 Florian Weimer <fweimer@redhat.com>
3222 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
3223 Replace __vfork with __libpthread_version_placeholder for
3225 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
3226 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
3228 * nptl/pt-vfork.c: Remove file.
3229 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
3230 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
3231 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3232 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3233 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
3234 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
3235 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
3236 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
3237 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
3238 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
3239 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
3240 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
3241 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
3242 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
3243 Remove vfork, __vfork.
3244 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
3246 (GLIBC_2.1.2): Replace __vfork with
3247 __libpthread_version_placeholder.
3248 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
3249 Remove vfork, __vfork.
3250 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
3252 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
3254 (GLIBC_2.1.2): Replace __vfork with
3255 __libpthread_version_placeholder.
3256 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
3258 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
3259 (GLIBC_2.4): Remove vfork, __vfork.
3260 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
3261 (GLIBC_2.0): Remove vfork.
3262 (GLIBC_2.1.2): Replace __vfork with
3263 __libpthread_version_placeholder.
3264 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
3265 (GLIBC_2.18): Remove vfork, __vfork.
3266 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
3267 (GLIBC_2.0): Remove vfork.
3268 (GLIBC_2.2): Remove __vfork.
3269 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
3270 (GLIBC_2.2): Remove vfork, __vfork.
3271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
3272 (GLIBC_2.0): Remove vfork.
3273 (GLIBC_2.1.2): Replace __vfork with
3274 __libpthread_version_placeholder.
3275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
3276 (GLIBC_2.3): Remove vfork, __vfork.
3277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
3278 (GLIBC_2.17): Likewise.
3279 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
3280 (GLIBC_2.0): Remove vfork.
3281 (GLIBC_2.1.2): Replace __vfork with
3282 __libpthread_version_placeholder.
3283 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
3284 (GLIBC_2.2): Remove vfork, __vfork.
3285 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
3287 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
3288 (GLIBC_2.0): Remove vfork.
3289 (GLIBC_2.1.2): Replace __vfork with
3290 __libpthread_version_placeholder.
3291 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
3292 (GLIBC_2.2): Remove vfork, __vfork.
3293 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
3294 (GLIBC_2.2.5): Likewise.
3295 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
3296 (GLIBC_2.16): Likewise.
3297 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
3298 Remove __errno_location.
3300 2019-07-02 Florian Weimer <fweimer@redhat.com>
3303 * malloc/Depend: Add nptl and htl, due to potential indirect
3304 libpthread dependency of memusagestat.
3306 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
3308 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
3311 2019-07-01 Florian Weimer <fweimer@redhat.com>
3313 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
3314 variant for arm-linux-gnueabi.
3316 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
3319 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
3321 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
3322 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
3323 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
3324 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
3325 and tst-cet-legacy-mod-6c.
3326 (CFLAGS-tst-cet-legacy-5a.c): New.
3327 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
3328 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
3329 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
3330 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
3331 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
3332 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
3333 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
3334 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
3335 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
3336 ($(objpfx)tst-cet-legacy-5a): Likewise.
3337 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
3338 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
3339 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
3340 ($(objpfx)tst-cet-legacy-5b): Likewise.
3341 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
3342 (tst-cet-legacy-5b-ENV): Likewise.
3343 ($(objpfx)tst-cet-legacy-6a): Likewise.
3344 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
3345 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
3346 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
3347 ($(objpfx)tst-cet-legacy-6b): Likewise.
3348 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
3349 (tst-cet-legacy-6b-ENV): Likewise.
3350 * sysdeps/x86/tst-cet-legacy-5.c: New file.
3351 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
3352 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
3353 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
3354 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
3355 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
3356 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
3357 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
3358 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
3359 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
3360 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
3361 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
3362 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
3363 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
3365 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
3367 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
3368 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
3369 (__fegetround_ISA300) New.
3370 (__fegetround_ISA2) New.
3371 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
3372 (_FPU_MFFS): Move implementation...
3374 (_FPU_MFFSL): Move implementation....
3375 (_FPU_GET_RC_ISA300): Here. New.
3376 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
3377 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
3378 (fegetenv_status): New.
3379 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
3380 instead of fegetenv_register().
3381 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
3383 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
3385 * benchtests/bench-math-inlines.c: Increase iterations.
3386 * benchtests/bench-memcmp.c: Likewise.
3387 * benchtests/bench-rawmemchr.c: Likewise.
3388 * benchtests/bench-strcmp.c: Likewise.
3389 * benchtests/bench-strcpy_chk.c: Likewise.
3390 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
3391 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
3392 (INNER_LOOP_ITERS_SMALL): Likewise.
3393 * benchtests/bench-strncat.c: Increase iterations.
3394 * benchtests/bench-strncmp.c: Increase iterations.
3395 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
3396 * benchtests/bench-strrchr.c: Increase iterations.
3397 * benchtests/bench-strstr.c: Keep iterations unchanged.
3398 * benchtests/bench-strtod.c: Increase iterations.
3400 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3402 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
3403 with INNER_LOOP_ITERS_LARGE.
3404 * benchtests/bench-memchr.c: Likewise.
3405 * benchtests/bench-rawmemchr.c: Likewise.
3406 * benchtests/bench-strcat.c: Likewise.
3407 * benchtests/bench-strchr.c: Likewise.
3408 * benchtests/bench-string.h: Likewise.
3409 * benchtests/bench-strlen.c: Likewise.
3410 * benchtests/bench-strncpy.c: Likewise.
3411 * benchtests/bench-strnlen.c: Likewise.
3413 2019-06-28 Florian Weimer <fweimer@redhat.com>
3415 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
3416 Use mmap instead of malloc. malloc with M_PERTURB writes to the
3417 entire allocated memory range.
3419 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
3421 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
3422 (prepare_version_base): New helper inline function.
3423 (prepare_version): New macro replacing PREPARE_VERSION.
3424 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
3426 2019-06-28 Florian Weimer <fweimer@redhat.com>
3429 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
3430 mismatch in a versioned symbol reference.
3431 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
3432 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
3433 tst-sonamemove-dlopen.
3434 (module-names): Add tst-sonamemove-linkmod1,
3435 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
3436 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
3437 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
3438 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
3439 (tst-sonamemove-runmod1.so): Link against
3440 tst-sonamemove-runmod2.so.
3441 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
3442 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
3443 tst-sonamemove-runmod2.so.
3444 (tst-sonamemove-dlopen): Link with -ldl.
3445 (tst-sonamemove-dlopen.out): Likewise.
3446 * elf/tst-sonamemove-link.c: New file.
3447 * elf/tst-sonamemove-dlopen.c: Likewise.
3448 * elf/tst-sonamemove-linkmod1.c: Likewise.
3449 * elf/tst-sonamemove-linkmod1.map: Likewise.
3450 * elf/tst-sonamemove-runmod1.c: Likewise.
3451 * elf/tst-sonamemove-runmod1.map: Likewise.
3452 * elf/tst-sonamemove-runmod2.c: Likewise.
3453 * elf/tst-sonamemove-runmod2.map: Likewise.
3455 2019-06-28 Florian Weimer <fweimer@redhat.com>
3457 * support/xdlfcn.h (xdlvsym): Declare function.
3458 * support/xdlfcn.c (xdlvsym): Define funciton.
3460 2019-06-28 Florian Weimer <fweimer@redhat.com>
3463 io: Remove the copy_file_range emulation.
3464 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
3465 not define and call copy_file_range_compat.
3466 * io/Makefile (tests-static, tests-internal): Do not add
3467 tst-copy_file_range-compat.
3468 * io/copy_file_range-compat.c: Remove file.
3469 * io/copy_file_range.c (copy_file_range): Define as stub.
3470 * io/tst-copy_file_range-compat.c: Remove file.
3471 * io/tst-copy_file_range.c (xdevfile): Remove variable.
3472 (typical_sizes): Update comment. Remove 16K sizes.
3473 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
3475 (find_maximum_offset, pipe_as_source, pipe_as_destination)
3476 (delayed_write_failure_beginning, delayed_write_failure_end)
3477 (cross_device_failure, enospc_failure_1, enospc_failure)
3478 (oappend_failure): Remove functions.
3479 (tests): Adjust test case list.
3480 (do_test): Remove file system search code. Check for ENOSYS from
3481 copy_file_range. Do not free xdevfile.
3482 * manual/llio.texi (Copying File Data): Document ENOSYS error from
3483 copy_file_range. Do not document the EXDEV error, which future
3484 kernels may not report. Update the wording to reflect that
3485 further errors are possible.
3486 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3487 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
3489 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3490 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3492 * sysdeps/unix/sysv/linux/kernel-features.h
3493 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
3495 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3496 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
3498 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3499 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3502 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3504 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
3505 used as a mask for the mode argument of __vfprintf_internal.
3506 * stdio-common/printf-parse.h (printf_arg): New union member:
3508 * stdio-common/vfprintf-internal.c
3509 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
3510 (PARSE_FLOAT_VA_ARG): Likewise.
3511 (SETUP_FLOAT128_INFO): Likewise.
3512 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
3513 SETUP_FLOAT128_INFO.
3514 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
3515 floating-point value to the new union member, pa_float128.
3516 (printf_positional): Zero-initialize args_value[cnt] with memset.
3518 2019-06-27 Florian Weimer <fweimer@redhat.com>
3521 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
3522 buffer size if necessary.
3523 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3525 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
3527 (large_buffer_checks): Likewise.
3528 (do_test): Call large_buffer_checks.
3530 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
3532 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
3533 * sysdeps/x86/dl-lookupcfg.h: Here.
3534 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
3536 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3538 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3539 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
3540 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
3542 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3543 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3544 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
3545 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3546 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
3548 * sysdeps/powerpc/powerpc32/fpu/Makefile
3549 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
3550 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
3551 and fctidz optimization.
3552 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
3553 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
3554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3555 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
3556 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
3557 CFLAGS-s_lround-power5+.c): New rule.
3558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
3560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
3562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
3564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
3566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
3568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3578 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3579 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
3580 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3581 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
3582 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3583 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3584 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
3586 2019-06-26 Vincent Chen <vincentc@andestech.com>
3588 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
3589 specific system calls, fp_udfiex_crtl and udftrap.
3591 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3593 * nptl/tst-eintr1.c (tf1): Add return statement.
3594 (do_test): Remove unused th variable.
3596 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3598 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3599 Return error if get_character fails.
3601 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
3603 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3605 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
3608 * localedata/locales/szl_PL (day): Use the correct Unicode
3609 sequences instead of non-ASCII characters.
3611 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3614 * localedata/locales/szl_PL (abday): Spelling corrections.
3618 (alt_mon): This, then apply spelling corrections.
3619 (mon): New entry, month names in the genitive case.
3621 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
3624 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3625 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3626 (thousands_sep): Likewise.
3627 (grouping): Set to 3;3.
3629 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
3631 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3632 PREPARE_VERSION_KNOWN.
3633 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3634 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3636 (VDSO_HASH_LINUX_2_6_39): Likewise.
3637 (VDSO_NAME_LINUX_4_9): Likewise.
3638 (VDSO_HASH_LINUX_4_9): Likewise.
3639 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3640 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3641 (_libc_vdso_platform_setup): Likewise.
3642 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3643 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3645 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3648 2019-06-20 Mike Crowe <mac@mcrowe.com>
3650 * nptl/eintr.c: Use libsupport.
3651 * nptl/tst-eintr1.c: Likewise.
3652 * nptl/tst-eintr2.c: Likewise.
3653 * nptl/tst-eintr3.c: Likewise.
3654 * nptl/tst-eintr4.c: Likewise.
3655 * nptl/tst-eintr5.c: Likewise.
3656 * nptl/tst-mutex-errorcheck.c: Likewise.
3657 * nptl/tst-mutex5.c: Likewise.
3659 * support/test-driver.h: Add verbose_printf macro.
3661 * support/xtime.h: Add xclock_now() helper function.
3663 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3664 Florian Weimer <fweimer@redhat.com>
3667 * libio/genops.c (_IO_unbuffer_all)
3668 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3669 buffers and access _IO_FILE_complete members of legacy libio streams.
3670 * libio/tst-bz24228.c: New file.
3671 * libio/tst-bz24228.map: Likewise.
3672 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3673 [build-shared] (generated): Add tst-bz24228.mtrace and
3675 [run-built-tests && build-shared] (tests-special): Add
3676 $(objpfx)tst-bz24228-mem.out.
3677 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3678 ($(objpfx)tst-bz24228-mem.out): New rule.
3680 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
3682 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3683 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3684 (__FPU_MFFSL): Likewise.
3685 (_FPU_SETCW): Likewise.
3687 2019-06-19 Stan Shebs <stanshebs@google.com>
3688 Raoni Fassina Firmino <raoni@linux.ibm.com>
3691 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3692 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3693 static-linking version.
3694 * sysdeps/unix/sysv/linux/powerpc/Makefile
3695 (tests-static): Add test-gettimebasefreq-static.
3697 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3700 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
3703 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3704 between the currency symbol and the minus sign).
3705 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3707 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
3710 * string/test-strcasestr.c (check_result): Add NULL check.
3711 * nss/tst-field.c (check_rewrite): Likewise.
3712 * benchtests/bench-strstr.c (do_one_test): Likewise.
3713 * string/test-strstr.c (check_result): Likewise.
3714 * argp/argp-test.c (popt): Increase size of buf to 12.
3715 * benchtests/bench-malloc-simple.c (bench):
3716 Do not initialize tests array out of bounds.
3718 2019-06-19 Florian Weimer <fweimer@redhat.com>
3721 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3724 2019-06-18 Florian Weimer <fweimer@redhat.com>
3727 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3728 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3729 fail when called from dlopen.
3730 * elf/Makefile [have-fpie && build-shared] (tests): Add
3732 (tst-dlopen-pie): Link with -ldl.
3733 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3734 * elf/tst-dlopen-pie.c (do_test): New file.
3736 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
3739 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3740 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3741 between the currency symbol and the minus sign).
3742 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3743 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3745 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3747 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3748 sysdep-rtld-routines): Remove rules.
3749 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3750 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3751 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3752 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3753 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3754 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3755 vDSO path for SHARED.
3756 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3757 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3758 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3759 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3760 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3761 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3763 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3764 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3765 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3766 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3767 CFLAGS-s_llround-power5+.c): New rule.
3768 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3770 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3772 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3774 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3776 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3779 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3781 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3783 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3784 * sysdeps/powerpc/powerpc64/fpu/Makefile
3785 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3787 (libm-sysdep_routines): Remove s_llround-* objects.
3788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3798 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3799 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3800 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3801 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3802 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3803 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3804 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3805 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3806 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3807 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3808 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3809 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3810 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3811 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3813 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3814 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3815 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3816 * sysdeps/powerpc/powerpc32/fpu/Makefile
3817 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3818 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3820 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3821 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3822 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3824 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3825 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3826 CFLAGS-s_lrint-ppc32.c): New rule.
3827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3837 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3838 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3839 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3840 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3852 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3853 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3855 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3856 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3858 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3860 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3863 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3865 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3867 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3868 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3869 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3871 (libm-sysdep_routines): Remove s_llrint-* objects.
3872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3877 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3878 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3879 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3880 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3881 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3882 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3883 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3884 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3885 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3887 2019-06-14 Florian Weimer <fweimer@redhat.com>
3889 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3890 argument to __glibc_has_include to inhibit macro expansion.
3892 2019-06-14 Florian Weimer <fweimer@redhat.com>
3894 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3895 function-like macro, so that __has_include can inhibit expansion
3898 2019-06-13 Joseph Myers <joseph@codesourcery.com>
3900 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3904 Allow memset in libc.so.
3906 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3908 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3909 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3910 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3911 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3912 symbols at load time.
3913 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3915 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3917 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3918 (DT_AARCH64_VARIANT_PCS): Define.
3920 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3923 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3933 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3934 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3936 Remove s_finite* objects.
3937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3943 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3944 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3945 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3946 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3948 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3949 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3952 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3962 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3963 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3964 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3965 Remove s_isinf* and s_isinf* objects.
3966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3972 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3973 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3974 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3975 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3977 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3978 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3980 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3981 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3982 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3984 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
4000 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4001 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
4002 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4003 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
4004 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4005 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
4006 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
4007 Remove s_isnan-* and s_isnanf-* objects.
4008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
4009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
4010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
4012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
4013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
4014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
4015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
4017 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4018 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4019 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4020 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4021 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4022 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
4023 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4024 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
4026 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
4027 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
4029 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
4030 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
4031 CFLAGS-bench-isfinite.c): New rule.
4032 * benchtests/isnan-input: New file.
4033 * benchtests/isinf-input: New file.
4034 * benchtests/isfinite-input: New file.
4036 * sysdeps/powerpc/fpu/s_copysign.c: New file.
4037 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
4038 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
4039 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
4040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4041 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
4043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
4045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
4047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
4051 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4052 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
4053 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
4054 Remove s_copysign-power6 s_copysign-ppc64.
4055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
4057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
4059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
4061 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4062 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
4063 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4064 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
4066 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
4067 round_to_integer_float, round_mode): Add RINT handling.
4068 (reset_fenv_mode): New symbol.
4069 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
4070 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
4071 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
4072 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4073 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4074 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4076 2019-06-12 Florian Weimer <fweimer@redhat.com>
4079 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
4080 * libio/freopen.c (freopen): Use it.
4082 2019-06-12 Florian Weimer <fweimer@redhat.com>
4084 Linux: Deprecate sysctl.
4085 * include/sysctl.h (__sysctl): Remove declaration.
4086 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
4088 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
4089 (sysctl): Add deprecation attribute.
4090 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
4091 directly, to avoid the deprecation warning. Do not include
4093 (__sysctl): Remove hidden alias.
4095 2019-06-12 Florian Weimer <fweimer@redhat.com>
4097 Linux: Use kernel headers for statx definitions if available.
4098 * include/bits/statx-generic.h: New file.
4099 * include/bits/types/struct_statx.h: Likewise.
4100 * include/bits/types/struct_statx_timestamp.h: Likewise.
4101 * io/Makefile (headers): Add bits/statx-generic.h.
4102 * io/bits/statx-generic.h: New file. Partly copied from
4104 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
4105 define original_statx.
4106 * io/bits/types/struct_statx.h: Likewise.
4107 * io/bits/types/struct_statx_timestamp.h: Likewise.
4108 (statx_generic): Use original_statx.
4109 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
4110 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
4112 2019-06-12 Florian Weimer <fweimer@redhat.com>
4114 * misc/sys/cdefs.h (__glibc_has_include): Define.
4116 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
4118 * string/memmem.c (__memmem): Rewrite to improve performance.
4120 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
4122 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
4124 (two_way_long_needle): Block inlining.
4125 * string/strstr.c (strstr2): Add new function.
4126 (strstr3): Likewise.
4127 (STRSTR): Completely rewrite strstr to improve performance.
4129 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
4131 * benchtests/bench-strstr.c (test_hard_needle): New function.
4133 2019-06-10 Joseph Myers <joseph@codesourcery.com>
4135 * malloc/tst-calloc.c: Include <libc-diag.h>.
4136 (null_test): Ignore -Wunused-result around calls to calloc.
4137 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
4138 (do_test): Ignore -Wunused-result around call to malloc.
4140 2019-06-07 Florian Weimer <fweimer@redhat.com>
4142 Linux: Add getdents64 system call.
4143 * include/dirnent.h (getdents): Add comment and change buffer
4144 argument type to void *.
4145 (getdents64): Likewise. Add hidden prototype.
4146 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
4148 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
4150 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
4151 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
4152 argument type to void *.
4153 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
4154 Add hidden definition and getdents64 alias.
4155 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
4157 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
4158 * manual/filesys.texi (Accessing Directories): Add Low-level
4159 Directory Access node reference.
4160 (Opening a Directory): Cross-reference it.
4161 (Low-level Directory Access): New node.
4162 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4164 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4166 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4167 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4169 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4171 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4173 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4175 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4177 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4179 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4181 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4182 (GLIBC_2.30): Likewise.
4183 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4184 (GLIBC_2.30): Likewise.
4185 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4186 (GLIBC_2.30): Likewise.
4187 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4188 (GLIBC_2.30): Likewise.
4189 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4192 (GLIBC_2.30): Likewise.
4193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4194 (GLIBC_2.30): Likewise.
4195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4196 (GLIBC_2.30): Likewise.
4197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4198 (GLIBC_2.30): Likewise.
4199 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4201 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4203 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4205 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4206 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4208 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4210 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4212 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4215 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
4217 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
4221 (_FPU_GETCW): Use __FPU_MFFS().
4222 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
4224 2019-06-06 Florian Weimer <fweimer@redhat.com>
4226 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
4227 internal GCC preprocessor identifier __has_include__.
4229 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
4231 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
4232 with call to equivalent function.
4234 2019-06-04 Florian Weimer <fweimer@redhat.com>
4236 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
4237 (do_release_shlib): Adjust for __twalk_r.
4238 (__gconv_release_shlib): Call __twalk_r.
4240 2019-06-04 Andreas Schwab <schwab@suse.de>
4243 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
4244 no irreversible characters occurred.
4245 * iconv/gconv_simple.c (internal_ucs4_loop)
4246 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
4247 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4248 (ucs4_internal_loop_single, internal_ucs4le_loop)
4249 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
4250 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4251 (ucs4le_internal_loop_single): Add const to outend.
4252 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
4253 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
4254 * iconv/Makefile (tests): Add tst-iconv7.
4255 * iconv/tst-iconv7.c: New file.
4257 2019-06-03 Joseph Myers <joseph@codesourcery.com>
4259 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
4261 2019-06-01 Florian Weimer <fweimer@redhat.com>
4263 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
4264 * sysdeps/unix/sysv/linux/arm/Makefile
4265 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
4266 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
4267 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
4268 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
4269 compatibility symbols.
4271 2019-05-31 Florian Weimer <fweimer@redhat.com>
4273 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
4274 system calls for the arm architecture: breakpoint, get_tls,
4275 set_tls, usr26, usr32.
4277 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
4279 * sysdeps/powerpc/Makefile
4280 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
4281 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
4282 Declare '.machine power7' to get support for ldbrx.
4283 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
4284 directive based on the directory of the file.
4285 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
4286 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
4287 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
4288 '.machine' directive.
4289 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
4290 (VADDUQM_V7_V8): Remove.
4291 (__STRCASECMP): Replace macros with actual instructions.
4292 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
4293 '.machine' directive.
4294 (VCLZD_V8_v7): Remove.
4295 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
4297 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4299 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
4301 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
4303 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4305 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4307 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
4308 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
4309 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
4310 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
4311 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
4312 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4314 2019-05-28 mansayk <6688000@gmail.com>
4317 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
4319 2019-05-28 mansayk <6688000@gmail.com>
4322 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
4323 (abmon): Likewise, but remove the trailing dots.
4325 2019-05-28 Joseph Myers <joseph@codesourcery.com>
4327 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
4329 2019-05-27 Florian Weimer <fweimer@redhat.com>
4331 * nptl/nptl-init.c: Add comment.
4333 2019-05-24 Florian Weimer <fweimer@redhat.com>
4335 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
4336 struct in_addr/struct in6_addr alignment.
4338 2019-05-23 Joseph Myers <joseph@codesourcery.com>
4340 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4341 (F_SEAL_FUTURE_WRITE): New macro.
4343 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
4345 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
4346 * elf/tst-ldconfig-bad-aux-cache.c: New file.
4347 * elf/tst-ldconfig_aux-cache.root: New directory.
4348 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
4349 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
4350 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
4352 2019-05-22 Zack Weinberg <zackw@panix.com>
4354 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
4356 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
4357 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
4359 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
4360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
4364 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
4365 Issue an #error if used with a compiler in SPE-float mode.
4366 * sysdeps/powerpc/powerpc32/__longjmp_common.S
4367 * sysdeps/powerpc/powerpc32/setjmp_common.S
4368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
4370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
4371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
4372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4374 Remove code to preserve SPE register state.
4376 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4377 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4378 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
4379 Remove __SPE__ ifndefs.
4381 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
4383 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
4384 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
4385 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
4386 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
4387 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
4388 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
4389 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
4390 (INNER_LOOP_ITERS_MEDIUM): New define.
4391 (INNER_LOOP_ITERS_SMALL): New define.
4392 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
4393 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
4394 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
4395 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
4396 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
4398 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4400 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
4402 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
4403 (SEMTIMEDOP_IPC_ARGS): Likewise.
4405 2019-05-21 Florian Weimer <fweimer@redhat.com>
4408 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
4409 before updating __counter field and release it afterwards. Add
4411 * iconv/gconv.h (struct __gconv_step): Mention synchronization
4412 requirement for __counter member.
4414 2019-05-21 Florian Weimer <fweimer@redhat.com>
4417 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
4418 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
4419 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
4420 instead of __gconv_release_step.
4421 * libio/Makefile (tests): Add tst-wfile-gconv.
4422 (tests-container): Add tst-wfile-ascii.
4423 (tst-wfile-gconv-ENV): Enable mtrace.
4424 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
4425 (tests-special): Add tst-wfile-gconv-mem.out.
4426 (tst-wfile-gconv.out): Depend on locales.
4427 (tst-wfile-gconv-mem.out): Add mtrace rule.
4428 * libio/tst-wfile-ascii.c: New file.
4429 * libio/tst-wfile-gconv.c: Likewise.
4431 2019-05-20 Florian Weimer <fweimer@redhat.com>
4434 libio: Remove codecvt vtable.
4435 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
4437 * libio/iofgetpos.c (_IO_new_fgetpos): Call
4438 __libio_codecvt_encoding.
4439 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
4440 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4441 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
4442 * libio/iofwide.c (__libio_codecvt): Remove variable.
4443 (_IO_fwide): Do not copy __libio_codecvt.
4444 (__libio_codecvt_out): Rename from do_out and export.
4445 (do_unshift): Remove function.
4446 (__libio_codecvt_in): Rename from do_in and export.
4447 (__libio_codecvt_encoding): Rename from do_encoding and export.
4448 (do_always_noconv): Remove function.
4449 (__libio_codecvt_length): Rename from do_length and export.
4450 (do_max_length): Remove function.
4451 * libio/libio.h (enum __codecvt_result): Remove definition; moved
4453 (struct _IO_codecvt): Remove fields __codecvt_destr,
4454 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
4455 __codecvt_do_encoding, __codecvt_do_always_noconv,
4456 __codecvt_do_length, __codecvt_do_max_length.
4457 * libio/libioP.h (enum __codecvt_result): Define; moved from
4459 (__libio_codecvt_out, __libio_codecvt_in)
4460 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
4462 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
4463 (_IO_wfile_underflow): Call __libio_codecvt_in.
4464 (_IO_wfile_underflow): Likewise.
4465 (_IO_wfile_underflow_mmap): Likewise.
4466 (_IO_wfile_sync): Call __libio_codecvt_encoding,
4467 __libio_codecvt_length.
4468 (adjust_wide_data): Call __libio_codecvt_encoding,
4470 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
4471 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
4472 __libio_codecvt_length.
4474 2019-05-20 Florian Weimer <fweimer@redhat.com>
4476 * support/support.h (support_sbindir_prefix): Declare.
4477 (support_install_rootsbindir): Update comment.
4478 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
4479 * support/support_paths.c (support_sbindir_prefix): Define.
4481 2019-05-20 Mike Crowe <mac@mcrowe.com>
4483 * support/timespec.c: Add backslash to correct newline in failure
4486 * support/timespec.h: Correct confusing comment.
4488 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4490 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
4492 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
4493 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
4494 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
4495 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
4498 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
4501 2019-05-20 Joseph Myers <joseph@codesourcery.com>
4503 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
4504 (NT_ARM_PACG_KEYS): Likewise.
4506 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
4508 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
4509 (tcache_put): Remove redundant assert.
4510 (tcache_get): Remove redundant asserts.
4511 (__libc_malloc): Check tcache count is not zero.
4512 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
4514 2019-05-17 Florian Weimer <fweimer@redhat.com>
4516 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
4518 2019-05-16 Joseph Myers <joseph@codesourcery.com>
4520 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4521 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
4523 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
4525 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4526 (__ASSUME_STATX): Likewise.
4528 2019-05-16 Florian Weimer <fweimer@redhat.com>
4530 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
4532 (LINE_PARSER): Do not map IPv4 addresses.
4533 (internal_nis_gethostent_r): Remove flags argument. Adjust call
4535 (_nss_nis_gethostent_r): Always pass AF_INET to
4536 internal_nis_gethostent_r.
4537 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4539 (_nss_nis_gethostbyname2_r): Adjust call to
4540 internal_nis_gethostent_r.
4541 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
4542 call to internal_nis_gethostent_r.
4543 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
4545 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
4546 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
4547 Remove flags argument. Do not map IPv4 addresses.
4548 (internal_nisplus_gethostent_r): Adjust call to
4549 _nss_nisplus_parse_hostent.
4550 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4551 to _nss_nisplus_parse_hostent.
4552 (_nss_nisplus_gethostbyname2_r): Adjust call to
4553 internal_gethostbyname2_r.
4554 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
4555 Adjust call to internal_gethostbyname2_r.
4556 (_nss_nisplus_gethostbyaddr_r): Adjust call to
4557 _nss_nisplus_parse_hostent.
4558 (_nss_nisplus_gethostbyname4_r): Adjust call to
4559 internal_gethostbyname2_r.
4561 2019-05-16 Florian Weimer <fweimer@redhat.com>
4563 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4565 (LINE_PARSER): Remove address mapping.
4566 (EXTRA_ARGS_VALUE): Remove flags argument.
4567 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
4568 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
4569 gethostbyname3_multi.
4570 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
4571 _nss_files_gethostbyname3_r.
4572 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
4574 2019-05-16 Florian Weimer <fweimer@redhat.com>
4576 * support/support_test_compare_blob.c (report_blob): Report
4577 incorrect NULL blobs.
4579 2019-05-15 Mark Wielaard <mark@klomp.org>
4582 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
4583 __libc_once_get (once) and static_buf == NULL.
4584 (__dlerror): Check we have a valid key, set result to static_buf
4587 2019-05-15 Andreas Schwab <schwab@suse.de>
4590 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
4591 __codecvt_do_length.
4592 * libio/Makefile (tests): Add tst-wfile-sync.
4593 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
4594 * libio/tst-wfile-sync.c: New file.
4595 * libio/tst-wfile-sync.input: New file.
4597 2019-05-15 Florian Weimer <fweimer@redhat.com>
4599 nss: Turn __nss_database_lookup into a compatibility symbol.
4600 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4601 __nss_database_lookup.
4602 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4603 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4604 __nss_database_lookup.
4605 (__nss_next): Move to …
4606 * nss/compat-lookup.c (nss_next): … here. Change it to fail
4608 (__nss_database_lookup): New function.
4609 * nss/Versions (GLIBC_2.0): Update comment.
4610 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4611 * grp/initgroups.c (internal_getgrouplist): Call
4612 __nss_database_lookup2 instead of __nss_database_lookup.
4613 * nscd/aicache.c (addhstaiX): Likewise.
4614 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4615 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4616 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4617 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4618 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4620 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4621 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4624 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
4626 * support/support.h (support_install_rootsbindir): New variable.
4627 * support/support_paths.c: Likewise.
4628 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4630 2019-05-15 Florian Weimer <fweimer@redhat.com>
4632 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4633 * iconv/gconv_int.h (__gconv_transliterate): … here.
4634 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4635 * iconv/skeleton.c: Likewise.
4637 2019-05-14 Florian Weimer <fweimer@redhat.com>
4639 Linux: Add the tgkill function.
4640 * bits/signal_ext.h: New file.
4641 * manual/signal.texi (Signaling Another Process): Document tgkill.
4642 * signal/Makefile (headers): Add bits/signal_ext.h.
4643 * signal/signal.h: Include <bits/signal_ext.h>.
4644 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4645 (tst-tgkill): Link with libpthread.
4646 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4647 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4648 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4649 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4651 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4652 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4653 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4654 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4655 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4656 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4657 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4658 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4659 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4660 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4661 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4663 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4664 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4665 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4674 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4675 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4676 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4677 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4678 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4679 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4680 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4681 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4683 2019-05-14 Carlos O'Donell <carlos@redhat.com>
4685 * manual/search.texi (Tree Search Function): Adjust twalk_r
4688 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4691 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4694 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4695 * support/support.h (support_bindir_prefix): New variable.
4696 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4698 * config.make.in (bindir): New variable.
4700 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4701 (lll_trylock): Call __lll_trylock.
4702 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4703 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4704 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4705 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4706 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4707 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4708 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4709 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4710 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4711 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4712 lowlevellock-futex.h.
4714 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4715 initialization for LLL_LOCK_INITIALIZER different than 0.
4716 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4717 Assume LLL_LOCK_INITIALIZER being 0.
4718 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4719 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4721 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4722 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4724 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4725 Optimize futex call and add systemtap probe.
4727 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4728 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4729 __libc_disable_asynccancel, __librt_enable_asynccancel,
4730 __libc_disable_asynccancel, __librt_enable_asynccancel,
4731 __librt_disable_asynccancel): Move to ...
4732 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4733 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4734 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4735 * sysdeps/generic/single-thread.h: New file.
4736 * sysdeps/unix/sysdep.h: Include single-thread.h.
4737 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4738 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4740 2019-05-08 Mike FABIAN <mfabian@redhat.com>
4743 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4744 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4746 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4747 * localedata/unicode-gen/PropList.txt: Likewise.
4748 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4749 * localedata/charmaps/UTF-8: Regenerate.
4750 * localedata/locales/i18n_ctype: Likewise.
4751 * localedata/locales/tr_TR: Likewise.
4752 * localedata/locales/translit_circle: Likewise.
4753 * localedata/locales/translit_cjk_compat: Likewise.
4754 * localedata/locales/translit_combining: Likewise.
4755 * localedata/locales/translit_compat: Likewise.
4756 * localedata/locales/translit_font: Likewise.
4757 * localedata/locales/translit_fraction: Likewise.
4759 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4762 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4763 (do_set_tcache_count): Only update if count is small enough.
4764 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4766 2019-05-10 Florian Weimer <fweimer@redhat.com>
4768 * nptl/sem_close.c (struct walk_closure): Define.
4769 (walker): Adjust for __twalk_r.
4770 (sem_close): Call __twalk_r.
4772 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4774 * support/timespec.c (test_timespec_before_impl,
4775 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4778 2019-05-09 Mike Crowe <mac@mcrowe.com>
4780 * nptl/tst-abstime.c: Use libsupport.
4782 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4783 small bug where only tv.tv_usec was checked which could cause an
4784 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4787 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4790 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4791 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4793 * nptl/tst-cond11.c: Use libsupport.
4795 * support/timespec.h: New file. Provide timespec helper functions
4796 along with macros in the style of those in check.h.
4797 * support/timespec.c: New file. Implement check functions declared
4798 in support/timespec.h.
4799 * support/timespec-add.c: New file from gnulib containing
4800 timespec_add implementation that handles overflow.
4801 * support/timespec-sub.c: New file from gnulib containing
4802 timespec_sub implementation that handles overflow.
4803 * support/README: Mention timespec.h.
4805 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4808 * nptl/Makefile: Move tst-eintr1 to xtests.
4810 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4812 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4814 (round_mode): Add definition for TRUNC.
4815 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4816 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4817 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4818 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4819 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4821 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4823 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4825 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4827 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4829 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4831 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4833 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4835 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4836 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4837 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4838 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4839 s_truncf-power5+, and s_truncf-ppc64.
4840 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4841 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4843 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4845 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4846 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4848 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4851 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4852 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4853 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4854 s_truncf-power5+, and s_truncf-ppc64.
4855 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4857 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4858 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4860 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4861 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4862 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4863 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4864 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4866 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4868 (round_mode): Add definition for ROUND.
4869 (round_to_integer_float): Likewise.
4870 * sysdeps/powerpc/fpu/s_round.c: New file.
4871 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4872 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4873 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4874 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4876 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4878 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4880 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4882 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4884 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4886 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4888 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4890 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4891 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4892 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4893 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4894 s_roundf-power5+, and s_roundf-ppc64.
4895 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4896 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4898 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4900 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4901 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4903 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4906 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4907 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4908 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4909 s_roundf-power5+, and s_roundf-ppc64.
4910 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4912 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4913 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4915 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4916 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4917 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4918 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4919 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4921 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4923 (round_mode): Add definition for FLOOR.
4924 * sysdeps/powerpc/fpu/s_floor.c: New file.
4925 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4926 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4927 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4944 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4945 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4946 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4947 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4948 s_floorf-power5+, and s_floorf-ppc64.
4949 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4950 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4952 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4954 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4955 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4957 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4960 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4961 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4962 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4963 s_floorf-power5+, and s_floorf-ppc64.
4964 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4972 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4973 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4974 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4975 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4977 2019-05-08 Mike Crowe <mac@mcrowe.com>
4979 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4980 clock_gettime wrapper for use in tests that fails the test rather
4981 than returning failure.
4983 * support/xtime.h: New file to declare xclock_gettime.
4985 * support/Makefile: Add xclock_gettime.c.
4987 * support/README: Mention xtime.h.
4989 2019-05-08 Florian Weimer <fweimer@redhat.com>
4991 malloc/tst-mallocfork2: Use process-shared barriers.
4992 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4993 (signal_count, sigusr1_sender_pid): Remove.
4994 (iterations): Define constant.
4995 (shared): New variable.
4996 (sigusr1_received): Update comment.
4997 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4998 (signal_sender): Optional use barriers to avoid sending signals
4999 during irrelevant times.
5000 (do_it): Initialize variable shared. Use xfork for error
5001 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
5002 the iteration count, independent of signal delivery. Check for
5003 deadlocks in fork. Introduce barriers for reducing signal
5004 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
5005 replaced by the barriers. Count signals during fork/free/malloc
5007 * malloc/Makefile (tst-mallocfork): Link with libpthread.
5009 2019-05-07 Joseph Myers <joseph@codesourcery.com>
5011 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5013 (clock_adjtime64) New syscall.
5014 (clock_getres_time64) Likewise.
5015 (clock_gettime64) Likewise.
5016 (clock_nanosleep_time64) Likewise.
5017 (clock_settime64) Likewise.
5018 (futex_time64) Likewise.
5019 (io_pgetevents_time64) Likewise.
5020 (io_uring_enter) Likewise.
5021 (io_uring_register) Likewise.
5022 (io_uring_setup) Likewise.
5023 (mq_timedreceive_time64) Likewise.
5024 (mq_timedsend_time64) Likewise.
5025 (pidfd_send_signal) Likewise.
5026 (ppoll_time64) Likewise.
5027 (pselect6_time64) Likewise.
5028 (recvmmsg_time64) Likewise.
5029 (rt_sigtimedwait_time64) Likewise.
5030 (sched_rr_get_interval_time64) Likewise.
5031 (semtimedop_time64) Likewise.
5032 (timer_gettime64) Likewise.
5033 (timer_settime64) Likewise.
5034 (timerfd_gettime64) Likewise.
5035 (timerfd_settime64) Likewise.
5036 (utimensat_time64) Likewise.
5038 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
5039 version to 9 branch.
5041 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5043 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
5044 __memmove_thunderx2 to the list of implementations
5045 * sysdeps/aarch64/multiarch/memmove.c: Likewise
5046 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
5047 (__memmove_thunderx2): Rewritten using SIMD ld/st
5048 (__memcpy_thunderx2): Fixed handling overlapping cases.
5049 Used ldp/stp instead of ldr/str if possible. Made loops
5052 2019-05-03 Florian Weimer <fweimer@redhat.com>
5054 * misc/tst-tsearch.c (walk_tree): Add more error checking.
5056 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5059 * elf/tst-pldd.c (in_str_list): New function.
5060 (do_test): Add default names for ld and libc as one option.
5062 2019-05-02 Florian Weimer <fweimer@redhat.com>
5064 misc: Add twalk_r function.
5065 * include/search.h (__twalk_r): Declare.
5066 * manual/examples/twalk.c: New file.
5067 * manual/search.texi (Tree Search Function): Document twalk_r.
5068 * misc/Versions (2.30): Export twalk_r.
5069 (GLIBC_PRIVATE): Export __twalk_r.
5070 * misc/search.h [__USE_GNU] (twalk_r): Declare.
5071 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
5072 (twalk_r): Add weak alias.
5073 * misc/tst-tsearch.c (struct walk_trace_element): Define.
5074 (walk_trace): New variable.
5075 (struct twalk_with_twalk_r_closure): Define.
5076 (twalk_with_twalk_r_action): New function.
5077 (twalk_with_twalk_r): Likewise.
5078 (walk_action): Call walk_trace_add.
5079 (walk_tree_with): Rename from walk_tree. Add walk argument.
5080 (walk_tree): New function.
5081 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
5082 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
5084 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
5086 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
5087 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
5088 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
5089 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
5090 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
5091 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
5093 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
5095 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
5097 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5098 (GLIBC_2.30): Likewise.
5099 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5100 (GLIBC_2.30): Likewise.
5101 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5102 (GLIBC_2.30): Likewise.
5103 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5104 (GLIBC_2.30): Likewise.
5105 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5108 (GLIBC_2.30): Likewise.
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5110 (GLIBC_2.30): Likewise.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
5112 (GLIBC_2.30): Likewise.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
5114 (GLIBC_2.30): Likewise.
5115 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
5117 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
5119 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
5121 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
5122 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
5124 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
5126 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
5128 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
5131 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
5133 Make mktime etc. compatible with __time64_t
5134 Keep these functions compatible with Gnulib while adding
5135 __time64_t support. The basic idea is to move private API
5136 declarations from include/time.h to time/mktime-internal.h, since
5137 the former file cannot easily be shared with Gnulib whereas the
5139 Also, do some other minor cleanup while in the neighborhood.
5140 * include/time.h: Include stdbool.h, time/mktime-internal.h.
5141 (__mktime_internal): Move this prototype to time/mktime-internal.h,
5142 since Gnulib needs it.
5143 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
5144 Move these macros to time/mktime-internal.h, since Gnulib needs them.
5145 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
5146 (in_time_t_range): New static function.
5147 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
5148 so that glibc users are not tempted to use __time64_t.
5149 * time/mktime-internal.h: Rewrite so that it does both glibc
5150 and Gnulib work. Include time.h if not _LIBC.
5151 (mktime_offset_t) [!_LIBC]: Define for gnulib.
5152 (__time64_t): New type or macro, moved here from
5154 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
5155 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
5156 from include/time.h.
5157 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
5158 New macros, taken from GNulib.
5159 (__mktime_internal): New prototype, moved here from include/time.h.
5160 * time/mktime.c (mktime_min, mktime_max, convert_time)
5161 (ranged_convert, __mktime_internal, __mktime64):
5162 * time/timegm.c (__timegm64):
5163 Use __time64_t, not time_t.
5164 * time/mktime.c: Stop worrying about whether time_t is floating-point.
5165 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
5167 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
5168 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
5169 for libc_hidden_def.
5171 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
5173 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
5175 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
5178 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
5179 from `-Wmaybe-uninitialized'.
5180 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
5182 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5184 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
5186 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
5187 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
5188 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
5189 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
5190 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5192 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
5193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
5197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
5201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
5203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
5205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
5207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
5209 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
5210 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
5211 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
5212 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
5214 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
5216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
5217 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
5218 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
5220 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
5222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
5223 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
5225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5226 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
5227 s_ceilf-power5+, and s_ceilf-ppc64.
5228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
5230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
5231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
5232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
5233 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
5234 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
5235 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
5236 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
5238 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
5239 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
5240 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
5242 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
5244 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
5245 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
5246 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
5247 (sem_getvalue): Likewise.
5249 2019-04-26 Florian Weimer <fweimer@redhat.com>
5251 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
5252 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
5254 2019-04-26 Florian Weimer <fweimer@redhat.com>
5256 Makeconfig: Move -Wl,-rpath-link options before library references.
5257 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
5258 (link-libc): Remove $(link-libc-rpath-link).
5260 2019-04-25 Florian Weimer <fweimer@redhat.com>
5262 * Makeconfig (+link-pie-before-libc): Remove $(CC).
5263 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
5264 (+link-static-before-libc): Remove $(CC).
5265 (+link-static, +link-static-tests): Add $(CC).
5266 (+link-before-libc): Remove $(CC).
5267 (+link, +link-pie, +link-pie-printers): Add $(CC).
5269 2019-04-26 Florian Weimer <fweimer@redhat.com>
5271 * Makeconfig (+link-pie-before-libc): Remove $(CC).
5272 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
5273 (+link-static-before-libc): Remove $(CC).
5274 (+link-static, +link-static-tests): Add $(CC).
5275 (+link-before-libc): Remove $(CC).
5276 (+link, +link-pie, +link-pie-printers): Add $(CC).
5278 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
5281 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
5283 2019-04-25 Florian Weimer <fweimer@redhat.com>
5285 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
5286 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
5287 (bench-link-targets): New variable.
5288 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
5290 2019-04-25 Florian Weimer <fweimer@redhat.com>
5292 Also enable BIND_NOW for programs if --enable-bind-now.
5293 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
5294 (+link-pie): Use $(link-extra-flags).
5295 (+link-static): Likewise.
5296 [! $(build-pie-default)] (+link): Likewise.
5297 * manual/install.texi (Configuring and compiling): Update
5298 --enable-bind-now description.
5299 * INSTALL: Regenerated.
5301 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
5303 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
5304 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
5306 2019-04-24 Mike Frysinger <vapier@gentoo.org>
5309 * malloc/Makefile (others): Add memusagestat.
5310 ($(objpfx)memusagestat): Delete rule.
5311 (LDLIBS-memusagestat): New variable.
5313 2019-04-24 Florian Weimer <fweimer@redhat.com>
5315 * locale/Makefile (tests-special): Guard setting by
5316 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
5317 to run while cross-compiling.
5319 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5322 * elf/Makefile (tests-container): Add tst-pldd.
5323 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
5324 (E(find_maps)): Avoid use alloca, use default read file operations
5325 instead of explicit LFS names, and fix infinite loop.
5326 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
5327 (get_process_info): Use _Static_assert instead of assert, use default
5328 directory operations instead of explicit LFS names, and free some
5330 * elf/tst-pldd.c: New file.
5332 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
5334 * malloc/arena.c (do_set_mallopt_check): Removed.
5336 2019-04-23 Florian Weimer <fweimer@redhat.com>
5338 locale: Add LOCPATH diagnostics to the locale program.
5339 * locale/programs/locale.c (setlocale_failed): New variable.
5340 (try_setlocale): New function.
5341 (quote_string): Likewise.
5342 (setlocale_diagnostics): Likewise.
5343 (main): Call try_setlocale instead of setlocale. Call
5344 setlocale_diagnostics.
5345 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
5346 (tst-locale-locpath.out): New target.
5347 * locale/tst-locale-locpath.sh: New file.
5349 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5351 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
5354 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5357 * malloc/hooks.c (malloc_check, realloc_check): Use
5358 __builtin_add_overflow on overflow check and adapt to
5359 checked_request2size change.
5360 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
5361 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
5362 allocation size to PTRDIFF_MAX.
5363 (REQUEST_OUT_OF_RANGE): Remove macro.
5364 (checked_request2size): Change to inline function and limit maximum
5365 requested size to PTRDIFF_MAX.
5366 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
5367 maximum allocation size to PTRDIFF_MAX.
5368 (_mid_memalign): Use _int_memalign call for overflow check.
5369 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
5370 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
5371 limit maximum requested size to PTRDIFF_MAX.
5372 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
5373 valloc, pvalloc): Add __attribute_alloc_size__.
5374 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
5375 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
5376 larger than PTRDIFF_MAX.
5377 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
5378 around tests of malloc with negative sizes.
5379 * malloc/tst-posix_memalign.c (do_test): Likewise.
5380 * malloc/tst-pvalloc.c (do_test): Likewise.
5381 * malloc/tst-valloc.c (do_test): Likewise.
5382 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
5383 with resulting size allocation larger than PTRDIFF_MAX with
5384 reallocarray_nowarn.
5385 (reallocarray_nowarn): New function.
5386 * NEWS: Mention the malloc function semantic change.
5388 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5390 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
5391 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
5393 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
5394 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
5395 * sysdeps/powerpc/fpu/s_fma.c: New file.
5396 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
5398 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
5399 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
5401 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
5402 the magic flag store.
5403 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5405 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
5407 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
5408 Remove rt_sigreturn call.
5410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5411 Remove rt_sigreturn call.
5412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
5415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5417 * support/Makefile (libsupport-routines): Add support_subprocess,
5418 xposix_spawn, xposix_spawn_file_actions_addclose, and
5419 xposix_spawn_file_actions_adddup2.
5420 (tst-support_capture_subprocess-ARGS): New rule.
5421 * support/capture_subprocess.h (support_capture_subprogram): New
5423 * support/support_capture_subprocess.c (support_capture_subprocess):
5424 Refactor to use support_subprocess and support_capture_poll.
5425 (support_capture_subprogram): New function.
5426 * support/tst-support_capture_subprocess.c (write_mode_to_str,
5427 str_to_write_mode, test_common, parse_int, handle_restart,
5428 do_subprocess, do_subprogram, do_multiple_tests): New functions.
5429 (do_test): Add support_capture_subprogram tests.
5430 * support/subprocess.h: New file.
5431 * support/support_subprocess.c: Likewise.
5432 * support/xposix_spawn.c: Likewise.
5433 * support/xposix_spawn_file_actions_addclose.c: Likewise.
5434 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
5435 * support/xspawn.h: Likewise.
5437 2019-04-17 Mike Gerow <gerow@google.com>
5439 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
5442 2019-04-11 Florian Weimer <fweimer@redhat.com>
5444 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
5445 domain with empty string.
5446 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5448 2019-04-11 Florian Weimer <fweimer@redhat.com>
5450 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
5452 (alloc_buffer_next): Change return type to non-const. Update
5455 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
5457 * manual/time.texi (Formatting Calendar Time): Add missing percent
5458 sign to conversion specifier.
5460 2019-04-09 Carlos O'Donell <carlos@redhat.com>
5461 Kwok Cheung Yeung <kcy@codesourcery.com>
5464 * malloc/mtrace.c: Define prototypes for all hooks.
5465 (set_default_hooks): New function.
5466 (set_trace_hooks): Likewise.
5467 (save_default_hooks): Likewise.
5468 (tr_freehook): Use new s*_hooks functions.
5469 (tr_mallochook): Likewise.
5470 (tr_reallochook): Likewise.
5471 (tr_memalignhook): Likewise.
5473 (muntrace): Likewise.
5475 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5477 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
5478 (generic_stpcpy): New function.
5479 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
5480 (generic_stpncpy): New function.
5481 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
5482 (generic_strcat): New function.
5483 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
5484 (generic_strcpy): New function.
5485 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
5486 (STUPID_STRNCAT): Remove function.
5487 (generic_strncat): New function.
5488 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
5489 (STUPID_STRNCPY): Remove function.
5490 (generic_strncpy): New function.
5491 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
5492 (generic_strnlen): New function.
5493 (memchr_strnlen): New function.
5494 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
5495 (memchr_strlen): Likewise.
5497 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5499 * benchtests/bench-strstr.c (input): Add realistic input text.
5500 (stupid_strstr): Remove function.
5501 (basic_strstr): Add function.
5502 (twoway_strstr): Add function.
5503 (do_one_test): Add result checking.
5504 (do_test): Use new input text. Remove accidental early matches.
5505 (test_main): Improve range of tests, reduce unaligned cases.
5507 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5509 * benchtests/bench-memmem.c (simple_memmem): Remove function.
5510 (basic_memmem): Add function.
5511 (twoway_memmem): Add function.
5513 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5515 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
5516 * benchtests/bench-malloc-thread.c: Likewise.
5517 * benchtests/bench-skeleton.c: Likewise.
5518 * benchtests/bench-strtod.c: Likewise.
5519 * benchtests/bench-timing.h: Likewise.
5521 2019-04-08 Florian Weimer <fweimer@redhat.com>
5523 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
5525 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
5526 RES_INSECURE2 security checks.
5527 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
5528 RES_INSECURE2 handling.
5530 2019-04-08 Florian Weimer <fweimer@redhat.com>
5532 resolv: Remove support for RES_USE_INET6 and the inet6 option.
5533 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
5534 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
5536 * resolv/Makefile (tests): Remove tst-res_use_inet6.
5537 (tests-internal): Update justification for tst-resolv-res_init,
5538 tst-resolv-res_init-thread.
5539 (tst-res_use_inet6): Remove target.
5540 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
5541 * resolv/res_debug.c (p_option): Remove "inet6" support.
5542 * resolv/res_init.c (res_setoptions): Likewise.
5543 * resolv/res_use_inet6.h: Remove file.
5544 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
5546 (res_use_inet6): Always return false.
5547 * resolv/resolv.h (RES_USE_INET6): Remove definition.
5548 * resolv/resolv_context.h: Adjust file comment.
5549 (struct resolv_context): Update comment on __next field.
5550 (__resolv_context_put): Update comment.
5551 * resolv/tst-res_use_inet6.c: Remove file.
5552 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
5554 (test_cases): Adjust test case.
5555 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
5556 (thread_byname2_af_inet6): Use old byname_inet6 code.
5557 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
5558 (gai): Remove do_inet6 argument.
5559 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
5560 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
5561 (thread_gai_unspec_inet6): Remove functions.
5562 (do_test): Adjust thread_funcs.
5563 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
5565 (gaih_inet): Do not disable RES_USE_INET6 flag.
5567 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5569 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
5570 and remove redundant code.
5572 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5574 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
5576 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
5577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
5579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
5581 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
5583 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5584 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
5585 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
5586 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
5587 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5588 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
5589 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5590 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
5592 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
5593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5594 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5595 Remove wcsrchr optimizations.
5596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5598 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5601 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5603 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5604 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5606 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5608 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5610 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5611 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5612 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5613 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5614 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5615 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5617 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5619 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5621 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5622 Remove wcschr optimizations.
5623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5625 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5628 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5630 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5631 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5633 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5635 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5637 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5638 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5639 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5640 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5641 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5642 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5643 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5644 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5646 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5648 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5649 Remove wcscpy optimizations.
5650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5652 * include/loop_unroll.h: New file.
5653 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5654 besides generic implementation.
5656 2019-04-03 DJ Delorie <dj@redhat.com>
5658 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5659 snprintf truncating output.
5661 2019-04-02 DJ Delorie <dj@redhat.com>
5663 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5666 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5669 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5671 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5672 (mkreftable): Add rules for the new Japanese era and the new dates.
5674 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5675 Rafał Lużyński <digitalfreak@lingonborough.com>
5677 * time/tst-strftime2.c (date_t): Explicitly define the type.
5678 (dates): Use natural month and year numbers to express a date.
5679 (is_before): New function to compare dates.
5680 (mkreftable): Minor improvements to simplify maintenance.
5681 (do_test): Reflect the changes in dates array.
5684 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5685 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5686 * time/tst-strftime2.c (locales): Likewise.
5687 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5688 2010-04-01, and 2011-04-01.
5689 (mkreftable): Add rules for the new locales and the new dates.
5691 2019-04-01 Carlos O'Donell <carlos@redhat.com>
5693 * localedata/locales/ja_JP: Add comments to era entries.
5695 2019-04-01 DJ Delorie <dj@redhat.com>
5698 * time/strptime_l.c (%Ey): Fix fencepost error.
5699 * time/tst-strftime3.c: New.
5700 * time/Makefile (tests): Add tst-strftime3.
5702 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
5704 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5705 conditional branch to DIVBYZERO. Fix unwind info.
5706 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5707 excb after conditional branch to $powerof2. Add missing unop
5708 instructions and .align directives and reorder instructions to
5711 2019-04-01 Richard Henderson <rth@twiddle.net>
5713 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5715 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5718 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
5720 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5721 $libc_cv_riscv_float_abi in `test' invocation.
5722 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5724 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
5726 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5728 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5730 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5731 (_GET_SI_FPSCR): Likewise.
5732 (_SET_SI_FPSCR): Likewise.
5734 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5736 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5738 (signbit): Use builtin for clang 3.3.
5739 (isinf): Use builtin for clang 3.7.
5741 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5743 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5745 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5747 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5750 2019-03-25 Mike Crowe <mac@mcrowe.com>
5752 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5753 pthread_rwlock_timedrdlock with calls to
5754 pthread_rwlock_timedwrlock to ensure that the latter is tested
5755 too. Use new function name in diagnostic messages too.
5757 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5758 (do_test) Use libsupport test macros rather than hand-coded
5759 conditionals and error messages. Ensure that sem_init returns zero
5760 rather than not -1. Use <support/test-driver.c> rather than
5763 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5764 test macros rather than hand-coded conditionals and error messages.
5765 Use <support/test-driver.c> rather than test-skeleton.c.
5767 2019-03-25 Joseph Myers <joseph@codesourcery.com>
5769 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5771 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5772 (NT_MIPS_MSA): Likewise.
5774 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5776 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5777 * benchtests/README: Update description.
5778 * benchtests/bench-timing.h: Default to hp-timing.
5779 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5780 HP_TIMING_PRINT): Remove.
5781 (HP_TIMING_NOW): Add generic implementation.
5782 (hp_timing_t): Change to uint64_t.
5784 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5786 * nptl/descr.h: Likewise.
5787 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5788 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5789 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5790 Abstract hp-timing usage with RTLD_* macros.
5791 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5792 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5793 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5794 HP_TIMING_NONAVAIL): Likewise.
5795 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5797 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5798 HP_SMALL_TIMING_AVAIL): Likewise.
5799 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5800 HP_SMALL_TIMING_AVAIL): Likewise.
5801 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5802 HP_SMALL_TIMING_AVAIL): Likewise.
5803 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5804 HP_SMALL_TIMING_AVAIL): Likewise.
5805 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5807 * sysdeps/generic/hp-timing-common.h: Update comment with
5808 HP_TIMING_AVAIL removal.
5810 * include/random-bits.h: New file.
5811 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5812 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5814 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5815 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5818 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5819 * rt/Makefile (clock-routines): Remove get_clockfreq.
5820 * rt/get_clockfreq.c: Remove file.
5821 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5822 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5823 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5824 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5825 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5827 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5828 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5829 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5830 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5831 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5833 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5834 pthread_clock_settime.
5835 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5836 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5837 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5838 * elf/rtld.c (_dl_start_final): Likewise.
5839 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5840 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5842 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5843 (_dl_cpuclock_offset): Remove.
5844 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5845 cpuclock_offset_ununsed.
5846 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5847 cpuclock_offset set.
5848 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5849 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5850 * nptl/pthread_clock_gettime.c: Remove file.
5851 * nptl/pthread_clock_settime.c: Likewise.
5852 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5853 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5854 and CLOCK_PROCESS_CPUTIME_ID support.
5855 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5856 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5857 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5858 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5859 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5861 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5863 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5865 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5866 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5867 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5869 * sysdeps/s390/memmem-arch13.S: New file.
5870 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5871 if it is only used as fallback.
5872 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5873 * sysdeps/s390/multiarch/ifunc-impl-list.c
5874 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5876 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5878 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5879 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5880 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5882 * sysdeps/s390/multiarch/ifunc-impl-list.c
5883 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5884 * sysdeps/s390/strstr-arch13.S: New file.
5885 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5886 if it is only used as fallback.
5887 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5889 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5891 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5892 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5893 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5894 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5896 * sysdeps/s390/multiarch/ifunc-impl-list.c
5897 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5898 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5899 S390_IS_ARCH13_MIE3): New defines.
5901 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5903 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5904 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5905 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5906 * sysdeps/s390/configure: Regenerated.
5908 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5910 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5911 Add vxe2, vxp, dflt, sort flags.
5912 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5913 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5915 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5916 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5917 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5918 HWCAP_S390_DFLT): Define.
5920 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5923 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5924 of compiler warning.
5925 * locale/programs/ld-collate.c (collate_output): Likewise.
5927 2019-03-21 DJ Delorie <dj@redhat.com>
5930 * iconv/iconvconfig.c (write_output): Replace floating point math
5931 with integer math to avoid imprecise results.
5932 * locale/programs/ld-collate.c (collate_output): Likewise.
5934 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
5936 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5937 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5939 2019-03-20 mansayk <6688000@gmail.com>
5942 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5943 (abday): Likewise, but remove the trailing dots.
5945 2019-03-19 Joseph Myers <joseph@codesourcery.com>
5947 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5949 (HWCAP_PACA): Likewise.
5950 (HWCAP_PACG): Likewise.
5951 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5953 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5955 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5957 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5960 2019-03-15 Joseph Myers <joseph@codesourcery.com>
5962 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5964 (old_getpagesize): New syscall.
5966 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5969 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5970 * localedata/locales/cmn_TW (era): Likewise.
5971 * localedata/locales/hak_TW (era): Likewise.
5972 * localedata/locales/lzh_TW (era): Likewise.
5973 * localedata/locales/nan_TW (era): Likewise.
5975 2019-03-14 Adam Maris <amaris@redhat.com>
5977 * malloc/malloc.c (_int_malloc): Check for large bin list
5978 corruption when inserting unsorted chunk.
5980 2019-03-14 Florian Weimer <fweimer@redhat.com>
5982 Remove obsolete, never-implemented XSI STREAMS declarations.
5983 * manual/terminal.texi (Allocation): Remove portability note and
5985 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5987 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5988 * sysdeps/unix/inet/Subdirs (streams): Remove.
5989 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5990 (conformtest-headers-UNIX98): Likewise.
5991 (conformtest-headers-XOPEN2K): Likewise.
5992 (conformtest-headers-POSIX2008): Likewise.
5993 * posix/compat-streams.c: New file.
5994 * posix/Makefile (routines): Add it.
5995 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5996 getpmsg, isastream, putmsg, putpmsg.
5997 (GLIBC_2.30): New section.
5998 * bits/stropts.h: Remove file.
5999 * bits/xtitypes.h: Likewise.
6000 * conform/data/stropts.h-data: Likewise.
6001 * include/stropts.h: Likewise.
6002 * include/sys/stropts.h: Likewise.
6003 * include/xtitypes.h: Likewise.
6004 * streams/Makefile: Likewise.
6005 * streams/fattach.c: Likewise.
6006 * streams/fdetach.c: Likewise.
6007 * streams/getmsg.c: Likewise.
6008 * streams/getpmsg.c: Likewise.
6009 * streams/isastream.c: Likewise.
6010 * streams/putmsg.c: Likewise.
6011 * streams/putpmsg.c: Likewise.
6012 * streams/stropts.h: Likewise.
6013 * streams/sys/stropts.h: Likewise.
6014 * sysdeps/ia64/bits/xtitypes.h: Likewise.
6015 * sysdeps/s390/bits/xtitypes.h: Likewise.
6016 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
6017 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
6018 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
6019 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
6020 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
6021 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
6022 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
6023 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
6024 * sysdeps/x86/bits/xtitypes.h: Likewise.
6026 2019-03-14 Florian Weimer <fweimer@redhat.com>
6028 * nss/tst-nss-files-alias-truncated.c (do_test): Load
6030 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
6031 but not with libnss_files.
6032 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
6034 2019-03-14 Zack Weinberg <zackw@panix.com>
6036 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
6037 Specify encoding="utf-8" when opening headers to check.
6039 2019-03-13 Joseph Myers <joseph@codesourcery.com>
6041 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6043 (Context.checkout_tar): Handle variable major version for Linux
6046 2019-03-13 Florian Weimer <fweimer@redhat.com>
6049 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
6051 2019-03-13 Zack Weinberg <zackw@panix.com>
6053 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
6055 * include/inttypes.h: Adjust to match.
6056 * include/stdint.h: New wrapper.
6058 2019-03-13 Zack Weinberg <zackw@panix.com>
6060 * scripts/check-obsolete-constructs.py: New test script.
6061 * scripts/check-installed-headers.sh: Remove tests for
6062 obsolete typedefs, superseded by check-obsolete-constructs.py.
6063 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
6064 as a special test. Update commentary.
6065 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
6066 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
6068 * posix/sys/types.h (__u_intN_t): Remove.
6069 (u_int8_t): Typedef using __uint8_t.
6070 (u_int16_t): Typedef using __uint16_t.
6071 (u_int32_t): Typedef using __uint32_t.
6072 (u_int64_t): Typedef using __uint64_t.
6074 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
6076 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
6078 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
6079 Ignore types other than AT_HWCAP.
6080 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
6081 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
6083 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
6084 in the case of falling back to generic output mechanism.
6085 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
6088 2019-03-12 Florian Weimer <fweimer@redhat.com>
6090 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
6092 2019-03-12 Florian Weimer <fweimer@redhat.com>
6095 resolv: Enable full ICMP errors for UDP DNS sockets
6096 * resolv/res_enable_icmp.c: New file.
6097 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
6098 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
6099 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
6102 2019-03-11 Mao Han <han_mao@c-sky.com>
6104 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
6105 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
6107 2019-03-11 Mao Han <han_mao@c-sky.com>
6109 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
6110 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6111 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6113 2019-03-11 Mao Han <han_mao@c-sky.com>
6115 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
6117 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
6120 2019-03-11 Mao Han <han_mao@c-sky.com>
6122 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
6123 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
6126 2019-03-08 Mike FABIAN <mfabian@redhat.com>
6129 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
6130 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
6132 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
6133 * localedata/unicode-gen/PropList.txt: Likewise.
6134 * localedata/unicode-gen/UnicodeData.txt: Likewise.
6135 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
6136 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
6137 * localedata/charmaps/UTF-8: Regenerate.
6138 * localedata/locales/i18n_ctype: Likewise.
6139 * localedata/locales/tr_TR: Likewise.
6140 * localedata/locales/translit_circle: Likewise.
6141 * localedata/locales/translit_cjk_compat: Likewise.
6142 * localedata/locales/translit_combining: Likewise.
6143 * localedata/locales/translit_compat: Likewise.
6144 * localedata/locales/translit_font: Likewise.
6145 * localedata/locales/translit_fraction: Likewise.
6147 2019-03-07 Joseph Myers <joseph@codesourcery.com>
6149 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
6150 than after operators.
6151 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
6152 (setitimer_locked): Likewise.
6153 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
6154 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
6155 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
6156 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
6157 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
6158 (PPC_CPU_SUPPORTED): Likewise.
6159 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
6160 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
6161 (stat_overflow): Likewise.
6162 (statfs_overflow): Likewise.
6163 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
6164 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
6165 (eq_ttyname_r): Likewise.
6166 (run_chroot_tests): Likewise.
6168 2019-03-07 Florian Weimer <fweimer@redhat.com>
6170 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
6173 2019-03-07 Martin Liska <mliska@suse.cz>
6175 * math/Makefile: Change location where math-vector-fortran.h is
6177 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
6178 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
6179 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
6180 * scripts/check-installed-headers.sh: Skip Fortran header files.
6181 * scripts/check-wrapper-headers.py: Likewise.
6183 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6185 * nptl/nptl-init.c (__have_futex_clock_realtime,
6186 __have_futex_clock_realtime): Remove definition.
6187 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
6188 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
6189 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
6190 __ASSUME_FUTEX_CLOCK_REALTIME support.
6191 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
6192 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6193 * sysdeps/unix/sysv/linux/kernel-features.h
6194 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
6195 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
6198 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6200 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
6201 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
6202 __GI___wcscpy and wcscpy.
6204 2019-03-04 Florian Weimer <fweimer@redhat.com>
6206 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
6208 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
6211 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
6213 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
6214 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6216 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
6219 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
6220 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
6222 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6224 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
6226 (do_test): Likewise.
6227 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6228 (do_test_call_varg): Likewise.
6229 (do_test_call_rarg): Likewise.
6230 * sysdeps/ieee754/ldbl-opt/Makefile
6231 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
6233 ($(objpfx)tst-nldbl-warn.c): New rule.
6234 ($(objpfx)tst-nldbl-error.c): Likewise.
6235 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
6238 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6241 * include/bits/error-ldbl.h: New file.
6242 * include/error.h: Include stdarg.h. Declare internal functions
6243 __error_internal and __error_at_line_internal.
6244 * misc/Makefile (headers): Add bits/error-ldbl.h.
6245 * misc/bits/error-ldbl.h: New file.
6246 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
6247 avoid the inclusion of bits/error.h.
6248 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
6249 and __nldbl_error_at_line.
6250 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
6251 (__nldbl_error, __ndlbl_error_at_line): New functions.
6252 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
6253 Redirect error and error_at_line.
6254 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
6255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6263 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6264 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6265 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6267 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6270 * include/bits/err-ldbl.h: New file.
6271 * include/err.h: Add prototypes for the internal functions:
6272 __vwarnx_internal and __vwarn_internal.
6273 * misc/Makefile (headers): Add bits/err-ldbl.h.
6274 * misc/bits/err-ldbl.h: New file.
6275 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
6276 defined, i.e.: when -mlong-double-64 is in use.
6277 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
6278 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
6279 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
6280 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
6281 (VA_CALL): New macro.
6282 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
6283 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
6285 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
6286 declare prototypes for the new functions.
6287 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
6288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6296 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6297 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6298 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6300 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6302 * sysdeps/ieee754/ldbl-opt/Makefile
6303 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
6304 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
6305 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
6307 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6310 * argp/Makefile (headers): Add bits/argp-ldbl.h.
6311 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
6312 * argp/bits/argp-ldbl.h: New file.
6313 * include/argp.h: Include stdarg.h. Add prototypes for internal
6314 functions: __argp_error_internal and __argp_failure_internal.
6315 * include/bits/argp-ldbl.h: New file.
6316 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
6317 __nldbl_argp_error and __nldbl_argp_failure.
6318 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
6319 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
6320 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
6321 Redirect argp_error and argp_failure calls.
6322 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
6323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6331 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6332 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6333 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6335 2019-03-01 Florian Weimer <fweimer@redhat.com>
6338 * elf/tst-big-note-lib.S: Create a syntactically valid note.
6339 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
6340 code, to avoid creating an ABI tag note.
6341 (modules-names-nobuild): Add tst-big-note-lib.
6343 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
6345 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
6346 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
6348 2019-03-01 Florian Weimer <fweimer@redhat.com>
6351 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6352 (__netlink_assert_response): Add additional missing newlines.
6354 2019-02-28 Joseph Myers <joseph@codesourcery.com>
6356 * sysdeps/powerpc/powerpc32/dl-machine.c
6357 (__elf_machine_fixup_plt): Use space before '('.
6358 (__process_machine_rela): Likewise.
6359 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
6361 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
6363 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
6365 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
6366 (pattern): Likewise.
6368 (check_result): Likewise.
6369 (check_excepts): Likewise.
6370 (check_op): Likewise.
6371 (fail_xr): Likewise.
6372 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
6373 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
6375 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
6378 (__makecontext): Likewise.
6379 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
6382 2019-02-28 Florian Weimer <fweimer@redhat.com>
6385 elf: Add test with a local IFUNC resolver.
6386 * elf/ifuncmain9.c: New file.
6387 * elf/ifuncmain9pic.c: Likewise.
6388 * elf/ifuncmain9picstatic.c: Likewise.
6389 * elf/ifuncmain9pie.c: Likewise.
6390 * elf/ifuncmain9static.c: Likewise.
6391 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
6392 ifuncmain9static, ifuncmain9picstatic.
6393 * elf/Makefile [multi-arch && build-shared] (tests-internal):
6394 Add ifuncmain9, ifuncmain9pic.
6395 * elf/Makefile [multi-arch && build-shared && have-fpie]
6396 (ifunc-pie-tests): Add ifuncmain9pie.
6397 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
6398 (CFLAGS-ifuncmain9picstatic.c): Likewise.
6399 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
6401 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
6403 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
6404 * configure: Regenerated.
6405 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
6407 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6409 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
6410 symbol as __wcspcy instead of wcscpy.
6412 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6414 * include/stdio.h (__renameat2): New hidden prototype.
6415 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
6416 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
6417 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
6418 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
6420 2019-02-27 Joseph Myers <joseph@codesourcery.com>
6422 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
6425 * benchtests/bench-strcpy.c (do_test): Use space before '('.
6426 * benchtests/bench-string.h (cmdline_process_function): Likewise.
6427 * benchtests/bench-strlen.c (do_test): Likewise.
6428 (test_main): Likewise.
6429 * catgets/gencat.c (read_old): Likewise.
6430 * elf/cache.c (load_aux_cache): Likewise.
6431 * iconvdata/bug-iconv8.c (do_test): Likewise.
6432 * math/test-tgmath-ret.c (do_test): Likewise.
6433 * nis/nis_call.c (rec_dirsearch): Likewise.
6434 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6435 * nptl/tst-audit-threads.c (do_test): Likewise.
6436 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
6437 * nss/nss_test1.c (init): Likewise.
6438 * nss/test-netdb.c (test_hosts): Likewise.
6439 * posix/execvpe.c (maybe_script_execute): Likewise.
6440 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
6441 * stdio-common/tst-printf.c (do_test): Likewise.
6442 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
6443 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
6444 * stdlib/qsort.c (STACK_SIZE): Likewise.
6445 * stdlib/test-canon.c (do_test): Likewise.
6446 * stdlib/tst-swapcontext1.c (do_test): Likewise.
6447 * string/memcmp.c (OPSIZ): Likewise.
6448 * string/test-strcpy.c (do_test): Likewise.
6449 (do_random_tests): Likewise.
6450 * string/test-strlen.c (do_test): Likewise.
6451 (test_main): Likewise.
6452 * string/test-strrchr.c (do_test): Likewise.
6453 (do_random_tests): Likewise.
6454 * string/tester.c (test_memrchr): Likewise.
6455 (test_memchr): Likewise.
6456 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
6457 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
6458 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
6459 (read_encoded_value_with_base): Likewise.
6460 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
6461 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
6462 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
6463 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6464 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
6465 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
6467 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
6469 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
6470 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
6471 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
6473 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
6475 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
6477 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6479 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
6480 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
6481 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6482 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
6483 * time/test_time.c (main): Likewise.
6485 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6487 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
6489 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
6492 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
6495 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6497 * include/wchar.h (__wcscpy): New prototype.
6498 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
6499 (__wcscpy): Route internal symbol to generic implementation.
6500 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
6501 Add internal __wcscpy alias.
6502 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
6503 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
6504 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
6505 * wcsmbs/wcscpy.c (wcscpy): Add
6506 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
6507 use generic implementation.
6508 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
6510 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
6513 * sysdeps/m68k/wcpcpy.c: Remove file.
6514 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6516 2019-02-26 Joseph Myers <joseph@codesourcery.com>
6518 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
6519 than after operators.
6520 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6521 * sysdeps/mach/hurd/getcwd.c
6522 (__hurd_canonicalize_directory_name_internal): Likewise.
6523 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
6524 (pthread_mutex_consistent): Likewise.
6525 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
6527 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
6528 (__pthread_mutex_transfer_np): Likewise.
6529 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
6530 (__pthread_mutex_unlock): Likewise.
6531 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
6532 (mtx_owned_p): Likewise.
6533 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
6534 (pthread_mutexattr_getrobust): Likewise.
6535 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
6536 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6538 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6539 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
6540 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
6541 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
6542 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6543 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6544 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
6546 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
6548 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
6549 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
6550 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
6551 (____longjmp_chk): Likewise.
6552 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
6554 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6555 (INTERNAL_SYSCALL): Likewise.
6556 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6557 (INTERNAL_SYSCALL): Likewise.
6558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6559 (__get_clockfreq_via_cpuinfo): Likewise.
6561 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
6563 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
6564 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
6565 (WORD_COPY_BWD): Likewise.
6566 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6567 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6569 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
6570 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
6572 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
6574 2019-02-25 Joseph Myers <joseph@codesourcery.com>
6576 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
6577 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
6578 rather than after operators.
6579 * elf/cache.c (print_cache): Likewise.
6580 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
6581 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
6582 * hurd/hurdinit.c (_hurd_setproc): Likewise.
6583 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
6584 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
6585 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
6586 (reauth_proc): Likewise.
6587 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
6588 (__file_name_split_at): Likewise.
6589 (__directory_name_split_at): Likewise.
6590 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6591 * hurd/port2fd.c (_hurd_port2fd): Likewise.
6592 * iconv/gconv_dl.c (do_print): Likewise.
6593 * inet/netinet/in.h (struct sockaddr_in): Likewise.
6594 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
6595 * locale/setlocale.c (new_composite_name): Likewise.
6596 * malloc/memusagestat.c (main): Likewise.
6597 * misc/fstab.c (fstab_convert): Likewise.
6598 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6600 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6601 (getgrent_next_file): Likewise.
6602 (internal_getgrnam_r): Likewise.
6603 (internal_getgrgid_r): Likewise.
6604 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6606 (internal_getgrent_r): Likewise.
6607 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6608 (getpwent_next_nss): Likewise.
6609 (getpwent_next_file): Likewise.
6610 (internal_getpwnam_r): Likewise.
6611 (internal_getpwuid_r): Likewise.
6612 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6614 (getspent_next_nss): Likewise.
6615 (internal_getspnam_r): Likewise.
6616 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6617 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6618 * string/strchr.c (STRCHR): Likewise.
6619 * string/strchrnul.c (STRCHRNUL): Likewise.
6620 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6621 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6622 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6623 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6624 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6626 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6627 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6628 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6629 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6630 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6631 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6632 (open_file): Likewise.
6633 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6634 (pthread_mutexattr_setprotocol): Likewise.
6635 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6636 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6637 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6638 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6639 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6641 (elf_machine_rela): Likewise.
6642 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6643 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6644 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6645 * sysdeps/posix/rename.c (rename): Likewise.
6646 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6647 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6648 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6649 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6650 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6651 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6652 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6654 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6656 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6657 * time/tzfile.c (__tzfile_compute): Likewise.
6659 2019-02-22 Joseph Myers <joseph@codesourcery.com>
6661 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6662 rather than after operators.
6663 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6664 * crypt/md5.c (md5_finish_ctx): Likewise.
6665 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6666 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6667 * elf/cache.c (load_aux_cache): Likewise.
6668 * elf/dl-load.c (open_verify): Likewise.
6669 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6670 * elf/readelflib.c (process_elf_file): Likewise.
6671 * elf/rtld.c (dl_main): Likewise.
6672 * elf/sprof.c (generate_call_graph): Likewise.
6673 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6674 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6675 * hurd/dtable.c (reauth_dtable): Likewise.
6676 * hurd/getdport.c (__getdport): Likewise.
6677 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6678 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6679 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6681 * hurd/hurdioctl.c (fioctl): Likewise.
6682 * hurd/hurdselect.c (_hurd_select): Likewise.
6683 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6684 (STOPSIGS): Likewise.
6685 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6686 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6687 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6688 * hurd/msgportdemux.c (msgport_server): Likewise.
6689 * hurd/setauth.c (_hurd_setauth): Likewise.
6690 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6691 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6692 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6693 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6694 * login/tst-utmp.c (do_check): Likewise.
6695 (simulate_login): Likewise.
6696 * mach/lowlevellock.h (lll_lock): Likewise.
6697 (lll_trylock): Likewise.
6698 * math/test-fenv.c (ALL_EXC): Likewise.
6699 * math/test-fenvinline.c (ALL_EXC): Likewise.
6700 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6701 * nis/nis_call.c (__do_niscall3): Likewise.
6702 * nis/nis_callback.c (cb_prog_1): Likewise.
6703 * nis/nis_defaults.c (searchaccess): Likewise.
6704 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6705 * nis/nis_ismember.c (internal_ismember): Likewise.
6706 * nis/nis_local_names.c (nis_local_principal): Likewise.
6707 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6708 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6710 * nis/ypclnt.c (yp_match): Likewise.
6711 (yp_first): Likewise.
6712 (yp_next): Likewise.
6713 (yp_master): Likewise.
6714 (yp_order): Likewise.
6715 * nscd/hstcache.c (cache_addhst): Likewise.
6716 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6717 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6718 (internal_getpwuid_r): Likewise.
6719 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6720 * posix/glob.h (__GLOB_FLAGS): Likewise.
6721 * posix/regcomp.c (peek_token): Likewise.
6722 (peek_token_bracket): Likewise.
6723 (parse_expression): Likewise.
6724 * posix/regexec.c (sift_states_iter_mb): Likewise.
6725 (check_node_accept_bytes): Likewise.
6726 * posix/tst-spawn3.c (do_test): Likewise.
6727 * posix/wordexp-test.c (testit): Likewise.
6728 * posix/wordexp.c (parse_tilde): Likewise.
6729 (exec_comm): Likewise.
6730 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6731 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6732 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6733 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6734 * stdio-common/tst-fileno.c (do_test): Likewise.
6735 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6736 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6737 * stdlib/strtod_l.c (round_and_return): Likewise.
6738 (____STRTOF_INTERNAL): Likewise.
6739 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6740 * string/strcspn.c (STRCSPN): Likewise.
6741 * string/test-memmem.c (simple_memmem): Likewise.
6742 * termios/tcsetattr.c (tcsetattr): Likewise.
6743 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6744 * time/asctime.c (asctime_internal): Likewise.
6745 * time/strptime_l.c (__strptime_internal): Likewise.
6746 * time/sys/time.h (timercmp): Likewise.
6747 * time/tzfile.c (__tzfile_compute): Likewise.
6749 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6752 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
6754 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6756 * argp/argp-help.c (__argp_error_internal): New function,
6757 renamed from __argp_error, but that takes a 'mode_flags'
6758 parameter to control the format of long double parameters.
6759 (__argp_error): Converted into a call __argp_error_internal.
6760 (__argp_failure_internal): New function, renamed from
6761 __argp_failure, but that takes a 'mode_flags' parameter.
6762 (__argp_failure): Converted into a call __argp_failure_internal.
6763 * misc/err.c (__vwarnx_internal): New function, renamed from
6764 vwarnx, but that takes a 'mode_flags' parameter.
6765 (vwarnx): Converted into a call to __vwarnx_internal.
6766 (__vwarn_internal): New function, renamed from vwarn, but that
6767 takes a 'mode_flags' parameter.
6768 (vwarn): Converted into a call to __vwarn_internal.
6769 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6770 call to __vfxprintf with 'mode_flags'.
6771 (__error_internal): New function, renamed from error, but that
6772 takes a 'mode_flags' parameter.
6773 (error): Converted into a call to __error_internal.
6774 (__error_at_line_internal): New function, renamed from
6775 error_at_line, but that takes a 'mode_flags' parameter.
6776 (error_at_line): Converted into a call to
6777 __error_at_line_internal.
6778 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6779 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6782 2019-02-20 Martin Liska <mliska@suse.cz>
6784 * math/Makefile: Install math-vector-fortran.h.
6785 * bits/math-vector-fortran.h: New file.
6786 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6788 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6790 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6791 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6793 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
6795 * nptl/pthread_mutex_trylock.c: Fix comment.
6797 2019-02-19 Carlos O'Donell <carlos@redhat.com>
6799 * nptl/pthread_tryjoin.c: Fix comment.
6801 2019-02-18 Joseph Myers <joseph@codesourcery.com>
6804 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6805 after R_SPARC_H34 case.
6807 2019-02-18 Florian Weimer <fweimer@redhat.com>
6809 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6810 (getanswer): Do not call Dprintf.
6811 (res_gethostbyname2_context): Likewise.
6812 (res_gethostbyaddr_context): Likewise.
6814 2019-02-18 Florian Weimer <fweimer@redhat.com>
6816 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6818 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6820 * libio/stdfiles.c: Update comment.
6821 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6822 set _IO_stdin, _IO_stdout, _IO_stderr.
6823 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6824 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6826 (_IO_deallocate_file): New inline function.
6827 * libio/iolibio.h (_IO_vprintf): Remove definition.
6828 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6829 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6830 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6832 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6833 __builtin_expect. Use _IO_legacy_file.
6835 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
6837 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6838 Initialize ctid with a known value and remove update of ctid
6840 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6841 as assumed current value of ctid_ptr.
6843 2019-02-16 Florian Weimer <fweimer@redhat.com>
6845 Check that non-sysdeps headers have wrapper headers.
6846 * scripts/check-wrapper-headers.py: New file.
6847 * Makefile (tests-special): Add check-wrapper-headers.out.
6848 (check-wrapper-headers.out): New target.
6849 * Rules (tests-special): Add check-wrapper-headers.out.
6850 (check-wrapper-headers.out): New target.
6852 2019-02-16 Florian Weimer <fweimer@redhat.com>
6854 Add missing header wrappers under include/.
6855 * include/ar.h: New file.
6856 * include/bits/mqueue2.h: Likewise.
6857 * include/bits/stdio.h: Likewise.
6858 * include/bits/stdio2.h: Likewise.
6859 * include/fstab.h: Likewise.
6860 * include/fts.h: Likewise.
6861 * include/lastlog.h: Likewise.
6862 * include/netinet/icmp6.h: Likewise.
6863 * include/netinet/igmp.h: Likewise.
6864 * include/netinet/ip6.h: Likewise.
6865 * include/re_comp.h: Likewise.
6866 * include/regexp.h: Likewise.
6867 * include/rpcsvc/bootparam.h: Likewise.
6868 * include/rpcsvc/yp_prot.h: Likewise.
6869 * include/sys/random.h: Likewise.
6870 * include/sys/stropts.h: Likewise.
6871 * include/sys/ttychars.h: Likewise.
6872 * include/sys/vfs.h: Likewise.
6873 * include/wait.h: Likewise.
6875 2019-02-16 Florian Weimer <fweimer@redhat.com>
6877 * nptl_db/proc_service.h: Move to ...
6878 * sysdeps/nptl/proc_service.h: ... here.
6879 * nptl_db/thread_db.h: Move to ...
6880 * sysdeps/nptl/thread_db.h: ... here.
6881 * nptl/descr.h: Include <thread_db.h>.
6883 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6885 * io/Makefile (tests): Add tst-lockf.
6886 * io/lockf.c (lockf): Use __fcntl and only define for
6887 !__OFF_T_MATCHES_OFF64_T.
6888 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6889 __OFF_T_MATCHES_OFF64_T case.
6890 * io/tst-lockf.c: New file.
6891 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6892 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6893 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6894 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6895 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6897 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6898 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6899 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6901 2019-02-15 Florian Weimer <fweimer@redhat.com>
6904 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6905 pd->result after the thread descriptor has been freed.
6907 2019-02-15 Joseph Myers <joseph@codesourcery.com>
6909 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6910 from function return type.
6912 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6914 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6916 * scripts/test_printers_common.py: Set TERM to a known harmless
6919 2019-02-14 Joseph Myers <joseph@codesourcery.com>
6921 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6922 (xdr_u_int): Likewise.
6923 (xdr_enum): Likewise.
6924 (xdr_bytes): Reword fall-through comment.
6925 (xdr_string): Likewise.
6927 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6930 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6931 (tests): Add tst-join8 tst-join9.
6932 * nptl/lll_timedwait_tid.c: Remove file.
6933 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6934 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6935 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6936 * nptl/pthread_join_common.c (timedwait_tid): New function.
6937 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6939 * nptl/tst-join5.c (thread_join): New function.
6940 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6942 * nptl/tst-join8.c: New file.
6943 * nptl/tst-join9.c: Likewise.
6944 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6945 lll_futex_timed_wait_cancel): Add generic macros.
6946 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6948 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6949 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6950 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6951 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6953 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6955 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6956 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6957 (lll_futex_timed_wait_cancel): New macro.
6959 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6961 * benchtests/Makefile: Add malloc-simple benchmark.
6962 * benchtests/bench-malloc-simple.c: New benchmark.
6964 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6966 * benchtests/bench-memmove.c (do_one_test): Remove unused
6969 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6973 2019-01-13 Jim Wilson <jimw@sifive.com>
6976 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6977 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6979 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6981 * nptl/Makefile (tests): Add tst-unwind-thread.
6982 (CFLAGS-tst-unwind-thread.c): Define.
6983 * nptl/tst-unwind-thread.c: New file.
6984 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6987 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6989 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6991 * nis/nis_call.c (__do_niscall3): Likewise.
6993 * catgets/gencat.c (normalize_line): Use braces around empty
6995 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6996 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6997 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6998 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6999 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
7000 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
7001 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
7004 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
7007 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
7009 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
7010 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
7011 * benchtests/bench-strchr.c (stupid_strchr): Remove.
7012 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
7013 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
7014 * benchtests/bench-strlen.c (builtin_strlen): Remove.
7015 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
7016 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
7017 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
7018 * benchtests/bench-strspn.c (stupid_strspn): Remove.
7019 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
7020 * benchtests/bench-bcopy.c: Delete file.
7021 * benchtests/bench-bzero.c: Likewise.
7022 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
7023 (simple_memccpy): Remove.
7024 (generic_memccpy): Add function.
7025 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
7026 * benchtests/bench-memmove.c (simple_bcopy): Remove.
7027 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
7028 (generic_mempcpy): Add new function.
7029 * benchtests/bench-memset.c (simple_bzero): Remove.
7030 (builtin_bzero): Remove.
7031 (builtin_memset): Remove.
7032 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
7033 (generic_rawmemchr): Add new function.
7035 2019-02-12 Florian Weimer <fweimer@redhat.com>
7037 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
7039 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7042 * elf/Makefile (tests): Add tst-audit13.
7043 (modules-names): Add tst-audit13mod1.
7044 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7046 * elf/tst-audit13.c: New file.
7047 * elf/tst-audit13mod1.c: Likewise.
7049 2019-02-12 Florian Weimer <fweimer@redhat.com>
7052 * elf/rtld.c (unload_audit_module): New function.
7053 (report_audit_module_load_error): Likewise.
7054 (load_audit_module): Likewise. Extracted from dl_main. Call
7055 _dl_close if the laversion symbol cannot be found. Use early
7056 returns for error handling. Add malloc error check. Check for a
7057 zero return value from la_version. Remove spurious comment about
7058 static TLS initialization. Remove useless casts.
7059 (notify_audit_modules_of_loaded_object): New function. Extracted
7061 (load_audit_module): Likewise.
7062 (dl_main): Call load_audit_modules.
7064 2019-02-12 Joseph Myers <joseph@codesourcery.com>
7066 * elf/dl-exception.c (_dl_exception_create_format): Add
7067 fall-through comments.
7068 * elf/ldconfig.c (parse_conf_include): Likewise.
7069 * elf/rtld.c (print_statistics): Likewise.
7070 * locale/programs/charmap.c (parse_charmap): Likewise.
7071 * misc/mntent_r.c (__getmntent_r): Likewise.
7072 * posix/wordexp.c (parse_arith): Likewise.
7073 (parse_backtick): Likewise.
7074 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
7075 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7076 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7078 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
7080 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
7081 Use float instead of double.
7083 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7085 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
7087 2019-02-08 Joseph Myers <joseph@codesourcery.com>
7089 * sysdeps/powerpc/bits/mathinline.h: Remove.
7091 2019-02-08 Florian Weimer <fweimer@redhat.com>
7093 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
7094 * math/bits/math-finite.h: Move to ...
7095 * bits/math-finite.h: ... here.
7097 2019-02-08 Florian Weimer <fweimer@redhat.com>
7099 * sysdeps/generic/bits/unistd_ext.h: Move to ...
7100 * bits/unistd_ext.h: here.
7102 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
7105 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
7106 * nss/tst-nss-files-hosts-long.c: New file.
7107 * nss/tst-nss-files-hosts-long.root: New directory.
7108 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
7109 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
7111 2019-02-08 Florian Weimer <fweimer@redhat.com>
7113 * include/bits/unistd_ext.h: Remove file.
7114 * posix/bits/unistd_ext.h: Move to ...
7115 * sysdeps/generic/bits/unistd_ext.h: ... here.
7117 2019-02-08 Florian Weimer <fweimer@redhat.com>
7119 * include/bits/unistd_ext.h: New file.
7121 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
7123 * time/tst-strftime2.c: Use array_length macros instead of magic
7126 2019-02-08 Florian Weimer <fweimer@redhat.com>
7129 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
7131 * nptl/register-atfork.c (__run_fork_handlers): Only perform
7132 locking if the new do_locking argument is true.
7133 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
7134 __run_fork_handlers.
7136 2019-02-08 Florian Weimer <fweimer@redhat.com>
7139 Linux: Add gettid system call wrapper.
7140 * posix/Makefile (headers): Add bits/unistd_ext.h.
7141 * posix/bits/unistd_ext.h: New file.
7142 * posix/unistd.h: Include it.
7143 * manual/process.texi (Process Identification): Document gettid.
7144 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
7145 tst-gettid, tst-gettid-kill.
7146 (tst-gettid): Link with $(shared-thread-library).
7147 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
7148 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
7149 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
7150 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
7151 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
7152 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
7154 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
7156 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
7157 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
7159 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
7161 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
7163 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
7165 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
7167 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
7169 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
7171 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7172 (GLIBC_2.30): Likewise.
7173 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7174 (GLIBC_2.30): Likewise.
7175 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7176 (GLIBC_2.30): Likewise.
7177 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7178 (GLIBC_2.30): Likewise.
7179 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
7181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7182 (GLIBC_2.30): Likewise.
7183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7184 (GLIBC_2.30): Likewise.
7185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
7186 (GLIBC_2.30): Likewise.
7187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
7188 (GLIBC_2.30): Likewise.
7189 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
7191 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
7193 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
7195 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
7196 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
7198 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
7200 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
7202 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
7204 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
7206 2019-02-08 Florian Weimer <fweimer@redhat.com>
7208 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
7209 compatibility symbols.
7211 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
7214 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7215 Add compiler barriers and comments.
7217 2019-02-07 Florian Weimer <fweimer@redhat.com>
7219 * include/array_length.h (array_length): Do not use a statement
7220 expression and _Static_assert, so that array_length can be used at
7221 file scope and as a constant expression.
7223 2019-02-07 Florian Weimer <fweimer@redhat.com>
7225 * support/xdlfcn.h (xdlmopen): Declare.
7226 * support/xdlmopen.c: New file.
7227 * support/Makefile (libsupport-routines): Add xdlmopen.
7229 2019-02-06 Joseph Myers <joseph@codesourcery.com>
7231 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
7232 before return type, without separate inline.
7233 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
7234 * elf/dl-tunables.h (tunable_is_name): Likewise.
7235 * malloc/malloc.c (do_set_trim_threshold): Likewise.
7236 (do_set_top_pad): Likewise.
7237 (do_set_mmap_threshold): Likewise.
7238 (do_set_mmaps_max): Likewise.
7239 (do_set_mallopt_check): Likewise.
7240 (do_set_perturb_byte): Likewise.
7241 (do_set_arena_test): Likewise.
7242 (do_set_arena_max): Likewise.
7243 (do_set_tcache_max): Likewise.
7244 (do_set_tcache_count): Likewise.
7245 (do_set_tcache_unsorted_limit): Likewise.
7246 * nis/nis_subr.c (count_dots): Likewise.
7247 * nptl/allocatestack.c (advise_stack_range): Likewise.
7248 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
7250 (reduce_sincos): Likewise.
7251 (do_sincos): Likewise.
7252 * sysdeps/unix/sysv/linux/x86/elision-conf.c
7253 (do_set_elision_enable): Likewise.
7254 (TUNABLE_CALLBACK_FNDECL): Likewise.
7256 2019-02-06 Florian Weimer <fweimer@redhat.com>
7258 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
7259 (xdlsym): Use dlerror to detect a NULL symbol.
7261 2019-02-06 Florian Weimer <fweimer@redhat.com>
7263 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
7265 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7267 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
7269 * libio/tst-bz24153.c (wide): Use wide char format specifier.
7271 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
7273 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
7274 __wmemcmp and weak alias to wmemcmp.
7276 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
7279 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
7280 TLS_TCB_AT_TP tls variant.
7281 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
7282 Add alignment checks.
7283 * support/Makefile (libsupport-routines): Add xposix_memalign and
7285 * support/support.h: Add xposix_memalign.
7286 * support/xthread.h: Add xpthread_attr_setstack.
7287 * support/xposix_memalign.c: New File.
7288 * support/xpthread_attr_setstack.c: Likewise.
7290 2019-02-05 Florian Weimer <fweimer@redhat.com>
7293 arm: Use "nr" constraint for Systemtap probes, to avoid the
7294 compiler using memory operands for constants, due to the "o"
7295 alternative in the default "nor" constraint.
7296 * include/stap-probe.h [USE_STAP_PROBE]: Include
7297 <stap-probe-machine.h>
7298 * sysdeps/generic/stap-probe-machine.h: New file.
7299 * sysdeps/arm/stap-probe-machine.h: Likewise.
7301 2019-02-04 Joseph Myers <joseph@codesourcery.com>
7303 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
7304 with 0, not tcache->entries[tc_idx].
7306 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
7309 2019-02-04 Andreas Schwab <schwab@suse.de>
7313 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
7314 looking up collating elements match against (wide) character
7315 sequence instead of name. Correct alignment adjustment.
7316 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
7317 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
7318 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
7319 (LOCALES): Add cs_CZ.ISO-8859-2.
7320 * posix/tst-fnmatch4.c: New file.
7321 * posix/tst-fnmatch5.c: New file.
7322 * include/wchar.h (__wmemcmp): Declare.
7323 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
7324 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7325 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
7326 * sysdeps/s390/wmemcmp.c: Likewise.
7328 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
7332 * NEWS: Updated for CVE-2019-7309.
7333 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
7334 upper 32 bits of RDX register for x32. Use unsigned Jcc
7335 instructions, instead of signed.
7336 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
7337 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
7339 2019-02-04 Florian Weimer <fweimer@redhat.com>
7341 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
7342 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
7343 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
7345 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
7346 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
7347 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
7348 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
7350 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
7352 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
7354 (posix_spawn_file_actions_addopen): Likewise.
7355 (posix_spawn_file_actions_addclose): Likewise.
7356 (posix_spawn_file_actions_adddup2): Likewise.
7357 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
7359 (posix_spawn_file_actions_addfchdir_np): Likewise.
7361 2019-02-04 David Newall <glibc@davidnewall.com>
7363 elf: Implement --preload option for the dynamic linker.
7364 * elf/rtld.c (preloadarg): New variable.
7365 (handle_preload_list): Pass through “where” argument to
7367 (dl_main): Handle "--preload" and add second call to
7368 handle_preload_list.
7369 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
7370 (tst-rtld-preload-OBJS): Set variable.
7371 (tst-rtld-preload.out): New target.
7372 * elf/tst-rtld-preload.sh: New file.
7374 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
7376 * Makefile (testrun.sh): Exit in case of incorrect argument.
7378 2019-02-04 Florian Weimer <fweimer@redhat.com>
7380 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
7383 2019-02-03 Florian Weimer <fweimer@redhat.com>
7385 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
7386 implicit overflow checks.
7388 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
7390 * stdlib/isomac.c: Include <unistd.h>.
7392 2019-02-03 Florian Weimer <fweimer@redhat.com>
7394 * include/time.h (__tzfile_default): Use int, not long int, for
7396 * time/tzfile.c (struct ttinfo): Change type of the offset member
7398 (__tzfile_read): Remove useless cast.
7399 (__tzfile_default): Adjust prototype.
7400 * time/tzset.c (tz_rule): Change type of the offset member to int.
7401 (parse_offset): Change the type of the sign variable to int.
7403 2019-02-03 Florian Weimer <fweimer@redhat.com>
7406 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
7407 * libio/getchar.c (getchar): Likewise.
7408 * libio/getchar_u.c (getchar_unlocked): Likewise.
7409 * libio/getwchar.c (getwchar): Likewise.
7410 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7411 * libio/iogets.c (_IO_gets): Likewise.
7412 * libio/vscanf.c (_IO_vscanf): Likewise.
7413 * libio/vwscanf.c (__vwscanf): Likewise.
7414 * libio/tst-bz24153.c: New file.
7415 * libio/Makefile (tests): Add it.
7417 2019-02-02 Florian Weimer <fweimer@redhat.com>
7420 * manual/resource.texi (Basic Scheduling Functions): Add
7421 portability note. Change process to task throughout the section.
7422 Remove incorrect comment about sched_yield as it affects
7423 tasks/threads, not entire processes.
7424 * sysdeps/unix/sysv/linux/bits/posix_opt.h
7425 (_POSIX_PRIORITY_SCHEDULING): Update comment.
7427 2019-02-01 Joseph Myers <joseph@codesourcery.com>
7429 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
7430 * configure: Regenerated.
7431 * manual/install.texi (Tools for Compilation): Update minimum GCC
7433 * INSTALL: Regenerated.
7435 2019-02-01 Florian Weimer <fweimer@redhat.com>
7437 * support/support_test_compare_string.c
7438 (support_test_compare_string): Use "string" in error message.
7439 * support/tst-test_compare_string.c (do_test): Adjust.
7441 2019-02-01 Florian Weimer <fweimer@redhat.com>
7443 * support/support_format_address_family.c
7444 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
7446 2019-02-01 Florian Weimer <fweimer@redhat.com>
7448 * manual/socket.texi (Internet Address Formats): Clarify the byte
7449 order of struct sockaddr_in, struct sockaddr_in6. Document
7450 sin6_flowinfo and sin6_scope_id.
7452 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
7454 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
7455 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
7456 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
7457 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
7458 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
7459 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
7461 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7463 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
7464 [!MEMCHR](MEMCHR): Set to __memchr.
7465 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7466 Add memchr_generic and memchr_nosimd.
7467 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7468 (__libc_ifunc_impl_list): Add memchr ifuncs.
7469 * sysdeps/aarch64/multiarch/memchr.c: New file.
7470 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
7471 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
7473 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7475 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7477 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7478 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
7479 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
7480 Add IS_EMAG check for ifunc dispatch.
7481 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
7482 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
7484 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7486 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
7487 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7489 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
7492 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
7494 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
7496 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
7498 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
7499 syscall-template file.
7501 2019-01-31 Carlos O'Donell <carlos@redhat.com>
7502 Torvald Riegel <triegel@redhat.com>
7503 Rik Prohaska <prohaska7@gmail.com>
7506 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
7507 tst-rwlock-trywrlock-stall.
7508 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7509 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
7510 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
7511 Set __wrphase_fute to 1 only if we started the write phase.
7512 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
7513 * nptl/tst-rwlock-trywrlock-stall.c: New file.
7514 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
7515 * support/xpthread_rwlock_destroy.c: New file.
7516 * support/xthread.h: Declare xpthread_rwlock_destroy.
7518 2019-02-01 Joseph Myers <joseph@codesourcery.com>
7520 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
7523 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7526 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
7527 * libio/fileops.c (_IO_new_file_underflow): Likewise
7528 * libio/wfileops.c (_IO_wfile_underflow): Likewise
7529 * libio/putchar.c (putchar): Likewise.
7530 * libio/putchar_u.c (putchar_unlocked): Likewise.
7531 * libio/putwchar.c (putchar): Likewise.
7532 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7533 * libio/tst-bz24051.c: New test.
7534 * libio/Makefile (tests): Add tst-bz24051
7536 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
7539 regex: fix read overrun [BZ #24114]
7540 Problem found by AddressSanitizer, reported by Hongxu Chen in:
7541 https://debbugs.gnu.org/34140
7542 * posix/regexec.c (proceed_next_node):
7543 Do not read past end of input buffer.
7545 2019-01-31 Florian Weimer <fweimer@redhat.com>
7548 * nss/nss_files/files-alias.c (get_next_alias): Handle
7549 continuation line without newline at the end.
7550 * nss/tst-nss-files-alias-truncated.c: New file.
7551 * nss/Makefile [$(build-shared)] (tests): Add
7552 tst-nss-files-alias-truncated.
7553 (tst-nss-files-alias-truncated): Link with libnss_files.so.
7554 * support/namespace.h (struct support_chroot_configuration): Add
7556 (struct support_chroot): Add path_aliases member.
7557 * support/support_chroot.c (support_chroot_create): Handle
7559 (support_chroot_free): Free path_aliases.
7561 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
7563 * version.h (RELEASE): Set to "development".
7564 (VERSION): Set to "2.29.9000".
7565 * NEWS: Add section for 2.30.
7567 * version.h (RELEASE): Set to "stable".
7568 (VERSION): Set to "2.29".
7569 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
7571 * NEWS: Add the list of bugs fixed in 2.29.
7572 * manual/contrib.texi: Update contributors list with some more
7574 * manual/install.texi: Update latest versions of packages
7576 * INSTALL: Regenerated.
7578 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
7580 * po/be.po: Update translations.
7581 * po/bg.po: Likewise.
7582 * po/ca.po: Likewise.
7583 * po/cs.po: Likewise.
7584 * po/da.po: Likewise.
7585 * po/de.po: Likewise.
7586 * po/el.po: Likewise.
7587 * po/eo.po: Likewise.
7588 * po/es.po: Likewise.
7589 * po/fi.po: Likewise.
7590 * po/fr.po: Likewise.
7591 * po/gl.po: Likewise.
7592 * po/hr.po: Likewise.
7593 * po/hu.po: Likewise.
7594 * po/ia.po: Likewise.
7595 * po/id.po: Likewise.
7596 * po/it.po: Likewise.
7597 * po/ja.po: Likewise.
7598 * po/ko.po: Likewise.
7599 * po/lt.po: Likewise.
7600 * po/nb.po: Likewise.
7601 * po/nl.po: Likewise.
7602 * po/pl.po: Likewise.
7603 * po/pt_BR.po: Likewise.
7604 * po/ru.po: Likewise.
7605 * po/rw.po: Likewise.
7606 * po/sk.po: Likewise.
7607 * po/sl.po: Likewise.
7608 * po/sv.po: Likewise.
7609 * po/tr.po: Likewise.
7610 * po/uk.po: Likewise.
7611 * po/vi.po: Likewise.
7612 * po/zh_CN.po: Likewise.
7613 * po/zh_TW.po: Likewise.
7615 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
7618 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7619 of $f3 register on $y_is_neg path.
7621 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7624 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7625 sigaltstack.ss_flags.
7627 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7630 * manual/time.texi (strftime): Document "%Ey".
7631 * time/strftime_l.c (__strftime_internal): Set the default width
7632 padding with zero of "%Ey" to 2.
7635 * manual/time.texi (strftime): Document "%EC" and "%EY".
7636 * time/Makefile (tests): Add tst-strftime2.
7637 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7638 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7639 override padding for "%Ey".
7640 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7641 "%Ey" in the subformat as if decorated with that flag.
7642 * time/tst-strftime2.c: New file.
7644 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7646 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7650 * elf/Makefile (tests): Add tst-audit13.
7651 (modules-names): Add tst-audit13mod1.
7652 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7654 * elf/rtld.c (dl_main): Handle invalid audit module version.
7655 * elf/tst-audit13.c: New file.
7656 * elf/tst-audit13mod1.c: Likewise.
7658 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7660 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7661 returned by __hurd_at_flags.
7662 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7663 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7664 directly instead of __hurd_file_name_lookup.
7666 2019-01-21 Joseph Myers <joseph@codesourcery.com>
7668 * scripts/build-many-glibcs.py (Context.checkout): Default
7669 binutils version to 2.32 branch.
7671 2019-01-21 Florian Weimer <fweimer@redhat.com>
7675 resolv: Reject trailing characters in host names
7676 * include/arpa/inet.h (__inet_aton_exact): Declare.
7677 (inet_aton): Remove hidden prototype. No longer used internally.
7678 * nscd/gai.c (__inet_aton): Do not define.
7679 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7680 * nss/digits_dots.c (__inet_aton): Likewise.
7681 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7682 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7683 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7684 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7685 (tst-resolv-trailing): Likewise.
7686 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7688 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7689 Make static. Add endp parameter.
7690 (__inet_aton_exact): New function.
7691 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7692 (__inet_addr): Call inet_aton_end.
7693 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7694 not just IPv6. Call __inet_aton_exact.
7695 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7696 (tests): Make const. Add additional test cases with trailing
7698 (do_test): Use array_length.
7699 * resolv/tst-inet_aton_exact.c: New file.
7700 * resolv/tst-resolv-trailing.c: Likewise.
7701 * resolv/tst-resolv-nondecimal.c: Likewise.
7702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7704 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7708 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7709 Clear the upper 32 bits of RSI register.
7710 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7711 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7712 and tst-size_t-wcsnlen.
7713 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7714 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7716 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7720 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7721 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7722 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7723 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7724 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7726 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7730 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7731 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7732 * sysdeps/x86_64/strcmp.S: Likewise.
7733 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7734 tst-size_t-strncmp and tst-size_t-wcsncmp.
7735 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7736 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7737 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7739 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7743 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7744 RDX_LP for length. Clear the upper 32 bits of RDX register.
7745 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7746 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7747 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7748 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7750 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7754 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7755 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7756 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7757 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7759 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7763 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7764 length. Clear the upper 32 bits of RDX register.
7765 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7766 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7768 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7770 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7772 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7774 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7778 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7779 length. Clear the upper 32 bits of RDX register.
7780 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7781 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7782 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7784 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7785 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7787 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7791 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7792 upper 32 bits of RDX register.
7793 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7794 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7796 * sysdeps/x86_64/x32/test-size_t.h: New file.
7797 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7798 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7800 2019-01-18 Florian Weimer <fweimer@redhat.com>
7803 resolv: Do not send queries for non-host-names in nss_dns.
7804 * resolv/nss_dns/dns-host.c (check_name): New function.
7805 (_nss_dns_gethostbyname2_r): Use it.
7806 (_nss_dns_gethostbyname_r): Likewise.
7807 (_nss_dns_gethostbyname4_r): Likewise.
7809 2019-01-21 Florian Weimer <fweimer@redhat.com>
7811 * resolv/inet_addr.c: Reformat to GNU style.
7812 (__inet_addr, __inet_aton): Update comment.
7814 2019-01-18 Florian Weimer <fweimer@redhat.com>
7816 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7817 ("malloc: Use current (C11-style) atomics for fastbin access").
7818 This commit introduces a substantial performance regression on
7820 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7821 (REMOVE_FB): Define.
7822 (_int_malloc): Use it and reindent.
7823 (_int_free): Use CAS loop with
7824 catomic_compare_and_exchange_val_rel.
7825 (malloc_consolidate): Use atomic_exchange_acq.
7828 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7830 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7832 (LDFLAGS-tst-minsigstksz-2): Likewise.
7833 (LDFLAGS-tst-minsigstksz-3): Likewise.
7834 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7835 (LDFLAGS-tst-minsigstksz-4): Likewise.
7837 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7839 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7842 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
7844 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7846 2019-01-16 Zack Weinberg <zackw@panix.com>
7848 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7849 (xget_sigstack_location): New test support functions.
7850 * support/xsigstack.c: New file, implementing them.
7851 * support/tst-xsigstack.c: New test for them.
7852 * support/Makefile: Update.
7854 * signal/tst-minsigstksz-1.c
7855 * signal/tst-minsigstksz-2.c
7856 * signal/tst-minsigstksz-3.c
7857 * signal/tst-minsigstksz-3a.c
7858 * signal/tst-minsigstksz-4.c: New tests.
7859 * signal/Makefile: Run them.
7861 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7863 * po/libc.pot: Regenerate.
7865 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7867 * math/libm-test-fma.inc (fma_test_data): Set
7868 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7870 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7872 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7873 (do_test): Changed __vector __int128_t to __vector unsigned int.
7875 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7878 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7879 stpcpy-avx2 and stpncpy-avx2.
7880 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7881 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7882 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7884 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7885 ifunc-strcpy.h}: rename header for a more generic name.
7886 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7887 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7888 AVX unaligned load is fast and vzeroupper is preferred.
7889 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7890 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7891 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7892 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7893 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7894 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7896 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7898 * argp/argp-help.c: Fix typo in comment.
7899 * misc/sys/cdefs.h: Likewise.
7900 * posix/regexec.c (sift_states_iter_mb): Likewise.
7901 * socket/sockatmark.c: Likewise.
7902 * socket/sys/socket.h: Likewise.
7903 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7904 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7905 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7906 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7907 * sysdeps/unix/sockatmark.c: Likewise.
7908 * time/strptime_l.c: Likewise.
7910 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7912 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7913 missing space after the cast of "_NL_CURRENT".
7915 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7917 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7918 ifdef to fix read of VSCR.
7919 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7920 tst-ucontext-ppc64-vscr.c to test list.
7921 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7923 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7925 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7928 2019-01-09 Jim Wilson <jimw@sifive.com>
7930 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7932 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7934 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7935 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7936 __memcpy_falkor for ares.
7937 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7939 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7942 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7945 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7946 4_FP_W_TYPEs are used for IEEE quad precision.
7947 * soft-fp/extendhftf2.c: Likewise.
7948 * soft-fp/extendsftf2.c: Likewise.
7949 * soft-fp/extendxftf2.c: Likewise.
7950 * soft-fp/trunctfdf2.c: Likewise.
7951 * soft-fp/trunctfhf2.c: Likewise.
7952 * soft-fp/trunctfsf2.c: Likewise.
7953 * soft-fp/trunctfxf2.c: Likewise.
7954 * sysdeps/alpha/ots_cvttx.c: Likewise.
7955 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7956 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7957 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7958 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7959 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7960 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7961 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7962 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7963 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7964 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7965 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7966 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7967 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7968 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7969 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7970 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7971 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7973 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7976 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7977 code with -fmath-errno.
7978 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7979 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7980 * string/test-strerror-errno.c: New file.
7982 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7985 * localedata/locales/en_US (date_fmt): Add, set to
7986 "%a %d %b %Y %r %Z".
7988 2019-01-07 Florian Weimer <fweimer@redhat.com>
7991 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7992 instead of @var{errno}.
7993 (Parsing of Integers): Likewise.
7994 (Parsing of Floats): Likewise.
7995 * manual/filesys.texi (Working with Directory Trees): Likewise.
7996 (Temporary Files): Likewise.
7997 * manual/job.texi (Terminal Access Functions): Likewise.
7998 * manual/llio.texi (Synchronizing I/O): Likewise.
7999 * manual/math.texi (SVID Random): Likewise.
8000 * manual/message.texi (The catgets Functions): Likewise.
8001 (Translation with gettext): Likewise.
8002 (Locating gettext catalog): Likewise.
8003 (Charset conversion in gettext): Likewise.
8004 * manual/nss.texi (NSS Module Function Internals): Likewise.
8005 * manual/search.texi (Hash Search Function): Likewise.
8006 * manual/setjmp.texi (System V contexts): Likewise.
8007 * manual/time.texi (Sleeping): Likewise.
8008 * manual/users.texi (Lookup User): Likewise.
8009 (Lookup Group): Likewise.
8011 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8013 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
8016 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
8019 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
8020 __builtin_unreachable for default case in switch.
8021 (__ieee754_yn): Likewise.
8022 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8023 (__ieee754_ynl): Likewise.
8024 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8025 (__ieee754_ynl): Likewise.
8026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8027 (__ieee754_ynl): Likewise.
8029 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
8031 * manual/maint.texi: Use @{ and @}.
8033 2019-01-04 Florian Weimer <fweimer@redhat.com>
8035 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
8037 (do_in_chroot_1): Call it.
8039 Improve error reporting in case it is not possible to create a
8040 collision for the PTY name required by the test.
8042 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8044 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
8045 lll_wait_tid with timeout.
8046 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
8047 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
8048 futex_reltimed_wait_cancelable for cancelabla mode.
8049 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
8050 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
8052 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
8053 * sysdeps/posix/waitid.c (__sigwait): Likewise.
8054 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
8055 SYSCALL_CANCEL_NCS): New macro.
8056 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
8057 (lll_timedwait_tid): Remove macro.
8058 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
8060 (lll_timedwait_tid): Likewise.
8061 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
8063 (lll_timedwait_tid): Likewise.
8064 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
8066 (lll_timedwait_tid): Likewise.
8067 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
8068 Use INTERNAL_SYSCALL_CANCEL.
8069 * sysdeps/unix/sysv/linux/futex-internal.h
8070 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
8071 instead of __pthread_{enable,disable}_asynccancel.
8072 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
8073 (lll_futex_wait_cancel): New macro.
8075 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
8076 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
8078 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
8079 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
8081 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
8082 in backtrace analysis.
8083 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
8085 (tf_send): Likewise.
8087 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
8088 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
8089 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
8090 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
8091 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
8092 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
8093 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
8094 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
8095 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
8096 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
8097 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
8098 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
8100 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
8101 tst-cancel-wrappers.sh.
8102 (generated): Remove tst-cancel-wrappers.out.
8103 (tst-cancel-wrappers.out): Remove rule.
8104 * nptl/tst-cancel-wrappers.sh: Remove file.
8106 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8108 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
8109 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
8112 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8115 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
8116 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
8117 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
8118 close-on-exec reset for adddup2 file action.
8119 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8121 2019-01-03 Zack Weinberg <zackw@panix.com>
8123 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
8124 parameter. Only use deprecated scanf when __USE_GNU is defined
8125 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
8126 than 201103L, whichever is relevant for the language being compiled.
8128 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
8129 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
8130 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
8131 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
8132 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
8136 * libio/iovswscanf.c
8141 * stdio-common/fscanf.c
8142 * stdio-common/scanf.c
8143 * stdio-common/vfscanf.c
8144 * stdio-common/vfwscanf.c
8145 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8146 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
8147 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
8148 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
8149 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
8150 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
8151 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
8152 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
8153 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
8154 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
8155 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
8156 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
8157 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
8158 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
8159 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
8161 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
8162 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
8163 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
8165 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
8166 with a preprocessor macro.
8168 * stdio-common/bug21.c, stdio-common/scanf14.c:
8169 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
8170 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
8171 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
8172 to xscanf, xfscanf, xsscanf.
8174 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
8175 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
8176 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
8177 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
8179 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
8180 override feature selection macros or provide definitions of u_char etc.
8181 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
8182 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
8183 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
8186 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8189 bits/termios-misc.h.
8190 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
8191 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8192 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8193 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8194 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
8195 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
8197 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
8198 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
8199 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
8200 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
8201 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
8202 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
8204 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
8205 (sysdep_headers): Add termios-misc.h.
8207 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
8208 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8209 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8213 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
8214 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
8215 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
8216 TCSAFLUSH): Move to termios-tcflow.h.
8217 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8218 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8219 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8220 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8222 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8224 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
8225 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
8226 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
8227 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
8228 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
8229 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
8230 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
8231 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
8233 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8234 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8235 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8236 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8240 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
8241 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
8242 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
8243 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
8244 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
8246 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8247 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8248 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8249 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8254 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
8255 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
8256 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
8257 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
8258 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
8259 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
8260 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
8261 __MAX_BAUD): Move to termios-baud.h.
8262 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
8263 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
8264 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8265 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8266 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8268 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8270 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
8271 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
8272 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
8273 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
8274 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
8275 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
8277 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
8278 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
8280 [USE_MISC] (XTABS): Likewise.
8281 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8282 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8283 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8284 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
8286 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
8288 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
8289 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
8290 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
8291 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
8292 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
8293 IUTF8): Move to termios-c_iflag.h.
8294 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8295 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8296 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8297 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8299 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
8301 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
8302 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
8303 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
8304 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
8305 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
8306 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
8307 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
8308 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
8309 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8310 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8311 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8312 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8314 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
8315 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
8316 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
8317 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
8318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8320 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
8322 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
8324 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
8326 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
8328 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
8330 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
8331 _HAVE_C_OSPEED): Define.
8332 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
8333 _HAVE_C_OSPEED): Likewise.
8334 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
8335 _HAVE_C_OSPEED): Likewise.
8336 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
8337 (cfsetospeed): Check for define value instead of existence.
8338 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
8339 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
8340 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
8341 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
8342 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
8345 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
8347 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
8348 (TIOCSER_TEMT): Likewise.
8349 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
8350 (TEOCSER_TEMT): Likewise.
8352 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
8355 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
8357 2019-01-02 Joseph Myers <joseph@codesourcery.com>
8359 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8361 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8363 * sysdeps/htl/pt-barrierattr-setpshared.c
8364 (pthread_barrierattr_setpshared): Add stub warning.
8365 * sysdeps/htl/pt-condattr-setpshared.c
8366 (pthread_condattr_setpshared): Likewise.
8367 * sysdeps/htl/pt-mutexattr-setpshared.c
8368 (pthread_mutexattr_setpshared): Likewise.
8369 * sysdeps/htl/pt-rwlockattr-setpshared.c
8370 (pthread_rwlockattr_setpshared): Likewise.
8371 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
8372 (pthread_mutexattr_setpshared): Likewise.
8374 2019-01-02 Joseph Myers <joseph@codesourcery.com>
8376 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
8377 constants to match with Linux 4.20.
8379 * sysdeps/mips/mips32/libm-test-ulps: Update.
8380 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8382 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
8385 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
8386 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
8387 than __typeof (...) for the a_ptr variable.
8389 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8391 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
8392 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
8393 * libio/Makefile (tests): Add tst-sprintf-ub and
8395 (CFLAGS-tst-sprintf-ub.c): New variable.
8396 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
8397 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
8398 destination buffer and check for overflows in fortified mode.
8399 * libio/libioP.h (PRINTF_CHK): New macro.
8400 * libio/tst-sprintf-chk-ub.c: New file.
8401 * libio/tst-sprintf-ub.c: Likewise.
8403 2019-01-02 Florian Weimer <fweimer@redhat.com>
8406 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
8409 2019-01-02 Florian Weimer <fweimer@redhat.com>
8411 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
8413 2019-01-01 Joseph Myers <joseph@codesourcery.com>
8415 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
8418 * sysdeps/unix/sysv/linux/netpacket/packet.h
8419 (PACKET_IGNORE_OUTGOING): New macro.
8421 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
8424 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8426 (riscv_flush_icache): New syscall.
8428 * manual/texinfo.tex: Update to version 2018-12-28.17 with
8429 trailing whitespace removed.
8430 * scripts/config.guess: Update to version 2019-01-01.
8431 * scripts/config.sub: Update to version 2019-01-01.
8432 * scripts/move-if-change: Update from gnulib.
8434 * NEWS: Update copyright dates.
8435 * catgets/gencat.c (print_version): Likewise.
8436 * csu/version.c (banner): Likewise.
8437 * debug/catchsegv.sh: Likewise.
8438 * debug/pcprofiledump.c (print_version): Likewise.
8439 * debug/xtrace.sh (do_version): Likewise.
8440 * elf/ldconfig.c (print_version): Likewise.
8441 * elf/ldd.bash.in: Likewise.
8442 * elf/pldd.c (print_version): Likewise.
8443 * elf/sotruss.sh: Likewise.
8444 * elf/sprof.c (print_version): Likewise.
8445 * iconv/iconv_prog.c (print_version): Likewise.
8446 * iconv/iconvconfig.c (print_version): Likewise.
8447 * locale/programs/locale.c (print_version): Likewise.
8448 * locale/programs/localedef.c (print_version): Likewise.
8449 * login/programs/pt_chown.c (print_version): Likewise.
8450 * malloc/memusage.sh (do_version): Likewise.
8451 * malloc/memusagestat.c (print_version): Likewise.
8452 * malloc/mtrace.pl: Likewise.
8453 * manual/libc.texinfo: Likewise.
8454 * nptl/version.c (banner): Likewise.
8455 * nscd/nscd.c (print_version): Likewise.
8456 * nss/getent.c (print_version): Likewise.
8457 * nss/makedb.c (print_version): Likewise.
8458 * posix/getconf.c (main): Likewise.
8459 * scripts/test-installation.pl: Likewise.
8460 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8462 * All files with FSF copyright notices: Update copyright dates
8463 using scripts/update-copyrights.
8464 * locale/programs/charmap-kw.h: Regenerated.
8465 * locale/programs/locfile-kw.h: Likewise.
8467 2018-12-31 Joseph Myers <joseph@codesourcery.com>
8469 * timezone/zdump.c: Update from tzcode 2018i.
8470 * timezone/zic.c: Likewise.
8472 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
8474 regex: improve Gnulib port to AIX
8475 From the glibc point of view, this removes duplicate macro
8476 definitions and is obviously safe.
8477 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
8478 * posix/regex_internal.h:
8479 (__attribute__, __attribute_warn_unused_result__):
8480 Remove; already defined elsewhere.
8482 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
8485 * malloc/malloc.c (_int_realloc): Always call memcpy for the
8486 copying operation. (ncopies had the wrong type, resulting in an
8487 integer wraparound and too few elements being copied.)
8489 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
8492 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
8493 <asm/syscalls.h> exists with __has_include__ before including it.
8495 2018-12-31 Joseph Myers <joseph@codesourcery.com>
8497 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8500 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
8502 * hurd/lookup-retry: Include <unistd.h>.
8503 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
8504 Release it on return. Handle "pid" magical lookup retry.
8506 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8509 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
8510 (t_fmt_ampm): Likewise.
8511 * localedata/locales/aa_ER (t_fmt): Likewise.
8512 (t_fmt_ampm): Likewise.
8513 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
8514 (t_fmt_ampm): Likewise.
8515 * localedata/locales/aa_ET (t_fmt): Likewise.
8516 (t_fmt_ampm): Likewise.
8517 * localedata/locales/am_ET (t_fmt): Likewise.
8518 (t_fmt_ampm): Likewise.
8519 * localedata/locales/byn_ER (t_fmt): Likewise.
8520 (t_fmt_ampm): Likewise.
8521 * localedata/locales/om_ET (t_fmt): Likewise.
8522 (t_fmt_ampm): Likewise.
8523 * localedata/locales/sid_ET (t_fmt): Likewise.
8524 (t_fmt_ampm): Likewise.
8525 * localedata/locales/so_DJ (t_fmt): Likewise.
8526 (t_fmt_ampm): Likewise.
8527 * localedata/locales/so_ET (t_fmt): Likewise.
8528 (t_fmt_ampm): Likewise.
8529 * localedata/locales/so_SO (t_fmt): Likewise.
8530 (t_fmt_ampm): Likewise.
8531 * localedata/locales/ti_ER (t_fmt): Likewise.
8532 (t_fmt_ampm): Likewise.
8533 * localedata/locales/ti_ET (t_fmt): Likewise.
8534 (t_fmt_ampm): Likewise.
8535 * localedata/locales/tig_ER (t_fmt): Likewise.
8536 (t_fmt_ampm): Likewise.
8537 * localedata/locales/wal_ET (t_fmt): Likewise.
8538 (t_fmt_ampm): Likewise.
8540 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
8541 * localedata/locales/ar_IN (t_fmt): Likewise.
8542 * localedata/locales/bhb_IN (t_fmt): Likewise.
8543 * localedata/locales/bho_IN (t_fmt): Likewise.
8544 * localedata/locales/bi_VU (t_fmt): Likewise.
8545 * localedata/locales/bn_BD (t_fmt): Likewise.
8546 * localedata/locales/bn_IN (t_fmt): Likewise.
8547 * localedata/locales/brx_IN (t_fmt): Likewise.
8548 * localedata/locales/doi_IN (t_fmt): Likewise.
8549 * localedata/locales/en_HK (t_fmt): Likewise.
8550 (t_fmt_ampm): Likewise.
8551 * localedata/locales/en_IN (t_fmt): Likewise.
8552 * localedata/locales/en_PH (t_fmt): Likewise.
8553 * localedata/locales/gu_IN (t_fmt): Likewise.
8554 * localedata/locales/hi_IN (t_fmt): Likewise.
8555 * localedata/locales/hif_FJ (t_fmt): Likewise.
8556 * localedata/locales/hne_IN (t_fmt): Likewise.
8557 * localedata/locales/kn_IN (t_fmt): Likewise.
8558 * localedata/locales/kok_IN (t_fmt): Likewise.
8559 * localedata/locales/ks_IN (t_fmt): Likewise.
8560 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
8561 * localedata/locales/mag_IN (t_fmt): Likewise.
8562 * localedata/locales/mai_IN (t_fmt): Likewise.
8563 * localedata/locales/mjw_IN (t_fmt): Likewise.
8564 * localedata/locales/ml_IN (t_fmt): Likewise.
8565 * localedata/locales/mni_IN (t_fmt): Likewise.
8566 * localedata/locales/mr_IN (t_fmt): Likewise.
8567 * localedata/locales/ms_MY (t_fmt): Likewise.
8568 * localedata/locales/pa_IN (t_fmt): Likewise.
8569 * localedata/locales/raj_IN (t_fmt): Likewise.
8570 * localedata/locales/sa_IN (t_fmt): Likewise.
8571 * localedata/locales/sat_IN (t_fmt): Likewise.
8572 * localedata/locales/sd_IN (t_fmt): Likewise.
8573 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
8574 * localedata/locales/tcy_IN (t_fmt): Likewise.
8575 * localedata/locales/the_NP (t_fmt): Likewise.
8576 * localedata/locales/to_TO (t_fmt): Likewise.
8577 * localedata/locales/ur_IN (t_fmt): Likewise.
8579 * localedata/locales/hif_FJ (d_t_fmt): Set to
8580 "%A %d %b %Y %I:%M:%S %p".
8581 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
8583 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
8584 * localedata/locales/ar_BH (t_fmt): Likewise.
8585 * localedata/locales/ar_DZ (t_fmt): Likewise.
8586 * localedata/locales/ar_EG (t_fmt): Likewise.
8587 * localedata/locales/ar_IQ (t_fmt): Likewise.
8588 * localedata/locales/ar_JO (t_fmt): Likewise.
8589 * localedata/locales/ar_KW (t_fmt): Likewise.
8590 * localedata/locales/ar_LB (t_fmt): Likewise.
8591 * localedata/locales/ar_LY (t_fmt): Likewise.
8592 * localedata/locales/ar_OM (t_fmt): Likewise.
8593 * localedata/locales/ar_QA (t_fmt): Likewise.
8594 * localedata/locales/ar_SD (t_fmt): Likewise.
8595 * localedata/locales/ar_SS (t_fmt): Likewise.
8596 * localedata/locales/ar_SY (t_fmt): Likewise.
8597 * localedata/locales/ar_TN (t_fmt): Likewise.
8598 * localedata/locales/ar_YE (t_fmt): Likewise.
8600 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8601 (t_fmt_ampm): Likewise.
8602 * localedata/locales/gez_ET (t_fmt): Likewise.
8603 (t_fmt_ampm): Likewise.
8605 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8606 (t_fmt_ampm): Likewise.
8607 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8609 * localedata/locales/zh_HK (t_fmt):
8610 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8612 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8613 because this locale does not use the 12-hour clock.
8614 (t_fmt): Set to "%Z %H:%M:%S".
8615 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8617 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8618 because this locale does not use the 12-hour clock.
8619 (t_fmt): Set to "%H:%M:%S %Z".
8620 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8622 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8623 because this locale does not use the 12-hour clock.
8624 (t_fmt): Set to "%T".
8625 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8626 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8628 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8629 because this locale does not use the 12-hour clock.
8630 (t_fmt): Set to "%H:%M:%S %Z".
8631 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8633 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8634 because this locale does not use the 12-hour clock.
8635 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8636 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8638 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8642 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8643 (t_fmt_ampm): Likewise.
8644 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8645 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8646 (d_fmt): Set to "%-d.%-m.%y".
8648 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8650 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8651 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8652 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8654 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8655 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8656 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8658 * support/blob_repeat.c (check_mul_overflow_size_t,
8659 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8661 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8663 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8665 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8667 regex: simplify Gnulib port
8668 This simplifies the code, by removing stuff intended for porting
8669 to Gnulib but no longer needed there.
8670 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8671 uses of libc_hidden_def, weak_alias.
8672 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8673 _Restrict_ except for public-facing headers.
8674 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8675 Remove; already defined elsewhere.
8676 * posix/regex.c, posix/regex_internal.h:
8677 Use __GNUC_PREREQ instead of rolling our own.
8678 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8680 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8682 * benchtests/bench-strlen.c (generic_strlen): New function.
8683 (memchr_strlen): New function.
8685 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8687 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8688 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8689 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8691 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8693 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8695 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8697 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8698 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8699 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8700 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8701 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8702 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8703 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8705 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8708 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8709 PLT reference in libc.so.
8710 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8711 _Q_lltoq and _Q_qtod PLT references in libc.so.
8713 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8715 * benchtests/bench-memchr.c: Cleanup defines.
8716 * benchtests/bench-memcmp.c: Likewise.
8717 * benchtests/bench-memset.c: Likewise.
8718 * benchtests/bench-memset-large.c: Likewise.
8719 * benchtests/bench-memset-walk.c: Likewise.
8720 * benchtests/bench-stpcpy.c: Likewise.
8721 * benchtests/bench-stpncpy.c: Likewise.
8722 * benchtests/bench-strcat.c: Likewise.
8723 * benchtests/bench-strchr.c: Likewise.
8724 * benchtests/bench-strcmp.c: Likewise.
8725 * benchtests/bench-strcpy.c: Likewise.
8726 * benchtests/bench-strcspn.c: Likewise.
8727 * benchtests/bench-string.h: Likewise.
8728 * benchtests/bench-strlen.c: Likewise.
8729 * benchtests/bench-strncat.c: Likewise.
8730 * benchtests/bench-strncmp.c: Likewise.
8731 * benchtests/bench-strncpy.c: Likewise.
8732 * benchtests/bench-strnlen.c: Likewise.
8733 * benchtests/bench-strpbrk.c: Likewise.
8734 * benchtests/bench-strrchr.c: Likewise.
8735 * benchtests/bench-strspn.c: Likewise.
8737 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8739 * stdlib/longlong.h: Update from GCC.
8742 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8743 * configure: Regenerated.
8744 * manual/install.texi (Tools for Compilation): Update minimum GCC
8746 * INSTALL: Regenerated.
8748 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
8750 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8752 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
8754 * malloc/malloc.c (mremap_chunk): Additional checks.
8756 2018-12-21 Mao Han <han_mao@c-sky.com>
8758 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8759 * scripts/build-many-glibcs.py: Add C-SKY targets.
8760 * sysdeps/csky/Implies: New file.
8761 * sysdeps/csky/Makefile: Likewise.
8762 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8763 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8764 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8765 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8766 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8767 * sysdeps/csky/abiv2/memmove.S: Likewise.
8768 * sysdeps/csky/abiv2/memset.S: Likewise.
8769 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8770 * sysdeps/csky/abiv2/start.S: Likewise.
8771 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8772 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8773 * sysdeps/csky/abiv2/strlen.S: Likewise.
8774 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8775 * sysdeps/csky/abort-instr.h: Likewise.
8776 * sysdeps/csky/atomic-machine.h: Likewise.
8777 * sysdeps/csky/bits/endian.h: Likewise.
8778 * sysdeps/csky/bits/fenv.h: Likewise.
8779 * sysdeps/csky/bits/link.h: Likewise.
8780 * sysdeps/csky/bits/setjmp.h: Likewise.
8781 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8782 * sysdeps/csky/bsd-setjmp.S: Likewise.
8783 * sysdeps/csky/configure: Likewise.
8784 * sysdeps/csky/configure.ac: Likewise.
8785 * sysdeps/csky/dl-machine.h: Likewise.
8786 * sysdeps/csky/dl-procinfo.c: Likewise.
8787 * sysdeps/csky/dl-procinfo.h: Likewise.
8788 * sysdeps/csky/dl-sysdep.h: Likewise.
8789 * sysdeps/csky/dl-tls.h: Likewise.
8790 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8791 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8792 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8793 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8794 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8795 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8796 * sysdeps/csky/fpu/fegetround.c: Likewise.
8797 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8798 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8799 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8800 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8801 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8802 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8803 * sysdeps/csky/fpu/fesetround.c: Likewise.
8804 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8805 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8806 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8807 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8808 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8809 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8810 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8811 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8812 * sysdeps/csky/fpu_control.h: Likewise.
8813 * sysdeps/csky/gccframe.h: Likewise.
8814 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8815 * sysdeps/csky/ldsodefs.h: Likewise.
8816 * sysdeps/csky/libc-tls.c: Likewise.
8817 * sysdeps/csky/linkmap.h: Likewise.
8818 * sysdeps/csky/machine-gmon.h: Likewise.
8819 * sysdeps/csky/memusage.h: Likewise.
8820 * sysdeps/csky/nofpu/Implies: Likewise.
8821 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8822 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8823 * sysdeps/csky/nptl/Makefile: Likewise.
8824 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8825 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8826 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8827 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8828 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8829 * sysdeps/csky/nptl/tls.h: Likewise.
8830 * sysdeps/csky/preconfigure: Likewise.
8831 * sysdeps/csky/sfp-machine.h: Likewise.
8832 * sysdeps/csky/sotruss-lib.c: Likewise.
8833 * sysdeps/csky/stackinfo.h: Likewise.
8834 * sysdeps/csky/sysdep.h: Likewise.
8835 * sysdeps/csky/tininess.h: Likewise.
8836 * sysdeps/csky/tst-audit.h: Likewise.
8837 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8838 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8839 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8840 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8841 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8842 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8843 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8844 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8845 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8846 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8847 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8848 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8849 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8850 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8851 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8852 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8853 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8854 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8855 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8856 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8857 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8858 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8859 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8860 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8861 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8862 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8863 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8864 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8865 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8866 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8867 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8868 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8869 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8870 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8871 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8872 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8873 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8874 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8875 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8876 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8877 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8878 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8879 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8880 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8882 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8884 * include/time.h (__difftime64): Add.
8885 * time/difftime.c (subtract): convert to 64-bit time.
8886 * time/difftime.c (__difftime64): Add.
8887 * time/difftime.c (__difftime): Wrap around __difftime64.
8889 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8891 * manual/examples/add.c: Remove redundant "if not".
8892 * manual/examples/argp-ex1.c: Likewise.
8893 * manual/examples/argp-ex2.c: Likewise.
8894 * manual/examples/argp-ex3.c: Likewise.
8895 * manual/examples/argp-ex4.c: Likewise.
8896 * manual/examples/atexit.c: Likewise.
8897 * manual/examples/db.c: Likewise.
8898 * manual/examples/dir.c: Likewise.
8899 * manual/examples/dir2.c: Likewise.
8900 * manual/examples/execinfo.c: Likewise.
8901 * manual/examples/filecli.c: Likewise.
8902 * manual/examples/filesrv.c: Likewise.
8903 * manual/examples/fmtmsgexpl.c: Likewise.
8904 * manual/examples/genpass.c: Likewise.
8905 * manual/examples/inetcli.c: Likewise.
8906 * manual/examples/inetsrv.c: Likewise.
8907 * manual/examples/isockad.c: Likewise.
8908 * manual/examples/longopt.c: Likewise.
8909 * manual/examples/memopen.c: Likewise.
8910 * manual/examples/memstrm.c: Likewise.
8911 * manual/examples/mkdirent.c: Likewise.
8912 * manual/examples/mkfsock.c: Likewise.
8913 * manual/examples/mkisock.c: Likewise.
8914 * manual/examples/mygetpass.c: Likewise.
8915 * manual/examples/pipe.c: Likewise.
8916 * manual/examples/popen.c: Likewise.
8917 * manual/examples/rprintf.c: Likewise.
8918 * manual/examples/search.c: Likewise.
8919 * manual/examples/select.c: Likewise.
8920 * manual/examples/setjmp.c: Likewise.
8921 * manual/examples/sigh1.c: Likewise.
8922 * manual/examples/sigusr.c: Likewise.
8923 * manual/examples/stpcpy.c: Likewise.
8924 * manual/examples/strdupa.c: Likewise.
8925 * manual/examples/strftim.c: Likewise.
8926 * manual/examples/subopt.c: Likewise.
8927 * manual/examples/swapcontext.c: Likewise.
8928 * manual/examples/termios.c: Likewise.
8929 * manual/examples/testopt.c: Likewise.
8930 * manual/examples/testpass.c: Likewise.
8931 * manual/examples/timeval_subtract.c: Likewise.
8933 2018-12-19 Joseph Myers <joseph@codesourcery.com>
8935 * sysdeps/x86/fpu/math_private.h: New file.
8936 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8938 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8943 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8945 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8946 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8947 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8948 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8950 (_dl_show_auxv): Give a special treatment to
8951 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8952 and AT_L3_CACHEGEOMETRY.
8953 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8954 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8955 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8956 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8958 2018-12-19 Andreas Schwab <schwab@suse.de>
8960 * nscd/connections.c (check_use): Don't abort on invalid len.
8962 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8964 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8965 values in the 64bit value cases.
8967 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8973 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8979 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8982 (__gmtime64_r): Add.
8984 (__gmtime64_r): Add.
8985 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8991 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8994 (__localtime64_r): Add.
8996 (__localtime64_r): Add.
8997 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8999 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9001 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
9002 kernel_sigction definition.
9004 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
9006 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
9008 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
9009 __syscall_rt_sigaction.
9010 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
9011 (kernel_sigaction): Use Linux generic defintion.
9013 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
9014 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
9015 (__syscall_rt_sigaction): Remove implementation.
9016 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
9018 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
9019 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
9020 INTERNAL_SYSCALL): Remove definitions.
9021 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
9022 action and signal set size.
9023 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
9024 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
9026 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9027 James Clarke <jrtc27@jrtc27.com>
9030 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
9031 Define if SA_RESTORER is defined.
9032 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
9033 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
9035 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
9036 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
9038 (HAS_SA_RESTORER): Define.
9039 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
9040 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
9041 (HAS_SA_RESTORER): Define.
9042 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
9043 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
9044 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
9045 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
9046 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9048 2018-12-18 Joseph Myers <joseph@codesourcery.com>
9050 * sysdeps/unix/sysv/linux/kernel-features.h
9051 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
9052 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9053 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
9054 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9055 (__ASSUME_ST_INO_64_BIT): Likewise.
9056 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9057 <kernel-features.h>.
9058 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
9059 Remove conditional code.
9060 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9061 <kernel-features.h>.
9062 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
9063 Remove conditional code.
9064 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
9065 <kernel-features.h>.
9066 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
9067 Remove conditional code.
9068 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
9069 <kernel-features.h>.
9070 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
9071 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
9073 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9075 * sysdeps/s390/multiarch/ifunc-resolve.h
9076 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
9077 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
9078 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
9079 Delete macro definition.
9080 (s390_libc_ifunc_init): Rename to
9081 s390_libc_ifunc_expr_stfle_init.
9082 * sysdeps/s390/bzero: Use
9083 s390_libc_ifunc_expr_stfle_init instead of
9084 s390_libc_ifunc_init.
9085 * sysdeps/s390/memcmp.c: Likewise.
9086 * sysdeps/s390/memcpy.c: Likewise.
9087 * sysdeps/s390/mempcpy.c: Likewise.
9088 * sysdeps/s390/memset.c: Likewise.
9090 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9092 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
9093 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
9095 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9097 * sysdeps/s390/multiarch/Makefile
9098 (sysdep_routines): Remove wmemcmp variants.
9099 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
9100 * sysdeps/s390/multiarch/ifunc-impl-list.c
9101 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
9102 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
9103 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
9104 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
9105 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
9106 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
9107 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
9108 * sysdeps/s390/ifunc-wmemcmp.h: New file.
9110 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9112 * sysdeps/s390/multiarch/Makefile
9113 (sysdep_routines): Remove wmemset variants.
9114 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
9115 * sysdeps/s390/multiarch/ifunc-impl-list.c
9116 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
9117 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
9118 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
9119 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
9120 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
9121 * sysdeps/s390/multiarch/wmemset.c: Move to ...
9122 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
9123 * sysdeps/s390/ifunc-wmemset.h: New file.
9125 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9127 * sysdeps/s390/multiarch/Makefile
9128 (sysdep_routines): Remove wmemchr variants.
9129 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
9130 * sysdeps/s390/multiarch/ifunc-impl-list.c
9131 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
9132 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
9133 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
9134 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
9135 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
9136 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
9137 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
9138 * sysdeps/s390/ifunc-wmemchr.h: New file.
9140 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9142 * sysdeps/s390/multiarch/Makefile
9143 (sysdep_routines): Remove wcscspn variants.
9144 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
9145 * sysdeps/s390/multiarch/ifunc-impl-list.c
9146 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
9147 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
9148 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
9149 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
9150 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
9151 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
9152 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
9153 * sysdeps/s390/ifunc-wcscspn.h: New file.
9155 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9157 * sysdeps/s390/multiarch/Makefile
9158 (sysdep_routines): Remove wcspbrk variants.
9159 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
9160 * sysdeps/s390/multiarch/ifunc-impl-list.c
9161 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
9162 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
9163 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
9164 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
9165 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
9166 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
9167 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
9168 * sysdeps/s390/ifunc-wcspbrk.h: New file.
9170 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9172 * sysdeps/s390/multiarch/Makefile
9173 (sysdep_routines): Remove wcsspn variants.
9174 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
9175 * sysdeps/s390/multiarch/ifunc-impl-list.c
9176 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
9177 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
9178 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
9179 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
9180 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
9181 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
9182 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
9183 * sysdeps/s390/ifunc-wcsspn.h: New file.
9185 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9187 * sysdeps/s390/multiarch/Makefile
9188 (sysdep_routines): Remove wcsrchr variants.
9189 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
9190 * sysdeps/s390/multiarch/ifunc-impl-list.c
9191 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
9192 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
9193 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
9194 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
9195 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
9196 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
9197 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
9198 * sysdeps/s390/ifunc-wcsrchr.h: New file.
9200 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9202 * sysdeps/s390/multiarch/Makefile
9203 (sysdep_routines): Remove wcschrnul variants.
9204 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
9205 * sysdeps/s390/multiarch/ifunc-impl-list.c
9206 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
9207 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
9208 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
9209 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
9210 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
9211 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
9212 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
9213 * sysdeps/s390/ifunc-wcschrnul.h: New file.
9215 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9217 * sysdeps/s390/multiarch/Makefile
9218 (sysdep_routines): Remove wcschr variants.
9219 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
9220 * sysdeps/s390/multiarch/ifunc-impl-list.c
9221 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
9222 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
9223 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
9224 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
9225 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
9226 * sysdeps/s390/multiarch/wcschr.c: Move to ...
9227 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
9228 * sysdeps/s390/ifunc-wcschr.h: New file.
9230 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9232 * sysdeps/s390/multiarch/Makefile
9233 (sysdep_routines): Remove wcsncmp variants.
9234 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
9235 * sysdeps/s390/multiarch/ifunc-impl-list.c
9236 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
9237 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
9238 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
9239 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
9240 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
9241 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
9242 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
9243 * sysdeps/s390/ifunc-wcsncmp.h: New file.
9245 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9247 * sysdeps/s390/multiarch/Makefile
9248 (sysdep_routines): Remove wcscmp variants.
9249 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
9250 * sysdeps/s390/multiarch/ifunc-impl-list.c
9251 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
9252 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
9253 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
9254 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
9255 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
9256 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
9257 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
9258 * sysdeps/s390/ifunc-wcscmp.h: New file.
9260 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9262 * sysdeps/s390/multiarch/Makefile
9263 (sysdep_routines): Remove wcsncat variants.
9264 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
9265 * sysdeps/s390/multiarch/ifunc-impl-list.c
9266 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
9267 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
9268 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
9269 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
9270 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
9271 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
9272 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
9273 * sysdeps/s390/ifunc-wcsncat.h: New file.
9275 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9277 * sysdeps/s390/multiarch/Makefile
9278 (sysdep_routines): Remove wcscat variants.
9279 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
9280 * sysdeps/s390/multiarch/ifunc-impl-list.c
9281 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
9282 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
9283 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
9284 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
9285 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
9286 * sysdeps/s390/multiarch/wcscat.c: Move to ...
9287 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
9288 * sysdeps/s390/ifunc-wcscat.h: New file.
9290 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9292 * sysdeps/s390/multiarch/Makefile
9293 (sysdep_routines): Remove wcpncpy variants.
9294 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
9295 * sysdeps/s390/multiarch/ifunc-impl-list.c
9296 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
9297 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
9298 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
9299 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
9300 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
9301 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
9302 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
9303 * sysdeps/s390/ifunc-wcpncpy.h: New file.
9305 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9307 * sysdeps/s390/multiarch/Makefile
9308 (sysdep_routines): Remove wcsncpy variants.
9309 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
9310 * sysdeps/s390/multiarch/ifunc-impl-list.c
9311 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
9312 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
9313 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
9314 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
9315 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
9316 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
9317 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
9318 * sysdeps/s390/ifunc-wcsncpy.h: New file.
9320 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9322 * sysdeps/s390/multiarch/Makefile
9323 (sysdep_routines): Remove wcpcpy variants.
9324 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
9325 * sysdeps/s390/multiarch/ifunc-impl-list.c
9326 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
9327 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
9328 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
9329 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
9330 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
9331 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
9332 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
9333 * sysdeps/s390/ifunc-wcpcpy.h: New file.
9335 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9337 * sysdeps/s390/multiarch/Makefile
9338 (sysdep_routines): Remove wcscpy variants.
9339 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
9340 * sysdeps/s390/multiarch/ifunc-impl-list.c
9341 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
9342 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
9343 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
9344 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
9345 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
9346 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
9347 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
9348 * sysdeps/s390/ifunc-wcscpy.h: New file.
9350 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9352 * sysdeps/s390/multiarch/Makefile
9353 (sysdep_routines): Remove wcsnlen variants.
9354 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
9355 * sysdeps/s390/multiarch/ifunc-impl-list.c
9356 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
9357 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
9358 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
9359 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
9360 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
9361 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
9362 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
9363 * sysdeps/s390/ifunc-wcsnlen.h: New file.
9365 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9367 * sysdeps/s390/multiarch/Makefile
9368 (sysdep_routines): Remove wcslen variants.
9369 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
9370 * sysdeps/s390/multiarch/ifunc-impl-list.c
9371 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
9372 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
9373 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
9374 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
9375 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
9376 * sysdeps/s390/multiarch/wcslen.c: Move to ...
9377 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
9378 * sysdeps/s390/ifunc-wcslen.h: New file.
9380 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9382 * sysdeps/s390/multiarch/Makefile
9383 (sysdep_routines): Remove memrchr variants.
9384 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
9385 * sysdeps/s390/multiarch/ifunc-impl-list.c
9386 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
9387 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
9388 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
9389 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
9390 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
9391 * sysdeps/s390/multiarch/memrchr.c: Move to ...
9392 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
9393 * sysdeps/s390/ifunc-memrchr.h: New file.
9395 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9397 * sysdeps/s390/multiarch/Makefile
9398 (sysdep_routines): Remove memccpy variants.
9399 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
9400 * sysdeps/s390/multiarch/ifunc-impl-list.c
9401 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
9402 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
9403 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
9404 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
9405 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
9406 * sysdeps/s390/multiarch/memccpy.c: Move to ...
9407 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
9408 * sysdeps/s390/ifunc-memccpy.h: New file.
9410 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9412 * sysdeps/s390/multiarch/Makefile
9413 (sysdep_routines): Remove rawmemchr variants.
9414 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
9415 * sysdeps/s390/multiarch/ifunc-impl-list.c
9416 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
9417 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
9418 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
9419 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
9420 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
9421 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
9422 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
9423 * sysdeps/s390/ifunc-rawmemchr.h: New file.
9425 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9427 * sysdeps/s390/multiarch/Makefile
9428 (sysdep_routines): Remove memchr variants.
9429 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
9430 * sysdeps/s390/multiarch/ifunc-impl-list.c
9431 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
9432 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
9433 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
9434 * sysdeps/s390/multiarch/memchr.c: Move to ...
9435 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
9436 * sysdeps/s390/ifunc-memchr.h: New file.
9437 * sysdeps/s390/s390-64/memchr.S: Move to ...
9438 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
9439 for 31/64bit and ifunc handling.
9440 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
9441 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9442 * sysdeps/s390/s390-32/memchr.S: Likewise.
9444 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9446 * sysdeps/s390/multiarch/Makefile
9447 (sysdep_routines): Remove strcspn variants.
9448 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
9449 * sysdeps/s390/multiarch/ifunc-impl-list.c
9450 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
9451 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
9452 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
9453 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
9454 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
9455 * sysdeps/s390/multiarch/strcspn.c: Move to ...
9456 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
9457 * sysdeps/s390/ifunc-strcspn.h: New file.
9459 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9461 * sysdeps/s390/multiarch/Makefile
9462 (sysdep_routines): Remove strpbrk variants.
9463 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
9464 * sysdeps/s390/multiarch/ifunc-impl-list.c
9465 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
9466 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
9467 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
9468 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
9469 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
9470 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
9471 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
9472 * sysdeps/s390/ifunc-strpbrk.h: New file.
9474 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9476 * sysdeps/s390/multiarch/Makefile
9477 (sysdep_routines): Remove strspn variants.
9478 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
9479 * sysdeps/s390/multiarch/ifunc-impl-list.c
9480 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
9481 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
9482 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
9483 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
9484 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
9485 * sysdeps/s390/multiarch/strspn.c: Move to ...
9486 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
9487 * sysdeps/s390/ifunc-strspn.h: New file.
9489 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9491 * sysdeps/s390/multiarch/Makefile
9492 (sysdep_routines): Remove strrchr variants.
9493 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
9494 * sysdeps/s390/multiarch/ifunc-impl-list.c
9495 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
9496 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
9497 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
9498 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
9499 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
9500 * sysdeps/s390/multiarch/strrchr.c: Move to ...
9501 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
9502 * sysdeps/s390/ifunc-strrchr.h: New file.
9504 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9506 * sysdeps/s390/multiarch/Makefile
9507 (sysdep_routines): Remove strchrnul variants.
9508 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
9509 * sysdeps/s390/multiarch/ifunc-impl-list.c
9510 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
9511 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
9512 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
9513 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
9514 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
9515 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
9516 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
9517 * sysdeps/s390/ifunc-strchrnul.h: New file.
9519 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9521 * sysdeps/s390/multiarch/Makefile
9522 (sysdep_routines): Remove strchr variants.
9523 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
9524 * sysdeps/s390/multiarch/ifunc-impl-list.c
9525 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
9526 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
9527 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
9528 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
9529 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
9530 * sysdeps/s390/multiarch/strchr.c: Move to ...
9531 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
9532 * sysdeps/s390/ifunc-strchr.h: New file.
9534 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9536 * sysdeps/s390/multiarch/Makefile
9537 (sysdep_routines): Remove strncmp variants.
9538 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
9539 * sysdeps/s390/multiarch/ifunc-impl-list.c
9540 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
9541 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
9542 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
9543 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
9544 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
9545 * sysdeps/s390/multiarch/strncmp.c: Move to ...
9546 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
9547 * sysdeps/s390/ifunc-strncmp.h: New file.
9549 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9551 * sysdeps/s390/multiarch/Makefile
9552 (sysdep_routines): Remove strcmp variants.
9553 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
9554 * sysdeps/s390/multiarch/ifunc-impl-list.c
9555 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
9556 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
9557 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
9558 * sysdeps/s390/multiarch/strcmp.c: Move to ...
9559 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
9560 * sysdeps/s390/ifunc-strcmp.h: New file.
9561 * sysdeps/s390/s390-64/strcmp.S: Move to ...
9562 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
9563 for 31/64bit and ifunc handling.
9564 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
9565 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9566 * sysdeps/s390/s390-32/strcmp.S: Likewise.
9568 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9570 * sysdeps/s390/multiarch/Makefile
9571 (sysdep_routines): Remove strncat variants.
9572 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
9573 * sysdeps/s390/multiarch/ifunc-impl-list.c
9574 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
9575 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
9576 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
9577 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
9578 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
9579 * sysdeps/s390/multiarch/strncat.c: Move to ...
9580 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
9581 * sysdeps/s390/ifunc-strncat.h: New file.
9583 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9585 * sysdeps/s390/multiarch/Makefile
9586 (sysdep_routines): Remove strcat variants.
9587 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
9588 * sysdeps/s390/multiarch/ifunc-impl-list.c
9589 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
9590 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
9591 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
9592 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
9593 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
9594 * sysdeps/s390/multiarch/strcat.c: Move to ...
9595 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
9596 * sysdeps/s390/ifunc-strcat.h: New file.
9598 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9600 * sysdeps/s390/multiarch/Makefile
9601 (sysdep_routines): Remove stpncpy variants.
9602 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9603 * sysdeps/s390/multiarch/ifunc-impl-list.c
9604 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9605 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9606 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9607 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9608 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9609 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9610 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9611 * sysdeps/s390/ifunc-stpncpy.h: New file.
9613 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9615 * sysdeps/s390/multiarch/Makefile
9616 (sysdep_routines): Remove strncpy variants.
9617 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9618 * sysdeps/s390/multiarch/ifunc-impl-list.c
9619 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9620 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9621 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9622 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9623 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9624 * sysdeps/s390/ifunc-strncpy.h: New file.
9625 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9626 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9627 and adjust ifunc handling.
9628 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9629 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9630 and adjust ifunc handling.
9631 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9632 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9634 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9636 * sysdeps/s390/multiarch/Makefile
9637 (sysdep_routines): Remove stpcpy variants.
9638 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9639 * sysdeps/s390/multiarch/ifunc-impl-list.c
9640 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9641 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9642 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9643 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9644 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9645 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9646 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9647 * sysdeps/s390/ifunc-stpcpy.h: New file.
9649 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9651 * sysdeps/s390/multiarch/Makefile
9652 (sysdep_routines): Remove strcpy variants.
9653 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9654 * sysdeps/s390/multiarch/ifunc-impl-list.c
9655 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9656 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9657 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9658 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9659 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9660 * sysdeps/s390/ifunc-strcpy.h: New file.
9661 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9662 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9663 for 31/64bit and ifunc handling.
9664 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9665 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9666 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9668 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9670 * sysdeps/s390/multiarch/Makefile
9671 (sysdep_routines): Remove strnlen variants.
9672 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9673 * sysdeps/s390/multiarch/ifunc-impl-list.c
9674 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9675 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9676 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9677 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9678 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9679 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9680 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9681 * sysdeps/s390/ifunc-strnlen.h: New file.
9683 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9685 * sysdeps/s390/multiarch/Makefile
9686 (sysdep_routines): Remove strlen variants.
9687 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9688 * sysdeps/s390/multiarch/ifunc-impl-list.c
9689 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9690 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9691 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9692 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9693 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9694 * sysdeps/s390/multiarch/strlen.c: Move to ...
9695 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9696 * sysdeps/s390/ifunc-strlen.h: New file.
9698 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9700 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9701 * sysdeps/s390/multiarch/ifunc-impl-list.c
9702 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9703 * sysdeps/s390/ifunc-memmem.h: New file.
9704 * sysdeps/s390/memmem.c: Likewise.
9705 * sysdeps/s390/memmem-c.c: Likewise.
9706 * sysdeps/s390/memmem-vx.c: Likewise.
9708 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9710 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9711 * sysdeps/s390/multiarch/ifunc-impl-list.c
9712 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9713 * sysdeps/s390/ifunc-strstr.h: New file.
9714 * sysdeps/s390/strstr.c: Likewise.
9715 * sysdeps/s390/strstr-c.c: Likewise.
9716 * sysdeps/s390/strstr-vx.c: Likewise.
9718 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9720 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9721 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9722 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9723 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9725 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9726 * sysdeps/s390/memmove-c.c: New file.
9727 * sysdeps/s390/memmove.c: Likewise.
9728 * sysdeps/s390/multiarch/ifunc-impl-list.c
9729 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9731 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9733 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9734 * sysdeps/s390/configure.ac: Add check for z13 support.
9735 * sysdeps/s390/configure: Regenerated.
9737 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9739 * sysdeps/s390/memcopy.h: New file.
9741 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9743 * sysdeps/s390/s390-32/bcopy.S: Remove.
9744 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9746 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9748 * sysdeps/s390/ifunc-memcpy.h: New File.
9749 * sysdeps/s390/memcpy.S: Move to ...
9750 * sysdeps/s390/memcpy-z900.S ... here.
9751 Move implementations from memcpy-s390x.s to here.
9752 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9753 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9754 Remove memcpy/mempcpy variants.
9755 * sysdeps/s390/Makefile (sysdep_routines):
9756 Add memcpy/mempcpy variants.
9757 * sysdeps/s390/multiarch/ifunc-impl-list.c
9758 (__libc_ifunc_impl_list): Adjust ifunc variants for
9760 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9762 * sysdeps/s390/memcpy.c: ... here.
9763 Adjust ifunc variants for memcpy.
9764 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9765 * sysdeps/s390/mempcpy.c: ... here.
9766 Adjust ifunc variants for mempcpy.
9767 * sysdeps/s390/mempcpy.S: Delete file.
9769 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9771 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9772 * sysdeps/s390/memcpy.S: ... here.
9773 Adjust to be usable for 31/64bit.
9774 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9775 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9776 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9777 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9778 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9779 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9780 Adjust to be usable for 31/64bit.
9781 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9782 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9783 * sysdeps/s390/multiarch/memcpy.c: ... here.
9784 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9786 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9788 * sysdeps/s390/ifunc-memcmp.h: New File.
9789 * sysdeps/s390/memcmp.S: Move to ...
9790 * sysdeps/s390/memcmp-z900.S ... here.
9791 Move implementations from memcmp-s390x.s to here.
9792 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9793 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9794 Remove memcmp variants.
9795 * sysdeps/s390/Makefile (sysdep_routines):
9796 Add memcmp variants.
9797 * sysdeps/s390/multiarch/ifunc-impl-list.c
9798 (__libc_ifunc_impl_list): Adjust ifunc variants for
9800 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9802 * sysdeps/s390/memcmp.c: ... here.
9803 Adjust ifunc variants for memcmp.
9805 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9807 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9808 * sysdeps/s390/memcmp.S: ... here.
9809 Adjust to be usable for 31/64bit.
9810 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9811 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9812 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9814 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9815 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9816 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9817 Adjust to be usable for 31/64bit.
9818 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9819 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9820 * sysdeps/s390/multiarch/memcmp.c: ... here.
9821 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9823 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9825 * sysdeps/s390/s390-32/bzero.S: Delete file.
9826 * sysdeps/s390/s390-64/bzero.S: Likewise.
9827 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9828 * sysdeps/s390/bzero.c: New file.
9829 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9830 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9831 * sysdeps/s390/multiarch/ifunc-impl-list.c
9832 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9834 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9836 * sysdeps/s390/ifunc-memset.h: New File.
9837 * sysdeps/s390/memset.S: Move to ...
9838 * sysdeps/s390/memset-z900.S ... here.
9839 Move implementations from memset-s390x.s to here.
9840 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9841 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9842 Remove memset variants.
9843 * sysdeps/s390/Makefile (sysdep_routines):
9844 Add memset variants.
9845 * sysdeps/s390/multiarch/ifunc-impl-list.c
9846 (__libc_ifunc_impl_list): Adjust ifunc variants for
9848 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9850 * sysdeps/s390/memset.c: ... here.
9851 Adjust ifunc variants for memset.
9853 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9855 * sysdeps/s390/s390-64/memset.S: Move to ...
9856 * sysdeps/s390/memset.S: ... here.
9857 Adjust to be usable for 31/64bit.
9858 * sysdeps/s390/s390-32/memset.S: Delete File.
9859 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9860 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9862 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9863 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9864 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9865 Adjust to be usable for 31/64bit.
9866 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9867 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9868 * sysdeps/s390/multiarch/memset.c: ... here.
9869 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9871 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9873 * sysdeps/s390/multiarch/ifunc-resolve.h
9874 (s390_libc_ifunc_init, s390_libc_ifunc,
9875 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9877 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9879 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9880 * sysdeps/s390/configure.ac: Add check for z10 support.
9881 * sysdeps/s390/configure: Regenerated.
9883 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9885 * sysdeps/i386/atomic-machine.h: Merged with ...
9886 * sysdeps/x86_64/atomic-machine.h: To ...
9887 * sysdeps/x86/atomic-machine.h: This. New file.
9889 2018-12-18 Florian Weimer <fweimer@redhat.com>
9891 Rewrite locale/gen-translit.pl in Python.
9892 * locale/Makefile (generated): Add C-translit.h.
9893 (before-compile): Add $(objpfx)C-translit.h.
9894 (C-translit.h): Move to $(objpfx). Create target directory.
9895 Build using Python script.
9896 * locale/gen-translit.py: New file.
9897 * locale/gen-translit.pl: Remove file.
9898 * locale/C-translit.h.in: Change comment character to '#' for
9899 easier parsing without a C preprocessor.
9900 * locale/C-translit.h: Remove generated file.
9901 * manual/install.texi (Tools for Compilation): Do not mention
9903 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9904 Remove locale/C-translit.h.
9905 * scripts/update-copyrights: Likewise.
9906 * INSTALL: Regenerate.
9908 2018-12-18 Florian Weimer <fweimer@redhat.com>
9911 * localedata/locales/bi_VU: Remove executable bit from file.
9913 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
9916 (__localtime64): Add.
9917 * manual/maint.texi: Document Y2038 symbol handling.
9919 (__localtime64): Add.
9920 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
9922 2018-12-17 Joseph Myers <joseph@codesourcery.com>
9924 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9927 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9928 to allow extra macros from first or second sources.
9929 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9930 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9931 (tests-special): Add $(objpfx)tst-mman-consts.out.
9932 ($(objpfx)tst-mman-consts.out): New makefile target.
9934 2018-12-17 Mao Han <han_mao@c-sky.com>
9936 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9937 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9938 without stat64 system call support.
9939 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9940 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9941 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9942 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9943 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9944 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9945 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9946 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9947 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9948 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9949 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9951 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9953 regex: fix storage-exhaustion error
9955 * posix/regexec.c (get_subexp):
9956 Do not continue if storage is exhausted.
9958 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
9960 regex: fix heap-use-after-free error
9962 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9963 https://debbugs.gnu.org/32592
9964 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9965 call extend_buffers which reallocates the re_string_t internal buffer.
9966 Local variable 'buf' was not updated in such case, resulting in
9968 * posix/regexec.c (get_subexp): Update 'buf' after call to
9971 2018-12-15 Florian Weimer <fweimer@redhat.com>
9973 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9974 (minimum_stride_size): Use it.
9975 (support_blob_repeat_allocate): Likewise.
9977 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9979 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9984 2018-12-14 Florian Weimer <fweimer@redhat.com>
9986 * manual/process.texi (Process Creation Concepts): Remove
9987 documentation of process (ID) lifetime. List more process
9988 creation functions. Reference Process Identification section.
9989 (Process Identification): Add information about process ID
9990 lifetime. Describe Linux thread/task IDs.
9991 * manual/signal.texi (Signaling Another Process): Mention that the
9992 signal is always sent to the process.
9994 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9996 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9997 and tst-ldbl-efgcvt.
9998 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9999 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
10000 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
10001 (fcvt_tests, output_error, output_r_error, do_test): Use the
10002 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
10003 select the type of floating-point variables and arguments; to
10004 produce extra tests for double and conversion specifiers for
10005 printf; and to set the names of called functions.
10006 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
10007 in tst-efgcvt-template.c.
10008 * misc/tst-ldbl-efgcvt.c: Likewise.
10010 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
10012 * nss/Makefile (tst-nss-test3.out): New rule.
10014 2018-12-13 Joseph Myers <joseph@codesourcery.com>
10016 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
10019 2018-12-13 fanjinke <fanjinke@hygon.cn>
10021 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
10024 2018-12-13 Andreas Schwab <schwab@suse.de>
10027 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
10028 (__pthread_rwlock_rdlock_full): Update expected value for
10029 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
10030 * nptl/tst-rwlock-pwn.c: New file.
10031 * nptl/Makefile (tests): Add tst-rwlock-pwn.
10033 2018-12-12 Joseph Myers <joseph@codesourcery.com>
10035 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
10038 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10040 * benchtests/scripts/compare_bench.py (do_compare): write to
10041 stderr in casestat is not present.
10042 * benchtests/scripts/compare_bench.py (plot_graphs): write to
10043 stderr in case timings field is not present. Also string showing
10044 the output filename goes into the stderr.
10046 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10048 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
10049 and ZeroDivisorError exceptions.
10050 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
10051 argument to loop through user provided statistics.
10052 * benchtests/scripts/compare_bench.py (main): Include the --stats
10055 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10057 * benchtests/scripts/compare_bench.py (compare_runs): Continue
10060 2018-12-12 Florian Weimer <fweimer@redhat.com>
10062 * sysdeps/posix/timespec_get.c: Add missing “any later version”
10063 clause to copyright header.
10065 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10068 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
10069 registers saved in the stack frame.
10070 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
10071 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
10073 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10075 * include/bits/monetary-ldbl.h: New file.
10076 * include/bits/printf-ldbl.h: Likewise.
10077 * include/bits/stdio-ldbl.h: Likewise.
10078 * include/bits/stdlib-ldbl.h: Likewise.
10079 * include/bits/syslog-ldbl.h: Likewise.
10080 * include/bits/wchar-ldbl.h: Likewise.
10082 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10084 * libio/libio.h: Remove redirection for _IO_vfprintf.
10086 2018-12-11 Andreas Schwab <schwab@suse.de>
10088 * Makerules: Remove all references to abilist-pattern.
10089 (update-all-abi): Simplify find expression.
10091 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10094 * math/auto-libm-test-in: Add new test case.
10095 * math/auto-libm-test-out-pow: Regenerated.
10096 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
10098 2018-12-10 DJ Delorie <dj@redhat.com>
10101 * support/test-container.c: Move postclean step to before we
10104 2018-12-10 Joseph Myers <joseph@codesourcery.com>
10106 * scripts/gen-as-const.py (main): Handle --python option.
10107 * scripts/gen-py-const.awk: Remove.
10108 * Makerules (py-const-script): Use gen-as-const.py.
10109 ($(py-const)): Likewise.
10110 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
10111 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
10112 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
10113 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
10114 ~PTHREAD_MUTEX_NO_ELISION_NP.
10115 * manual/README.pretty-printers: Update reference to
10118 * scripts/glibcextract.py: New file.
10119 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
10120 or tempfile. Import glibcexctract.
10121 (compute_c_consts): Remove. Moved to glibcextract.py.
10122 (gen_test): Update reference to compute_c_consts.
10124 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
10125 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
10126 * sysdeps/unix/sysv/linux/Makefile
10127 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
10128 Redirect stderr as well as stdout.
10130 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
10133 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
10134 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
10135 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
10136 ALWAYS_USE_VSYSCALL.
10137 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
10138 ALWAYS_USE_VSYSCALL.
10139 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
10140 ALWAYS_USE_VSYSCALL.
10142 2018-12-10 Florian Weimer <fweimer@redhat.com>
10145 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
10146 offset instead of count for clarity. Fix typo in comment.
10147 (__old_getdents64): Keep track of previous offset. Use it to call
10149 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
10150 that d_off is never zero.
10152 2018-12-10 Andreas Schwab <schwab@suse.de>
10154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
10155 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
10156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
10157 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
10158 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
10160 2018-12-10 Joseph Myers <joseph@codesourcery.com>
10162 * timezone/private.h: Update from tzcode 2018g.
10163 * timezone/tzfile.h: Likewise.
10164 * timezone/tzselect.ksh: Likewise.
10165 * timezone/zdump.c: Likewise.
10166 * timezone/zic.c: Likewise.
10168 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10171 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
10172 (do_test): Adjust buffer size and fix format.
10174 2018-12-07 DJ Delorie <dj@redhat.com>
10177 * malloc/tst-tcfree3.c: New.
10178 * malloc/Makefile: Add it.
10180 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
10182 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
10184 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10186 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
10187 used as a mask for the mode argument of __vfscanf_internal and
10188 __vfwscanf_internal.
10189 * stdio-common/vfscanf-internal.c
10190 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
10191 (__strtof128_internal): Define to __wcstof128_internal.
10192 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
10193 __strtof128_internal or __wcstof128_internal when the format of
10194 long double is the same as _Float128.
10196 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
10198 * include/unistd.h (__confstr): Add prototype and hidden prototype.
10199 * posix/confstr.c (confstr): Rename to __confstr.
10200 (__confstr): Add hidden def.
10201 (confstr): Add weak alias for __confstr.
10202 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
10205 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
10207 * NEWS: Mention getcpu.
10208 * include/sched.h (__getcpu): New libc_hidden_proto.
10209 * manual/resource.texi: Document getcpu.
10210 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
10211 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
10212 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
10213 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10214 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10215 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10216 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10217 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10218 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10219 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10220 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10221 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10222 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
10224 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10225 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10226 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
10235 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10236 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10237 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10238 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10239 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10240 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10241 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10242 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10243 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
10244 * sysdeps/unix/sysv/linux/getcpu.c: New file.
10245 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
10248 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10250 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
10252 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
10254 2018-12-07 Florian Weimer <fweimer@redhat.com>
10257 * posix/Makefile (routines): Add spawn_faction_addfchdir.
10258 * posix/Versions (GLIBC_2.29): Export
10259 posix_spawn_file_actions_addfchdir_np.
10260 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
10261 * posix/spawn_faction_destroy.c
10262 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
10263 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
10264 and the field action.fchdir_action.
10265 * posix/tst-spawn-chdir.c (add_chdir): New function.
10266 (do_test): Add do_fchdir loop. Call add_chdir.
10267 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
10268 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10269 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10270 posix_spawn_file_actions_addfchdir_np.
10271 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10273 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10275 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10276 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10278 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10280 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10282 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10284 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10286 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10288 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10289 (GLIBC_2.29): Likewise.
10290 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10291 (GLIBC_2.29): Likewise.
10292 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10293 (GLIBC_2.29): Likewise.
10294 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10295 (GLIBC_2.29): Likewise.
10296 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10299 (GLIBC_2.29): Likewise.
10300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10301 (GLIBC_2.29): Likewise.
10302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10303 (GLIBC_2.29): Likewise.
10304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10305 (GLIBC_2.29): Likewise.
10306 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10308 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10310 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10312 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10313 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10315 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10317 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10319 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10322 2018-12-06 Joseph Myers <joseph@codesourcery.com>
10324 * manual/texinfo.tex: Update to version 2018-09-21.20 with
10325 trailing whitespace removed.
10326 * scripts/config.guess: Update to version 2018-11-28.
10327 * scripts/config.sub: Update to version 2018-11-28.
10328 * scripts/install-sh: Update to version 2018-03-11.20.
10329 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
10330 * scripts/move-if-change: Update to version 2018-03-07 03:47.
10332 2018-12-07 Florian Weimer <fweimer@redhat.com>
10336 * inet/tst-if_index-long.c: New file.
10337 * inet/Makefile (tests): Add tst-if_index-long.
10339 2018-12-07 Florian Weimer <fweimer@redhat.com>
10341 * support/check.h (support_record_failure_is_failed): Declare.
10342 * support/descriptors.h: New file.
10343 * support/support_descriptors.c: Likewise.
10344 * support/tst-support_descriptors.c: Likewise.
10345 * support/support_record_failure.c
10346 (support_record_failure_is_failed): New function.
10347 * support/Makefile (libsupport-routines): Add support_descriptors.
10348 (tests): Add tst-support_descriptors.
10350 2018-12-05 Zack Weinberg <zackw@panix.com>
10351 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10353 * stdio-common/vfprintf-internal.c
10354 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
10355 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
10356 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
10357 and __no_long_double.
10358 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
10359 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
10360 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
10361 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
10362 and __nldbl_*syslog* functions.
10363 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
10364 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
10365 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
10366 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
10367 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
10368 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
10369 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
10370 (__nldbl_vwprintf, __nldbl_wprintf):
10371 Directly call the appropriate __v*printf_internal routine, passing
10372 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
10374 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
10375 (__nldbl___printf_chk, __nldbl___snprintf_chk)
10376 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
10377 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
10378 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
10379 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
10380 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
10381 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
10382 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
10383 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
10384 Likewise, and also pass PRINTF_FORTIFY when appropriate.
10385 (__nldbl_syslog, __nldbl_vsyslog):
10386 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
10387 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
10389 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
10392 2018-12-05 Zack Weinberg <zackw@panix.com>
10393 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10396 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
10397 Moved here from debug/vsprintf_chk.c.
10398 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
10399 and completion logic for the strfile to match exactly what
10400 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
10401 _IO_str_init_static_internal instead of maxlen-1.
10402 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10403 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
10404 __vsprintf_internal.
10406 * debug/vsprintf_chk.c (__vsprintf_chk)
10407 * debug/sprintf_chk.c (__sprintf_chk):
10408 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
10409 'flags' argument is positive, and slen as maxlen. No need to lock
10410 the FILE and/or construct a temporary FILE. Minimize and normalize
10411 header inclusions and variable names. Do not libc_hidden_def anything.
10413 * debug/asprintf_chk.c (__asprintf_chk)
10414 * debug/dprintf_chk.c (__dprintf_chk)
10415 * debug/fprintf_chk.c (__fprintf_chk)
10416 * debug/fwprintf_chk.c (__fwprintf_chk)
10417 * debug/printf_chk.c (__printf_chk)
10418 * debug/snprintf_chk.c (__snprintf_chk)
10419 * debug/swprintf_chk.c (__swprintf_chk)
10420 * debug/vasprintf_chk.c (__vasprintf_chk)
10421 * debug/vdprintf_chk.c (__vdprintf_chk)
10422 * debug/vfprintf_chk.c (__vfprintf_chk)
10423 * debug/vfwprintf_chk.c (__vfwprintf_chk)
10424 * debug/vprintf_chk.c (__vprintf_chk)
10425 * debug/vsnprintf_chk.c (__vsnprintf_chk)
10426 * debug/vswprintf_chk.c (__vswprintf_chk)
10427 * debug/vwprintf_chk.c (__vwprintf_chk)
10428 * debug/wprintf_chk.c (__wprintf_chk):
10429 Directly call the corresponding vxxprintf_internal function, passing
10430 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
10431 the FILE and/or construct a temporary FILE. Minimize and normalize
10432 header inclusions and variable names. Do not libc_hidden_def anything.
10434 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
10435 __obstack_vprintf_internal.
10436 (__obstack_vprintf_chk): Convert into a wrapper that calls
10437 __obstack_vprintf_internal (these two functions already had the
10438 same code) and move to new file...
10439 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
10441 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
10442 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
10443 * debug/Makefile (routines): Add vobprintf_chk.
10445 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10446 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10447 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
10448 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
10449 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
10450 (__nldbl___obstack_vfprintf_chk):
10451 Directly call the corresponding vxxprintf_internal function,
10452 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
10453 duplicate comparison of slen with 0 or maxlen from the corresponding
10454 non-__nldbl function.
10456 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
10457 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
10458 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
10459 Remove libc_hidden_proto.
10461 * stdio-common/vfprintf-internal.c
10462 (__vfprintf_internal, __vfwprintf_internal):
10463 Do not check _IO_FLAGS2_FORTIFY.
10464 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
10465 * libio/libioP.h: Update prototype of __vsprintf_internal and add
10466 a comment explaining why it has the maxlen argument.
10467 (_IO_acquire_lock_clear_flags2_fct): Remove.
10468 (_IO_acquire_lock_clear_flags2): Remove.
10469 (_IO_release_lock): Remove conditional statement which will
10471 (_IO_acquire_lock): Remove variable which is now unused.
10472 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10473 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10475 * stdio-common/Makefile (tests): Add tst-bz11319 and
10476 tst-bz11319-fortify2.
10477 (CFLAGS-tst-bz11319-fortify2.c): New macro.
10478 * stdio-common/tst-bz11319-fortify2.c: New file.
10479 * stdio-common/tst-bz11319.c: Likewise.
10481 2018-12-05 Zack Weinberg <zackw@panix.com>
10482 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10484 * misc/syslog.c: Include libioP.h, not iolibio.h.
10485 (__vsyslog_internal): New function with the former body of
10486 __vsyslog_chk; takes mode_flags argument same as
10487 __v*printf_internal. Call __vfprintf_internal directly.
10489 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
10490 Remove libc_hidden_def.
10491 (__syslog, __syslog_chk): Use __vsyslog_internal.
10492 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
10494 * include/sys/syslog.h: Add multiple inclusion guard.
10495 Add prototype for __vsyslog_internal.
10496 Remove declaration and libc_hidden_proto for __vsyslog_chk.
10498 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
10499 Use __vsyslog_internal.
10501 2018-12-05 Zack Weinberg <zackw@panix.com>
10502 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10504 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
10505 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
10506 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
10508 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
10509 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
10511 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
10512 Include wctype.h here if COMPILE_WPRINTF is defined.
10513 Define __vfprintf_internal or __vfwprintf_internal, depending
10514 on COMPILE_WPRINTF.
10515 Temporarily, on entry to this function, update mode_flags
10516 according to the environmental settings corresponding to
10517 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
10518 Throughout, check mode_flags instead of __ldbl_is_dbl and
10519 _IO_FLAGS2_FORTIFY on the destination FILE.
10520 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
10521 Include vfprintf-internal.c. Don't include wctype.h.
10522 * stdio-common/vfprintf.c: New file. Just define __vfprintf
10523 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
10525 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
10526 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
10528 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
10530 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
10531 and add mode_flags argument; use __vfprintf_internal.
10532 (__vdprintf): New function. Alias vdprintf to this.
10533 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
10534 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
10535 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
10536 (__obstack_printf): Use __obstack_printf_internal.
10537 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
10538 public aliases __vsnprintf and vsnprintf.
10539 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
10541 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
10542 public aliases _IO_vsprintf and vsprintf.
10543 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
10544 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
10545 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
10546 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
10547 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
10549 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
10550 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
10551 * stdio-common/fprintf.c, stdio-common/fxprintf.c
10552 * stdio-common/printf.c: Use __vfprintf_internal.
10554 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
10555 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
10556 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
10558 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
10559 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
10560 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
10561 __vfwprintf_internal.
10563 * libio/libio.h: Remove libc_hidden_proto and declaration for
10565 Remove declaration of _IO_vfwprintf.
10566 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
10568 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
10569 _IO_obstack_printf.
10570 * include/stdio.h: Add prototype for __vasprintf.
10571 (__vsnprintf): Remove declaration, because there are no more
10573 * include/wchar.h (__vfwprintf, __vswprintf): Remove
10574 declaration, because there are no more internal calls.
10576 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
10577 __vsnprintf_internal, instead of _IO_vsnprintf.
10578 * argp/argp-help.c (__argp_error, __argp_failure): Use
10579 __vasprintf_internal, instead of _IO_vasprintf.
10580 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
10581 redefine, because there are no more internal calls.
10583 2018-12-05 Zack Weinberg <zackw@panix.com>
10584 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10586 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
10587 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
10588 Include libio/strfile.h instead of libioP.h.
10589 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
10590 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
10591 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
10592 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
10593 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
10594 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
10595 necessary. Do not set __no_long_double. Normalize variable names.
10596 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
10597 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10598 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10599 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10600 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10601 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10602 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10603 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10604 Do not set __no_long_double. Normalize variable names.
10606 2018-12-05 Zack Weinberg <zackw@panix.com>
10607 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10609 * stdio-common/isoc99_scanf.c
10610 * stdio-common/isoc99_fscanf.c
10611 * stdio-common/isoc99_sscanf.c
10612 * stdio-common/isoc99_vscanf.c
10613 * stdio-common/isoc99_vfscanf.c
10614 * stdio-common/isoc99_vsscanf.c
10615 * wcsmbs/isoc99_wscanf.c
10616 * wcsmbs/isoc99_fwscanf.c
10617 * wcsmbs/isoc99_swscanf.c
10618 * wcsmbs/isoc99_vwscanf.c
10619 * wcsmbs/isoc99_vfwscanf.c
10620 * wcsmbs/isoc99_vswscanf.c:
10621 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10622 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10623 No need to lock and unlock the FILE passed to that function.
10625 * stdio-common/vfscanf-internal.c
10626 (__vfscanf_internal, __vfwscanf_internal):
10627 Don't look at _IO_FLAGS2_SCANF_STD.
10628 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10629 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10630 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10632 2018-12-05 Zack Weinberg <zackw@panix.com>
10633 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10635 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10636 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10637 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10638 * libio/strfile.h: Add multiple inclusion guard.
10639 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10641 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10642 consistency with the other version of this file.
10643 (ldbl_compat_symbol): New macro.
10644 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10647 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10648 Define __vfscanf_internal or __vfwscanf_internal, depending on
10649 COMPILE_WSCANF; don't define any other public symbols.
10650 Remove errval and code to set errp.
10651 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10652 as the mode_flags argument.
10653 (encode_error, conv_error, input_error): Don't set errval.
10654 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10655 Include vfscanf-internal.c.
10656 * stdio-common/vfscanf.c: New file defining the public entry
10657 point vfscanf, which calls __vfscanf_internal.
10658 * stdio-common/vfwscanf.c: New file defining the public entry
10659 point vfwscanf, which calls __vfwscanf_internal.
10661 * stdio-common/iovfscanf.c: New file.
10662 * stdio-common/iovfwscanf.c: Likewise.
10664 * stdio-common/Makefile (routines): Add vfscanf-internal,
10665 vfwscanf-internal, iovfscanf, iovfwscanf.
10666 * stdio-common/Versions: Mention GLIBC_2.29, so that
10667 it can be used in SHLIB_COMPAT expressions.
10668 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10669 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10670 Call __vfscanf_internal, instead of _IO_vfscanf.
10671 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10673 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10676 * libio/iovsscanf.c: Clean up includes, when possible. Use
10677 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10678 __vfscanf_internal or __vfwscanf_internal directly.
10679 * libio/iovswscanf.c: Likewise.
10680 * libio/swscanf.c: Likewise.
10681 * libio/vscanf.c: Likewise.
10682 * libio/vwscanf.c: Likewise.
10683 * libio/wscanf.c: Likewise.
10684 * stdio-common/isoc99_fscanf.c: Likewise.
10685 * stdio-common/isoc99_scanf.c: Likewise.
10686 * stdio-common/isoc99_sscanf.c: Likewise.
10687 * stdio-common/isoc99_vfscanf.c: Likewise.
10688 * stdio-common/isoc99_vscanf.c: Likewise.
10689 * stdio-common/isoc99_vsscanf.c: Likewise.
10690 * stdio-common/scanf.c: Likewise.
10691 * stdio-common/sscanf.c: Likewise.
10692 * wcsmbs/isoc99_fwscanf.c: Likewise.
10693 * wcsmbs/isoc99_swscanf.c: Likewise.
10694 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10695 * wcsmbs/isoc99_vswscanf.c: Likewise.
10696 * wcsmbs/isoc99_vwscanf.c: Likewise.
10697 * wcsmbs/isoc99_wscanf.c: Likewise.
10699 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
10702 (__tz_compute): Replace time_t with __time64_t.
10703 (__tz_convert): Replace time_t* with __time64_t.
10704 (__offtime): Replace time_t* with __time64_t.
10706 (__gmtime_r): Adjust call to __tz_convert.
10707 (gmtime): Likewise.
10709 (__localtime_r): Likewise.
10710 (localtime): Likewise.
10711 * time/offtime.c: Replace time_t with __time64_t.
10712 * time/tzset.c: Likewise.
10714 2018-12-04 Joseph Myers <joseph@codesourcery.com>
10716 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10717 dynamic linker unless [$(run-built-tests) = yes].
10719 2018-12-03 DJ Delorie <dj@delorie.com>
10721 * support/test-container.c (check_for_unshare_hints): New.
10722 (main): Call it if unshare fails. Add support for "su" scriptlet
10725 2018-12-03 Joseph Myers <joseph@codesourcery.com>
10727 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10728 'START' to indicate that start text should be output.
10729 (gen_test): Likewise.
10730 (main): Generate 'START' for first symbol or '--' line, or at end
10731 of input if not previously generated.
10733 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10736 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10737 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10738 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10739 ALWAYS_USE_VSYSCALL.
10741 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10744 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10747 2018-12-03 Carlos O'Donell <carlos@redhat.com>
10750 * locale/programs/localedef.c: Declare boolean hard_links default true.
10751 (options): Add --no-hard-links option.
10752 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10753 * locale/programs/localedef.h: Declare prototype for hard_links.
10754 * locale/programs/locfile.c (write_locale_data): Don't use hard
10755 links if hard_links is false.
10757 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10759 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10760 cpu_features_basic.
10761 (__cache_sysconf): Likewise.
10762 (init_cacheinfo): Likewise.
10763 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10764 populate COMMON_CPUID_INDEX_80000007 and
10765 COMMON_CPUID_INDEX_80000008.
10766 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10767 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10768 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10769 (init_cpu_features): Use _Static_assert on
10770 index_arch_Fast_Unaligned_Load.
10771 __get_cpuid_registers and __get_arch_feature. Updated for
10772 cpu_features_basic. Set stepping in cpu_features.
10773 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10774 (FEATURE_INDEX_2): New.
10775 (FEATURE_INDEX_MAX): Changed to enum.
10776 (COMMON_CPUID_INDEX_D_ECX_1): New.
10777 (COMMON_CPUID_INDEX_80000007): Likewise.
10778 (COMMON_CPUID_INDEX_80000008): Likewise.
10779 (cpuid_registers): Likewise.
10780 (cpu_features_basic): Likewise.
10781 (CPU_FEATURE_USABLE): Likewise.
10782 (bit_arch_XXX_Usable): Likewise.
10783 (cpu_features): Use cpuid_registers and cpu_features_basic.
10784 (bit_arch_XXX): Reweritten.
10785 (bit_cpu_XXX): Likewise.
10786 (index_cpu_XXX): Likewise.
10787 (reg_XXX): Likewise.
10788 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10790 (CHECK_CPU_FEATURE): New.
10791 (CHECK_CPU_FEATURE_USABLE): Likewise.
10792 (cpu_kinds): Likewise.
10793 (do_test): Print vendor, family, model and stepping. Check
10794 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10795 (TEST_FUNCTION): Removed.
10796 Include <support/test-driver.c> instead of
10797 "../../test-skeleton.c".
10798 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10799 Check POPCNT instead of POPCOUNT.
10800 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10802 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10804 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10805 there is no element in `consts'.
10807 2018-12-01 Florian Weimer <fweimer@redhat.com>
10809 * support/support_capture_subprocess.c
10810 (support_capture_subprocess): Check that pipe descriptors have
10811 expected values. Close original pipe descriptors in subprocess.
10813 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10816 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10817 attr with __pthread_default_barrierattr.
10818 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10819 attr with __pthread_default_condattr.
10820 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10821 attr with __pthread_default_mutexattr.
10822 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10823 attr with __pthread_default_rwlockattr.
10825 2018-12-01 Kemi Wang <kemi.wang@intel.com>
10827 * manual/tunables.texi (POSIX Thread Tunables): New node.
10828 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10829 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10830 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10831 __pthread_tunables_init.
10832 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10833 (max_adaptive_count): Define.
10834 * nptl/pthread_mutex_conf.c: New file.
10835 * nptl/pthread_mutex_conf.h: New file.
10836 * sysdeps/generic/adaptive_spin_count.h: New file.
10837 * sysdeps/nptl/dl-tunables.list: New file.
10838 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10839 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10840 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10843 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10846 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10847 * stdlib/on_exit.c (__on_exit): Likewise.
10848 * stdlib/Makefile (tests): Add tst-bz20544.
10849 * stdlib/tst-bz20544.c: New test.
10851 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10854 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10855 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10858 2018-11-30 Florian Weimer <fweimer@redhat.com>
10860 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10861 Extend error logging.
10862 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10865 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10867 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10868 __sigismember instead of sigismember.
10869 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10870 cancel_handler): New definitions.
10871 (do_system): Use posix_spawn instead of fork and execl and remove
10873 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10874 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10875 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10876 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10877 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10878 * sysdeps/unix/sysv/linux/system.c: Likewise.
10882 * NEWS: Add new semantic for atfork with popen and system.
10883 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10886 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10889 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10890 modification order when accessing reloc_result->addr.
10891 * include/link.h (reloc_result): Add field init.
10892 * nptl/Makefile (tests): Add tst-audit-threads.
10893 (modules-names): Add tst-audit-threads-mod1 and
10894 tst-audit-threads-mod2.
10895 Add rules to build tst-audit-threads.
10896 * nptl/tst-audit-threads-mod1.c: New file.
10897 * nptl/tst-audit-threads-mod2.c: Likewise.
10898 * nptl/tst-audit-threads.c: Likewise.
10899 * nptl/tst-audit-threads.h: Likewise.
10901 2018-11-30 Joseph Myers <joseph@codesourcery.com>
10903 * scripts/gen-as-const.py: New file.
10904 * scripts/gen-as-const.awk: Remove.
10905 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10907 ($(objpfx)test-as-const-%.c): Likewise.
10909 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10911 * elf/dl-exception.c: Include <_itoa.h>.
10913 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10915 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10916 returned by __f_setlk.
10918 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10919 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10921 * elf/Makefile (tests-internal): Add tst-create_format1.
10922 * elf/dl-exception.c (_dl_exception_create_format): Support
10924 * elf/tst-create_format1.c: New file.
10926 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10928 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10929 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10931 * argp/argp-help.c (__argp_failure): Likewise.
10933 2018-11-29 Mao Han <han_mao@c-sky.com>
10935 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10936 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10937 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10938 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10939 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10940 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10941 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10942 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10943 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10944 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10945 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10946 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10947 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10948 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10949 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10950 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10951 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10952 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10953 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10954 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10955 (R_CKCORE_TLS_TPOFF32): New defines.
10957 2018-11-29 Florian Weimer <fweimer@redhat.com>
10959 * posix/Makefile (before-compile): Remove testcases.h and
10961 (generated): Add testcases.h and ptestcases.h.
10962 (testcases.h, ptestcases.h): Move to $(objpfx).
10963 (runtests.o): Add dependency on testcases.h.
10964 (runptests.o): Add dependency on ptestcases.h.
10965 * posix/testcases.h, posix/ptestcases.h: Remove files.
10966 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10967 not touch posix/testcases.h and posix/ptestcases.h.
10969 2018-11-28 Florian Weimer <fweimer@redhat.com>
10971 support: Add signal support to support_capture_subprocess_check.
10972 * support/capture_subprocess.h (support_capture_subprocess_check):
10973 Adjust comment and rename parameter.
10974 * support/support_capture_subprocess_check.c
10975 (print_actual_status): New function.
10976 (support_capture_subprocess_check): Support negative
10977 status_or_signal. Call print_actual_status.
10978 * support/tst-support_capture_subprocess.c (do_test): Call
10979 support_capture_subprocess_check.
10980 * libio/tst-vtables-common.c (termination_status)
10981 (init_termination_status): Remove.
10982 (check_for_termination): Adjust support_capture_subprocess_check
10984 (do_test): Remove call to init_termination_status.
10986 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10988 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10989 source directory instead of a copy.
10990 (CommandList.create_copy_dir): Remove.
10992 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10994 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10996 2018-11-28 Florian Weimer <fweimer@redhat.com>
10998 * support/support.h (support_quote_string): Do not use str
11001 2018-11-27 Joseph Myers <joseph@codesourcery.com>
11003 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
11004 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
11006 2018-11-27 Florian Weimer <fweimer@redhat.com>
11008 * support/support.h (support_quote_string): Declare.
11009 * support/support_quote_string.c: New file.
11010 * support/tst-support_quote_string.c: Likewise.
11011 * support/Makefile (libsupport-routines): Add
11012 support_quote_string.
11013 (tests): Add tst-support_quote_string.
11015 2018-11-27 Florian Weimer <fweimer@redhat.com>
11019 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
11020 descriptor leak in case of ENODEV error.
11022 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
11025 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
11026 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
11027 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
11029 2018-11-26 Carlos O'Donell <carlos@redhat.com>
11031 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
11032 Error for unknown lines.
11034 2018-11-26 Joseph Myers <joseph@codesourcery.com>
11036 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
11037 Touch additional files.
11039 2018-11-26 Florian Weimer <fweimer@redhat.com>
11042 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
11045 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
11048 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
11049 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
11050 SHARED. Include sysdep.h.
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
11052 ALWAYS_USE_VSYSCALL.
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
11054 ALWAYS_USE_VSYSCALL.
11056 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
11059 * nptl/Makefile (tests-static): Add tst-cond11-static.
11061 * nptl/tst-cond11-static.c: New File.
11062 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
11063 tst-affinity-static.
11065 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
11067 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
11068 (USE_VSYSCALL): Likewise.
11069 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
11070 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
11072 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
11074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
11077 2018-11-23 Joseph Myers <joseph@codesourcery.com>
11080 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11081 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
11084 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
11086 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
11087 (tst-cet-legacy-1a-ARGS): New.
11088 ($(objpfx)tst-cet-legacy-1a): New target.
11089 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
11091 2018-11-22 Joseph Myers <joseph@codesourcery.com>
11093 * conform/conformtest.py (CompileSubTest.__init__): Set
11094 self.run_early to False.
11095 (ExecuteSubTest.__init__): Likewise.
11096 (HeaderTests.run): Try running all non-optional, non-XFAILed
11097 compilation tests in a single execution of the compiler.
11099 * conform/conformtest.py (CompileSubTest): New class.
11100 (ExecuteSubTest): Likewise.
11101 (ElementTest.run): Rename to gen_subtests. Append tests to
11102 self.subtests instead of running them.
11103 (ConstantTest.run): Likewise.
11104 (SymbolTest.run): Likewise.
11105 (TypeTest.run): Likewise.
11106 (TagTest.run): Likewise.
11107 (FunctionTest.run): Likewise.
11108 (VariableTest.run): Likewise.
11109 (MacroFunctionTest.run): Likewise.
11110 (MacroStrTest.run): Likewise.
11111 (HeaderTests.handle_test_line): Generate subtests for tests.
11112 (HeaderTests.run): Run subtests for tests.
11114 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11116 * math/Versions (GLIBC_2.29): Add pow.
11117 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
11119 * math/w_pow.c: New file.
11120 * sysdeps/i386/fpu/w_pow.c: New file.
11121 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
11122 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
11123 and add necessary aliases.
11124 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
11125 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
11126 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11127 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11128 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11129 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11130 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11131 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11132 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11133 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11134 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11135 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11136 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11137 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11138 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11143 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11144 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11145 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11146 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11147 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11148 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11149 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11150 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
11152 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
11153 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
11154 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
11156 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11158 * math/Versions (GLIBC_2.29): Add log2.
11159 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
11161 * math/w_log2.c: New file.
11162 * sysdeps/i386/fpu/w_log2.c: New file.
11163 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
11164 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
11165 and add necessary aliases.
11166 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
11167 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
11168 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11169 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11170 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11171 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11172 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11173 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11174 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11175 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11176 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11177 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11178 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11179 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11180 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11185 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11186 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11187 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11188 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11189 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11190 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11191 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11193 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11195 * math/Versions (GLIBC_2.29): Add log.
11196 * math/w_log_compat.c (__log_compat): Change to versioned compat
11198 * math/w_log.c: New file.
11199 * sysdeps/i386/fpu/w_log.c: New file.
11200 * sysdeps/ia64/fpu/e_log.S: Update.
11201 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
11202 and add necessary aliases.
11203 * sysdeps/ieee754/dbl-64/w_log.c: New file.
11204 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
11205 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11206 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11207 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11208 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11209 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11210 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11211 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11212 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11213 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11214 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11215 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11216 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11217 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11222 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11223 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11224 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11225 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11226 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11227 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11228 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11229 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
11231 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
11232 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
11233 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
11234 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
11236 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11238 * math/Versions (GLIBC_2.29): Add exp and exp2.
11239 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
11240 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
11241 * math/w_exp_compat.c (__exp_compat): Likewise.
11242 * math/w_exp.c: New file.
11243 * math/w_exp2.c: New file.
11244 * sysdeps/i386/fpu/w_exp.c: New file.
11245 * sysdeps/i386/fpu/w_exp2.c: New file.
11246 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
11247 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
11248 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
11249 and add necessary aliases.
11250 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
11251 and add necessary aliases.
11252 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
11253 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
11254 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
11255 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
11256 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11257 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11258 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11259 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11260 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11261 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11262 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11263 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11264 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11265 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11266 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11267 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11268 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11273 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11274 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11275 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11276 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11277 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11278 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11279 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11280 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
11281 (__ieee754_exp): Rename to __exp.
11282 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
11283 (__ieee754_exp): Rename to __exp.
11284 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
11285 (__ieee754_exp): Rename to __exp.
11286 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
11288 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
11290 2018-11-20 DJ Delorie <dj@redhat.com>
11292 * malloc/malloc.c (tcache_entry): Add key field.
11293 (tcache_put): Set it.
11294 (tcache_get): Likewise.
11295 (_int_free): Check for double free in tcache.
11296 * malloc/tst-tcfree1.c: New.
11297 * malloc/tst-tcfree2.c: New.
11298 * malloc/Makefile: Run the new tests.
11299 * manual/probes.texi: Document memory_tcache_double_free probe.
11301 * dlfcn/dlerror.c (check_free): Prevent double frees.
11303 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
11305 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
11307 2018-11-20 Joseph Myers <joseph@codesourcery.com>
11309 * conform/conformtest.py (ElementTest.run): Use unique identifiers
11310 in tests. Use names for format arguments.
11311 (ConstantTest.run): Likewise.
11312 (SymbolTest.run): Likewise.
11313 (TypeTest.run): Likewise.
11314 (TagTest.run): Likewise.
11315 (FunctionTest.run): Likewise.
11316 (VariableTest.run): Likewise.
11317 (MacroFunctionTest.run): Likewise.
11318 (MacroStrTest.run): Likewise.
11319 (HeaderTests.__init__): Set self.num_tests.
11320 (HeaderTests.handle_test_line): Set test.num. Increment
11323 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11325 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
11326 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
11329 2018-11-19 Mao Han <han_mao@c-sky.com>
11331 * scripts/config.guess: Update to version 2018-08-29.
11332 * scripts/config.sub: Update to version 2018-08-29.
11334 2018-11-19 Florian Weimer <fweimer@redhat.com>
11336 support: Print timestamps in timeout handler.
11337 * support/support_test_main.c (print_timestamp): New function.
11338 (signal_handler): Use it to print the termination time and the
11339 time of the last write to standard output.
11341 2018-11-16 Zack Weinberg <zackw@panix.com>
11342 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11344 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
11345 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
11347 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
11348 and add flags argument. Check flags instead of __ldbl_is_dbl when
11349 deciding whether to set is_long_double.
11350 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
11351 passing zero for flags argument.
11352 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
11354 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
11355 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
11356 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
11357 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
11358 variable names. Remove libc_hidden_def/libc_hidden_proto from
11359 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
11360 longer called from within the library.
11361 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
11362 for __nldbl___vstrfmon_l, declare it explicitly.
11364 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
11366 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11368 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
11370 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
11371 F_SETLK64, F_SETLKW64, respectively.
11372 * sysdeps/mach/hurd/f_setlk.c: New file.
11373 * sysdeps/mach/hurd/f_setlk.h: New file.
11374 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
11376 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
11377 (__libc_fcntl): Move non-flock operations to...
11378 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
11379 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
11381 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
11383 mktime: DEBUG_MKTIME cleanup
11384 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
11385 And it’s no longer needed now that glibc and Gnulib both have
11386 their own testing mechanisms for mktime.
11387 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
11389 mktime: fix non-EOVERFLOW errno handling
11391 mktime was not properly reporting failures when the underlying
11392 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
11393 them like EOVERFLOW failures, and set errno to EOVERFLOW.
11394 The problem could happen on non-glibc platforms, with Gnulib.
11395 * time/mktime.c (guess_time_tm): Remove, replacing with ...
11396 (tm_diff): ... this simpler function, which does not change errno.
11397 All callers changed to deal with errno themselves.
11398 (ranged_convert, __mktime_internal): Return failure immediately if
11399 the underlying function reports any failure other than EOVERFLOW.
11400 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
11403 mktime: fix bug with Y2038 DST transition
11405 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
11406 mishandle a DST transition that jumps over the Y2038 boundary.
11407 No such DST transitions are known so this is only a theoretical
11408 bug, but we might as well do things right.
11410 mktime: make more room for overflow
11412 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
11413 This is so that we can add tm_diff results to a previous guess,
11414 which will be useful in a later patch.
11416 mktime: simplify offset guess
11418 * time/mktime.c (__mktime_internal): Omit excess precision.
11420 mktime: new test for mktime failure
11422 Based on a test suggested by Albert Aribaud in:
11423 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
11424 * time/Makefile (tests): Add bug-mktime4.
11425 * time/bug-mktime4.c: New file.
11427 mktime: fix EOVERFLOW bug
11429 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
11430 Include libc-config.h, not config.h, for __set_errno.
11431 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
11433 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11435 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
11436 __attribute_copy__ to copy attributes from name. Drop static qualifier
11437 to avoid warnings about leaf attribute not having effect on static
11440 2018-11-13 Florian Weimer <fweimer@redhat.com>
11442 * malloc/malloc.c (fastbin_push_entry): New function.
11443 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
11444 (REMOVE_FB): Remove macro.
11445 (_int_malloc): Use fastbin_pop_entry and reindent.
11446 (_int_free): Use fastbin_push_entry.
11447 (malloc_consolidate): Use atomic_exchange_acquire.
11449 2018-11-13 Joseph Myers <joseph@codesourcery.com>
11451 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
11452 alias attribute, not with strong_alias.
11454 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
11455 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
11456 with additional parameter thread.
11457 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
11458 in terms of __hidden_ver2.
11459 (hidden_tls_def): New macro.
11460 (libc_hidden_tls_def): Likewise.
11461 (rtld_hidden_tls_def): Likewise.
11462 (libm_hidden_tls_def): Likewise.
11463 (libmvec_hidden_tls_def): Likewise.
11464 (libresolv_hidden_tls_def): Likewise.
11465 (librt_hidden_tls_def): Likewise.
11466 (libdl_hidden_tls_def): Likewise.
11467 (libnss_files_hidden_tls_def): Likewise.
11468 (libnsl_hidden_tls_def): Likewise.
11469 (libnss_nisplus_hidden_tls_def): Likewise.
11470 (libutil_hidden_tls_def): Likewise.
11471 (libutil_hidden_tls_def): Likweise.
11472 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
11473 libc_hidden_tls_def.
11474 (__sim_disabled_exceptions_thread): Likewise.
11475 (__sim_round_mode_thread): Likewise.
11477 * sysdeps/sparc/sparc-ifunc.h [SHARED]
11478 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
11479 copy attributes from name.
11481 2018-11-12 Joseph Myers <joseph@codesourcery.com>
11483 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
11484 Use __attribute_copy__ to copy attributes from name.
11486 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
11487 with __hidden_ver1 call.
11488 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
11489 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
11490 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
11491 (__cosf): Do not declare here.
11492 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
11493 (__sincosf): Do not declare here.
11494 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
11495 (__sinf): Do not declare here.
11497 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
11498 (__BIG_ENDIAN): Likewise.
11499 (__BYTE_ORDER): Likewise.
11500 (strong_alias): Likewise.
11501 (_strong_alias): Likewise.
11503 2018-11-12 Florian Weimer <fweimer@redhat.com>
11505 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
11506 function. Move after the definition of in_smallbin_range. Do not
11507 use __builtin_expect for paths that lead to a noreturn function.
11508 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
11509 because it is unclear whether this is in fact an unlikely
11511 (_int_malloc, _int_free): Adjust.
11512 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
11514 * malloc/arena.c (heap_trim): Likewise.
11516 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11518 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
11519 it, free it if needed.
11520 (reauthenticate): Test and use ccwdir.
11521 (child_init_port): In non-resetids case, test and use ccwdir.
11522 (child_chdir): New nested function to set ccwdir.
11523 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
11524 * hurd/hurd/port.h (_hurd_port_move): New function.
11525 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
11526 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
11527 * hurd/Versions (_hurd_port_move): Export function.
11528 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
11530 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
11531 of dtablesize for allocating dtable_cloexec.
11533 2018-11-09 Martin Sebor <msebor@redhat.com>
11535 * include/libc-symbols.h (__attribute_copy__): Define macro unless
11536 it's already defined.
11537 (_strong_alias): Use __attribute_copy__.
11538 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
11539 * misc/sys/cdefs.h (__attribute_copy__): New macro.
11540 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
11541 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
11542 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
11543 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
11544 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
11545 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
11546 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
11547 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
11548 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
11549 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
11550 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
11551 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
11552 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
11553 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
11554 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
11555 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
11556 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
11558 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11560 * misc/tst-efgcvt.c: Include support/check.h and
11561 support/test-driver.c. Do not include test-skeleton.c.
11562 (error_count): Remove.
11563 (output_error): Replace increments to error_count with calls to
11564 support_record_failure.
11565 (output_r_error): Likewise.
11566 (special): Likewise.
11567 (do_test): Unconditionally return zero.
11568 (TEST_FUNCTION): Remove.
11570 2018-11-09 Joseph Myers <joseph@codesourcery.com>
11572 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
11574 ($(linknamespace-header-tests)): Likewise.
11576 * conform/conformtest.py: New file.
11577 * conform/conformtest.pl: Remove.
11578 * conform/GlibcConform.pm: Likewise.
11579 * conform/glibcconform.py (KEYWORDS_C90): New constant.
11580 (KEYWORDS_C99): Likewise.
11581 (KEYWORDS): Likewise.
11582 * conform/Makefile ($(conformtest-header-tests)): Use
11583 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11584 option. Use --header instead of --headers.
11585 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
11587 * conform/data/spawn.h-data: Likewise.
11588 * conform/data/fcntl.h-data (openat): Add space after function
11590 * conform/data/wchar.h-data (wcscasecmp): Likewise.
11591 (wcscasecmp_l): Likewise.
11592 * conform/data/termios.h-data (c_cc): Add space after element
11595 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11597 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11598 instead of manually comparing and reporting mismatching strings.
11599 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11600 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11602 2018-11-08 Joseph Myers <joseph@codesourcery.com>
11604 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11605 __ASSUME_SOCKETCALL.
11606 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11607 (__ASSUME_SOCKETCALL): Remove.
11608 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11609 (__ASSUME_SOCKETCALL): Likewise.
11610 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11611 (__ASSUME_SOCKETCALL): Likewise.
11612 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11613 (__ASSUME_SOCKETCALL): Likewise.
11614 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11615 (__ASSUME_SOCKETCALL): Likewise.
11616 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11617 (__ASSUME_SOCKETCALL): Likewise.
11618 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11619 (__ASSUME_SOCKETCALL): Likewise.
11621 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11624 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11625 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11626 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11627 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11628 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11631 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11634 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11636 2018-11-07 Joseph Myers <joseph@codesourcery.com>
11639 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11640 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11641 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11642 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11644 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11646 * support/support_test_compare_string.c
11647 (support_test_compare_string): Fix printf format.
11649 2018-11-07 Florian Weimer <fweimer@redhat.com>
11651 Implement TEST_COMPARE_STRING.
11652 * support/check.h (TEST_COMPARE_STRING): Define.
11653 (support_test_compare_string): Declare.
11654 * support/Makefile (libsupport-routines): Add
11655 support_test_compare_string.
11656 (tests): Add tst-test_compare_string.
11657 * support/support_test_compare_string.c: New file.
11658 * support/tst-test_compare_string.c: Likewise.
11660 2018-11-07 Andreas Schwab <schwab@suse.de>
11663 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11664 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11667 2018-11-06 Joseph Myers <joseph@codesourcery.com>
11670 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11671 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11672 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11673 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11676 2018-11-06 Florian Weimer <fweimer@redhat.com>
11679 * posix/Makefile (routines): Add spawn_faction_addchdir.
11680 (tests): Add tst-spawn-chdir.
11681 * posix/Versions (GLIBC_2.29): Add
11682 posix_spawn_file_actions_addchdir_np.
11683 * posix/spawn_faction_addchdir.c: New file.
11684 * posix/spawn_faction_destroy.c
11685 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11686 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11687 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11689 * posix/tst-spawn-chdir.c: New file.
11690 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11691 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11692 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11693 posix_spawn_file_actions_addchdir_np.
11694 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11696 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11698 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11699 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11701 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11703 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11705 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11707 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11709 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11711 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11712 (GLIBC_2.29): Likewise.
11713 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11714 (GLIBC_2.29): Likewise.
11715 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11716 (GLIBC_2.29): Likewise.
11717 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11718 (GLIBC_2.29): Likewise.
11719 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11722 (GLIBC_2.29): Likewise.
11723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11724 (GLIBC_2.29): Likewise.
11725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11726 (GLIBC_2.29): Likewise.
11727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11728 (GLIBC_2.29): Likewise.
11729 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11731 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11733 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11735 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11736 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11738 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11740 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11742 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11745 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11747 * misc/Makefile (tests): Add tst-ldbl-error.
11748 * misc/tst-ldbl-error.c: New file.
11750 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11752 * misc/Makefile (tests): Add tst-ldbl-warn.
11753 * misc/tst-ldbl-warn.c: New file.
11755 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11757 * argp/Makefile (tests): Add tst-ldbl-argp.
11758 * argp/tst-ldbl-argp.c: New file.
11760 2018-11-05 Arjun Shankar <arjun@redhat.com>
11762 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11763 __gconv_path_elem and call __gconv_get_path unconditionally.
11765 2018-11-05 Andreas Schwab <schwab@suse.de>
11768 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11769 creating the first helper thread failed.
11771 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11773 * sysdeps/mach/hurd/msync.c: New file.
11775 2018-11-02 Florian Weimer <fweimer@redhat.com>
11777 * support/shell-container.c (copy_func): Call
11778 support_copy_file_range instead of copy_file_range to support
11779 cross-device copies.
11781 2018-11-02 Florian Weimer <fweimer@redhat.com>
11783 * support/test-container.c: Include <libc-pointer-arith.h> for
11786 2018-11-01 Zong Li <zong@andestech.com>
11788 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11789 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11790 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11791 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11793 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11794 variable to avoid overlap arguments.
11796 2018-11-01 Joseph Myers <joseph@codesourcery.com>
11798 * posix/bug-regex22.c (main): Use puts with distinct error
11799 messages for unexpected success of re_compile_pattern, not printf
11800 with NULL argument to %s.
11802 * stdio-common/bug22.c: Include <libc-diag.h>.
11803 (do_test): Disable -Wformat-overflow= warnings around fprintf
11804 calls outputting more than INT_MAX characters.
11805 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11806 around printf call with NULL %s argument.
11809 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11810 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11812 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11813 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11814 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11815 (__ASSUME_SENDTO_SYSCALL): Likewise.
11816 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11817 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11819 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11820 (__ASSUME_CONNECT_SYSCALL): Likewise.
11821 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11822 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11823 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11825 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11827 [__LINUX_KERNEL_VERSION >= 0x040400]
11828 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11829 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11831 (listen): Likewise.
11832 (setsockopt): Likewise.
11834 2018-11-01 Fredrik Noring <noring@nocrew.org>
11836 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11837 with the ISA override.
11839 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
11841 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11844 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11846 * manual/errno.texi (EIEIO): Document how translators should
11847 translate the error message.
11848 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11849 printing trailing whitespaces refused by git.
11850 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11851 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11852 * hurd/Makefile (user-interfaces): Add pci.
11854 2018-10-30 Joseph Myers <joseph@codesourcery.com>
11856 * conform/linknamespace.py: New file.
11857 * conform/linknamespace.pl: Remove file.
11858 * conform/Makefile ($(linknamespace-header-tests)): Use
11859 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11862 2018-10-30 Florian Weimer <fweimer@redhat.com>
11864 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11867 2018-10-30 Florian Weimer <fweimer@redhat.com>
11869 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11871 2018-10-30 Florian Weimer <fweimer@redhat.com>
11873 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11874 support_blob_repeat.
11876 2018-10-30 Florian Weimer <fweimer@redhat.com>
11878 Avoid spurious test failures in stdlib/test-bz22786.
11879 * support/Makefile (libsupport-routines): Add blob_repeat.
11880 (tests): Add tst-support_blob_repeat.
11881 * support/blob_repeat.h: New file.
11882 * support/blob_repeat.c: Likewise.
11883 * support/tst-support_blob_repeat.c: Likewise.
11884 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11885 support_blob_repeat_allocate.
11887 2018-10-30 Andreas Schwab <schwab@suse.de>
11890 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11891 Don't use tail call.
11892 * elf/tst-unwind-main.c: New file.
11893 * elf/Makefile (tests): Add tst-unwind-main.
11894 (CFLAGS-tst-unwind-main.c): Define.
11896 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
11899 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11900 n_cs_precedes to 0.
11901 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11903 2018-10-29 Joseph Myers <joseph@codesourcery.com>
11905 * conform/glibcconform.py: Do not import shutil.
11906 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11909 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11910 critic_missing for versions before 3.4.
11911 * configure: Regenerated.
11912 * manual/install.texi (Tools for Compilation): Document
11913 requirement for Python to build glibc.
11914 * INSTALL: Regenerated.
11915 * Rules [PYTHON]: Make code unconditional.
11916 * benchtests/Makefile [PYTHON]: Likewise.
11917 * conform/Makefile [PYTHON]: Likewise.
11918 * manual/Makefile [PYTHON]: Likewise.
11919 * math/Makefile [PYTHON]: Likewise.
11921 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11923 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
11924 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
11925 answer to interrupt_operation, return EIEIO instead of EINTR.
11926 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11927 _hurd_intr_rpc_msg_about_to global point to start of controlled
11928 assembly snippet. Make it check canceled flag.
11929 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11930 the _hurd_intr_rpc_msg_about_to point.
11931 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11932 issue, remove cancel flag check.
11934 2018-10-26 Joseph Myers <joseph@codesourcery.com>
11936 * scripts/build-many-glibcs.py: Remove compatibility for missing
11937 os.cpu_count and re.fullmatch.
11939 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11942 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11943 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11944 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11946 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11948 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11951 2018-10-25 Florian Weimer <fweimer@redhat.com>
11955 XFAIL siginfo_t si_band conform test on sparc64.
11956 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11957 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11958 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11959 (conformtest-xfail-conds): Add sparc64-linux.
11960 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11962 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11964 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11966 * elf/elf.h (NT_MIPS_DSP): New macro.
11967 (NT_MIPS_FP_MODE): Likewise.
11969 2018-10-25 Zong Li <zong@andestech.com>
11971 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11972 name by adding the file extension (.so).
11974 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11976 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11977 (test-xfail-ISO11/threads.h/linknamespace,
11978 test-xfail-ISO11/threads.h/conform): Add.
11980 2018-10-24 Joseph Myers <joseph@codesourcery.com>
11982 * math/gen-libm-test.py: Import os.
11983 (ALL_FLOATS_MANUAL): New constant.
11984 (ALL_FLOATS_SUFFIX): Likewise.
11985 (Ulps.all_functions): New function.
11986 (real_all_ulps): Likewise.
11987 (generate_err_table_sub): Likewise.
11988 (generate_err_table): Likewise.
11989 (main): Handle -s and -m options.
11990 * manual/libm-err-tab.pl: Remove.
11991 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11992 instead of libm-err-tab.pl.
11993 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11995 * manual/install.texi (Tools for Compilation): Document
11996 requirement for Python to build manual.
11997 * INSTALL: Regenerated.
11999 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
12001 * bits/time64.h: New file.
12002 * include/time.h: Replace internal_time_t with __time64_t.
12003 * posix/bits/types (__time64_t): Add.
12004 * stdlib/Makefile: Add bits/time64.h to includes.
12005 * time/tzfile.c: Replace internal_time_t with __time64_t.
12007 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12009 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
12010 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
12011 __posix_spawn_file_actions_init, __posix_spawnattr_init,
12012 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
12013 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
12015 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
12016 * posix/spawn_faction_addclose.c
12017 (__posix_spawn_file_actions_addclose): Add hidden definition.
12018 * posix/spawn_faction_adddup2.c
12019 (__posix_spawn_file_actions_adddup2): Likewise.
12020 * posix/spawn_faction_destroy.c
12021 (__posix_spawn_file_actions_destroy): Likewise.
12022 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
12024 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
12025 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
12026 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
12028 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
12029 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
12032 2018-10-24 Andreas Schwab <schwab@suse.de>
12035 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
12037 * elf/cache.c (print_cache): Likewise.
12039 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
12041 * bits/timesize.h: New file.
12042 * stdlib/Makefile (headers): Add bits/timesize.h.
12043 * sysdeps/unix/sysv/linux/bits/msq-pad.h
12044 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
12045 * sysdeps/unix/sysv/linux/bits/sem-pad.h
12046 (__SEM_PAD_AFTER_TIME): Likewise.
12047 * sysdeps/unix/sysv/linux/bits/shm-pad.h
12048 (__SHM_PAD_AFTER_TIME): Likewise.
12049 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
12050 (__MSQ_PAD_BEFORE_TIME): Likewise.
12051 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
12052 (__SEM_PAD_BEFORE_TIME): Likewise.
12053 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
12054 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
12055 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
12056 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
12057 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
12058 (__MSQ_PAD_BEFORE_TIME): Likewise.
12059 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
12060 (__SEM_PAD_BEFORE_TIME): Likewise.
12061 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
12062 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
12063 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
12064 (__MSQ_PAD_BEFORE_TIME): Likewise.
12065 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
12066 (__SEM_PAD_BEFORE_TIME): Likewise.
12067 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
12068 (__SHM_PAD_BEFORE_TIME): Likewise.
12069 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
12070 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
12071 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
12073 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
12075 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
12076 USE_RDTSCP is defined.
12077 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
12078 USE_RDTSCP is defined.
12080 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12082 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
12086 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
12087 independently of other flags.
12089 2018-10-23 Florian Weimer <fweimer@redhat.com>
12091 * time/tst-mktime2.c (N_STRINGS): Remove.
12092 (set_timezone): New function.
12093 (spring_forward_gap): Call it. Use FAIL_EXIT1.
12094 (mktime_test1): Report localtime failure and check errno value.
12096 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
12097 (do_test): Remove alarm call. Use set_timezone and array_length.
12099 2018-10-23 Andreas Schwab <schwab@suse.de>
12101 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
12102 (__start_context): Use END instead of PSEUDO_END.
12104 2018-10-22 Joseph Myers <joseph@codesourcery.com>
12106 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12109 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12113 * wcsmbs/c32rtomb.c: New file.
12114 * wcsmbs/mbrtoc32.c: Likewise.
12115 * wcsmbs/tst-c32-state.c: Likewise.
12116 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
12117 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
12118 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
12119 (tests): Add tst-c32-state.
12120 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
12123 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
12125 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
12126 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
12128 2018-10-19 Joseph Myers <joseph@codesourcery.com>
12131 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
12132 pair and return 0 in that case, and use saved character to
12133 interpret following character.
12134 * wcsmbs/tst-c16-surrogate.c: New file.
12135 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
12136 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
12137 Depend on $(gen-locales)
12139 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
12142 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
12143 (struct siginfo_t): Use correct type for si_band.
12145 2018-10-19 Florian Weimer <fweimer@redhat.com>
12148 * resource/bits/types/struct_rusage.h (struct rusage): Update
12149 comment on struct. Remove extraneous field comment.
12151 2018-10-18 David S. Miller <davem@davemloft.net>
12153 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
12154 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
12155 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
12156 sysdep_routines in subdir elf.
12157 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
12158 version for __vdso_clock_gettime.
12159 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
12161 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12162 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12164 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
12166 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
12168 * sysdeps/i386/init-arch.h: Removed.
12169 * sysdeps/i386/i586/init-arch.h: Likewise.
12170 * sysdeps/i386/i686/init-arch.h: Likewise.
12171 * sysdeps/i386/i686/hp-timing.h: Likewise.
12172 * sysdeps/x86_64/hp-timing.h: Likewise.
12173 * sysdeps/i386/isa.h: New file.
12174 * sysdeps/i386/i586/isa.h: Likewise.
12175 * sysdeps/i386/i686/isa.h: Likewise.
12176 * sysdeps/x86_64/isa.h: Likewise.
12177 * sysdeps/x86/hp-timing.h: New file.
12178 * sysdeps/x86/init-arch.h: Include <isa.h>.
12180 2018-10-17 Joseph Myers <joseph@codesourcery.com>
12182 * math/libm-test-pow.inc (pow_test_data): Do not allow
12183 divide-by-zero exception for pow(+/- 0, -Inf).
12185 2018-10-17 Zack Weinberg <zackw@panix.com>
12187 * manual/job.texi (Job Control is Optional): Remove node, as
12188 job control has not been optional in quite some time.
12189 (Job Control): Mention briefly that systems older than
12190 POSIX.1-2001 might not support job control.
12191 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
12192 defined on systems conforming to POSIX.1-2001.
12194 2018-10-17 Arjun Shankar <arjun@redhat.com>
12197 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
12199 * (__gconv_read_conf): Mark function static.
12200 * (once): New static variable.
12201 * (__gconv_load_conf): New function.
12202 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
12203 * iconv/gconv_db.c (once): Remove static variable.
12204 * (__gconv_compare_alias): Use __gconv_load_conf instead of
12206 * (__gconv_find_transform): Likewise.
12207 * iconv/tst-iconv-mt.c: New test.
12208 * iconv/Makefile: Add tst-iconv_mt.
12210 2018-10-17 Joseph Myers <joseph@codesourcery.com>
12212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12214 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
12215 (shmatt_t): Define as __syscall_ulong_t.
12216 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
12217 and [__SHM_PAD_AFTER_TIME].
12218 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
12219 Define shm_segsz and associated padding based on
12220 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
12221 Use __syscall_ulong_t instead of unsigned long int.
12222 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
12224 [__USE_MISC] (struct shm_info): Likewise.
12225 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
12226 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
12227 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
12228 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
12229 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
12230 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
12231 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
12232 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
12233 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12234 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12235 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12239 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
12240 (SHMLBA): Remove macro.
12241 (__getpagesize): Remove function declaration.
12242 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
12244 (SHMLBA): Remove macro.
12245 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
12247 (SHMLBA): Remove macro.
12248 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
12250 (SHMLBA): Remove macro.
12251 (__getpagesize): Remove function declaration.
12252 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
12254 (SHMLBA): Remove macro.
12255 (__getshmlba): Remove function declaration.
12256 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
12257 (SHMLBA): Remove macro.
12258 (__getpagesize): Remove function declaration.
12259 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
12260 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
12261 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12262 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
12263 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
12264 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
12265 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
12266 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
12267 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
12268 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
12270 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
12273 * nptl/tst-mutex10.c: New File.
12274 * nptl/Makefile (tests): Add tst-mutex10.
12275 (tst-mutex10-ENV): New variable.
12276 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
12277 Ensure that elision path is used if elision is available.
12278 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
12280 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
12282 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
12283 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
12284 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
12285 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
12287 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
12288 (__pthread_mutex_cond_lock_adjust): Likewise.
12289 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12291 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
12292 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12293 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12294 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
12296 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12297 Use atomic_load_relaxed and atomic_store_relaxed.
12298 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
12299 Use atomic_store_relaxed.
12301 2018-10-17 Andreas Schwab <schwab@suse.de>
12303 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
12304 * crypt/badsalttest.c (TIMEOUT): Likewise.
12305 * crypt/sha256c-test.c (TIMEOUT): Likewise.
12306 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
12307 * io/test-lfs.c (TIMEOUT): Likewise.
12308 * libio/tst-atime.c (TIMEOUT): Likewise.
12309 * localedata/tst-leaks.c (TIMEOUT): Likewise.
12310 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
12311 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
12312 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
12313 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
12314 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
12315 * nptl/tst-cond11.c (TIMEOUT): Likewise.
12316 * nptl/tst-cond14.c (TIMEOUT): Likewise.
12317 * nptl/tst-cond15.c (TIMEOUT): Likewise.
12318 * nptl/tst-cond24.c (TIMEOUT): Likewise.
12319 * nptl/tst-cond25.c (TIMEOUT): Likewise.
12320 * nptl/tst-kill2.c (TIMEOUT): Likewise.
12321 * nptl/tst-kill3.c (TIMEOUT): Likewise.
12322 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
12323 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
12324 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
12325 * nptl/tst-once2.c (TIMEOUT): Likewise.
12326 * nptl/tst-once3.c (TIMEOUT): Likewise.
12327 * nptl/tst-once4.c (TIMEOUT): Likewise.
12328 * nptl/tst-robust8.c (TIMEOUT): Likewise.
12329 * nptl/tst-robust9.c (TIMEOUT): Likewise.
12330 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
12331 * nptl/tst-sem14.c (TIMEOUT): Likewise.
12332 * nptl/tst-sem6.c (TIMEOUT): Likewise.
12333 * nptl/tst-signal3.c (TIMEOUT): Likewise.
12334 * nptl/tst-spin4.c (TIMEOUT): Likewise.
12335 * nptl/tst-tls3.c (TIMEOUT): Likewise.
12336 * nptl/tst-tls4.c (TIMEOUT): Likewise.
12337 * posix/tst-chmod.c (TIMEOUT): Likewise.
12338 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
12339 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
12340 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
12341 * posix/tst-regex2.c (TIMEOUT): Likewise.
12342 * posix/tst-waitid.c (TIMEOUT): Likewise.
12343 * rt/tst-aio.c (TIMEOUT): Likewise.
12344 * rt/tst-aio10.c (TIMEOUT): Likewise.
12345 * rt/tst-aio4.c (TIMEOUT): Likewise.
12346 * rt/tst-aio5.c (TIMEOUT): Likewise.
12347 * rt/tst-aio6.c (TIMEOUT): Likewise.
12348 * rt/tst-aio64.c (TIMEOUT): Likewise.
12349 * rt/tst-aio7.c (TIMEOUT): Likewise.
12350 * rt/tst-aio9.c (TIMEOUT): Likewise.
12351 * rt/tst-clock.c (TIMEOUT): Likewise.
12352 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
12353 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
12354 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
12355 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
12356 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
12357 * rt/tst-timer4.c (TIMEOUT): Likewise.
12358 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
12359 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
12360 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
12361 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
12362 * time/tst-ftime.c (TIMEOUT): Likewise.
12363 * timezone/tst-tzset.c (TIMEOUT): Likewise.
12365 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
12367 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
12368 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
12371 2018-10-15 Joseph Myers <joseph@codesourcery.com>
12373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12375 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
12376 instead of <bits/wordsize.h>.
12377 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
12378 and [__SEM_PAD_AFTER_TIME].
12379 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
12380 __syscall_ulong_t instead of unsigned long int.
12381 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
12382 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
12383 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
12384 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
12385 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
12386 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
12387 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
12388 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
12389 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12390 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12391 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12393 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
12395 regex: simplify by using intprops.h
12397 * posix/regex_internal.h [_LIBC]: Include intprops.h.
12398 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
12399 intprops.h defines them.
12401 regex: __builtin_expect → __glibc_unlikely
12403 This refactoring was prompted by a problem when the regex code is
12404 used as part of Gnulib and when the builder’s compiler does not grok
12405 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
12406 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
12407 Although this refactoring does not fix the problem directly,
12408 we might as well have Gawk use the now-preferred glibc style for when
12409 __builtin_expect is unavailable.
12410 * posix/regex_internal.h (BE): Remove.
12411 All uses replaced by __glibc_unlikely or __glibc_likely.
12413 2018-10-11 Joseph Myers <joseph@codesourcery.com>
12415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12417 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
12418 instead of <bits/wordsize.h>.
12419 (msgqnum_t): Define as __syscall_ulong_t.
12420 (msglen_t): Likewise.
12421 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
12422 and [__MSQ_PAD_AFTER_TIME].
12423 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
12424 __syscall_ulong_t instead of unsigned long int.
12425 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
12426 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
12427 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
12428 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
12429 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
12430 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
12431 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
12432 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
12433 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12434 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12435 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12437 2018-10-10 Joseph Myers <joseph@codesourcery.com>
12439 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
12440 (struct shmid_ds): Condition padding after time fields on
12441 [__WORDSIZE == 32].
12442 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
12443 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
12444 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12446 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
12447 (struct semid_ds): Condition padding after time fields on
12448 [__WORDSIZE == 32].
12449 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
12450 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
12451 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
12452 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12454 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
12455 (struct msqid_ds): Condition padding after time fields on
12456 [__WORDSIZE == 32].
12457 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
12458 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
12459 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
12460 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12462 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12464 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
12466 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12468 * libio/tst-readline.c (TIMEOUT): Define.
12470 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
12472 mktime fix for Gnulib + coreutils
12474 This fix affects only Gnulib. Problem discovered when
12475 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
12477 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
12478 Do not define since it is not used. Defining an unused static
12479 function prompts a warning from GCC when Coreutils is configured
12480 with --enable-gcc-warnings.
12482 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12484 * benchtests/scripts/compare_bench.py (main): set float type on
12485 threshold argument.
12487 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
12490 * localedata/locales/kl_GL (mon): Update, the relative case.
12491 (alt_mon): Add, fill with month names in the nominative case.
12492 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
12493 (d_fmt): Set to "%b %d %Y".
12495 2018-10-04 Joseph Myers <joseph@codesourcery.com>
12497 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
12498 <bits/mman-linux.h>.
12499 (PROT_READ): Don't define here.
12500 (PROT_WRITE): Likewise.
12501 (PROT_EXEC): Likewise.
12502 (PROT_NONE): Likewise.
12503 (PROT_GROWSDOWN): Likewise.
12504 (PROT_GROWSUP): Likewise.
12505 (MAP_SHARED): Likewise.
12506 (MAP_PRIVATE): Likewise.
12507 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
12508 [__USE_MISC] (MAP_FILE): Likewise.
12509 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
12510 [__USE_MISC] (MAP_ANON): Likewise.
12511 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
12512 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
12513 (MCL_CURRENT): Likewise.
12514 (MCL_FUTURE): Likewise.
12515 (MCL_ONFAULT): Likewise.
12516 [__USE_MISC] (MADV_NORMAL): Likewise.
12517 [__USE_MISC] (MADV_RANDOM): Likewise.
12518 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
12519 [__USE_MISC] (MADV_WILLNEED): Likewise.
12520 [__USE_MISC] (MADV_DONTNEED): Likewise.
12521 [__USE_MISC] (MADV_FREE): Likewise.
12522 [__USE_MISC] (MADV_REMOVE): Likewise.
12523 [__USE_MISC] (MADV_DONTFORK): Likewise.
12524 [__USE_MISC] (MADV_DOFORK): Likewise.
12525 [__USE_MISC] (MADV_HWPOISON): Likewise.
12526 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
12527 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
12528 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
12529 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
12530 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
12531 (__MAP_ANONYMOUS): New macro.
12532 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
12533 <bits/mman-linux.h> inclusion.
12534 (MAP_FIXED): Likewise.
12535 (MS_SYNC): Likewise.
12536 (MS_ASYNC): Likewise.
12537 (MS_INVALIDATE): Likewise.
12538 [__USE_MISC] (MADV_MERGEABLE): Likewise.
12539 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
12540 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
12541 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
12542 [__USE_MISC] (MADV_DONTDUMP): Likewise.
12543 [__USE_MISC] (MADV_DODUMP): Likewise.
12544 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
12545 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
12548 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
12550 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
12551 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
12552 Add test-nldbl-redirect.
12553 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
12554 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
12555 $(objpfx)libnldbl_nonshared.a.
12557 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
12559 * support/support.h (support_objdir_elf_ldso): New variable.
12560 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
12561 * support/Makefile (CFLAGS-support_paths.c): Add definition
12562 for OBJDIR_ELF_LDSO_PATH.
12563 * support/test-container.c (main): Search for the ld.so
12564 which is also used by the testsuite.
12566 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
12569 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
12570 should be "sap" rather than "sab".
12571 (day): Fix spelling of Sunday, should be "sapaat" rather than
12574 2018-10-02 Joseph Myers <joseph@codesourcery.com>
12576 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12578 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
12581 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
12582 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
12583 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
12585 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12587 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
12589 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
12591 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
12593 (CFLAGS-elision-unlock.c): Likewise.
12594 (CFLAGS-elision-timed.c): Likewise.
12595 (CFLAGS-elision-trylock.c): Likewise.
12596 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12598 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12601 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12602 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12603 new fd_to_filename interface.
12604 * libio/freopen64.c (freopen64): Likewise.
12605 * libio/tst-memstream.h: New file.
12606 * libio/tst-memstream4.c: Likewise.
12607 * libio/tst-wmemstream4.c: Likewise.
12608 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12609 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12610 and remove internal dynamic allocation.
12612 2018-10-01 Joseph Myers <joseph@codesourcery.com>
12614 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12615 (MREMAP_MAYMOVE): Do not define here.
12616 [__USE_GNU] (MREMAP_FIXED): Likewise.
12617 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12618 (MREMAP_MAYMOVE): Define here instead.
12619 [__USE_GNU] (MREMAP_FIXED): Likewise.
12620 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12621 (MREMAP_MAYMOVE): Remove.
12622 [__USE_GNU] (MREMAP_FIXED): Likewise.
12624 2018-09-28 Joseph Myers <joseph@codesourcery.com>
12626 * math/fromfp.h: Do not include <math_private.h>.
12627 * math/s_cacosh_template.c: Likewise.
12628 * math/s_casin_template.c: Likewise.
12629 * math/s_casinh_template.c: Likewise.
12630 * math/s_ccos_template.c: Likewise.
12631 * math/s_cproj_template.c: Likewise.
12632 * math/s_fdim_template.c: Likewise.
12633 * math/s_fmaxmag_template.c: Likewise.
12634 * math/s_fminmag_template.c: Likewise.
12635 * math/s_iseqsig_template.c: Likewise.
12636 * math/s_ldexp_template.c: Likewise.
12637 * math/s_nextdown_template.c: Likewise.
12638 * math/w_log1p_template.c: Likewise.
12639 * math/w_scalbln_template.c: Likewise.
12640 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12641 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12642 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12643 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12644 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12645 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12646 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12647 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12648 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12649 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12650 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12651 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12652 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12653 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12654 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12655 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12656 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12657 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12658 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12659 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12660 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12661 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12662 * sysdeps/ieee754/k_standardf.c: Likewise.
12663 * sysdeps/ieee754/k_standardl.c: Likewise.
12664 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12665 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12666 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12672 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12673 * sysdeps/ieee754/s_signgam.c: Likewise.
12674 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12675 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12676 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12677 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12678 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12679 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12680 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12681 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12682 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12683 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12684 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12685 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12686 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12687 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12688 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12689 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12690 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12691 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12692 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12693 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12694 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12695 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12696 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12697 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12698 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12699 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12700 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12701 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12702 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12703 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12704 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12705 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12706 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12707 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12708 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12709 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12710 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12712 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12714 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12717 * sysdeps/i386/dl-cet.c: Removed.
12718 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12720 (_dl_runtime_profile_shstk): Likewise.
12721 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12722 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12724 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12727 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12728 do_test_with_invalid_iov): New tests.
12729 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12730 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12731 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12733 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12734 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12735 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12737 2018-09-27 Joseph Myers <joseph@codesourcery.com>
12739 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12740 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12741 (MATH_REDIRECT_BINARY_ARGS): New macro.
12742 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12743 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12744 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12746 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12748 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12749 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12750 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12751 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12752 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12759 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12760 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12765 * sysdeps/generic/math_private_calls.h
12766 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12767 Do not declare and define as an inline function.
12768 * math/divtc3.c (__divtc3): Use copysign functions instead of
12769 __copysign variants.
12770 * math/multc3.c (__multc3): Likewise.
12771 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12772 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12773 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12774 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12776 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12777 (__ieee754_yn): Likewise.
12778 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12779 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12780 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12781 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12782 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12784 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12785 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12787 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12789 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12791 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12792 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12794 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12795 (__ieee754_ynf): Likewise.
12796 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12797 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12798 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12799 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12801 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12802 (__ieee754_ynl): Likewise.
12803 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12804 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12805 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12807 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12808 (__ieee754_ynl): Likewise.
12809 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12810 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12811 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12812 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12814 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12816 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12817 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12818 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12819 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12820 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12822 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12823 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12824 using MATH_REDIRECT.
12825 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12827 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12828 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12829 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12830 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12831 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12838 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12839 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12841 (round): Redirect to __round.
12842 (__roundl): Call round instead of __round.
12843 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12845 [_ARCH_PWR5X] (__roundf): Likewise.
12846 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12847 functions instead of __round variants.
12848 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12849 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12851 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12853 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12855 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12856 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12858 (__ieee754_expl): Call roundl instead of __roundl.
12860 2018-09-27 Andreas Schwab <schwab@suse.de>
12863 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12864 (do_test): Make st1 static.
12866 2018-09-26 Andreas Schwab <schwab@suse.de>
12869 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12870 * elf/Makefile (tests): Add tst-unwind-ctor.
12871 (modules-names): Add tst-unwind-ctor-lib.
12872 ($(objpfx)tst-unwind-ctor): Depend on
12873 $(objpfx)tst-unwind-ctor-lib.so.
12875 2018-09-26 Joseph Myers <joseph@codesourcery.com>
12877 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12878 file. Most contents moved from ....
12879 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12880 and include <bits/mman-map-flags-generic.h>.
12881 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12882 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12883 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12884 <bits/mman-map-flags-generic.h>.
12885 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12886 macros defined in <bits/mman-map-flags-generic.h>.
12887 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12888 <bits/mman-map-flags-generic.h>.
12889 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12890 defined in <bits/mman-map-flags-generic.h>.
12892 2018-09-26 Andreas Schwab <schwab@suse.de>
12894 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12897 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12898 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12899 Fangrui Song <maskray@google.com>
12902 * config.make.in (have-textrel_ifunc): New define.
12903 * configure.ac: Add check if linker supports textrel relocation with
12905 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12907 (CFLAGS-tst-ifunc-textrel.c): New rule.
12908 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12909 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12910 * elf/tst-ifunc-textrel.c: New file.
12912 2018-09-25 Joseph Myers <joseph@codesourcery.com>
12914 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12915 <bits/procfs-prregset.h>.
12916 (prgregset_t): Define using __prgregset_t.
12917 (prfpregset_t): Define using __prfpregset_t.
12918 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12919 (sysdep_headers): Add bits/procfs-prregset.h.
12920 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12921 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12922 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12923 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12925 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12926 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12927 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12929 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12930 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12931 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12932 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12933 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12934 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12935 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12936 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12937 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12938 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12939 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12940 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12941 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12942 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12943 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12944 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12945 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12946 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12947 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12948 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12949 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12950 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12951 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12952 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12954 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12955 AArch64 version. Include <bits/procfs.h>.
12956 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12957 (sysdep_headers): Add bits/procfs.h.
12958 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12959 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12960 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12961 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12962 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12963 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12964 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12965 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12966 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12967 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12968 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12969 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12970 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12971 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12972 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12973 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12974 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12976 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12978 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12981 2018-09-25 Arjun Shankar <arjun@redhat.com>
12983 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12984 (__gconv_max_path_elem_len): Likewise.
12985 (__gconv_nmodules): Likewise.
12986 (__gconv_get_path): Likewise.
12987 (path_elem): Move to ...
12988 * iconv/gconv_conf.c: ... here.
12989 (__gconv_get_path): Mark function static.
12990 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12991 * iconv/gconv_open.c: ... here.
12993 2018-09-24 Andreas Schwab <schwab@suse.de>
12995 * scripts/haveversions.awk: New file.
12996 * Makerules ($(common-objpfx)Versions.def)
12997 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12998 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
13000 * Makeconfig ($(common-objpfx)Versions.def)
13001 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
13002 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
13004 ($(common-objpfx)Versions.mk): New rule. Include it.
13005 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
13006 Emit error if build-obsolete-nsl = yes.
13007 * manual/install.texi (Configuring and compiling): Describe
13008 --enable-obsolete-nsl as unavaiable after version 2.28.
13009 * INSTALL: Regenerate.
13011 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13013 * NEWS: Add note about new TLE support on powerpc64le.
13014 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
13015 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
13017 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
13018 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
13019 * sysdeps/powerpc/powerpc32/sysdep.h,
13020 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
13021 ABORT_TRANSACTION): Remove macros.
13022 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13023 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
13024 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
13026 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13027 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
13029 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
13031 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
13034 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
13035 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
13036 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
13037 which is the same as in it_IT.
13038 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
13039 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
13041 2018-09-20 Joseph Myers <joseph@codesourcery.com>
13043 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13044 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
13045 using MATH_REDIRECT.
13046 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
13048 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
13049 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13050 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
13051 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13052 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13053 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
13055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
13056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
13057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
13058 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13059 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13060 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
13061 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
13062 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
13063 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
13064 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
13065 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13066 (ceil): Redirect to __ceil.
13067 (floor): Redirect to __floor.
13068 (trunc): Redirect to __trunc.
13069 (__truncl): Call trunc instead of __trunc.
13070 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
13072 [_ARCH_PWR5X] (__truncf): Likewise.
13073 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
13074 trunc functions instead of __trunc variants.
13075 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13077 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13079 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13081 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13084 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
13085 [__i586__ || __pentium__].
13086 [__i486__]: Handle explicitly.
13087 (HAS_CPUID): Define to 1 if above macros are undefined.
13088 (HAS_I586): Likewise.
13089 (HAS_I686): Likewise.
13091 2018-09-20 Florian Weimer <fweimer@redhat.com>
13093 * misc/tst-gethostid.c: New file.
13094 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
13095 (tst-gethostid): Link with -ldl.
13097 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
13099 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
13100 value from gethostbyname_r.
13102 2018-09-19 Carlos O'Donell <carlos@redhat.com>
13104 * stdlib/tst-setcontext9.c (f1): Rename to...
13106 (f1b): New function implementing lower half of f1 in alternate stack.
13108 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
13110 Fix mktime localtime offset confusion
13112 * include/time.h (__mktime_internal): The localtime offset is now
13113 of type long int instead of time_t. This is the longstanding type
13114 in glibc, and it is more than enough to represent difference
13115 between localtime and gmtime even if it is 32 bits and time_t is
13116 64. Changing it now will let us avoid an unnecessary change when
13117 time_t is widened to 64 bits on 32-bit platforms.
13118 * time/mktime-internal.h (mktime_offset_t): Now long int.
13120 Merge mktime, timegm from upstream Gnulib
13121 [BZ #23603][BZ #16346]
13122 This fixes some obscure problems with integer overflow.
13123 Although it looks scary, it is almost all a byte-for-byte copy
13124 from Gnulib, and the Gnulib code has been tested reasonably well.
13125 * include/intprops.h: New file, copied from Gnulib.
13126 * include/verify.h, time/mktime-internal.h:
13127 New tiny files, simplified from Gnulib.
13128 * time/mktime.c: Copy from Gnulib. This has the following changes:
13129 Do not include config.h if DEBUG_MKTIME is nonzero.
13130 Include stdbool.h, intprops.h, verify.h.
13131 Include string.h only if needed.
13132 Include stdlib.h on MS-Windows.
13133 Include mktime-internal.h.
13134 (DEBUG_MKTIME): Default to 0, and simplify later uses.
13135 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
13136 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
13137 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
13138 simplify later conditionals; default the others to zero. Use
13139 these conditionals to express only the code needed on the current
13140 platform. In uses of these conditionals, explicitly spell out how
13141 _LIBC affects things, so it’s easier to review from a glibc
13143 (WRAPV): Remove; no longer needed now that we have
13144 systematic overflow checking.
13145 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
13146 compartmentalize tzset issues. Move system-dependent tzsettish
13147 code here from mktime.
13148 (verify): Remove; now done by verify.h. All uses changed.
13149 (long_int): Use a more-conservative definition, to avoid
13151 (SHR): Remove, replacing with ...
13152 (shr): New function, which means we needn’t worry about side
13153 effects in args, and conversion analysis is simpler.
13154 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
13155 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
13156 (time_t_avg, time_t_add_ok): Remove.
13157 (mktime_min, mktime_max): New constants.
13158 (leapyear, isdst_differ): Use bool for booleans.
13159 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
13160 Use long_int, not time_t, for mktime differences.
13161 (long_int_avg): New function, replacing time_t_avg.
13162 INT_ADD_WRAPV replaces time_t_add_ok.
13163 (guess_time_tm): 6th arg is now long_int, not time_t const *.
13165 (convert_time): New function.
13166 (ranged_convert): Use it.
13167 (__mktime_internal): Last arg now points to mktime_offset_t, not
13168 time_t. All uses changed. This is a no-op on glibc, where
13169 mktime_offset_t is always time_t. Use int, not time_t, for UTC
13170 offset guess. Directly check for integer overflow instead of
13171 using a heuristic that works only 99.9...% of the time.
13172 Access *OFFSET only once, to avoid an unlikely race if the
13173 compiler delays a load and if this cascades into a signed integer
13175 (mktime): Move tzsettish code to my_tzset, and move
13176 localtime_offset to within mktime so that it doesn’t
13177 need a separate ifdef.
13178 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
13179 instead of localtime.
13180 * time/timegm.c: Copy from Gnulib. This has the following changes:
13181 Include mktime-internal.h.
13182 [!_LIBC]: Include config.h and time.h. Do not include
13183 timegm.h or time_r.h. Make __mktime_internal a macro,
13184 and include mktime-internal.h to get its declaration.
13185 (timegm): Temporary is now mktime_offset_t, not time_t.
13186 This affects only Gnulib.
13188 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
13191 * string/test-strstr.c (pr23637): New function.
13192 (test_main): Add tests with longer needles.
13193 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
13194 * string/strstr.c (AVAILABLE): Likewise.
13196 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
13198 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
13200 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
13202 * NEWS: Mention pow improvements.
13203 * math/Makefile (type-double-routines): Add e_pow_log_data.
13204 * sysdeps/generic/math_private.h (__exp1): Remove.
13205 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
13206 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
13207 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
13209 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
13210 (exp_inline): Remove.
13211 (__ieee754_exp): Only single double input is handled.
13212 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
13213 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
13214 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
13215 (__pow_log_data): Define.
13216 * sysdeps/ieee754/dbl-64/upow.h: Remove.
13217 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
13218 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
13219 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
13221 (CFLAGS-e_pow-fma4.c): Likewise.
13223 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
13225 Simplify tzfile fstat failure code
13227 * time/tzfile.c (__tzfile_read): Simplify slightly.
13229 Fix tzfile low-memory assertion failure
13231 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
13232 when registering time zone abbreviations.
13234 2018-09-18 Joseph Myers <joseph@codesourcery.com>
13236 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
13237 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
13238 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
13239 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
13240 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
13241 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
13242 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
13243 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13244 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13246 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
13248 (__ceill): Call ceil instead of __ceil.
13249 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
13251 (__floorl): Call floor instead of __floor.
13253 2018-09-17 Joseph Myers <joseph@codesourcery.com>
13255 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13256 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
13257 using MATH_REDIRECT.
13258 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
13260 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
13261 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13262 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13263 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
13264 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13265 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13266 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13267 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
13268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
13269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
13270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
13271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
13272 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13273 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
13275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
13276 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
13277 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
13278 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
13280 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
13281 functions instead of __ceil variants.
13282 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13283 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
13285 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
13287 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13288 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
13290 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
13291 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13294 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
13296 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
13297 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
13298 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
13299 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
13300 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
13301 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
13302 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
13303 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
13304 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
13305 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
13306 (ILL_BADIADDR): Remove constant.
13307 (TRAP_BRANCH): Likewise.
13308 (TRAP_HWBKPT): Likewise.
13310 2018-09-14 Joseph Myers <joseph@codesourcery.com>
13313 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
13314 Remove [_MIPS_SIM = _ABIN32] conditional case.
13315 (struct elf_prpsinfo): Likewise.
13318 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
13319 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
13320 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
13322 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
13323 elf_prpsinfo): Likewise.
13324 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
13325 elf_prpsinfo): Likewise.
13326 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
13329 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13330 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
13331 using MATH_REDIRECT.
13332 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
13334 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
13335 * sysdeps/alpha/fpu/s_rint.c: Likewise.
13336 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
13337 * sysdeps/i386/fpu/s_rintl.c: Likewise.
13338 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13339 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13340 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
13341 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13342 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13343 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13344 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
13345 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
13346 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
13347 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
13348 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
13349 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13350 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13351 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
13352 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
13353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
13354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
13355 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
13356 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
13357 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
13358 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
13359 * sysdeps/x86_64/fpu/math_private.h: Remove file.
13360 * math/e_scalb.c (invalid_fn): Use rint functions instead of
13362 * math/e_scalbf.c (invalid_fn): Likewise.
13363 * math/e_scalbl.c (invalid_fn): Likewise.
13364 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13366 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13368 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
13369 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
13370 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13372 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13374 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13376 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
13377 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
13379 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13380 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
13382 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13383 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
13384 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13385 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
13386 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13387 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
13388 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13389 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
13390 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13391 && !NO_MATH_REDIRECT] (floor): Likewise.
13392 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
13394 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
13395 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13396 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13397 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
13398 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13399 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13400 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13401 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
13402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
13403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
13404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
13405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
13406 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13407 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13410 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
13411 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
13412 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
13414 [_ARCH_PWR5X] (__floorf): Likewise.
13415 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
13417 [__SSE4_1__] (__floorf): Likewise.
13418 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
13419 instead of __floor variants.
13420 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
13421 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
13422 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
13423 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
13424 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
13425 * math/w_tgamma_compat.c (__tgamma): Likewise.
13426 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
13427 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
13428 * math/w_tgammal_compat.c (__tgammal): Likewise.
13429 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
13430 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13432 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13433 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
13434 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13435 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13437 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13438 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
13440 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13441 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
13443 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13444 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
13446 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13447 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13448 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
13449 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
13450 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
13451 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13453 2018-09-12 Joseph Myers <joseph@codesourcery.com>
13455 * elf/Makefile (modules-names-tests): New variable.
13457 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13459 * NEWS: Mention log2 improvements.
13460 * math/Makefile (type-double-routines): Add e_log2_data.
13461 * sysdeps/i386/fpu/e_log2_data.c: New file.
13462 * sysdeps/ia64/fpu/e_log2_data.c: New file.
13463 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
13464 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
13465 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
13466 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
13467 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
13469 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13471 * NEWS: Mention log improvement.
13472 * math/Makefile (type-double-routines): Add e_log_data.
13473 * sysdeps/i386/fpu/e_log_data.c: New file.
13474 * sysdeps/ia64/fpu/e_log_data.c: New file.
13475 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
13476 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
13477 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
13478 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
13479 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
13480 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
13482 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
13483 Xuepeng Guo <xuepeng.guo@intel.com>
13486 * sysdeps/i386/start.S: Include <sysdep.h>
13487 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
13488 enabled. Add cfi_undefined (eip).
13490 2018-09-11 Joseph Myers <joseph@codesourcery.com>
13492 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
13494 (EXTRACT_WORDS64): Likewise.
13495 (INSERT_WORDS64): Likewise.
13496 (GET_FLOAT_WORD): Likewise.
13497 (SET_FLOAT_WORD): Likewise.
13499 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
13501 (Config.build_gcc): Use --disable-libsanitizer for first GCC
13502 build, but not for second build if --full-gcc. Use
13503 --enable-languages=all for second build if --full-gcc.
13504 (get_parser): Add --full-gcc option.
13505 (main): Update call to Context.
13507 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
13510 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
13511 Single Quotation Mark).
13512 (thousands_sep): Likewise.
13513 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
13514 * localedata/locales/it_IT (thousands_sep): Use ".".
13515 (grouping): Use "3;3".
13517 2018-09-10 Joseph Myers <joseph@codesourcery.com>
13519 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13520 x86_64 and i686 configs using --enable-obsolete-rpc
13521 --enable-obsolete-nsl.
13523 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13525 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13527 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13529 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
13530 Increment size of new_argv by one.
13532 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
13535 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
13536 * localedata/locales/ar_IN (d_fmt): Likewise.
13537 * localedata/locales/bhb_IN (d_fmt): Likewise.
13538 * localedata/locales/bho_IN (d_fmt): Likewise.
13539 * localedata/locales/bn_BD (d_fmt): Likewise.
13540 * localedata/locales/bn_IN (d_fmt): Likewise.
13541 * localedata/locales/doi_IN (d_fmt): Likewise.
13542 * localedata/locales/gu_IN (d_fmt): Likewise.
13543 * localedata/locales/hi_IN (d_fmt): Likewise.
13544 * localedata/locales/hne_IN (d_fmt): Likewise.
13545 * localedata/locales/kn_IN (d_fmt): Likewise.
13546 * localedata/locales/mag_IN (d_fmt): Likewise.
13547 * localedata/locales/mai_IN (d_fmt): Likewise.
13548 * localedata/locales/mjw_IN (d_fmt): Likewise.
13549 * localedata/locales/ml_IN (d_fmt): Likewise.
13550 * localedata/locales/mni_IN (d_fmt): Likewise.
13551 * localedata/locales/mr_IN (d_fmt): Likewise.
13552 * localedata/locales/pa_IN (d_fmt): Likewise.
13553 * localedata/locales/raj_IN (d_fmt): Likewise.
13554 * localedata/locales/sat_IN (d_fmt): Likewise.
13555 * localedata/locales/sd_IN (d_fmt): Likewise.
13556 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
13557 * localedata/locales/ta_IN (d_fmt): Likewise.
13558 * localedata/locales/ta_LK (d_fmt): Likewise.
13559 * localedata/locales/tcy_IN (d_fmt): Likewise.
13560 * localedata/locales/ur_IN (d_fmt): Likewise.
13562 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
13563 * localedata/locales/ks_IN (d_fmt): Likewise.
13564 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
13566 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
13567 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
13568 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
13569 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
13571 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
13573 * NEWS: Mention exp and exp2 improvements.
13574 * math/Makefile (libm-support): Remove t_exp.
13575 (type-double-routines): Add math_err and e_exp_data.
13576 * sysdeps/aarch64/libm-test-ulps: Update.
13577 * sysdeps/arm/libm-test-ulps: Update.
13578 * sysdeps/i386/fpu/e_exp_data.c: New file.
13579 * sysdeps/i386/fpu/math_err.c: New file.
13580 * sysdeps/i386/fpu/t_exp.c: Remove.
13581 * sysdeps/ia64/fpu/e_exp_data.c: New file.
13582 * sysdeps/ia64/fpu/math_err.c: New file.
13583 * sysdeps/ia64/fpu/t_exp.c: Remove.
13584 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
13585 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
13586 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
13587 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
13588 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
13589 * sysdeps/ieee754/dbl-64/math_config.h: New file.
13590 * sysdeps/ieee754/dbl-64/math_err.c: New file.
13591 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
13592 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
13593 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
13594 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
13595 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
13596 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
13597 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13601 2018-09-05 Joseph Myers <joseph@codesourcery.com>
13603 * sysdeps/alpha/fpu/math_private.h: Remove.
13605 * sysdeps/generic/math_private.h
13606 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13607 Move this inline function ....
13608 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13609 * include/math.h [!_ISOMAC]: To here....
13611 2018-09-04 Joseph Myers <joseph@codesourcery.com>
13613 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13615 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13616 * include/fenv.h [!_ISOMAC]: ... to here.
13617 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13618 (feraiseexcept): Likewise.
13619 * math/fromfp.h: Do not include <fenv_private.h>.
13620 * math/s_cexp_template.c: Likewise.
13621 * math/s_csin_template.c: Likewise.
13622 * math/s_csinh_template.c: Likewise.
13623 * math/s_ctan_template.c: Likewise.
13624 * math/s_ctanh_template.c: Likewise.
13625 * math/s_iseqsig_template.c: Likewise.
13626 * math/w_acos_compat.c: Likewise.
13627 * math/w_acosf_compat.c: Likewise.
13628 * math/w_acosl_compat.c: Likewise.
13629 * math/w_asin_compat.c: Likewise.
13630 * math/w_asinf_compat.c: Likewise.
13631 * math/w_asinl_compat.c: Likewise.
13632 * math/w_j0_compat.c: Likewise.
13633 * math/w_j0f_compat.c: Likewise.
13634 * math/w_j0l_compat.c: Likewise.
13635 * math/w_j1_compat.c: Likewise.
13636 * math/w_j1f_compat.c: Likewise.
13637 * math/w_j1l_compat.c: Likewise.
13638 * math/w_jn_compat.c: Likewise.
13639 * math/w_jnf_compat.c: Likewise.
13640 * math/w_log10_compat.c: Likewise.
13641 * math/w_log10f_compat.c: Likewise.
13642 * math/w_log10l_compat.c: Likewise.
13643 * math/w_log2_compat.c: Likewise.
13644 * math/w_log2f_compat.c: Likewise.
13645 * math/w_log2l_compat.c: Likewise.
13646 * math/w_log_compat.c: Likewise.
13647 * math/w_logf_compat.c: Likewise.
13648 * math/w_logl_compat.c: Likewise.
13649 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13650 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13651 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13652 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13653 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13654 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13655 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13656 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13657 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13658 * sysdeps/ieee754/k_standardl.c: Likewise.
13659 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13660 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13661 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13662 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13663 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13664 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13665 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13666 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13667 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13668 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13669 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13670 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13671 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13672 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13673 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13674 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13675 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13676 * math/w_ilogb_template.c: Include <fenv.h> instead of
13678 * math/w_llogb_template.c: Likewise.
13679 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13680 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13682 2018-09-03 Joseph Myers <joseph@codesourcery.com>
13684 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13685 * math/fromfp.h: Include <fenv_private.h>.
13686 * math/math-narrow.h: Likewise.
13687 * math/s_cexp_template.c: Likewise.
13688 * math/s_csin_template.c: Likewise.
13689 * math/s_csinh_template.c: Likewise.
13690 * math/s_ctan_template.c: Likewise.
13691 * math/s_ctanh_template.c: Likewise.
13692 * math/s_iseqsig_template.c: Likewise.
13693 * math/w_acos_compat.c: Likewise.
13694 * math/w_acosf_compat.c: Likewise.
13695 * math/w_acosl_compat.c: Likewise.
13696 * math/w_asin_compat.c: Likewise.
13697 * math/w_asinf_compat.c: Likewise.
13698 * math/w_asinl_compat.c: Likewise.
13699 * math/w_ilogb_template.c: Likewise.
13700 * math/w_j0_compat.c: Likewise.
13701 * math/w_j0f_compat.c: Likewise.
13702 * math/w_j0l_compat.c: Likewise.
13703 * math/w_j1_compat.c: Likewise.
13704 * math/w_j1f_compat.c: Likewise.
13705 * math/w_j1l_compat.c: Likewise.
13706 * math/w_jn_compat.c: Likewise.
13707 * math/w_jnf_compat.c: Likewise.
13708 * math/w_llogb_template.c: Likewise.
13709 * math/w_log10_compat.c: Likewise.
13710 * math/w_log10f_compat.c: Likewise.
13711 * math/w_log10l_compat.c: Likewise.
13712 * math/w_log2_compat.c: Likewise.
13713 * math/w_log2f_compat.c: Likewise.
13714 * math/w_log2l_compat.c: Likewise.
13715 * math/w_log_compat.c: Likewise.
13716 * math/w_logf_compat.c: Likewise.
13717 * math/w_logl_compat.c: Likewise.
13718 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13719 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13720 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13721 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13722 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13723 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13725 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13728 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13729 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13730 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13731 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13732 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13733 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13734 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13735 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13736 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13737 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13738 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13739 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13740 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13741 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13742 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13743 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13744 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13745 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13746 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13747 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13748 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13749 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13750 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13751 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13752 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13753 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13754 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13755 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13756 * sysdeps/ieee754/k_standardl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13782 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13783 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13787 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13788 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13793 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13794 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13795 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13796 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13797 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13798 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13799 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13800 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13801 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13802 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13803 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13804 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13805 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13806 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13807 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13808 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13809 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13810 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13811 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13812 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13813 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13814 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13815 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13816 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13817 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13818 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13819 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13820 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13821 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13822 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13823 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13824 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13825 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13826 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13827 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13829 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13832 * include/stdio.h (__libc_fatal): Mention newline in comment.
13833 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13834 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13835 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13836 * nss/nsswitch.c (__nss_next2): Likewise.
13837 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13838 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13839 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13840 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13841 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13842 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13843 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13844 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13845 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13846 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13847 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13848 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13849 (__netlink_assert_response): Likewise.
13851 2018-08-31 Joseph Myers <joseph@codesourcery.com>
13853 * conform/glibcconform.py: New file.
13854 * conform/list-header-symbols.py: Likewise.
13855 * conform/list-header-symbols.pl: Remove.
13856 * conform/Makefile (tests-special): Only add linknamespace tests
13858 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13860 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13863 * support/Makefile (libsupport-routines): Add
13864 support_copy_file_range and xcopy_file_range.
13865 * support/support.h: Include <sys/types.h>.
13866 (support_copy_file_range): New prototype.
13867 * support/support_copy_file_range.c: New file. Copied and
13868 modified from io/copy_file_range-compat.c.
13869 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13870 instead of copy_file_range.
13871 * support/xcopy_file_range.c: New file.
13872 * support/xunistd.h (xcopy_file_range): New prototype.
13874 2018-08-30 Carlos O'Donell <carlos@redhat.com>
13876 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13877 xpthread_create and xpthread_join.
13879 2018-08-30 Florian Weimer <fweimer@redhat.com>
13881 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13883 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
13885 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13888 2018-08-29 Joseph Myers <joseph@codesourcery.com>
13890 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13891 and minus_oflow as non-finite.
13893 2018-08-28 Joseph Myers <joseph@codesourcery.com>
13895 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13896 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13897 moved to fenv_private.h except for ...
13898 (TOINT_INTRINSICS): Kept in math_private.h.
13899 (roundtoint): Likewise.
13900 (converttoint): Likewise.
13901 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13902 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13903 * sysdeps/arm/math_private.h: Remove.
13904 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13906 * sysdeps/generic/math_private.h: ... this file. Include
13907 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13908 Include <fenv_private.h>. Remove functions and macros moved to
13910 * sysdeps/i386/fpu/math_private.h: Remove.
13911 * sysdeps/mips/math_private.h: Move to ....
13912 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13913 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13914 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13915 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13916 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13917 * sysdeps/powerpc/fpu/math_private.h: Do not include
13919 * sysdeps/riscv/rvf/math_private.h: Move to ....
13920 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13921 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13923 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13924 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13925 * sysdeps/sparc/fpu/math_private.h: Remove.
13926 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13927 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13928 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13930 * sysdeps/x86_64/fpu/math_private.h: Do not include
13931 <sysdeps/i386/fpu/fenv_private.h>.
13933 2018-08-28 Florian Weimer <fweimer@redhat.com>
13936 * posix/tst-regcomp-truncated.c: New file.
13937 * posix/Makefile (tests): Add it.
13938 (tst-regcomp-truncated.out): Depend on generated locales.
13940 2018-08-28 Florian Weimer <fweimer@redhat.com>
13942 * support/test-container.c (main): Treat unshare failure with
13943 EPERM as an unsupported test.
13945 2018-08-28 Florian Weimer <fweimer@redhat.com>
13948 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13949 * nscd/netgroupcache.c
13950 (addgetnetgrentX): Add tofreep parameter. Do not free
13951 heap-allocated buffer.
13952 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13953 (addgetnetgrentX_ignore): New function.
13954 (addgetnetgrent): Call it.
13955 (readdgetnetgrent): Likewise.
13957 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13959 * string/memmem.c: Use memcmp for first match.
13961 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
13964 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13966 2018-08-27 DJ Delorie <dj@redhat.com>
13968 * support/Makefile (others): Don't list programs explicitly as a
13969 dependency of "others".
13971 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13973 * sysdeps/generic/math-tests-trap-force.h: New file.
13974 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13975 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13976 * sysdeps/powerpc/math-tests.h: Remove file.
13977 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13979 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13980 Torvald Riegel <triegel@redhat.com>
13983 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13984 Update r to include the set wake-request flag if waiters are
13985 remaining after spinning.
13987 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13989 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13991 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13994 regex: fix uninitialized memory access
13995 I introduced this bug into gnulib in commit
13996 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13997 eventually it was merged into glibc. The bug was found by
13998 project-repo <bugs@feusi.co> and reported here:
13999 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
14000 Diagnosis and draft fix reported by Assaf Gordon here:
14001 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
14002 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
14003 * posix/regex_internal.c (build_wcs_upper_buffer):
14004 Fix bug when mbrtowc returns 0.
14006 2018-08-24 Carlos O'Donell <carlos@redhat.com>
14008 * po/be.po: Update translation.
14010 2018-08-24 DJ Delorie <dj@delorie.com>
14012 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
14015 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14018 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
14019 create temporary files in source tree.
14021 2018-08-24 Joseph Myers <joseph@codesourcery.com>
14023 * sysdeps/generic/math-tests-trap.h: New file.
14024 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
14025 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
14026 * sysdeps/aarch64/math-tests.h: Remove file.
14027 * sysdeps/arm/math-tests.h: Likewise.
14028 * sysdeps/riscv/math-tests.h: Likewise.
14029 * sysdeps/aarch64/math-tests-trap.h: New file.
14030 * sysdeps/arm/math-tests-trap.h: Likewise.
14031 * sysdeps/riscv/math-tests-trap.h: Likewise.
14033 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
14035 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
14036 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
14037 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
14038 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
14039 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
14040 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14042 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
14043 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
14044 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14045 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14046 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14047 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14048 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
14049 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
14050 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
14051 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14052 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14054 2018-08-23 Joseph Myers <joseph@codesourcery.com>
14056 * sysdeps/generic/math-tests-exceptions.h: New file.
14057 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
14058 (EXCEPTION_TESTS_float): Do not define here.
14059 (EXCEPTION_TESTS_double): Likewise.
14060 (EXCEPTION_TESTS_long_double): Likewise.
14061 (EXCEPTION_TESTS_float128): Likewise.
14062 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
14064 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
14065 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
14066 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
14067 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
14068 * sysdeps/mips/math-tests.h: Likewise.
14069 * sysdeps/nios2/math-tests.h: Likewise.
14070 * sysdeps/riscv/math-tests.h [!__riscv_flen]
14071 (EXCEPTION_TESTS_float): Do not define here.
14072 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
14073 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
14074 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
14076 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
14078 * NEWS: Move optimized sinf entry to 2.29.
14080 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
14082 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
14084 2018-08-22 DJ Delorie <dj@redhat.com>
14086 * Makefile (testroot.pristine): New rules to initialize the
14087 test-in-container "testroot".
14088 * Makerules (all-testsuite): Add tests-container.
14089 * Rules (tests-expected): Add tests-container.
14090 (binaries-all-tests): Likewise.
14091 (tests-container): New, run these tests in the testroot container.
14092 * support/Makefile (others): Add *-container, support_paths.c,
14093 xmkdirp, and links-dso-program.
14094 * support/links-dso-program-c.c: New.
14095 * support/links-dso-program.cc: New.
14096 * support/test-container.c: New.
14097 * support/shell-container.c: New.
14098 * support/echo-container.c: New.
14099 * support/true-container.c: New.
14100 * support/xmkdirp.c: New.
14101 * support/xsymlink.c: New.
14102 * support/support_paths.c: New.
14103 * support/support.h: Add support paths prototypes.
14104 * support/xunistd.h: Add xmkdirp () and xsymlink ().
14106 * nss/tst-nss-test3.c: Convert to test-in-container.
14107 * nss/tst-nss-test3.root/: New.
14109 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
14111 regex: port Gnulib code to z/OS POSIX environment
14112 Problem reported by Arnold Robbins in:
14113 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
14114 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
14117 2018-08-22 Joseph Myers <joseph@codesourcery.com>
14119 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
14120 (ROUNDING_TESTS_double): Remove.
14121 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
14122 (ROUNDING_TESTS_double): Remove.
14123 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
14124 (ROUNDING_TESTS_double): Remove.
14125 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
14126 (ROUNDING_TESTS_float): Remove.
14127 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
14128 (ROUNDING_TESTS_float): Remove.
14129 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
14130 (ROUNDING_TESTS_float): Remove.
14131 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
14132 !TEST_MATHVEC here.
14133 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14134 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14136 * sysdeps/generic/math-tests-rounding.h: New file.
14137 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
14138 (ROUNDING_TESTS_float): Do not define here.
14139 (ROUNDING_TESTS_double): Likewise.
14140 (ROUNDING_TESTS_long_double): Likewise.
14141 (ROUNDING_TESTS_float128): Likewise.
14142 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
14143 (ROUNDING_TESTS_double): Undefine before defining.
14144 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
14145 (ROUNDING_TESTS_double): Undefine before defining.
14146 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
14147 (ROUNDING_TESTS_double): Undefine before defining.
14148 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
14149 (ROUNDING_TESTS_float): Undefine before defining.
14150 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
14151 (ROUNDING_TESTS_float): Undefine before defining.
14152 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
14153 (ROUNDING_TESTS_float): Undefine before defining.
14154 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
14155 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
14157 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
14158 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
14159 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
14160 * sysdeps/riscv/math-tests.h [!__riscv_flen]
14161 (ROUNDING_TESTS_float): Do not define here.
14162 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
14163 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
14164 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
14165 (ROUNDING_TESTS_float): Likewise.
14166 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
14167 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
14168 * sysdeps/mips/math-tests.h [__mips_soft_float]
14169 (ROUNDING_TESTS_float): Likewise.
14170 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
14171 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
14172 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
14173 (ROUNDING_TESTS_double): Likewise.
14174 (ROUNDING_TESTS_long_double): Likewise.
14176 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
14178 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
14179 (PF_XDP): New macro.
14180 (AF_XDP): New macro.
14181 (SOL_XDP): New macro.
14183 2018-08-21 Joseph Myers <joseph@codesourcery.com>
14185 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
14186 (TCP_INQ): Likewise.
14187 (TCP_CM_INQ): Likewise.
14188 (TCP_REPAIR_ON): Likewise.
14189 (TCP_REPAIR_OFF): Likewise.
14190 (TCP_REPAIR_OFF_NO_WP): Likewise.
14191 (struct tcp_zerocopy_receive): New type.
14193 2018-08-21 Florian Weimer <fweimer@redhat.com>
14195 * support/support.h (support_descriptor_supports_holes): Declare.
14196 * support/Makefile (libsupport-routines): Add
14197 support_descriptor_supports_holes.
14198 * support/support_descriptor_supports_holes.c: New file.
14199 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
14200 and stop testing if holes are not supported.
14201 * io/test-lfs.c (do_prepare): Likewise.
14202 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
14204 * timezone/tst-tzset.c (create_tz_file): Likewise.
14205 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
14207 (do_prepare): Set it.
14208 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
14210 2018-08-21 Florian Weimer <fweimer@redhat.com>
14213 * Makeconfig (+cflags): Do not sort (and deduplicate).
14215 2018-08-21 Florian Weimer <fweimer@redhat.com>
14217 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
14218 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
14220 2018-08-20 Florian Weimer <fweimer@redhat.com>
14222 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
14223 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
14225 2018-08-20 Joseph Myers <joseph@codesourcery.com>
14227 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
14228 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
14229 and ssi_arch members.
14231 * elf/elf.c (NT_VMCOREDD): New macro.
14232 (AT_MINSIGSTKSZ): Likewise.
14234 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14236 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14237 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
14238 s_cosf-ppc64 and s_cosf-power8.
14239 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
14240 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14241 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14242 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
14244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
14245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
14246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
14247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
14248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
14249 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
14250 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
14252 2018-08-17 Florian Weimer <fweimer@redhat.com>
14254 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14256 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
14258 * malloc/malloc.c (_int_malloc): Additional binning code checks.
14260 2018-08-16 Florian Weimer <fweimer@redhat.com>
14262 * configure.ac: Add --with-nonshared-cflags option.
14263 * config.make.in (extra-nonshared-cflags): Set variable.
14264 * Makeconfig (CFLAGS-.oS): Use it.
14265 * manual/install.texi (Configuring and compiling): Document
14266 --with-nonshared-cflags.
14267 * configure: Regenerate.
14268 * INSTALL: Likewise.
14270 2018-08-16 Florian Weimer <fweimer@redhat.com>
14272 * Makeconfig (ASFLAGS): Always append required assembler flags.
14274 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
14276 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
14277 (malloc_consolidate): Likewise.
14279 2018-08-16 Pochang Chen <johnchen902@gmail.com>
14281 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
14283 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
14285 * benchtests/bench-strlen.c (do_test): Allocate buffers before
14288 * benchtests/bench-strlen.c: Print performance numbers in json.
14290 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14292 * sysdeps/powerpc/powerpc64/multiarch/Makefile
14293 (sysdep_routines): Build strcmp-power9 and strncmp-power9
14294 only for little endian.
14295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14296 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
14297 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
14298 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
14299 Add check for little endian.
14300 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
14301 (__strcmp_power9): Add check for little endian.
14302 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
14303 Add check for little endian.
14304 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
14305 (__strncmp_power9): Add check for little endian.
14306 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
14307 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
14308 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
14309 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
14310 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
14312 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14314 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
14315 [!STRLEN](STRLEN): Set to __strlen.
14316 * sysdeps/aarch64/multiarch/strlen.c: New file.
14317 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
14318 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
14319 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
14320 (__libc_ifunc_impl_list): Add strlen.
14321 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
14322 strlen_generic and strlen_asimd.
14324 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
14326 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
14327 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
14328 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14330 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
14332 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
14334 2018-08-14 Florian Weimer <fweimer@redhat.com>
14337 * include/stdio.h (__vfxprintf): Declare.
14338 * stdio-common/fxprintf.c (__vfxprintf): New function.
14339 (__fxprintf): Call it.
14340 * misc/err.c (convert_and_print): Remove function.
14341 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
14342 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
14343 * misc/Makefile (tests): Add tst-warn-wide.
14344 * misc/tst-warn-wide.c: New file.
14346 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
14347 Szabolcs Nagy <szabolcs.nagy@arm.com>
14349 * NEWS: Mention sinf, cosf, sincosf.
14350 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
14351 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
14352 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
14353 constants rather than including generic sincosf.h.
14354 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
14355 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
14356 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
14357 (reduced_cos): Remove.
14358 (sinf_poly): New function.
14359 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
14361 2018-08-14 Florian Weimer <fweimer@redhat.com>
14365 * nss/nss_files/files-alias.c (get_next_alias): During :include:
14366 processing, bail out if no room, and close the stream before
14368 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
14369 (tst-nss-files-alias-leak): Link with libdl.
14370 (tst-nss-files-alias-leak.out): Depend on nss_files.
14372 * nss/tst-nss-files-alias-leak.c: New file.
14374 2018-08-14 Florian Weimer <fweimer@redhat.com>
14376 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
14377 server_user, stat_user.
14379 2018-08-13 Joseph Myers <joseph@codesourcery.com>
14381 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14383 (io_pgetevents): New syscall.
14386 * manual/install.texi (Configuring and compiling): Do not list
14387 tools used for testing pretty printers here.
14388 (Tools for Compilation): List Python, PExpect and GDB here.
14389 Update descriptions of uses of Perl and Python.
14390 * INSTALL: Regenerate.
14392 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14395 2018-08-13 Florian Weimer <fweimer@redhat.com>
14397 * misc/error.c (error): Add missing va_end call.
14398 (error_at_line): Likewise.
14400 2018-08-13 Florian Weimer <fweimer@redhat.com>
14402 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
14404 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14406 * benchtests/scripts/benchout.schema.json (properties): Add
14409 * benchtests/bench-skeleton.c (main): Add duration and
14410 iterations attributes.
14412 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
14414 regex: Gnulib unibyte RRI uses bytes not chars
14415 Adjust the non-glibc code to agree with what Gawk needs for
14416 rational range interpretation (RRI) for regular expression ranges.
14417 In unibyte locales, Gawk wants ranges to use the underlying byte
14418 rather than the character code point. This change does not affect
14420 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
14421 In unibyte locales, use the byte value rather than
14422 running it through btowc.
14424 2018-08-10 Joseph Myers <joseph@codesourcery.com>
14426 * sysdeps/generic/math-tests-snan.h: New file.
14427 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
14428 (SNAN_TESTS_float): Do not define here.
14429 (SNAN_TESTS_double): Likewise.
14430 (SNAN_TESTS_long_double): Likewise.
14431 (SNAN_TESTS_float128): Likewise.
14432 * sysdeps/i386/fpu/math-tests-snan.h: New file.
14433 * sysdeps/i386/fpu/math-tests.h: Remove file.
14434 * sysdeps/ia64/math-tests-snan.h: New file.
14435 * sysdeps/ia64/math-tests.h: Remove file.
14436 * sysdeps/x86/math-tests.h: Likewise.
14437 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
14439 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14440 Szabolcs Nagy <szabolcs.nagy@arm.com>
14442 * math/Makefile: Add s_sincosf_data.c.
14443 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
14444 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
14445 (sincosf_poly): Likewise.
14446 (reduce_small): Likewise.
14447 (reduce_large): Likewise.
14448 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
14449 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
14450 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
14451 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
14453 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14454 Szabolcs Nagy <szabolcs.nagy@arm.com>
14456 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
14457 (converttoint): Use lround.
14458 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
14459 document the semantics when TOINT_INTRINSICS is set.
14460 (converttoint): Likewise.
14461 (TOINT_RINT): Remove.
14462 (TOINT_SHIFT): Remove.
14463 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
14466 2018-08-10 Florian Weimer <fweimer@redhat.com>
14469 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
14471 (__old_getdents64): Use getdents64. Convert entries without
14473 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
14474 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
14475 tst-readdir64-compat.
14477 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14479 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
14482 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14484 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
14485 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
14486 code to s390x-mcount.h and #include it.
14487 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
14488 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14491 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14493 * stdlib/Versions: Remove __fentry__.
14494 * sysdeps/i386/Versions: Add __fentry__.
14495 * sysdeps/x86_64/Versions: Add __fentry__.
14497 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14499 * sysdeps/s390/Makefile: Register the new tests.
14500 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
14501 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
14502 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
14503 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
14504 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
14505 * sysdeps/s390/tst-dl-runtime.c: New file.
14507 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14509 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14512 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14514 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14517 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14519 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14522 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14524 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14527 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14529 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14530 Use symbolic offsets for stack variables.
14532 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14534 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14535 Use symbolic offsets for stack variables.
14537 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14539 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14540 Use symbolic offsets for stack variables.
14542 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14544 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14545 Use symbolic offsets for stack variables.
14547 2018-08-09 Joseph Myers <joseph@codesourcery.com>
14549 * math/gen-libm-test.py: New file.
14550 * math/gen-libm-test.pl: Remove.
14551 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
14552 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
14554 ($(libm-test-c-noauto-obj)): Likewise.
14555 ($(libm-test-c-auto-obj)): Likewise.
14556 ($(libm-test-c-narrow-obj)): Likewise.
14557 (regen-ulps): Likewise.
14558 * math/README.libm-test: Update references to gen-libm-test.pl.
14559 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
14560 referencing gen-libm-test.pl.
14561 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
14562 * math/libm-test-support.c: Likewise.
14563 * math/libm-test-support.h: Likewise.
14564 * sysdeps/generic/libm-test-ulps: Likewise.
14566 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
14568 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
14571 2018-08-08 Joseph Myers <joseph@codesourcery.com>
14573 * math/libm-test-nextdown.inc (do_test): Move comment to ....
14574 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
14576 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14578 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
14580 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
14581 __pthread_setspecific): Add hidden proto.
14582 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
14583 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
14585 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14587 * benchtests/bench-string.h (buf1_size, buf2_size): New
14589 (init_sizes): New function.
14590 (test_init): Use it.
14591 (alloc_buf, exit_error): New functions.
14592 (alloc_bufs): Use ALLOC_BUF.
14593 (realloc_bufs): Remove.
14594 * benchtests/bench-memcmp.c (do_test): Adjust.
14595 * benchtests/bench-memset-large.c (do_test): Likewise.
14596 * benchtests/bench-memset-walk.c (do_test): Likewise.
14597 * benchtests/bench-memset.c (do_test): Likewise.
14598 * benchtests/bench-strncmp.c (do_test): Likewise.
14600 2018-08-06 Andreas Schwab <schwab@suse.de>
14602 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14603 of CONST_THREAD_AREA.
14605 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14607 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14608 (STATE_SAVE_MASK): Likewise.
14609 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14610 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14611 (STATE_SAVE_MASK): Likewise.
14612 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14613 instead of <cpu-features.h>.
14615 2018-08-03 DJ Delorie <dj@redhat.com>
14617 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
14618 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
14620 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14622 2018-08-03 Joseph Myers <joseph@codesourcery.com>
14624 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14625 after TEST_* calls.
14626 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14627 * math/libm-test-logb.inc (logb_test_data): Likewise.
14629 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14631 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14632 * string/strstr.c (AVAILABLE): Likewise.
14634 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14636 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14638 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14639 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14640 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14642 2018-08-03 Carlos O'Donell <carlos@redhat.com>
14644 * po/be.po: Update translation.
14646 * po/be.po: Update translation.
14648 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14650 * sysdeps/x86/cpu-features-offsets.sym
14651 (rtld_global_ro_offsetof): Removed.
14652 (CPU_FEATURES_SIZE): Likewise.
14653 (CPUID_OFFSET): Likewise.
14654 (CPUID_SIZE): Likewise.
14655 (CPUID_EAX_OFFSET): Likewise.
14656 (CPUID_EBX_OFFSET): Likewise.
14657 (CPUID_ECX_OFFSET): Likewise.
14658 (CPUID_EDX_OFFSET): Likewise.
14659 (FAMILY_OFFSET): Likewise.
14660 (MODEL_OFFSET): Likewise.
14661 (FEATURE_OFFSET): Likewise.
14662 (FEATURE_SIZ): Likewise.
14663 (COMMON_CPUID_INDEX_1): Likewise.
14664 (COMMON_CPUID_INDEX_7): Likewise.
14665 (FEATURE_INDEX_1): Likewise.
14666 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14668 2018-08-02 Carlos O'Donell <carlos@redhat.com>
14670 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14671 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14672 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14673 (install-locales): Depend on install-locale-archive.
14674 (install-locale-archive): Define.
14675 (install-locale-files): Define.
14676 (build-one-locale): Define macro.
14677 * manual/install.texi (Running make install): Document.
14678 * manual/INSTALL: Regenerate.
14680 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14682 * benchtests/scripts/compare_strings.py: Import traceback.
14683 (parse_file): Pretty-print error.
14685 * NEWS: Mention the change.
14686 * elf/dl-tunables.list: Rename tune namespace to cpu.
14687 * sysdeps/powerpc/dl-tunables.list: Likewise.
14688 * sysdeps/x86/dl-tunables.list: Likewise.
14689 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14691 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14692 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14693 * manual/README.tunables: Likewise.
14694 * manual/tunables.texi: Likewise.
14695 * sysdeps/powerpc/cpu-features.c: Likewise.
14696 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14697 (init_cpu_features): Likewise.
14698 * sysdeps/x86/cpu-features.c: Likewise.
14699 * sysdeps/x86/cpu-features.h: Likewise.
14700 * sysdeps/x86/cpu-tunables.c: Likewise.
14701 * sysdeps/x86_64/Makefile: Likewise.
14702 * sysdeps/x86/dl-cet.c: Likewise.
14704 2018-08-02 Joseph Myers <joseph@codesourcery.com>
14707 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14708 [__mips_hard_float].
14709 (FE_UNDERFLOW): Likewise.
14710 (FE_OVERFLOW): Likewise.
14711 (FE_DIVBYZERO): Likewise.
14712 (FE_INVALID): Likewise.
14713 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14714 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14715 (FE_UPWARD): Likewise.
14716 (FE_DOWNWARD): Likewise.
14717 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14718 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14719 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14720 [__mips_hard_float].
14721 (FP_ROUNDMODE): Likewise.
14722 (FP_RND_NEAREST): Likewise.
14723 (FP_RND_ZERO): Likewise.
14724 (FP_RND_PINF): Likewise.
14725 (FP_RND_MINF): Likewise.
14726 (FP_EX_INVALID): Likewise.
14727 (FP_EX_OVERFLOW): Likewise.
14728 (FP_EX_UNDERFLOW): Likewise.
14729 (FP_EX_DIVZERO): Likewise.
14730 (FP_EX_INEXACT): Likewise.
14731 (FP_INIT_ROUNDMODE): Likewise.
14732 * sysdeps/mips/nofpu/fesetenv.c: New file.
14733 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14735 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14737 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14738 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14739 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14740 conditional on [FE_UPWARD].
14742 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14744 regex: fix memory leak in Gnulib
14745 Problem and fix reported by Assaf Gordon in:
14746 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14747 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14748 range_ends members too, as they are defined in 'struct
14749 re_charset_t' even if not _LIBC. This affects only Gnulib.
14751 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14753 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14755 (get_common_indices): This.
14756 (init_cpu_features): Updated.
14758 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14760 * sysdeps/generic/math-tests-snan-payload.h: New file.
14761 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14762 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14763 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14764 * sysdeps/generic/math-tests.h: Include
14765 <math-tests-snan-payload.h>.
14766 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14767 * sysdeps/hppa/math-tests.h: Remove file.
14768 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14769 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14770 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14773 * sysdeps/generic/math-tests-snan-cast.h: New file.
14774 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14775 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14776 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14777 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14779 2018-08-01 Carlos O'Donell <carlos@redhat.com>
14781 * version.h (RELEASE): Set to "development".
14782 (VERSION): Set to "2.28.9000".
14783 * NEWS (2.29): New section.
14785 * version.h (RELEASE): Set to "stable".
14786 (VERSION): Set to "2.28".
14787 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14788 * NEWS: Add the list of bugs fixed in 2.28.
14790 * po/ca.po: Update to latest version.
14791 * po/cs.po: Likewise
14792 * po/da.po: Likewise
14793 * po/el.po: Likewise
14794 * po/eo.po: Likewise
14795 * po/es.po: Likewise
14796 * po/fi.po: Likewise
14797 * po/fr.po: Likewise
14798 * po/gl.po: Likewise
14799 * po/hu.po: Likewise
14800 * po/ia.po: Likewise
14801 * po/id.po: Likewise
14802 * po/it.po: Likewise
14803 * po/ja.po: Likewise
14804 * po/ko.po: Likewise
14805 * po/lt.po: Likewise
14806 * po/nb.po: Likewise
14807 * po/nl.po: Likewise
14808 * po/pt_BR.po: Likewise
14809 * po/ru.po: Likewise
14810 * po/rw.po: Likewise
14811 * po/sk.po: Likewise
14812 * po/sl.po: Likewise
14813 * po/tr.po: Likewise
14814 * po/zh_CN.po: Likewise
14815 * po/zh_TW.po: Likewise
14817 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14819 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14821 (init): ... before initializing libpthread.
14823 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14824 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14825 (__mach_setup_tls): ... new function.
14826 (mach_setup_tls): New alias.
14827 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14828 __mach_setup_thread.
14829 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14830 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14831 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14832 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14834 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14836 * manual/install.texi: Update versions.
14837 * INSTALL: Regenerate.
14839 * manual/contrib.texi (Contributors): Update contributions.
14841 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14843 * po/be.po: Update translations.
14845 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14847 * sysdeps/sh/libm-test-ulps: Update.
14849 2018-07-30 Carlos O'Donell <carlos@redhat.com>
14851 * po/bg.po: Update translations.
14852 * po/de.po: Likewise.
14853 * po/hr.po: Likewise.
14854 * po/pt_BR.po: Likewise.
14855 * po/sv.po: Likewise.
14856 * po/vi.po: Likewise.
14858 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14861 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14862 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14863 (CFLAGS-tst-cet-property-1.o): New.
14864 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14865 ($(objpfx)tst-cet-property-2): Likewise.
14866 ($(objpfx)tst-cet-property-2.out): Likewise.
14867 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14868 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14869 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14870 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14871 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14873 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14876 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14878 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14880 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14881 __sbrk): Do not set attribute_hidden.
14882 * sysdeps/mach/hurd/not-errno.h: New file.
14883 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14884 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14886 2018-07-27 Carlos O'Donell <carlos@redhat.com>
14888 * po/uk.po: Update translations.
14889 * po/cs.po: Likewise.
14890 * po/pl.po: Likewise.
14892 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14894 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14895 parse beyond the note end.
14897 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14899 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14900 kernel does not support OFD locks.
14901 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14903 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14905 * sysdeps/mach/hurd/Versions (libc): Make __access and
14906 __access_noerrno external so they can override the ld symbols.
14907 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14908 __writev, __open64, __access_noerrno extern so they can be overrided.
14909 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14910 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14912 2018-07-26 Carlos O'Donell <carlos@redhat.com>
14914 * po/libc.pot: Regenerate.
14916 2018-07-26 Joseph Myers <joseph@codesourcery.com>
14918 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14920 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14923 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14925 (init_cpu_features): Call get_extended_indices for both Intel
14927 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14928 Remove "for AMD" comment.
14930 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14933 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14934 COMMON_CPUID_INDEX_80000001.
14936 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
14938 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14939 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14941 2018-07-26 Florian Weimer <fweimer@redhat.com>
14943 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14944 aliases for symbols not in the implementation namespace.
14946 2018-07-25 Carlos O'Donell <carlos@redhat.com>
14949 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14950 lowercase in LATIN script.
14951 * localedata/Makefile (test-input): Add en_US.UTF-8.
14952 * localedata/en_US.UTF-8.in: New file.
14953 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14954 and restore old tests.
14955 * posix/tst-regexloc.c (do_test): Add back range expression test.
14957 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14959 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14961 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14963 * nptl/threads.h: Move to ...
14964 * sysdeps/nptl/threads.h: ... here.
14965 * sysdeps/hurd/stdc-predef.h: New file.
14967 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14969 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14970 tst-cet-setcontext-1 if CET is enabled.
14971 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14972 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14974 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14976 * include/threads.h: Move to ...
14977 * sysdeps/nptl/threads.h: ... here.
14978 * sysdeps/htl/threads.h: New file.
14979 * conform/Makefile (linknamespace-libs-ISO11): Use
14980 static-thread-library instead of linking libpthread.
14981 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14983 2018-07-25 Florian Weimer <fweimer@redhat.com>
14985 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14986 nanoseconds into seconds.
14987 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14988 (do_test): Likewise.
14989 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14990 (do_test): Likewise. Avoid nanosecond overflow and spurious
14991 timeouts due to system load.
14992 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14993 (child_wait): Increment it.
14994 (do_test): Wait as long as necessary until all expected threads
14997 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14998 H.J. Lu <hongjiu.lu@intel.com>
15000 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
15002 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
15003 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
15004 (__push___start_context): New.
15005 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
15007 (__getcontext): Record the current shadow stack base. Save the
15008 caller's shadow stack pointer and base.
15009 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
15010 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
15011 (__push___start_context): New prototype.
15012 (__makecontext): Call __push___start_context to allocate a new
15013 shadow stack, push __start_context onto the new stack as well
15014 as the new shadow stack.
15015 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
15017 (__setcontext): Restore the target shadow stack.
15018 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
15020 (__swapcontext): Record the current shadow stack base. Save
15021 the caller's shadow stack pointer and base. Restore the target
15023 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15024 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
15025 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
15027 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15029 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
15030 tst-setcontext8 and tst-setcontext9.
15031 * stdlib/tst-setcontext6.c: New file.
15032 * stdlib/tst-setcontext7.c: Likewise.
15033 * stdlib/tst-setcontext8.c: Likewise.
15034 * stdlib/tst-setcontext9.c: Likewise.
15036 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15038 * stdlib/Makefile ((tests): Add tst-setcontext5.
15039 * stdlib/tst-setcontext5.c: New file.
15041 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15043 * stdlib/Makefile (tests): Add tst-setcontext4.
15044 * stdlib/tst-setcontext4.c: New file.
15046 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15048 * stdlib/Makefile (tests): Add tst-swapcontext1.
15049 * stdlib/tst-swapcontext1.c: New test.
15051 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15053 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
15054 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
15055 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
15056 and tst-cet-legacy-4c.
15057 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
15058 and tst-cet-legacy-mod-4.
15059 (CFLAGS-tst-cet-legacy-2.c): New.
15060 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
15061 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
15062 (CFLAGS-tst-cet-legacy-3.c): Likewise.
15063 (CFLAGS-tst-cet-legacy-4.c): Likewise.
15064 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
15065 ($(objpfx)tst-cet-legacy-1): Likewise.
15066 ($(objpfx)tst-cet-legacy-2): Likewise.
15067 ($(objpfx)tst-cet-legacy-2.out): Likewise.
15068 ($(objpfx)tst-cet-legacy-2a): Likewise.
15069 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
15070 ($(objpfx)tst-cet-legacy-4): Likewise.
15071 ($(objpfx)tst-cet-legacy-4.out): Likewise.
15072 ($(objpfx)tst-cet-legacy-4a): Likewise.
15073 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
15074 (tst-cet-legacy-4a-ENV): Likewise.
15075 ($(objpfx)tst-cet-legacy-4b): Likewise.
15076 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
15077 (tst-cet-legacy-4b-ENV): Likewise.
15078 ($(objpfx)tst-cet-legacy-4c): Likewise.
15079 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
15080 (tst-cet-legacy-4c-ENV): Likewise.
15081 * sysdeps/x86/tst-cet-legacy-1.c: New file.
15082 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
15083 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
15084 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
15085 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
15086 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
15087 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
15088 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
15089 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
15090 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
15091 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
15093 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15095 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
15096 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
15098 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
15099 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
15102 2018-07-25 Andreas Schwab <schwab@suse.de>
15105 * locale/weightwc.h (findidx): Handle the case where usrc is a
15106 prefix of cp but one character too short.
15108 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15110 * NEWS: Add ISO C threads addition.
15112 2018-07-24 Florian Weimer <fweimer@redhat.com>
15114 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15115 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
15116 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
15119 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15121 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
15122 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
15123 <sys/prctl.h> and <asm/prctl.h>.
15124 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
15125 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
15127 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
15128 ARCH_CET_LEGACY_BITMAP.
15129 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
15130 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
15131 * sysdeps/x86/libc-start.c: Include <startup.h>.
15133 2018-07-24 Florian Weimer <fweimer@redhat.com>
15135 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
15136 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
15138 2018-07-24 Rical Jasan <rj@2c3t.io>
15139 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15140 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
15143 * manual/debug.texi: Update adjacent chapter name.
15144 * manual/probes.texi: Likewise.
15145 * manual/threads.texi (ISO C Threads): New section.
15146 (POSIX Threads): Convert to a section.
15148 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15149 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
15152 * nptl/Makefile (tests): Add new test files.
15153 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
15154 * nptl/tst-cnd-basic.c: Likewise.
15155 * nptl/tst-cnd-broadcast.c: Likewise.
15156 * nptl/tst-cnd-timedwait.c: Likewise.
15157 * nptl/tst-mtx-basic.c: Likewise.
15158 * nptl/tst-mtx-recursive.c: Likewise.
15159 * nptl/tst-mtx-timedlock.c: Likewise.
15160 * nptl/tst-mtx-trylock.c: Likewise.
15161 * nptl/tst-thrd-basic.c: Likewise.
15162 * nptl/tst-thrd-detach.c: Likewise.
15163 * nptl/tst-thrd-sleep.c: Likewise.
15164 * nptl/tst-tss-basic.c: Likewise.
15166 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15169 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15170 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
15172 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15173 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15174 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15175 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15176 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15177 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15178 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15179 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15180 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15181 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15182 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15183 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
15190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15191 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15192 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15193 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15194 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15195 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15196 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15197 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15198 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15199 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
15200 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
15201 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
15202 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
15203 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
15205 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15206 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15207 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15208 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15209 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15210 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15211 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15212 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15213 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15214 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15215 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15216 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15223 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15224 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15225 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15226 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15227 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15228 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15229 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15230 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15233 * conform/data/threads.h-data (thread_local): New macro.
15234 (TSS_DTOR_ITERATIONS): Likewise.
15236 (tss_dtor_t): Likewise.
15237 (tss_create): New function.
15238 (tss_get): Likewise.
15239 (tss_set): Likewise.
15240 (tss_delete): Likewise.
15241 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
15242 tss_get, and tss_set objects.
15243 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
15244 * nptl/tss_create.c: New file.
15245 * nptl/tss_delete.c: Likewise.
15246 * nptl/tss_get.c: Likewise.
15247 * nptl/tss_set.c: Likewise.
15248 * sysdeps/nptl/threads.h (thread_local): New define.
15249 (TSS_DTOR_ITERATIONS): Likewise.
15250 (tss_t): New typedef.
15251 (tss_dtor_t): Likewise.
15252 (tss_create): New prototype.
15253 (tss_get): Likewise.
15254 (tss_set): Likewise.
15255 (tss_delete): Likewise.
15258 * conform/data/threads.h-data (cnd_t): New type.
15259 (cnd_init): New function.
15260 (cnd_signal): Likewise.
15261 (cnd_broadcast): Likewise.
15262 (cnd_wait): Likewise.
15263 (cnd_timedwait): Likewise.
15264 (cnd_destroy): Likewise.
15265 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
15266 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
15268 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
15269 * nptl/cnd_broadcast.c: New file.
15270 * nptl/cnd_destroy.c: Likewise.
15271 * nptl/cnd_init.c: Likewise.
15272 * nptl/cnd_signal.c: Likewise.
15273 * nptl/cnd_timedwait.c: Likewise.
15274 * nptl/cnd_wait.c: Likewise.
15275 * sysdeps/nptl/threads.h (cnd_t): New type.
15276 (cnd_init): New prototype.
15277 (cnd_signa): Likewise.
15278 (cnd_broadcast): Likewise.
15279 (cnd_wait): Likewise.
15280 (cnd_timedwait): Likewise.
15281 (cnd_destroy): Likewise.
15284 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
15285 (once_flag): New type.
15286 (call_once): New function.
15287 * nptl/Makefile (libpthread-routines): Add call_once object.
15288 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
15289 * nptl/call_once.c: New file.
15290 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
15291 (once_flag): New type.
15292 (call_once): New prototype.
15295 * conform/data/threads.h-data (mtx_plain): New constant.
15296 (mtx_recursive): Likewise.
15297 (mtx_timed): Likewise.
15299 (mtx_init): New function.
15300 (mtx_lock): Likewise.
15301 (mtx_timedlock): Likewise.
15302 (mtx_trylock): Likewise.
15303 (mtx_unlock): Likewise.
15304 (mtx_destroy): Likewise.
15305 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
15306 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
15307 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
15308 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
15309 * nptl/mtx_destroy.c: New file.
15310 * nptl/mtx_init.c: Likewise.
15311 * nptl/mtx_lock.c: Likewise.
15312 * nptl/mtx_timedlock.c: Likewise.
15313 * nptl/mtx_trylock.c: Likewise.
15314 * nptl/mtx_unlock.c: Likewise.
15315 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
15316 (mtx_recursive): Likewise.
15317 (mtx_timed): Likewise.
15319 (mtx_init): New prototype.
15320 (mtx_lock): Likewise.
15321 (mtx_timedlock): Likewise.
15322 (mtx_trylock): Likewise.
15323 (mtx_unlock): Likewise.
15324 (mtx_destroy): Likewise.
15327 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
15328 (linknamespace-libs-ISO11): Add libpthread.a.
15329 * conform/data/threads.h-data: New file: add C11 thrd_* types and
15331 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
15332 * nptl/Makefile (headers): Add threads.h.
15333 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
15334 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
15336 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
15337 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
15338 thrd_join, thrd_sleep, and thrd_yield symbols.
15339 * nptl/descr.h (struct pthread): Add c11 field.
15340 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
15341 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
15342 routine with expected function prototype.
15343 (__pthread_create_2_1): Add C11 threads check based on attribute
15345 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
15346 * nptl/thrd_create.c: New file.
15347 * nptl/thrd_current.c: Likewise.
15348 * nptl/thrd_detach.c: Likewise.
15349 * nptl/thrd_equal.c: Likewise.
15350 * nptl/thrd_exit.c: Likewise.
15351 * nptl/thrd_join.c: Likewise.
15352 * nptl/thrd_priv.h: Likewise.
15353 * nptl/thrd_sleep.c: Likewise.
15354 * nptl/thrd_yield.c: Likewise.
15355 * include/threads.h: Likewise.
15357 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15359 * bits/indirect-return.h: New file.
15360 * misc/sys/cdefs.h (__glibc_has_attribute): New.
15361 * sysdeps/x86/bits/indirect-return.h: Likewise.
15362 * stdlib/Makefile (headers): Add bits/indirect-return.h.
15363 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
15364 (swapcontext): Add __INDIRECT_RETURN.
15365 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
15366 (prepare_test_buffer): Use it.
15368 2018-07-24 Andreas Schwab <schwab@suse.de>
15371 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
15372 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
15374 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15376 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
15377 Redefine if shadow stack is enabled.
15378 (SYSCALL_ERROR_LABEL): Likewise.
15379 (__vfork): Pop shadow stack and jump back to to caller directly
15380 when shadow stack is in use.
15381 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
15382 Redefine if shadow stack is enabled.
15383 (SYSCALL_ERROR_LABEL): Likewise.
15384 (__vfork): Pop shadow stack and jump back to to caller directly
15385 when shadow stack is in use.
15387 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15389 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
15392 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
15395 2018-07-20 Joseph Myers <joseph@codesourcery.com>
15397 * scripts/build-many-glibcs.py (Context.checkout): Default
15398 binutils version to 2.31 branch.
15400 2018-07-20 Zong Li <zong@andestech.com>
15402 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
15403 URL of gcc's tarball.
15405 2018-07-20 Florian Weimer <fweimer@redhat.com>
15408 * posix/regcomp.c (build_equiv_class): When comparing weights, do
15409 not compare an extra byte after the end of the weights.
15411 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15413 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
15415 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
15417 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
15418 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
15419 * scripts/check-execstack.awk: Consider `xfail' variable containing a
15420 list of libraries whose stack executability is expected.
15421 * elf/Makefile ($(objpfx)check-execstack.out): Pass
15422 $(check-execstack-xfail) to check-execstack.awk through `xfail'
15424 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
15425 libc.so libpthread.so.
15427 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
15429 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
15431 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
15433 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
15435 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
15437 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15439 * benchtests/scripts/compare_bench.py (__main__): use the argparse
15440 library to improve command line parsing.
15441 (__main__): make schema file as optional parameter (--schema),
15442 defaulting to benchtests/scripts/benchout.schema.json.
15443 (main): move out of the parsing stuff to __main_ and leave it
15444 only as caller of main comparison functions.
15446 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
15448 * NEWS: Add a note for Intel CET status.
15449 * manual/install.texi: Likewise.
15450 * INSTALL: Regenerated.
15452 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
15455 * localedata/locales/oc_FR (mon): Rename to...
15456 (alt_mon): This, then update October (typo fix).
15457 (mon): New content (genitive case, month names preceded by
15461 * localedata/locales/oc_FR (abday): Update all items.
15462 (day): Update Wednesday and Saturday (typo fixes).
15463 (abmon): Update all items, except May.
15464 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
15465 (LC_IDENTIFICATION): Bump the revision number and date.
15466 Keep the "category" entries in alphabetic order.
15467 (LC_ADDRESS): Remove no longer needed comment.
15468 (LC_COLLATE): Use “copy "ca_ES"”.
15469 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
15472 2018-07-18 Joseph Myers <joseph@codesourcery.com>
15474 * grp/tst_fgetgrent.c: Include <unistd.h>.
15475 (main): Use mkstemp instead of tmpnam.
15476 * io/test-utime.c (main): Likewise.
15477 * posix/annexc.c (macrofile): Change to modifiable array.
15478 (main): Remove macrofile here.
15479 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15481 (check_header): Do not remove macrofile here.
15482 * posix/bug-getopt1.c: Include <stdlib.h>.
15483 (do_test): Use mkstemp instead of tmpnam.
15484 * posix/bug-getopt2.c: Include <stdlib.h>.
15485 (do_test): Use mkstemp instead of tmpnam.
15486 * posix/bug-getopt3.c: Include <stdlib.h>.
15487 (do_test): Use mkstemp instead of tmpnam.
15488 * posix/bug-getopt4.c: Include <stdlib.h>.
15489 (do_test): Use mkstemp instead of tmpnam.
15490 * posix/bug-getopt5.c: Include <stdlib.h>.
15491 (do_test): Use mkstemp instead of tmpnam.
15492 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
15493 (main): Use mkstemp instead of tmpnam.
15494 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
15495 (main): Use mkstemp instead of tmpnam.
15496 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
15497 (main): use mkstemp instead of tmpnam.
15498 * stdlib/isomac.c (macrofile): Change to modifiable array.
15499 (main): Remove macrofile here.
15500 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15502 (check_header): Do not remove macrofile here.
15504 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15506 * manual/tunables.texi: Document glibc.tune.x86_ibt and
15507 glibc.tune.x86_shstk.
15509 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15511 * NEWS: Mention --enable-cet.
15512 * manual/install.texi: Document --enable-cet.
15513 * INSTALL: Regenerated.
15515 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15517 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
15518 Add _CET_NOTRACK before indirect jump to jump table.
15520 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15522 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
15523 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15526 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15528 * sysdeps/i386/i686/multiarch/strcat-sse2.S
15529 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15532 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15534 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
15535 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15538 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15540 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
15541 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15544 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15546 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
15547 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15549 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
15551 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15553 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
15554 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15557 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15559 * sysdeps/i386/i686/multiarch/memset-sse2.S
15560 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15563 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15565 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
15566 indirect jump to jump table.
15568 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15570 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
15571 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15573 (MEMCPY): Likewise.
15575 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15577 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
15578 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15580 (MEMCPY): Likewise.
15582 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15584 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15585 _CET_NOTRACK before indirect jump to jump table.
15587 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15589 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
15590 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15593 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15595 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
15596 indirect jump to jump table.
15598 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15601 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15602 (LOCALES): Likewise.
15603 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15604 * localedata/locales/sah_RU: New file.
15605 * localedata/sah_RU.UTF-8.in: New file.
15607 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15609 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15611 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15612 _CET_ENDBR to indirect jump targets and adjust jump destination
15614 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15616 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15617 _CET_ENDBR to indirect jump targets and adjust jump destination
15619 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15621 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15622 _CET_ENDBR to indirect jump targets and adjust jump destination
15625 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15627 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15630 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15632 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15634 (_dl_tlsdesc_undefweak): Likewise.
15635 (_dl_tlsdesc_dynamic): Likewise.
15636 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15637 (_dl_tlsdesc_resolve_rel): Likewise.
15638 (_dl_tlsdesc_resolve_rela): Likewise.
15639 (_dl_tlsdesc_resolve_hold): Likewise.
15640 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15641 (_dl_tlsdesc_undefweak): Likewise.
15642 (_dl_tlsdesc_dynamic): Likewise.
15643 (_dl_tlsdesc_resolve_rela): Likewise.
15644 (_dl_tlsdesc_resolve_hold): Likewise.
15646 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15648 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15650 * sysdeps/x86_64/crti.S (_init): Likewise.
15653 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
15656 * localedata/locales/os_RU (mon): Rename to...
15658 (mon): Import from CLDR (genitive case).
15660 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15662 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15663 cet-tunables.h> when CET is enabled.
15665 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15668 * configure.ac: Add --enable-cet.
15669 * configure: Regenerated.
15670 * elf/Makefille (all-built-dso): Add a comment.
15671 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15672 Include <dl-prop.h>.
15673 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15675 * elf/dl-open.c: Include <dl-prop.h>.
15676 (dl_open_worker): Call _dl_open_check.
15677 * elf/rtld.c: Include <dl-prop.h>.
15678 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15680 * sysdeps/generic/dl-prop.h: New file.
15681 * sysdeps/i386/dl-cet.c: Likewise.
15682 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15683 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15684 * sysdeps/x86/cet-tunables.h: Likewise.
15685 * sysdeps/x86/check-cet.awk: Likewise.
15686 * sysdeps/x86/configure: Likewise.
15687 * sysdeps/x86/configure.ac: Likewise.
15688 * sysdeps/x86/dl-cet.c: Likewise.
15689 * sysdeps/x86/dl-procruntime.c: Likewise.
15690 * sysdeps/x86/dl-prop.h: Likewise.
15691 * sysdeps/x86/libc-start.h: Likewise.
15692 * sysdeps/x86/link_map.h: Likewise.
15693 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15695 (_dl_runtime_profile): Likewise.
15696 (_dl_runtime_resolve_shstk): New.
15697 (_dl_runtime_profile_shstk): Likewise.
15698 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15700 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15701 (CFLAGS-.os): Likewise.
15702 (CFLAGS-.op): Likewise.
15703 (CFLAGS-.oS): Likewise.
15704 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15706 (tests-special): Add $(objpfx)check-cet.out.
15707 (cet-built-dso): New.
15708 (+$(cet-built-dso:=.note)): Likewise.
15709 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15710 ($(objpfx)check-cet.out): New.
15711 (generated): Add check-cet.out.
15712 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15714 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15715 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15716 (init_cpu_features): Call get_cet_status to check CET status
15717 and update dl_x86_feature_1 with CET status. Call
15718 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15719 (set_x86_shstk). Disable and lock CET in libc.a.
15720 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15721 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15722 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15723 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15724 (_CET_ENDBR): Define if not defined.
15725 (ENTRY): Add _CET_ENDBR.
15726 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15728 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15730 (_dl_runtime_profile): Likewise.
15732 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15735 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15736 restore r2 on longjmp.
15737 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15739 Added rules to build test tst-setjmp-bug21895-static.
15740 Added module setjmp-bug21895 and rules to build a shared object from it.
15741 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15742 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15744 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15746 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15747 * benchtests/bench-strstr.c: Likewise.
15748 * string/memmem.c (FASTSEARCH): Define.
15749 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15750 Add support for FASTSEARCH.
15751 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15752 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15753 (FASTSEARCH): Define.
15754 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15755 * string/test-strstr.c: Likewise.
15757 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15759 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15760 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15762 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15763 H.J. Lu <hongjiu.lu@intel.com>
15765 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15766 (__longjmp): Restore shadow stack pointer if shadow stack is
15767 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15768 isn't defined for __longjmp_cancel.
15769 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15770 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15771 and SHADOW_STACK_POINTER_OFFSET is defined.
15772 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15773 (setjmp): Save shadow stack pointer if shadow stack is enabled
15774 and SHADOW_STACK_POINTER_OFFSET is defined.
15775 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15776 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15777 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15778 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15780 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15781 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15782 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15783 Remove jmp_buf-ssp.sym.
15784 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15786 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15787 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15788 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15790 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15791 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15792 (__longjmp): Restore shadow stack pointer if shadow stack is
15793 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15794 isn't defined for __longjmp_cancel.
15795 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15796 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15797 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15799 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15802 * nptl/pthread_create.c: Include <tls-setup.h>.
15803 (__pthread_create_2_1): Call tls_setup_tcbhead.
15804 * sysdeps/generic/tls-setup.h: New file.
15805 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15806 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15807 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15809 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15811 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15812 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15813 (X86_FEATURE_1_SHSTK): Likewise.
15814 (CET_ENABLED): Likewise.
15815 (IBT_ENABLED): Likewise.
15816 (SHSTK_ENABLED): Likewise.
15818 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
15821 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15822 (LOCALES): Likewise.
15823 * localedata/dsb_DE.UTF-8.in: New file.
15824 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15826 2018-07-12 Florian Weimer <fweimer@redhat.com>
15828 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15829 __mprotect, not mprotect.
15831 2018-07-11 Florian Weimer <fweimer@redhat.com>
15833 * io/Makefile (headers): Add bits/statx.h.
15835 2018-07-10 Mike FABIAN <mfabian@redhat.com>
15837 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15838 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15840 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15841 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15844 2018-07-10 Florian Weimer <fweimer@redhat.com>
15846 * io/Makefile (routines): Add statx.
15847 (tests-internal): Add tst-statx.
15848 * io/Versions (GLIBC_2.28): Export statx.
15849 * io/bits/statx.h: New file.
15850 * io/sys/stat.h [__USE_GNU]: Include it.
15851 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15852 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15854 * io/statx.c: New file.
15855 * io/statx_generic.: Likewise.
15856 * io/tst-statx.: Likewise.
15857 * include/bits/statx.h: Likewise.
15858 * sysdeps/unix/sysv/linux/kernel-features.h
15859 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15860 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15861 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15862 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15864 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15865 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15866 * sysdeps/unix/sysv/linux/statx.c: New file.
15867 * manual/filesys.texi: Note that statx is undocumented.
15868 * sysdeps/**/libc*.abilist: Update.
15870 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15872 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15873 a kernel issue which lead to test failure in some cases.
15875 2018-07-10 Florian Weimer <fweimer@redhat.com>
15878 * posix/regexec.c (check_node_accept_bytes): When comparing
15879 weights, do not compare an extra byte after the end of the
15882 2018-07-10 Florian Weimer <fweimer@redhat.com>
15884 * libio/readline.c: Fix copyright year.
15885 * libio/tst-readline.c Likewise.
15886 * nss/tst-nss-files-hosts-getent.c: Likewise.
15888 2018-07-06 Florian Weimer <fweimer@redhat.com>
15891 * nss/nss_files/files-XXX.c (internal_getent): Use
15892 __libc_readline_unlocked. Seek back to the start of the line if
15893 parsing failes with ERANGE.
15894 (get_contents_ret, get_contents): Remove.
15895 * nss/tst-nss-files-hosts-getent.c: New file.
15896 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15897 (tst-nss-files-hosts-getent): Link with -ldl.
15899 2018-07-06 Florian Weimer <fweimer@redhat.com>
15901 * include/stdio.h (__libc_readline_unlocked): Declare.
15902 (__ftello64, __fseeko64): Declare aliases.
15903 * libio/readline.c: New file.
15904 * libio/tst-readline.c: Likewise.
15905 (routines): Add readline.
15906 (tests-internal): Add tst-readlime.
15907 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15908 __libc_readline_unlocked.
15909 * libio/fseeko.c (__fseeko): Rename from fseeko.
15910 (fseeko): Add alias.
15911 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15912 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15913 (fseeko64): Add alias.
15914 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15915 * libio/ftello64.c (__ftello64): Rename from ftello64.
15916 (ftello64): Add alias.
15918 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15920 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15923 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15925 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15926 Use dl_hwcap without masking.
15927 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15928 Remove HWCAP_CPUID.
15930 2018-07-06 Florian Weimer <fweimer@redhat.com>
15932 * conform/conformtest.pl (checknamespace): Escape literal braces
15933 in regular expressions.
15935 2018-07-06 Amit Pawar <amit.pawar@amd.com>
15937 * sysdeps/x86/cpu-features.c (get_common_indeces):
15938 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15939 * sysdeps/x86/cpu-features.c (init_cpu_features):
15940 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15942 2018-07-05 Florian Weimer <fweimer@redhat.com>
15944 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15946 (CFLAGS-elf-init.oS): Likewise.
15948 2018-07-05 Florian Weimer <fweimer@redhat.com>
15949 Carlos O'Donell <carlos@redhat.com>
15951 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15952 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15953 with stack protector enabled because there is no risk of infinite
15956 2018-07-05 Maciej W. Rozycki <macro@mips.com>
15960 * libc-abis (ABSOLUTE): New ABI.
15961 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15962 * NEWS: Mention the new ABI.
15964 2018-07-05 Florian Weimer <fweimer@redhat.com>
15967 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15968 (RENAME_WHITEOUT): Define.
15969 [__USE_GNU] (renameat2): Declare.
15970 * stdio-common/Makefile (routines): Add renameat2.
15971 (tests): Add tst-renameat2.
15972 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15973 * stdio-common/renameat2.c: New file.
15974 * stdio-common/tst-renameat2.c: Likewise.
15975 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15976 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15978 * sysdeps/unix/sysv/linux/kernel-features.h
15979 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15980 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15981 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15982 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15983 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15984 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15985 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15986 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15987 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15988 * include/stdio.h (__renameat): Add alias for renameat.
15989 * stdio-common/renameat.c (__renameat): Rename from renameat.
15990 Add hidden definition and alias.
15991 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15992 * sysdeps/mach/hurd/renameat.c: Likewise.
15993 * sysdeps/**/libc*.abilist: Add renameat2.
15995 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15997 * posix/bug-regex33.c: Fix build after regex sync.
15999 2018-07-04 Carlos O'Donell <carlos@redhat.com>
16002 * localedata/tst-langinfo-setlocale.c: New file.
16003 * localedata/tst-langinfo-setlocale-static.c: New file.
16004 * localedata/tst-langinfo-newlocale.c: New file.
16005 * localedata/tst-langinfo-newlocale-static.c: New file.
16006 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
16007 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
16008 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
16009 (tests-static): Remove tst-langinfo-static. Add
16010 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
16011 (tests-special): Remove $(objpfx)tst-langinfo.out,
16012 $(objpfx)tst-langinfo-static.out. Add
16013 $(objpfx)tst-langinfo-setlocale.out,
16014 $(objpfx)tst-langinfo-newlocale.out,
16015 $(objpfx)tst-langinfo-setlocale-static.out,
16016 $(objpfx)tst-langinfo-newlocale-static.out.
16017 ($(objpfx)tst-langinfo.out): Remove.
16018 ($(objpfx)tst-langinfo-static.out): Remove.
16019 ($(objpfx)tst-langinfo-newlocale.out): New target.
16020 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
16021 (test-xfail-tst-langinfo-newlocale-static): Add.
16022 ($(objpfx)tst-langinfo-setlocale.out): New target.
16023 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
16024 * localedata/tst-langinfo.c: Call test_locale.
16025 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
16028 2018-07-04 Florian Weimer <fweimer@redhat.com>
16030 testrun.sh: Implement --tool=strace, --tool=valgrind
16031 * Makefile (testrun-script): Define variable.
16032 (testrun.sh): Use variable.
16033 * manual/install.texi (Tools for Compilation): make 4.0 or later
16035 * configure.ac: Check for make 4.0 or later.
16036 * INSTALL: Regenerate.
16037 * configure: Likewise.
16039 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16045 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
16046 * posix/PCRE.tests: Remove invalid test.
16047 * posix/bug-regex28.c: Fix expected values for used syntax.
16048 * posix/bug-regex37.c: New file.
16049 * posix/bug-regex38.c: Likewise.
16050 * posix/regcomp.c: Sync with gnulib.
16051 * posix/regex.c: Likewise.
16052 * posix/regex.h: Likewise.
16053 * posix/regex_internal.c: Likewise.
16054 * posix/regex_internal.h: Likewise.
16055 * posix/regexec.c: Likewise.
16057 2018-06-26 Mike FABIAN <mfabian@redhat.com>
16060 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
16061 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
16062 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
16063 * localedata/unicode-gen/PropList.txt: likewise.
16064 * localedata/unicode-gen/UnicodeData.txt: likewise.
16065 * localedata/charmaps/UTF-8: Regenerate.
16066 * localedata/locales/i18n_ctype: likewise.
16067 * localedata/locales/tr_TR: likewise.
16068 * localedata/locales/translit_circle: likewise.
16069 * localedata/locales/translit_cjk_compat: likewise.
16070 * localedata/locales/translit_combining: likewise.
16071 * localedata/locales/translit_compat: likewise.
16072 * localedata/locales/translit_font: likewise.
16073 * localedata/locales/translit_fraction: likewise.
16075 2018-07-03 Florian Weimer <fweimer@redhat.com>
16078 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
16079 * stdio-common/tst-printf.sh: Adjust expected output.
16080 * LICENSES: Update.
16082 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16084 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
16087 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16089 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
16090 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
16091 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
16092 * stdio-common/tst-printfsz-islongdouble.c: New file.
16093 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
16094 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
16095 [subdir == stdio-common] (routines): Add ieee128-printf_size.
16096 [subdir == stdio-common] (tests-internal): Add
16097 test-printf-size-ieee128, and test-printf-size-ibm128.
16098 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
16099 (CFLAGS-test-printf-size-ibm128.c): New variables.
16100 [subdir == stdio-common] (tests-special): Add
16101 $(objpfx)test-printf-size-ieee128.out and
16102 $(objpfx)test-printf-size-ibm128.out.
16103 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
16104 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
16105 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
16106 __printf_sizeieee128.
16107 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
16109 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
16111 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
16114 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
16116 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
16117 (exp2f_inline): Likewise.
16118 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
16119 (__math_uflowf): Likewise.
16120 (__math_may_uflowf): Likewise.
16121 (__math_divzerof): Likewise.
16122 (__math_invalidf): Likewise.
16123 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
16124 (__math_oflowf): Likewise.
16125 (__math_uflowf): Likewise.
16126 (__math_may_uflowf): Likewise.
16127 (__math_divzerof): Likewise.
16128 (__math_invalidf): Likewise.
16130 2018-06-29 DJ Delorie <dj@redhat.com>
16131 Carlos O'Donell <carlos@redhat.com>
16134 * include/libc-symbols.h: Comment the freeres framework.
16135 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
16136 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
16137 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
16138 * dlfcn/dlerror.c: Include libc-symbols.h
16139 (__dlerror_main_freeres): New function.
16140 * dlfcn/dlfreeres.c: New file.
16141 * dlfcn/sdlfreeres.c: New file.
16142 * include/dlfcn.h: Declare __dlerror_main_freeres.
16143 * malloc/set-freeres.c: Declare __libdl_freeres, and
16144 __libpthread_freeres.
16145 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
16146 the releavant libraries are loaded.
16147 * malloc/thread-freeres.c: Add comments.
16148 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
16149 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
16150 * nptl/allocatestack.c (__nptl_free_stacks): New function.
16151 (__free_stacks): Rename to...
16152 (free_stacks): ...this. Mark static.
16153 (queue_stack): Call free_stacks.
16154 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
16155 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
16156 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
16157 ptr_freeres element from struct.
16158 (pthread_functions): Remove .ptr_freeres from struct initializer.
16159 [SHARED] (nptl_freeres): Remove.
16160 * nptl/nptlfreeres.c: New file.
16162 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
16163 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
16165 (__free_stacks): Rename to...
16166 (__nptl_stacks_freeres): ...this.
16167 (__shm_directory_freeres): Declare.
16168 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
16169 (__nptl_unwind_freeres): ...this.
16170 * resolv/res-close.c: Add comment.
16171 * resolv/resolv_conf.c: Include libc-symbols.h.
16172 * string/strerror_l.c: Include libc-symbols.h.
16173 * sunrpc/rpc_thread.c: Include libc-symbols.h.
16174 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
16175 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
16176 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
16178 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16180 * stdlib/tst-strfmon_l.c: Add tests for long double.
16182 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
16185 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
16186 * localedata/locales/dsb_DE: New file.
16188 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
16191 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
16193 (alt_mon): New entry, import from CLDR (nominative case).
16195 2018-06-29 Sylvain Lesage <severo@rednegra.net>
16198 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
16200 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16202 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
16203 Use vector registers.
16205 * sysdeps/aarch64/multiarch/memmove_falkor.S
16206 (__memcpy_falkor): Use vector registers.
16208 2018-06-29 Martin Sebor <msebor@redhat.com>
16210 * manual/stdio.texi (Customizing Printf): Mention interaction
16211 with GCC built-ins.
16213 2018-06-29 Maciej W. Rozycki <macro@mips.com>
16216 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
16217 `st_value' is 0 if `st_shndx' is SHN_ABS.
16218 * elf/tst-absolute-zero.c: New file.
16219 * elf/tst-absolute-zero-lib.c: New file.
16220 * elf/tst-absolute-zero-lib.lds: New file.
16221 * elf/Makefile (tests): Add `tst-absolute-zero'.
16222 (modules-names): Add `tst-absolute-zero-lib'.
16223 (LDLIBS-tst-absolute-zero-lib.so): New variable.
16224 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
16225 ($(objpfx)tst-absolute-zero: New dependency.
16227 2018-06-29 Zack Weinberg <zackw@panix.com>
16229 * configure.ac: New command-line option --disable-crypt.
16230 Force --disable-nss-crypt when --disable-crypt is given, with a
16231 warning if it was explicitly enabled.
16232 * configure: Regenerate.
16233 * config.make.in: New boolean substitution variable $(build-crypt).
16234 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
16235 when $(build-crypt).
16236 * manual/install.texi: Document --disable-crypt.
16237 * INSTALL: Regenerate.
16239 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
16240 which is never set.
16241 * conform/Makefile: Only include libcrypt.a in
16242 linknamespace-libs-xsi and linknamespace-libs-XPG4
16243 when $(build-crypt).
16244 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
16245 USE_CRYPT to 1 when $(build-crypt).
16246 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
16247 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
16248 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
16250 2018-06-29 Zack Weinberg <zackw@panix.com>
16252 * crypt/crypt.h, posix/unistd.h: Update comments and
16253 prototypes for crypt and crypt_r.
16255 * manual/crypt.texi (Cryptographic Functions): New initial
16257 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
16258 (Unpredictable Bytes): Improve initial exposition. Clarify error
16259 behavior of getentropy and getrandom.
16260 * manual/examples/genpass.c: Generate a salt using getentropy
16261 instead of the current time. Use hash $5$ (SHA-2-256).
16262 * manual/examples/testpass.c: Demonstrate validation against
16263 hashes generated with three different one-way functions.
16265 * manual/intro.texi: crypt.texi does not need an overview
16268 * manual/nss.texi, manual/memory.texi, manual/socket.texi
16269 * manual/terminal.texi: Consistently refer to "passphrases"
16270 * instead of "passwords", and to the "user database" instead
16271 * of the "password database".
16272 * manual/users.texi: Similarly. Add notes about how actual
16273 passphrase hashes are now stored in the shadow database.
16274 Remove 20-year-old junk todo note.
16276 2018-06-29 Zack Weinberg <zackw@panix.com>
16278 * manual/crypt.texi: Use a normal top-level @node declaration.
16279 Move most of the introductory text to the 'crypt' section.
16280 Move the example programs below the @deftypefun for 'crypt_r'.
16281 Move the 'getpass' section...
16282 * manual/terminal.texi: ...here.
16284 2018-06-29 Zack Weinberg <zackw@panix.com>
16285 Florian Weimer <fweimer@redhat.com>
16287 * posix/unistd.h: Do not declare encrypt.
16288 (_XOPEN_CRYPT): Remove macro definition.
16289 (crypt): Declare only for _USE_MISC.
16290 * stdlib/stdlib.h: Do not declare setkey.
16291 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
16292 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
16294 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
16295 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
16296 into compat symbols. Don't define initial_perm if it's not
16298 * crypt/cert.c: Link explicitly with the expected versions for
16299 setkey and encrypt. If they are not available at all, mark
16300 the test as unsupported.
16302 * sunrpc/des_crypt.c: Unconditionally block linkage with
16303 cbc_crypt and ecb_crypt for new binaries.
16304 * sunrpc/des_soft.c: Unconditionally block linkage with
16305 des_setparity for new binaries.
16307 * manual/crypt.texi: Remove the entire "DES Encryption"
16308 section. Also remove the paragraph talking about FIPS 140-2
16309 from the introduction.
16310 * manual/string.texi (strfry, memfrob): Revise. Recommend use
16311 of libgcrypt for "real" encryption, not DES.
16312 * manual/conf.texi (Constants for Sysconf): Mention that
16313 _XOPEN_CRYPT is no longer impelemented.
16315 * conform/data/unistd.h-data: Remove crypt function declaration.
16317 2018-06-29 Florian Weimer <fweimer@redhat.com>
16320 * malloc/hooks.c: Update comments on restoring of dumped heaps.
16321 (disallow_malloc_check): Remove variable.
16322 (__malloc_check_init): Adjust.
16323 (malloc_set_state): Update comment.
16324 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
16327 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
16330 * localedata/locales/ast_ES (mon): Rename to...
16332 (mon): Import from CLDR (genitive case).
16334 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
16335 Jakub Sitnicki <jkbs@redhat.com>
16338 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
16339 on NLM_F_DUMP_INTR.
16341 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
16343 * manual/llio.texi: Remove spurious space.
16345 2018-06-28 Florian Weimer <fweimer@redhat.com>
16348 * time/bits/types/struct_timespec.h: Change header inclusion guard to
16351 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16353 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
16354 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
16355 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
16356 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
16357 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
16358 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
16359 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
16361 2018-06-27 Maciej W. Rozycki <macro@mips.com>
16364 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
16365 Copy and null-terminate entries that are not terminated, in
16366 addition to empty ones.
16368 2018-06-27 Florian Weimer <fweimer@redhat.com>
16371 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
16372 (extend_alloca_account): Remove.
16373 * manual/stdio.texi (Variable Arguments Output): Update comment.
16375 2018-06-27 Joseph Myers <joseph@codesourcery.com>
16377 * nptl/sockperf.c: Remove file.
16379 2018-06-27 Florian Weimer <fweimer@redhat.com>
16382 * elf/dl-deps.c (_dl_map_object_deps): Use struct
16383 scratch_buffer instead of extend_alloca.
16385 2018-06-27 Florian Weimer <fweimer@redhat.com>
16388 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
16389 scratch_buffer instead of extend_alloca. Update comments.
16391 2018-06-27 Florian Weimer <fweimer@redhat.com>
16394 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
16395 instead of extend_alloca.
16397 2018-06-26 Joseph Myers <joseph@codesourcery.com>
16400 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
16401 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
16403 * scripts/test-installation.pl: Put temporary files in build
16404 directory, not /tmp.
16405 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
16406 (CFLAGS-bug4.c): Likewise.
16407 (CFLAGS-bug5.c): Likewise.
16408 (CFLAGS-test-fseek.c): Likewise.
16409 (CFLAGS-test-popen.c): Likewise.
16410 (CFLAGS-test_rdwr.c): Likewise.
16411 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
16413 * stdio-common/bug4.c (main): Likewise.
16414 * stdio-common/bug5.c (main): Likewise.
16415 * stdio-common/test-fseek.c (TESTFILE): Likewise.
16416 * stdio-common/test-popen.c (do_test): Likewise.
16417 * stdio-common/test_rdwr.c (main): Likewise.
16419 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
16421 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
16422 (sem_open): Set sem.newsem.pad to zero for valgrind.
16424 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16427 * NEWS: Mention fcntl64 addition.
16428 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
16429 * login/utmp_file.c: Likewise.
16430 * sysdeps/posix/fdopendir.c: Likewise.
16431 * sysdeps/posix/opendir.c: Likewise.
16432 * sysdeps/unix/pt-fcntl.c: Likewise.
16433 * include/fcntl.h (__libc_fcntl64, __fcntl64,
16434 __fcntl64_nocancel_adjusted): New prototype.
16435 (__fcntl_nocancel_adjusted): Remove prototype.
16436 * io/Makefile (routines): Add fcntl64.
16437 (CFLAGS-fcntl64.c): New rule.
16438 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
16439 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
16440 * io/fcntl.h (fcntl64): Add prototype and redirect if
16441 __USE_FILE_OFFSET64 is defined.
16442 * io/fcntl64.c: New file.
16443 * manual/llio.text: Add a note for which commands fcntl acts a
16444 cancellation point.
16445 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
16446 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
16447 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
16449 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
16450 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
16452 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
16453 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
16454 to __fcntl64_nocancel.
16455 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
16456 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
16457 to __fcntl64_nocancel.
16458 * sysdeps/generic/not-cancel.h: Likewise.
16459 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
16460 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
16461 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
16462 (fcntl64): New symbol.
16463 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16464 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16465 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16468 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16469 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16470 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16471 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16472 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16473 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
16474 fcntl64): Likewise.
16475 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16476 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
16477 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16478 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16479 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16480 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16481 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16482 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16483 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16488 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16489 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16490 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16492 2018-06-26 Florian Weimer <fweimer@redhat.com>
16494 Run thread shutdown functions in an explicit order.
16495 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
16497 (__libc_thread_freeres): Call thread shutdown functions
16499 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
16500 * include/string.h (__strerror_thread_freeres): Declare.
16501 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
16502 arena_thread_freeres. No longer static. Remove thread shutdown
16504 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
16506 * resolv/res-close.c (__res_thread_freeres): Renamed from
16507 res_thread_freeres. No longer static. Remove thread shutdown
16509 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
16510 * resolv/resolv_conf.c (freeres): Remove incorrect section
16511 attribute and use libc_freeres_fn.
16512 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
16513 strerror_thread_freeres. No longer static. Remove thread
16514 shutdown hook registration.
16515 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
16516 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
16517 shutdown hook registration.
16518 * Makerules (shlib.lds): Do not provide section boundary symbols
16519 for __libc_thread_subfreeres.
16520 * manual/memory.texi (Basic Allocation): Update comment.
16522 2018-06-26 Florian Weimer <fweimer@redhat.com>
16524 Remove always-defined _RPC_THREAD_SAFE_ macro.
16525 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
16526 Do not define _RPC_THREAD_SAFE_.
16527 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
16529 * sunrpc/clnt_perr.c: Likewise.
16530 * sunrpc/clnt_raw.c: Likewise.
16531 * sunrpc/clnt_simp.c: Likewise.
16532 * sunrpc/key_call.c: Likewise.
16533 * sunrpc/rpc_common.c: Likewise.
16534 * sunrpc/rpc_main.c: Likewise.
16535 * sunrpc/rpc_thread.c: Likewise.
16536 * sunrpc/svc.c: Likewise.
16537 * sunrpc/svc_raw.c: Likewise.
16538 * sunrpc/svc_simple.c: Likewise.
16539 * sumrpc/svcauth_des.c: Likewise.
16541 2018-06-26 Florian Weimer <fweimer@redhat.com>
16543 * libio/Makefile (tests-internal): Add tst-vtables,
16544 tst-vtables-interposed.
16545 * libio/tst-vtables.c: New file.
16546 * libio/tst-vtables-common.c: Likewise.
16547 * libio/tst-vtables-interposed.c: Likewise.
16549 2018-06-26 Florian Weimer <fweimer@redhat.com>
16551 * support/support_test_main.c (support_test_main): Only call
16552 setvbuf if not disables.
16553 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
16554 * support/test-driver.h (struct test_config): Add no_setvbuf member.
16556 2018-06-26 Florian Weimer <fweimer@redhat.com>
16559 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
16561 2018-06-25 Florian Weimer <fweimer@redhat.com>
16564 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16565 Use struct scratch_buffer instead of extend_alloca.
16567 2018-06-25 Florian Weimer <fweimer@redhat.com>
16570 * nss/getent.c (initgroups_keys): Use dynarray instead of
16573 2018-06-25 Florian Weimer <fweimer@redhat.com>
16576 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
16577 Use struct scratch_buffer instead of extend_alloca.
16579 2018-06-25 Florian Weimer <fweimer@redhat.com>
16582 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
16583 back to malloc directly, without stack allocations.
16585 2018-06-25 Florian Weimer <fweimer@redhat.com>
16588 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
16591 2018-06-25 Florian Weimer <fweimer@redhat.com>
16594 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
16596 * nscd/hstcache.c (addhstbyX): Likewise.
16597 * nscd/pwdcache.c (addpwbyX): Likewise.
16598 * nscd/servicescache.c (addservbyX): Likewise.
16600 2018-06-25 Florian Weimer <fweimer@redhat.com>
16603 * nscd/connections.c (read_cmdline): New function.
16604 (restart): Use it. Update comment.
16606 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16609 * localedata/locales/csb_PL (mon): Rename to...
16611 (abmon): Rename to...
16612 (ab_alt_mon): This.
16613 (mon): Add with proper genitive forms, copy from Wikipedia.
16616 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16619 * localedata/locales/csb_PL (mon): Fix typos:
16620 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
16621 (yesstr): Add, value is "jo".
16622 (nostr): Add, value is "nié".
16624 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16626 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16627 all log1p and significand functions on m680x0.
16628 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16629 of s_significand.c..
16630 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16631 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16632 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16633 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16634 s_log1p.c and include it..
16636 2018-06-21 Vincent Chen <vincentc@andestech.com>
16638 * elf/elf.h (R_NDS32_NONE): New define.
16639 (R_NDS32_32_RELA): Likewise.
16640 (R_NDS32_COPY): Likewise.
16641 (R_NDS32_GLOB_DAT): Likewise.
16642 (R_NDS32_JUMP_SLOT): Likewise.
16643 (R_NDS32_RELATIVE): Likewise.
16644 (R_NDS32_TLS_TPOFF): Likewise.
16645 (R_NDS32_TLS_DESC): Likewise.
16647 2018-06-21 Mark Wielaard <mark@klomp.org>
16649 * elf/elf.h (R_BPF_MAP_FD): Removed.
16650 (R_BPF_64_64, R_BPF_64_32): New.
16652 2018-06-21 Florian Weimer <fweimer@redhat.com>
16655 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16656 Renamed from libc_feholdsetround_ctx.
16657 (default_libc_feresetround_ctx): Renamed from
16658 libc_feresetround_ctx.
16659 (default_libc_feholdsetround_noex_ctx): Renamed from
16660 libc_feholdsetround_noex_ctx.
16661 (default_libc_feresetround_noex_ctx): Renamed from
16662 libc_feresetround_noex_ctx.
16663 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16664 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16665 forwardning to the old implementations under the new names.
16666 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16667 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16668 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16669 (libc_feresetround_ctx): Forward to default implements for i386
16670 and MATH_SET_BOTH_ROUNDING_MODES.
16671 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16672 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16674 2018-06-20 Joseph Myers <joseph@codesourcery.com>
16676 * string/tst-cmp.c: Include <libc-diag.h>.
16677 (strncmp_max): Disable -Wstringop-overflow= around call to
16679 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16682 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16683 (main): Disable -Wunused-value around call to strpbrk.
16684 * string/bug-strspn1.c: Include <libc-diag.h>.
16685 (main): Disable -Wunused-value around call to strspn.
16687 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16688 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16690 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16691 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16693 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16695 * math/Makefile (libm-calls): Move s_significandF to...
16696 (gen-libm-calls): ... here.
16697 * math/s_significand_template.c: New file.
16698 * math/s_significand.c: Removed.
16699 * math/s_significandf.c: Removed.
16700 * math/s_significandl.c: Removed.
16701 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16702 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16704 * math/e_exp2_template.c (declare_mgen_finite_alias,
16705 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16706 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16707 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16709 2018-06-20 Florian Weimer <fweimer@redhat.com>
16711 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16713 2018-06-19 Joseph Myers <joseph@codesourcery.com>
16716 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16717 floating-point number to strtod functions rather than possibly
16718 negating result of those functions.
16719 * stdio-common/tst-scanf-round.c: New file.
16720 * stdio-common/Makefile (tests): Add tst-scanf-round.
16721 ($(objpfx)tst-scanf-round): Depend on $(libm).
16723 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16725 * sysdeps/mach/hurd/localplt.data: Move to...
16726 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16727 R_386_GLOB_DAT like on Linux i386.
16729 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16731 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16732 (SHM_STAT_ANY): New macro.
16733 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16734 (SHM_STAT_ANY): Likewise.
16735 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16736 (SHM_STAT_ANY): Likewise.
16737 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16738 (SHM_STAT_ANY): Likewise.
16739 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16740 (SHM_STAT_ANY): Likewise.
16741 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16742 (SHM_STAT_ANY): Likewise.
16743 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16744 (SHM_STAT_ANY): Likewise.
16745 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16746 (SHM_STAT_ANY): Likewise.
16747 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16748 (SHM_STAT_ANY): Likewise.
16749 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16750 (SHM_STAT_ANY): Likewise.
16751 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16752 (SHM_STAT_ANY): Likewise.
16753 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16754 (SHM_STAT_ANY): Likewise.
16756 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16757 (SEM_STAT_ANY): New macro.
16758 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16759 (SEM_STAT_ANY): Likewise.
16760 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16761 (SEM_STAT_ANY): Likewise.
16762 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16763 (SEM_STAT_ANY): Likewise.
16764 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16765 (SEM_STAT_ANY): Likewise.
16766 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16767 (SEM_STAT_ANY): Likewise.
16768 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16769 (SEM_STAT_ANY): Likewise.
16770 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16771 (SEM_STAT_ANY): Likewise.
16772 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16773 (SEM_STAT_ANY): Likewise.
16774 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16775 (SEM_STAT_ANY): Likewise.
16777 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16778 (MSG_STAT_ANY): New macro.
16779 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16780 (MSG_STAT_ANY): Likewise.
16781 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16782 (MSG_STAT_ANY): Likewise.
16783 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16784 (MSG_STAT_ANY): Likewise.
16785 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16786 (MSG_STAT_ANY): Likewise.
16787 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16788 (MSG_STAT_ANY): Likewise.
16789 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16790 (MSG_STAT_ANY): Likewise.
16791 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16792 (MSG_STAT_ANY): Likewise.
16793 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16794 (MSG_STAT_ANY): Likewise.
16795 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16796 (MSG_STAT_ANY): Likewise.
16798 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16799 (MAP_TYPE): Change value to 0x2b.
16801 2018-06-18 Florian Weimer <fweimer@redhat.com>
16804 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16805 socket with SOCK_CLOEXEC.
16807 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16810 * sysdeps/powerpc/powerpc64/le/Makefile
16811 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16812 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16813 (gnulib-tests): Also add $(f128-loader-link) for
16814 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16816 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16818 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16819 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16821 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16822 (sendfile64): New strong alias.
16823 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16824 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16825 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
16826 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16828 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16829 ___pthread_get_cleanup_stack.
16830 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
16831 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16832 * mach/shortcut.awk: Make syscall stubs include
16833 <mach-shortcuts-hidden.h> and add hidden definition.
16834 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
16835 (__mach_msg): Add hidden prototype.
16836 * mach/msg.c: Include <mach.h>.
16837 (__mach_msg): Add hidden definition.
16838 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16839 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16840 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16841 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
16842 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16843 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
16844 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16845 prototype and definition.
16846 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16847 hidden target for _hurd_self_sigstate.
16849 2018-06-15 Joseph Myers <joseph@codesourcery.com>
16852 * stdlib/tst-strtod-nan-sign-main.c: New file.
16853 * stdlib/tst-strtod-nan-sign.c: Likewise.
16854 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16855 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16856 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16857 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16858 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16860 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16863 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16866 2018-06-14 Florian Weimer <fweimer@redhat.com>
16869 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16870 that the result stays within the ISO-8859-1 range.
16871 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16872 characters are defined in IBM273.
16874 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16876 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16877 __mach_task_self): Remove attribute_hidden.
16879 2018-06-14 Joseph Myers <joseph@codesourcery.com>
16881 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16882 ignore -Wrestrict for one test.
16884 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16885 Szabolcs Nagy <szabolcs.nagy@arm.com>
16887 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16889 2018-06-14 Florian Weimer <fweimer@redhat.com>
16891 * scripts/update-abilist.sh: Accept empty list of files to patch.
16893 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16895 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16896 test-xfail-check-abi-libmachuser): Add.
16897 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16898 __libc_read and __libc_write to __read and __write.
16899 * sysdeps/hurd/include/hurd/port.h: New file.
16900 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16901 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16902 __thread_switch, __evc_wait): Move declarations to...
16903 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16905 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16906 use PLT to call _hurd_self_sigstate.
16908 2018-06-13 Joseph Myers <joseph@codesourcery.com>
16911 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16912 MAX_EXP as overflowing.
16913 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16915 (round_str): Output also whether result overflows in each rounding
16917 * stdlib/tst-strtod-round-data: Add more tests.
16918 * stdlib/tst-strtod-round-data.h: Regenerated.
16919 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16920 (TEST): Handle extra arguments for overflow flags.
16921 (struct test_overflow): New type.
16922 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16923 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16924 (test_in_one_mode): Take argument with overflow information.
16925 (do_test): Update calls to test_in_one_mode.
16927 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16929 * elf/dl-load (_dl_dst_substitute): Correct comment.
16930 (_dl_dst_count): Likewise.
16932 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16933 lll_futex_timed_wait.
16935 2018-06-12 Joseph Myers <joseph@codesourcery.com>
16938 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16940 * math/test-nan-const.c: New file.
16941 * math/Makefile (tests): Add test-nan-const.
16942 (CFLAGS-test-nan-const.c): New variable.
16944 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16946 * benchtests/scripts/compare_strings.py (process_results): Add
16947 funcs argument. Compare only functions which are selected.
16948 (main): Check if base function is among selected functions.
16949 Pass selected functions to process_results.
16950 (__main__): Add -f/--functions argument.
16952 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16953 Hongbo Zhang <hongbo.zhang@linaro.org>
16955 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16956 __memcpy_falkor for phecda core.
16957 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16958 __memmove_falkor for phecda core.
16959 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16960 __memset_falkor for phecda core.
16961 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16963 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16964 macro to identify phecda core.
16966 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16967 Andreas Schwab <schwab@suse.de>
16968 Dmitry V. Levin <ldv@altlinux.org>
16969 Florian Weimer <fweimer@redhat.com>
16976 * elf/dl-dst.h: Remove DL_DST_COUNT.
16977 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16978 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16979 (is_dst): Comment. Support ELF gABI.
16980 (_dl_dst_count): Comment. Simplify and count DSTs.
16981 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16982 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16985 2018-06-12 Zack Weinberg <zackw@panix.com>
16987 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16988 * sysdeps/unix/sysv/linux/dl-sysdep.c
16989 Include not-cancel.h. Use __close_nocancel instead of __close,
16990 __open64_nocancel instead of __open, __read_nocancel instead of
16991 __libc_read, and __write_nocancel instead of __libc_write.
16993 * csu/check_fds.c (check_one_fd)
16994 * sysdeps/posix/fdopendir.c (__fdopendir)
16995 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16996 instead of __fcntl and/or __libc_fcntl.
16998 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16999 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
17000 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
17001 Use __open64_nocancel instead of __open_nocancel.
17003 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
17004 hidden_proto declarations to the end and issue them if either
17005 IS_IN(libc) or IS_IN(rtld).
17006 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
17007 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
17008 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
17009 read_nocancel, waitpid_nocancel, write_nocancel.
17011 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
17012 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
17013 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
17015 * nptl/pt-fcntl.c: New file.
17016 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
17017 (libpthread-routines): Add pt-fcntl.
17018 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
17019 (__libc_fcntl): Remove attribute_hidden.
17020 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
17021 __fcntl_nocancel_adjusted, not fcntl_common.
17022 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
17023 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
17024 to fcntl_nocancel.c.
17025 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
17026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
17027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17028 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
17030 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
17031 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
17032 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
17033 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
17034 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
17035 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
17036 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
17037 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
17038 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
17039 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
17040 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
17041 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
17042 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
17043 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
17044 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
17045 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
17046 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
17047 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
17048 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
17049 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
17051 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
17052 libpthread-routines.
17053 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
17056 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
17057 __libc_read, and __write instead of __libc_write. Define
17058 __open64 in addition to __open.
17060 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
17064 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
17065 to _private_tm[3] and add __glibc_reserved2.
17066 Add _Static_assert of offset of __private_ss == 0x30.
17067 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
17068 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
17070 2018-06-12 Florian Weimer <fweimer@redhat.com>
17072 x86: Make strncmp usable from rtld.
17073 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
17074 __strncmp_ia32 if in libc (and not in rtld).
17075 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
17076 strncmp if not in libc (and not to __strncmp_sse2).
17078 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
17081 * localedata/locales/gd_GB (mon): Rename to...
17083 (mon): Import from CLDR (genitive case).
17084 * localedata/locales/hsb_DE (mon): Rename to...
17086 (mon): Import from CLDR (genitive case).
17087 * localedata/locales/wa_BE (mon): Rename to...
17089 (mon): Add, fill with the proper genitive forms, but CLDR data
17090 is incomplete; completed according to the comments in this file.
17091 (d_t_fmt): Do not use "di" before the month name, no longer needed.
17093 * localedata/locales/wa_BE (country_name): Reword
17094 "Beljike" -> "Beldjike".
17096 2018-06-11 Joseph Myers <joseph@codesourcery.com>
17099 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
17100 cases of non-finite arguments.
17101 * math/libm-test-fma.inc (fma_test_data): Add more tests.
17103 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
17106 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
17108 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17111 * include/unistd.h (__execvpex): New prototype.
17112 * posix/Makefile (tests): Add tst-spawn4.
17113 (tests-internal): Add tst-spawn4-compat.
17114 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
17115 * posix/tst-spawn4-compat.c: New file.
17116 * posix/tst-spawn4.c: Likewise.
17117 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
17118 binaries as shell scripts.
17119 * sysdeps/posix/spawni.c (__spawni): Likewise.
17121 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
17124 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
17125 ($(all-built-dso:=.dynsym): New target.
17126 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
17127 ($(objpfx)check-initfini.out): New target.
17128 (generated): Add check-initfini.out.
17129 * scripts/check-initfini.awk: New file.
17130 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
17132 * sysdeps/alpha/crti.S (_init): Mark as hidden.
17134 * sysdeps/arm/crti.S (_init): Mark as hidden.
17136 * sysdeps/hppa/crti.S (_init): Mark as hidden.
17138 * sysdeps/i386/crti.S (_init): Mark as hidden.
17140 * sysdeps/ia64/crti.S (_init): Mark as hidden.
17142 * sysdeps/m68k/crti.S (_init): Mark as hidden.
17144 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
17146 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
17148 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
17150 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
17152 * sysdeps/nios2/crti.S (_init): Mark as hidden.
17154 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
17156 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
17158 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
17160 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
17162 * sysdeps/sh/crti.S (_init): Mark as hidden.
17164 * sysdeps/sparc/crti.S (_init): Mark as hidden.
17166 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
17169 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17171 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
17172 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
17173 and TF redirection to KFtype and KF only when the default
17174 long double type is not the IEEE 128-bit floating point type.
17176 2018-06-05 Joseph Myers <joseph@codesourcery.com>
17178 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
17180 (HWCAP_USCAT): Likewise.
17181 (HWCAP_ILRCPC): Likewise.
17182 (HWCAP_FLAGM): Likewise.
17183 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
17185 (_dl_aarch64_cap_flags): Add new flag names.
17187 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17188 (MAP_FIXED_NOREPLACE): New macro.
17189 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
17190 (MAP_FIXED_NOREPLACE): Likewise.
17191 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
17192 (MAP_FIXED_NOREPLACE): Likewise.
17193 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17194 (MAP_FIXED_NOREPLACE): Likewise.
17195 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17196 (MAP_FIXED_NOREPLACE): Likewise.
17197 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17198 (MAP_FIXED_NOREPLACE): Likewise.
17199 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17200 (MAP_FIXED_NOREPLACE): Likewise.
17201 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
17202 (MAP_FIXED_NOREPLACE): Likewise.
17203 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17204 (MAP_FIXED_NOREPLACE): Likewise.
17205 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
17206 (MAP_FIXED_NOREPLACE): Likewise.
17207 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17208 (MAP_FIXED_NOREPLACE): Likewise.
17209 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17210 (MAP_FIXED_NOREPLACE): Likewise.
17211 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
17212 (MAP_FIXED_NOREPLACE): Likewise.
17213 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
17214 (MAP_FIXED_NOREPLACE): Likewise.
17215 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
17216 (MAP_FIXED_NOREPLACE): Likewise.
17218 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17221 2018-06-04 Joseph Myers <joseph@codesourcery.com>
17223 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17226 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17228 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
17230 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
17232 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17234 * benchtests/scripts/compare_string.py: (process_results) Catch
17235 exception in non-existent base_func and catch exception in
17236 non-existent attribute.
17237 (parse_file) Catch exception if input file does not exist.
17239 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17241 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
17242 options to avoid diff calculation and omit header, respectively.
17243 (main): process --no-diff and --no-header
17245 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17246 H.J. Lu <hongjiu.lu@intel.com>
17248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17249 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
17251 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17252 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
17253 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
17254 and __wcsncmp_sse2.
17255 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
17256 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
17257 AVX unaligned load is fast and vzeroupper is preferred.
17258 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
17259 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
17260 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
17261 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
17262 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
17263 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
17264 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
17265 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
17266 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
17267 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
17270 2018-06-01 Florian Weimer <fweimer@redhat.com>
17272 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
17273 configuring with --disable-multi-arch, building with
17274 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
17277 2018-06-01 Florian Weimer <fweimer@redhat.com>
17279 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
17280 results from building with “-march=x86-64 -mtune=generic
17281 -mfpmath=sse” and running on a Haswell-era CPU.
17283 2018-06-01 Joseph Myers <joseph@codesourcery.com>
17286 * soft-fp/sqrttf2.c: Remove file.
17287 * soft-fp/sqrtdf2.c: Move to ....
17288 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
17290 (__sqrtdf2): Make conditional on
17291 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
17293 * soft-fp/sqrtsf2.c: Move to ....
17294 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
17296 (__sqrtsf2): Make conditional on
17297 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
17299 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
17300 (gcc-double-routines): Remove sqrtdf2.
17301 (gcc-quad-routines): Remove sqrttf2.
17302 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17303 Do not filter out sqrtsf2 and sqrtdf2.
17304 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17305 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
17307 2018-06-01 Florian Weimer <fweimer@redhat.com>
17309 * sysdeps/generic/libcidn.abilist: Remove file.
17311 2018-06-01 Florian Weimer <fweimer@redhat.com>
17314 * libio/strfile.h (struct _IO_str_fields): Rename members to
17315 discourage their use and add comment.
17316 (_IO_STR_DYNAMIC): Remove unused macro.
17317 * libio/strops.c (_IO_str_init_static_internal): Do not use
17318 callback pointers. Call malloc and free.
17319 (_IO_str_overflow): Do not use callback pointers. Call malloc
17321 (enlarge_userbuf): Likewise.
17322 (_IO_str_finish): Call free.
17323 * libio/wstrops.c (_IO_wstr_init_static): Initialize
17324 _allocate_buffer_unused.
17325 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
17327 (enlarge_userbuf): Likewise.
17328 (_IO_wstr_finish): Call free.
17329 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
17330 _allocate_buffer_unused, _free_buffer_unused.
17331 * libio/memstream.c (__open_memstream): Likewise.
17332 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17333 * libio/wmemstream.c (open_wmemstream): Likewise.
17335 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
17337 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
17340 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17342 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
17343 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
17344 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
17346 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
17348 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
17350 2018-05-29 Florian Weimer <fweimer@redhat.com>
17352 * support/Makefile (libsupport-routines): Add
17353 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
17354 xpthread_barrierattr_setpshared.
17355 * support/xpthread_barrierattr_destroy.c: New file.
17356 * support/xpthread_barrierattr_init.c: Likewise.
17357 * support/xpthread_barrierattr_setpshared.c: Likewise.
17359 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
17362 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
17363 _r_debug and update DT_DEBUG for debugger.
17365 2018-05-29 Florian Weimer <fweimer@redhat.com>
17367 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
17368 (tst-strtod5i.out): Likewise.
17370 2018-05-25 Joseph Myers <joseph@codesourcery.com>
17372 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
17373 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
17374 (sparc64-quad-routines): New variable. Moved from ....
17375 [$(subdir) = soft-fp] (sysdep_routines): Add
17376 $(sparc64-quad-routines). Moved from ....
17377 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
17378 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
17379 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
17381 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
17382 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
17383 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
17384 * sysdeps/sparc/sparc64/qp_add.c: ... here.
17385 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
17386 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
17387 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
17388 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
17389 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
17390 * sysdeps/sparc/sparc64/qp_div.c: ... here.
17391 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
17392 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
17393 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
17394 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
17395 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
17396 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
17397 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
17398 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
17399 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
17400 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
17401 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
17402 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
17403 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
17404 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
17405 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
17406 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
17407 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
17408 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
17409 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
17410 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
17411 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
17412 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
17413 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
17414 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
17415 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
17416 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
17417 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
17418 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
17419 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
17420 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
17421 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
17422 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
17423 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
17424 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
17425 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
17426 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
17427 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
17428 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
17429 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
17430 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
17431 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
17432 * sysdeps/sparc/sparc64/qp_util.c: ... here.
17433 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
17434 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
17435 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
17436 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
17437 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
17438 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
17440 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
17441 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
17442 (sparc32-quad-routines): New variable. Moved from ....
17443 [$(subdir) = soft-fp] (sysdep_routines): Add
17444 $(sparc32-quad-routines). Moved from ....
17445 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
17446 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
17448 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
17449 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
17450 * sysdeps/sparc/sparc32/q_add.c: ... here.
17451 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
17452 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
17453 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
17454 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
17455 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
17456 * sysdeps/sparc/sparc32/q_div.c: ... here.
17457 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
17458 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
17459 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
17460 * sysdeps/sparc/sparc32/q_feq.c: ... here.
17461 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
17462 * sysdeps/sparc/sparc32/q_fge.c: ... here.
17463 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
17464 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
17465 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
17466 * sysdeps/sparc/sparc32/q_fle.c: ... here.
17467 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
17468 * sysdeps/sparc/sparc32/q_flt.c: ... here.
17469 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
17470 * sysdeps/sparc/sparc32/q_fne.c: ... here.
17471 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
17472 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
17473 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
17474 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
17475 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
17476 * sysdeps/sparc/sparc32/q_mul.c: ... here.
17477 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
17478 * sysdeps/sparc/sparc32/q_neg.c: ... here.
17479 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
17480 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
17481 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
17482 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
17483 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
17484 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
17485 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
17486 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
17487 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
17488 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
17489 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
17490 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
17491 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
17492 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
17493 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
17494 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
17495 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
17496 * sysdeps/sparc/sparc32/q_sub.c: ... here.
17497 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
17498 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
17499 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
17500 * sysdeps/sparc/sparc32/q_util.c: ... here.
17501 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
17502 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
17503 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
17504 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
17506 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17507 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17509 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
17510 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
17511 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
17512 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
17514 2018-05-24 Joseph Myers <joseph@codesourcery.com>
17516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
17518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17520 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
17521 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
17523 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17526 * math/math.h [C++] (iseqsig): Fix parameter type for the long
17529 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17531 * sysdeps/sh/Implies: Remove sh/soft-fp.
17532 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
17533 * sysdeps/sh/sfp-machine.h: ... here.
17535 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17537 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17538 (__mempcpy_erms): Skip zero length.
17539 (__memmove_erms): Likewise.
17540 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17541 (__memset_erms): Likewise.
17543 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17545 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
17546 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17547 Add functions moved from ....
17548 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
17549 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
17550 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
17552 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
17553 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
17554 * sysdeps/alpha/e_sqrtl.c: ... here.
17555 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
17556 * sysdeps/alpha/local-soft-fp.h: ... here.
17557 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
17558 * sysdeps/alpha/ots_add.c: ... here.
17559 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
17560 * sysdeps/alpha/ots_cmp.c: ... here.
17561 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
17562 * sysdeps/alpha/ots_cmpe.c: ... here.
17563 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
17564 * sysdeps/alpha/ots_cvtqux.c: ... here.
17565 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
17566 * sysdeps/alpha/ots_cvtqx.c: ... here.
17567 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
17568 * sysdeps/alpha/ots_cvttx.c: ... here.
17569 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
17570 * sysdeps/alpha/ots_cvtxq.c: ... here.
17571 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
17572 * sysdeps/alpha/ots_cvtxt.c: ... here.
17573 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
17574 * sysdeps/alpha/ots_div.c: ... here.
17575 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
17576 * sysdeps/alpha/ots_mul.c: ... here.
17577 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
17578 * sysdeps/alpha/ots_nintxq.c: ... here.
17579 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
17580 * sysdeps/alpha/ots_sub.c: ... here.
17581 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
17582 * sysdeps/alpha/sfp-machine.h: ... here.
17584 2018-05-23 Florian Weimer <fweimer@redhat.com>
17592 Switch to extern IDNA implementation (libidn2).
17593 * libidn: Remove subdirectory.
17594 * LICENSES: Do not mention licensing conditions for the removed
17596 * config.h.in (HAVE_LIBIDN): Remove.
17597 * include/dlfcn.h (__libc_dlopen): Update comment.
17598 * include/idna.h: Remove file.
17599 * inet/Makefile (routines): Add idna.
17600 (tests-static, tests-internal): Add tst-idna_name_classify.
17601 (LOCALES): Generate locales for tests.
17602 (tst-idna_name_classify.out): Depend on generated locales.
17603 * inet/idna_name_classify.c: New file.
17604 * inet/tst-idna_name_classify.c: Likewise.
17605 * inet/net-internal.h (__idna_to_dns_encoding)
17606 (__idna_from_dns_encoding): Declare.
17607 * inet/net-internal.h (enum idna_name_classification): Define.
17608 (__idna_name_classify): Declare.
17609 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17610 __idna_from_dns_encoding.
17611 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17612 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17613 name as a fallback in case of encoding errors.
17614 (getnameinfo): Use DEPRECATED_NI_IDN.
17615 * inet/idna.c: New file.
17616 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17617 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17618 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17619 (modules-names): Add tst-no-libidn2.
17620 (extra-test-objs): Add tst-no-libidn2.os.
17621 (LDFLAGS-tst-no-libidn2.so): Set soname.
17622 (LOCALES): Set, and generate locales.
17623 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17624 (tst-resolv-ai_idn-latin1): Likewise.
17625 (tst-resolv-ai_idn-nolibidn2): Likewise.
17626 (tst-resolv-ai_idn.out): Depend on locales.
17627 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17628 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17630 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17631 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17632 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17633 * resolv/tst-resolv-ai_idn.c: New file.
17634 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17635 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17636 * resolv/tst-no-libidn2.c: Likewise.
17637 * support/support_format_addrinfo.c (format_ai_flags): Do not
17638 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17639 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17640 (gaih_inet): Call __idna_to_dns_encoding and
17641 __idna_from_dns_encoding, and use the original (punycode) name if
17642 __idna_from_dns_encoding fails due to an encoding error.
17643 (getaddrinfo): Use DEPRECATED_AI_IDN.
17644 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17645 * sysdeps/unix/inet/configure: Remove file.
17646 * sysdeps/unix/inet/configure.ac: Likewise.
17648 2018-05-23 Florian Weimer <fweimer@redhat.com>
17650 Implement allocate_once.
17651 * include/allocate_once.h: New file.
17652 * misc/allocate_once.c: Likewise.
17653 * misc/tst-allocate_once.c: Likewise.
17654 * misc/Makefile (routines): Add allocate_once.
17655 (tests-internal): Add tst-allocate_once.
17656 (generated): Add tst-allocate_once.mtrace,
17657 tst-allocate_once-mem.out.
17658 (tests-special): Add tst-allocate_once-mem.out.
17659 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17660 (tst-allocate_once-mem.out): Call mtrace.
17661 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17663 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17666 * string/test-memcpy.c (do_test1): New function.
17667 (test_main): Call it.
17669 2018-05-23 Andreas Schwab <schwab@suse.de>
17673 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17674 (L(preloop_large)): Save initial destination pointer in %r11 and
17675 use it instead of %rax after the loop.
17676 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17678 2018-05-22 Joseph Myers <joseph@codesourcery.com>
17680 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17681 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17682 -I../soft-fp. Moved from ....
17683 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17684 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17685 * sysdeps/aarch64/e_sqrtl.c: ... here.
17686 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17687 * sysdeps/aarch64/sfp-machine.h: ... here.
17689 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17690 -Wmaybe-uninitialized around access to fq[0].
17691 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17695 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17696 aliases for non-libc case of versioned symbols.
17697 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17698 (llseek): Define as compat symbol if
17699 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17701 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17702 Make into a compat symbol, disabled for minimum symbol version
17703 GLIBC_2.28 and later.
17704 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17706 2018-05-22 Florian Weimer <fweimer@redhat.com>
17708 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17709 not add -mpreferred-stack-boundary=4.
17710 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17711 (stack-align-test-flags): Likewise.
17712 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17714 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17715 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17716 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17717 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17718 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17719 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17720 (CFLAGS-tst-align2.c): Likewise.
17722 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17724 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17725 (index_arch_Prefer_FSRM): Likewise.
17726 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17727 Also check Prefer_FSRM.
17728 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17729 Also return OPTIMIZE (erms) for Prefer_FSRM.
17731 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17733 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17734 (index_cpu_FSRM): Likewise.
17735 (reg_FSRM): Likewise.
17737 2018-05-18 Joseph Myers <joseph@codesourcery.com>
17739 * math/gen-tgmath-tests.py: Import sys.
17740 (Tests.__init__): Initialize macros_seen.
17741 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17742 if requested to do so for this macro.
17743 (Tests.add_all_tests): Take argument for macro for which to
17745 (Tests.check_macro_list): New function.
17746 (main): Handle check-list argument and argument specifying macro
17747 for which to generate tests.
17748 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17749 [PYTHON] (tgmath3-macro-tests): Likewise.
17750 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17751 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17752 not test-tgmath3.c.
17753 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17754 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17756 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17757 [PYTHON] ($(foreach
17758 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17760 [PYTHON] (tests-special): Add
17761 $(objpfx)test-tgmath3-macro-list.out.
17762 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17764 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17765 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17769 * time/tzset.c (SECSPERDAY): Cast to time_t.
17770 * time/tst-y2039.c: New file.
17771 * time/Makefile (tests): Add tst-y2039.
17773 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17775 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17776 (PREFETCH_ONE_SET): Remove duplicate line.
17778 2018-05-17 Florian Weimer <fweimer@redhat.com>
17780 * sysdeps/generic/math-type-macros-double.h: Include
17781 <math-nan-payload-double.h> after <libm-alias-double.h>.
17782 * sysdeps/generic/math-type-macros-float.h: Include
17783 <math-nan-payload-float.h> after <libm-alias-float.h>.
17784 * sysdeps/generic/math-type-macros-float128.h: Include
17785 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17786 * sysdeps/generic/math-type-macros-ldouble.h: Include
17787 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17789 2018-05-17 Andreas Schwab <schwab@suse.de>
17791 * resolv/res_send.c (__res_context_send): Don't set errno when
17792 returing error after malloc failure.
17794 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17796 * nptl/allocatestack.c (allocate_stack): Remove the
17797 !__ASSUME_PRIVATE_FUTEX paths.
17798 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17799 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17801 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17802 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17803 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17804 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17805 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17806 !__ASSUME_PRIVATE_FUTEX path.
17807 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17808 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17809 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17810 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17811 !__ASSUME_PRIVATE_FUTEX macros.
17812 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17813 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17814 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17815 * sysdeps/unix/sysv/linux/kernel-features.h
17816 (__ASSUME_PRIVATE_FUTEX): Removed.
17818 2018-05-17 Joseph Myers <joseph@codesourcery.com>
17820 * math/Makefile (libm-narrow-fns): Add div.
17821 (libm-test-funcs-narrow): Likewise.
17822 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17823 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17824 * math/gen-auto-libm-tests.c (test_functions): Add div.
17825 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17826 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17827 (NARROW_DIV_TRIVIAL): Likewise.
17828 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17830 (__ddivl): Likewise.
17831 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17833 (CFLAGS-nldbl-ddiv.c): New variable.
17834 (CFLAGS-nldbl-fdiv.c): Likewise.
17835 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17837 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17839 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17840 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17841 * math/auto-libm-test-in: Add tests of div.
17842 * math/auto-libm-test-out-narrow-div: New generated file.
17843 * math/libm-test-narrow-div.inc: New file.
17844 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17845 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17846 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17847 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17848 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17849 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17850 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17851 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17852 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17853 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17854 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17855 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17856 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17857 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17858 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17859 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17860 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17861 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17863 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17866 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17867 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17868 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17869 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17870 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17871 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17872 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17880 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17881 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17882 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17883 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17884 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17885 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17886 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17887 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17889 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17892 * nscd/nscd-client.h (sendfileall): Remove prototype.
17893 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17894 (handle_request): Use writeall instead of sendfileall.
17895 * nscd/aicache.c (addhstaiX): Likewise.
17896 * nscd/grpcache.c (cache_addgr): Likewise.
17897 * nscd/hstcache.c (cache_addhst): Likewise.
17898 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17899 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17900 * nscd/pwdcache.c (cache_addpw): Likewise.
17901 * nscd/servicescache.c (cache_addserv): Likewise.
17902 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17903 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17904 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17907 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17909 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17910 Include <string/strncat.c>.
17911 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17913 (__GI___strncat): New hidden alias.
17915 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17917 * sysdeps/mips/mips32/libm-test-ulps: Update.
17918 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17920 2018-05-16 Florian Weimer <fweimer@redhat.com>
17922 * support/Makefile (libsupport-routines): Add support_quote_blob,
17923 support_test_compare_blob.
17924 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17925 * support/check.h (TEST_COMPARE_BLOB): Define.
17926 (support_test_compare_blob): Declare.
17927 * support/support.h (support_quote_blob): Declare.
17928 * support/support_quote_blob.c: New file.
17929 * support/support_test_compare_blob.c: Likewise.
17930 * support/tst-support_quote_blob.c: Likewise.
17931 * support/tst-test_compare_blob.c: Likewise.
17933 2018-05-16 Florian Weimer <fweimer@redhat.com>
17935 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17936 of <strtod_nan_double.h>.
17937 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17938 instead of SET_MANTISSA.
17939 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17940 of include <strtod_nan_float.h>.
17941 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17942 instead of <strtod_nan_ldouble.h>.
17943 * stdlib/strtod_nan_double.h: Move to ...
17944 * sysdeps/generic/math-nan-payload-double.h: ... here.
17945 (FLOAT): Remove definition.
17946 (SET_MANTISSA): Rename to ...
17947 (SET_NAN_PAYLOAD): ... this.
17948 * stdlib/strtod_nan_float.h: Move to ...
17949 * sysdeps/generic/math-nan-payload-float.h: ... here.
17950 (FLOAT): Remove definition.
17951 (SET_MANTISSA): Rename to ...
17952 (SET_NAN_PAYLOAD): ... this.
17953 * sysdeps/generic/math-type-macros-double.h: Include
17954 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17955 instead of <math-svid-compat.h>.
17956 * sysdeps/generic/math-type-macros-float.h: Include
17957 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17958 instead of <math-svid-compat.h>.
17959 * sysdeps/generic/math-type-macros-float128.h: Include
17960 <math-nan-payload-float128.h>.
17961 * sysdeps/generic/math-type-macros-ldouble.h: Include
17962 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17963 instead of <math-svid-compat.h>.
17964 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17965 check for definition.
17966 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17967 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17968 Include <ieee754_float128.h>.
17969 (FLOAT): Remove definition.
17970 (SET_MANTISSA): Rename to ...
17971 (SET_NAN_PAYLOAD): ... this.
17972 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17973 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17974 Do not include <float128_private.h>.
17975 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17976 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17977 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17978 (FLOAT): Remove definition.
17979 (SET_MANTISSA): Rename to ...
17980 (SET_NAN_PAYLOAD): ... this.
17981 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17982 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17983 (FLOAT): Remove definition.
17984 (SET_MANTISSA): Rename to ...
17985 (SET_NAN_PAYLOAD): ... this.
17986 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17987 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17988 (FLOAT): Remove definition.
17989 (SET_MANTISSA): Rename to ...
17990 (SET_NAN_PAYLOAD): ... this.
17991 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17992 of "../stdlib/strtod_nan_double.h".
17993 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17994 of "../stdlib/strtod_nan_float.h".
17995 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17996 instead of "../stdlib/strtod_nan_ldouble.h".
17997 * manual/arith.texi (Parsing of Floats): Adjust comment.
17999 2018-05-16 Joseph Myers <joseph@codesourcery.com>
18001 * math/Makefile (libm-narrow-fns): Add mul.
18002 (libm-test-funcs-narrow): Likewise.
18003 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
18004 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
18005 * math/gen-auto-libm-tests.c (test_functions): Add mul.
18006 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
18007 (NARROW_MUL_ROUND_TO_ODD): Likewise.
18008 (NARROW_MUL_TRIVIAL): Likewise.
18009 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
18010 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
18012 (__dmull): Likewise.
18013 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
18015 (CFLAGS-nldbl-dmul.c): New variable.
18016 (CFLAGS-nldbl-fmul.c): Likewise.
18017 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18019 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
18021 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
18022 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
18023 * math/auto-libm-test-in: Add tests of mul.
18024 * math/auto-libm-test-out-narrow-mul: New generated file.
18025 * math/libm-test-narrow-mul.inc: New file.
18026 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
18029 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
18030 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
18031 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
18032 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
18033 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
18034 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
18035 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
18036 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
18037 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
18038 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
18039 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
18040 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
18041 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
18042 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
18043 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
18044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18045 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18051 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18052 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18053 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18054 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18055 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18056 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18057 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18062 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18063 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18064 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18065 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18066 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18067 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18068 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18069 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18071 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
18073 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
18074 with *%eax in call.
18076 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
18078 * sysdeps/i386/ldsodefs.h: Removed.
18079 * sysdeps/x86_64/ldsodefs.h: Moved to ...
18080 * sysdeps/x86/ldsodefs.h: This.
18081 (La_i86_regs): New.
18082 (La_i86_retval): Likewise.
18083 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
18084 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
18086 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
18088 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
18091 2018-05-13 Alan Modra <amodra@gmail.com>
18093 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
18094 R_PARISC_TLS_DTPOFF32 reloc addend.
18096 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18098 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
18099 * math/math.h: Restrict the prototype definition for the functions
18100 issignaling(_Float128) and iszero(_Float128); and template
18101 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
18102 __HAVE_FLOAT128_UNLIKE_LDBL.
18103 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
18104 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18105 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
18106 __f128() constants; define the type _Float128 as long double;
18107 and reuse long double in __CFLOAT128.
18109 2018-05-11 Joseph Myers <joseph@codesourcery.com>
18111 * sysdeps/generic/math_private.h: Do not include
18113 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
18115 * math/fromfp.h: Include <math-barriers.h>.
18116 * math/math-narrow.h: Likewise.
18117 * math/s_nextafter.c: Likewise.
18118 * math/s_nexttowardf.c: Likewise.
18119 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
18120 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
18121 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
18122 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
18123 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18124 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18125 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18129 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18132 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18133 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
18134 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18135 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18136 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18137 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18138 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18139 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18140 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18141 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18142 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18143 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18144 * sysdeps/ieee754/k_standardl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18161 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
18162 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
18163 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18164 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18165 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
18166 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
18168 2018-05-11 Florian Weimer <fweimer@redhat.com>
18170 Use 64-bit epoch values in the time zone file parser.
18171 * include/time.h (internal_time_t): Define.
18172 (__tzfile_compute): Use it.
18173 * time/tzfile.c (struct leap): Use internal_time_t for epoch
18175 (transitions): Switch to internal_time_t.
18176 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
18178 (__tzfile_compute): Use internal_time_t for timer argument. Check
18179 for truncation before calling __offtime.
18181 2018-05-11 Florian Weimer <fweimer@redhat.com>
18184 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
18185 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
18187 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
18188 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
18189 export without --enable-obsolete-rpc.
18190 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
18191 symbol. This should not have been exported, ever.
18193 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
18196 * localedata/locales/gd_GB (abmon): Fix typo in May:
18197 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
18199 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
18201 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
18202 Use multiple registers to copy data in loop tail.
18204 * sysdeps/aarch64/multiarch/memmove_falkor.S
18205 (__memmove_falkor): Use multiple registers to move data in
18208 2018-05-10 Joseph Myers <joseph@codesourcery.com>
18210 * math/math-underflow.h: New file.
18211 * sysdeps/generic/math_private.h: Do not include <float.h>.
18212 (fabs_tg): Remove macro. Moved to math-underflow.h.
18213 (min_of_type_f): Likewise.
18214 (min_of_type_): Likewise.
18215 (min_of_type_l): Likewise.
18216 (min_of_type_f128): Likewise.
18217 (min_of_type): Likewise.
18218 (math_check_force_underflow): Likewise.
18219 (math_check_force_underflow_nonneg): Likewise.
18220 (math_check_force_underflow_complex): Likewise.
18221 * math/e_exp2_template.c: Include <math-underflow.h>.
18222 * math/k_casinh_template.c: Likewise.
18223 * math/s_catan_template.c: Likewise.
18224 * math/s_catanh_template.c: Likewise.
18225 * math/s_ccosh_template.c: Likewise.
18226 * math/s_cexp_template.c: Likewise.
18227 * math/s_clog10_template.c: Likewise.
18228 * math/s_clog_template.c: Likewise.
18229 * math/s_csin_template.c: Likewise.
18230 * math/s_csinh_template.c: Likewise.
18231 * math/s_csqrt_template.c: Likewise.
18232 * math/s_ctan_template.c: Likewise.
18233 * math/s_ctanh_template.c: Likewise.
18234 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18235 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18236 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18237 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18238 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18239 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18240 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18241 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18242 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18243 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18244 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18245 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18246 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18247 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18248 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18249 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18250 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18251 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18252 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18253 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18254 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18255 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18256 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18257 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18258 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18259 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18260 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18261 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18262 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18263 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18264 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18265 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18268 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18281 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18290 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18292 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18295 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18296 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18297 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18298 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18300 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18301 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18302 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18303 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18304 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
18308 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18311 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18312 * sysdeps/x86/fpu/powl_helper.c: Likewise.
18313 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
18314 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18319 2018-05-09 Joseph Myers <joseph@codesourcery.com>
18321 * sysdeps/generic/math-barriers.h: New file.
18322 * sysdeps/generic/math_private.h [!math_opt_barrier]
18323 (math_opt_barrier): Move to math-barriers.h.
18324 [!math_opt_barrier] (math_force_eval): Likewise.
18325 * sysdeps/aarch64/fpu/math-barriers.h: New file.
18326 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
18328 (math_force_eval): Likewise.
18329 * sysdeps/alpha/fpu/math-barriers.h: New file.
18330 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
18332 (math_force_eval): Likewise.
18333 * sysdeps/x86/fpu/math-barriers.h: New file.
18334 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
18336 (math_force_eval): Likewise.
18337 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
18338 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
18339 multiple-include guard for rename.
18340 * sysdeps/powerpc/fpu/math-barriers.h: New file.
18341 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
18343 (math_force_eval): Likewise.
18345 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
18349 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
18351 * stdlib/Makefile (test-bz22786): New test.
18352 * stdlib/test-bz22786.c: New test.
18354 2018-05-09 Joseph Myers <joseph@codesourcery.com>
18356 * include/math-narrow-eval.h: New file. Contents moved from ....
18357 * sysdeps/generic/math_private.h: ... here.
18358 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
18359 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18360 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
18361 * stdlib/strtod_l.c: Likewise.
18362 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18363 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
18364 * sysdeps/i386/fpu/s_fdim.c: Likewise.
18365 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18366 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18367 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18368 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18369 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18370 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18371 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18372 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18373 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
18374 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18375 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18376 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18377 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18378 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18379 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18380 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18381 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18382 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18383 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18384 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18385 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18386 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18387 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18388 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18389 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18390 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18392 2018-05-08 Andreas Schwab <schwab@suse.de>
18394 * sysdeps/nptl/internaltypes.h: Fix comment.
18396 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
18398 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18399 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
18402 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
18404 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
18405 of I into loop header.
18406 * benchtests/bench-memmove-walk.c
18407 (test_main): Likewise.
18409 2018-05-07 Alexandre Oliva <oliva@gnu.org>
18412 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18413 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18415 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18418 * elf/dl-load.c (open_verify): Fix stack overflow.
18419 * elf/Makefile (tst-big-note): New test.
18420 * elf/tst-big-note-lib.S: New.
18421 * elf/tst-big-note.c: New.
18423 2018-05-04 Joseph Myers <joseph@codesourcery.com>
18425 * scripts/abilist.awk: Ignore absolute symbols.
18426 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
18427 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
18428 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
18429 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
18430 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
18431 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
18432 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18433 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
18434 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
18435 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
18436 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
18437 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
18438 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
18439 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
18440 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
18441 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
18442 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
18443 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
18444 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18445 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
18446 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
18447 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
18448 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
18449 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
18450 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
18451 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
18452 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
18453 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
18454 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18455 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
18456 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
18457 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18458 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
18459 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
18460 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
18461 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
18462 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
18463 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
18464 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
18465 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
18466 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
18467 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18468 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
18469 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
18470 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18471 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
18472 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
18473 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
18474 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
18475 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
18476 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
18477 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
18478 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
18479 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
18480 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18481 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
18482 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
18483 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18484 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
18485 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
18486 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
18487 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
18488 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
18489 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
18490 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
18491 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
18492 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
18493 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18494 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
18495 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
18496 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18497 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
18498 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
18499 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
18500 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
18501 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
18502 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
18503 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
18504 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
18505 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
18506 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18507 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
18508 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
18509 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18510 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
18511 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
18512 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
18513 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
18514 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
18515 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
18516 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
18517 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18519 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
18520 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18521 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
18522 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
18523 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18524 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
18525 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
18526 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
18527 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
18528 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
18529 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
18530 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
18531 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18533 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
18534 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18535 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
18536 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
18537 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18538 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
18539 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
18540 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
18541 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
18542 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
18543 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
18544 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
18545 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
18546 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
18547 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18548 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
18549 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
18550 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18551 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
18552 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
18553 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
18554 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
18555 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
18556 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
18557 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18558 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
18559 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18561 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
18562 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
18563 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
18564 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
18565 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18566 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
18567 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
18568 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
18569 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
18570 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
18571 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
18572 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
18573 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
18574 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
18575 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
18576 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
18577 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
18578 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
18579 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18580 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18582 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
18583 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
18584 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
18585 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18586 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
18587 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
18588 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
18589 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
18590 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
18591 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
18592 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18593 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
18594 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
18595 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18596 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
18597 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18598 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18599 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18600 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18601 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18602 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18603 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18604 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18605 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18606 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18607 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18608 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18609 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18669 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18670 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18672 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18673 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18674 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18675 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18676 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18677 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18678 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18679 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18680 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18681 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18682 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18683 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18684 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18685 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18687 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18688 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18689 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18690 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18691 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18692 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18693 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18694 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18695 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18696 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18697 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18698 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18700 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18701 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18702 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18703 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18704 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18705 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18706 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18707 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18708 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18709 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18710 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18711 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18712 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18713 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18714 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18715 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18716 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18717 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18718 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18719 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18720 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18721 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18722 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18723 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18724 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18726 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18727 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18728 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18729 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18730 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18731 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18732 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18733 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18734 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18735 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18736 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18737 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18738 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18740 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18741 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18742 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18743 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18744 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18745 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18746 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18747 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18748 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18749 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18750 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18751 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18752 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18753 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18754 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18755 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18756 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18757 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18758 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18759 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18760 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18761 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18762 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18763 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18764 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18765 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18766 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18767 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18768 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18769 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18770 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18771 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18772 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18773 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18774 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18775 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18776 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18777 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18779 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18782 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18783 Use atomic_load_acquire to load __tid.
18785 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18787 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18788 Restore the pointer into %rdx, after syscall and use %rdx,
18789 instead of %rsi, to restore context.
18791 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18793 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18794 Pop the pointer into %rdx after syscall and use %rdx, instead
18795 of %rsi, to restore context.
18797 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18799 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18800 handlers after setjmp.
18801 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18803 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18804 <libc-pointer-arith.h>.
18805 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18806 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18807 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18808 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18809 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18810 * sysdeps/x86/__longjmp_cancel.S: New file.
18811 * sysdeps/x86/longjmp.c: Likewise.
18812 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18814 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18816 * NEWS: Add ustat.h deprecation entry.
18817 * bits/ustat.h: Remove file.
18818 * misc/sys/ustat.h: Likewise.
18819 * misc/ustat.h: Likewise.
18820 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18821 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18822 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18823 compatibility mode.
18824 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18825 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18826 generic Linux implementation.
18828 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18830 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18831 * math/w_expl_compat.c: Likewise.
18832 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18834 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18836 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18838 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18840 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18841 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18842 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18844 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18846 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18847 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18848 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18851 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18853 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18855 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18856 * math/w_asin_template.c: Likewise.
18857 * math/w_atanh_template.c: Likewise.
18859 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18861 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18862 to powerpc/powerpc64/be for big-endian.
18863 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18866 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18867 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18868 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18869 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18870 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18871 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18872 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18873 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18874 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18875 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18876 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18877 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18878 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18879 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18880 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18881 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18882 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18883 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18884 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18885 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18886 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18887 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18888 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18889 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18890 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18891 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18892 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18893 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18894 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18895 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18896 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18897 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18899 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18900 adjusted to imply powerpc64 and older processors on powerpc64/be.
18901 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18902 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18903 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18904 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18905 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18906 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18907 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18908 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18909 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18910 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18911 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18912 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18913 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18914 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18915 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18916 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18917 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18918 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18919 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18920 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18921 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18922 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18923 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18924 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18925 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18926 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18927 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18928 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18929 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18930 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18931 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18933 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18934 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18935 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18936 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18938 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18939 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18940 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18941 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18943 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18944 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18945 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18946 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18947 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18948 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18949 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18950 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18951 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18952 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18953 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18955 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18956 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18957 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18958 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18959 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18960 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18961 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18962 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18963 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18964 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18965 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18967 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18968 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18969 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18970 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18971 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18972 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18973 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18974 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18975 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18976 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18977 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18978 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18980 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18981 and adjusted to imply olders processors.
18982 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18983 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18984 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18985 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18986 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18987 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18988 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18989 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18990 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18991 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18992 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18994 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18996 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18997 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
19001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
19002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
19004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
19006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
19008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
19010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
19011 powerpc64 and adjusted.
19012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
19013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
19017 2018-04-27 Joseph Myers <joseph@codesourcery.com>
19019 * sysdeps/tile: Remove.
19020 * sysdeps/unix/sysv/linux/tile: Likewise.
19021 * README (tilegx-*-linux-gnu): Remove from list of supported
19023 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
19024 contribution of support for generic Linux kernel syscall
19026 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
19027 tilegx configurations.
19028 (Config.install_linux_headers): Do not handle tile.
19029 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
19031 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
19032 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
19033 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
19034 conditional undefine and redefine.
19035 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
19037 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
19038 conditional undefine and redefine.
19040 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
19042 * signal/tst-sigaction.c: New file to test BZ #23069.
19043 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
19045 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
19048 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
19049 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
19050 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
19051 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
19053 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19055 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
19056 _DIRENT_MATCHES_DIRENT64 is not defined.
19057 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
19058 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
19060 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
19061 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
19063 2018-04-25 Joseph Myers <joseph@codesourcery.com>
19065 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
19066 version to GCC 8 branch.
19068 2018-04-24 Joseph Myers <joseph@codesourcery.com>
19070 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
19071 (check_no_hidden): Use type of original function when declaring
19074 * sysdeps/unix/sysv/linux/sys/ptrace.h
19075 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
19076 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
19077 (struct __ptrace_seccomp_metadata): New type.
19078 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19079 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19080 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
19081 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19082 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
19083 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19084 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19085 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19086 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
19087 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19088 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
19089 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19090 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
19091 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19092 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
19093 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19095 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19097 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
19099 * dirent/versionsort.c (versionsort): Likewise.
19100 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
19101 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
19102 * dirent/versionsort64.c (versionsort64): Likewise.
19103 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
19104 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
19105 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
19106 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
19107 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
19108 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
19109 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
19110 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
19111 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
19112 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
19113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
19114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
19115 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
19116 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
19118 2018-04-23 Joseph Myers <joseph@codesourcery.com>
19120 * elf/elf.h (NT_PPC_PKEY): New macro.
19122 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
19125 * localedata/locales/hr_HR: fix thousands_sep and
19128 2018-04-20 Joseph Myers <joseph@codesourcery.com>
19130 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
19131 (XTABS): Define to TAB3.
19133 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19135 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19137 * dirent/scandir-tail-common.c: New file.
19138 * dirent/scandir-tail.c: Use scandir-tail-common.c.
19139 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
19140 * dirent/scandir.c: Use scandir-tail-common.c.
19141 * dirent/scandirat.c: Likewise.
19142 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
19143 * dirent/scandir64.c (scandir64): Always build and alias to scandir
19144 if _DIRENT_MATCHES_DIRENT64 is defined.
19145 * dirent/scandirat64.c (scandirat64): Likewise.
19146 * include/dirent.h (__scandir_tail): Only define iff
19147 _DIRENT_MATCHES_DIRENT64 is not defined.
19148 (__scandir64_tail): Define regardless.
19149 (__scandirat, scandirat64): Remove libc_hidden_proto.
19150 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
19151 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
19152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
19153 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
19154 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19155 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
19156 * sysdeps/unix/sysv/linux/scandir64.c: New file.
19158 2018-04-20 Joseph Myers <joseph@codesourcery.com>
19160 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
19162 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
19164 (_dl_aarch64_cap_flags): Add asimdfhm.
19166 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
19168 * sysdeps/nios2/libm-test-ulps: Update.
19170 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19172 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
19173 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
19175 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
19177 (_DIRENT_MATCHES_DIRENT64): Undef
19178 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
19179 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
19180 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
19181 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
19182 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
19183 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
19184 use getdents64 syscalls as base.
19185 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
19186 symbol if required.
19187 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
19188 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
19189 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
19190 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
19191 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
19192 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
19193 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
19194 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
19195 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19196 (__get_clockfreq_via_proc_openprom): Use __getdents64.
19197 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
19199 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
19201 * scripts/test_printers_common.py (init_test): Disable lock elision.
19203 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
19205 * math/test-tgmath.c (count_double, count_float,
19206 count_ldouble, count_cdouble, count_cfloat,
19207 count_cldouble): Use volatile int.
19209 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19211 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
19212 (conformtest-xfail-conds): Add i386-gnu.
19213 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
19215 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
19216 ipc_perm.cuid, ipc_perm.cgid): Likewise.
19217 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
19218 msqid_ds.msg_lrpid): Likewise.
19219 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
19221 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
19222 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
19223 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
19224 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
19226 (struct statvfs64): Likewise.
19227 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
19229 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
19230 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
19231 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
19232 instead of wait_queue.
19233 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
19234 instead of vm_area_struct.
19235 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
19236 struct sched_param definition to it.
19237 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19238 * bits/types/struct_sched_param.h: New file.
19239 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
19240 <bits/types/struct_sched_param.h> instead of <sched.h>.
19241 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
19242 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
19243 generic version but include <bits/pthreadtypes.h> to make struct
19244 sigevent's sigev_notify_attributes field a pthread_attr_t*.
19245 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
19247 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
19248 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
19249 [__USE_XOPEN] (OFDEL): New macro.
19250 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
19251 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
19252 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
19254 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
19255 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
19256 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
19258 * sysdeps/i386/sys/ucontext.h: Likewise.
19259 * sysdeps/m68k/sys/ucontext.h: Likewise.
19260 * sysdeps/mips/sys/ucontext.h: Likewise.
19261 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
19262 * sysdeps/mach/hurd/i386/Makefile
19263 (test-xfail-POSIX/fcntl.h/conform): Add.
19264 (test-xfail-POSIX/signal.h/conform): Add.
19265 (test-xfail-POSIX/semaphore.h/conform): Add.
19266 (test-xfail-POSIX/regex.h/conform): Add.
19267 (test-xfail-POSIX/aio.h/conform): Add.
19268 (test-xfail-POSIX/mqueue.h/conform): Add.
19269 (test-xfail-POSIX/sys/types.h/conform): Add.
19270 (test-xfail-UNIX98/fcntl.h/conform): Add.
19271 (test-xfail-UNIX98/netdb.h/conform): Add.
19272 (test-xfail-UNIX98/signal.h/conform): Add.
19273 (test-xfail-UNIX98/semaphore.h/conform): Add.
19274 (test-xfail-UNIX98/regex.h/conform): Add.
19275 (test-xfail-UNIX98/aio.h/conform): Add.
19276 (test-xfail-UNIX98/ftw.h/conform): Add.
19277 (test-xfail-UNIX98/mqueue.h/conform): Add.
19278 (test-xfail-UNIX98/netinet/in.h/conform): Add.
19279 (test-xfail-UNIX98/sys/wait.h/conform): Add.
19280 (test-xfail-UNIX98/sys/sem.h/conform): Add.
19281 (test-xfail-UNIX98/sys/uio.h/conform): Add.
19282 (test-xfail-UNIX98/sys/socket.h/conform): Add.
19283 (test-xfail-UNIX98/sys/types.h/conform): Add.
19284 (test-xfail-UNIX98/stdlib.h/conform): Add.
19285 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
19286 (test-xfail-POSIX2008/fcntl.h/conform): Add.
19287 (test-xfail-POSIX2008/netdb.h/conform): Add.
19288 (test-xfail-POSIX2008/signal.h/conform): Add.
19289 (test-xfail-POSIX2008/semaphore.h/conform): Add.
19290 (test-xfail-POSIX2008/regex.h/conform): Add.
19291 (test-xfail-POSIX2008/aio.h/conform): Add.
19292 (test-xfail-POSIX2008/mqueue.h/conform): Add.
19293 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
19294 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
19295 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
19296 (test-xfail-POSIX2008/sys/types.h/conform): Add.
19297 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
19298 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
19299 (test-xfail-XOPEN2K/netdb.h/conform): Add.
19300 (test-xfail-XOPEN2K/signal.h/conform): Add.
19301 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
19302 (test-xfail-XOPEN2K/regex.h/conform): Add.
19303 (test-xfail-XOPEN2K/aio.h/conform): Add.
19304 (test-xfail-XOPEN2K/ftw.h/conform): Add.
19305 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
19306 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
19307 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
19308 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
19309 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
19310 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
19311 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
19312 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
19313 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
19314 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
19315 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
19316 (test-xfail-XOPEN2K8/signal.h/conform): Add.
19317 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
19318 (test-xfail-XOPEN2K8/regex.h/conform): Add.
19319 (test-xfail-XOPEN2K8/aio.h/conform): Add.
19320 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
19321 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
19322 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
19323 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
19324 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
19325 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
19326 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
19327 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
19328 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
19329 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
19330 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
19332 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
19333 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
19335 2018-04-18 Joseph Myers <joseph@codesourcery.com>
19337 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19338 --enable-obsolete for powerpc-linux-gnuspe.
19340 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19342 * conform/data/sys/un.h-data: Allow sun_ prefix.
19343 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
19345 * sysdeps/mach/include/mach.h: Likewise.
19346 * sysdeps/mach/include/mach/mig_support.h: Likewise.
19347 * sysdeps/mach/include/mach_error.h: Likewise.
19349 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19351 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
19352 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
19353 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
19354 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
19356 2018-04-16 Andreas Schwab <schwab@suse.de>
19359 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
19361 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19363 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
19364 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
19366 2018-04-12 DJ Delorie <dj@redhat.com>
19368 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19371 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19373 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
19374 (struct kernel_sigaction): Use the same definition on 31bit as is used
19377 2018-04-09 Florian Weimer <fweimer@redhat.com>
19380 * resolv/res_send.c (send_dg): Use designated initializers instead
19381 of assignment to zero-initialize other fields of struct mmsghdr.
19383 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19385 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
19386 __READDIR_ALIAS): Undefine after usage.
19387 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
19388 __READDIR_R_ALIAS): Likewise.
19389 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
19390 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
19391 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
19392 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
19393 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
19394 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
19395 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19396 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19397 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
19398 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
19399 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
19400 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
19401 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19402 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
19403 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
19404 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
19405 * sysdeps/unix/sysv/linux/readdir.c: New file.
19406 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
19407 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
19408 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
19410 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19412 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
19414 * manual/charset.texi (Converting a Character): Fix typo.
19416 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19420 * sysdeps/arm/libm-test-ulps: Update.
19422 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
19423 as base implementation.
19424 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19425 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19426 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19427 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19428 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19429 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
19430 remove unrequired definitions and update comments.
19431 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
19432 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
19433 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
19434 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
19435 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
19436 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
19437 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
19438 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
19439 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
19440 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
19441 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
19442 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19443 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
19444 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
19445 and RESET_SA_RESTORER hooks.
19447 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
19449 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19451 2018-04-05 Florian Weimer <fweimer@redhat.com>
19453 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
19454 integer overflow, memory leak on error, and indeterminate errno
19455 value. Add a null wide character to terminate the result string.
19456 * manual/charset.texi (Converting a Character): Mention embedded
19457 null bytes in the mbrtowc input string. Explain what happens in
19458 the -2 result case. Do not claim that mbrtowc is simple or
19459 obvious to use. Adjust the description of the code example. Use
19460 @code, not @var, for concrete variables.
19462 2018-04-05 Florian Weimer <fweimer@redhat.com>
19464 * manual/examples/mbstouwcs.c: New file.
19465 * manual/charset.texi (Converting a Character): Include it.
19467 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19469 * include/dirent.h (dirfd): Add hidden proto.
19470 * dirent/dirfd.c (dirfd): Add hidden def.
19471 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
19472 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
19474 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
19476 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
19477 sin, cos and sincos to 1 ULP.
19479 2018-04-04 Maciej W. Rozycki <macro@mips.com>
19482 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
19484 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
19485 * elf/tst-absolute-sym.c: New file.
19486 * elf/tst-absolute-sym-lib.c: New file.
19487 * elf/tst-absolute-sym-lib.lds: New file.
19488 * elf/Makefile (tests): Add `tst-absolute-sym'.
19489 (modules-names): Add `tst-absolute-sym-lib'.
19490 (LDLIBS-tst-absolute-sym-lib.so): New variable.
19491 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
19492 ($(objpfx)tst-absolute-sym): New dependency.
19495 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
19497 (SYMBOL_ADDRESS): New macro.
19498 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
19499 SYMBOL_ADDRESS for symbol address calculation.
19500 * elf/dl-runtime.c (_dl_fixup): Likewise.
19501 (_dl_profile_fixup): Likewise.
19502 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
19503 * elf/rtld.c (dl_main): Likewise.
19504 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
19505 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
19506 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
19507 (elf_machine_rela): Likewise.
19508 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
19509 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
19510 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19511 (elf_machine_rela): Likewise.
19512 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19513 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
19514 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
19515 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
19517 (elf_machine_reloc): Likewise.
19518 (elf_machine_got_rel): Likewise.
19519 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
19520 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
19521 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19523 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19525 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
19526 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19528 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19530 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19531 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19533 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19535 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
19536 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19538 2018-04-04 Zack Weinberg <zackw@panix.com>
19540 * sysdeps/generic/internal-signals.h: Include signal.h,
19541 sigsetops.h, and stdbool.h.
19542 (__libc_signal_block_all): Actually block all signals.
19543 (__libc_signal_block_app): Likewise.
19544 (__libc_signal_restore_set): Actually restore the signal mask.
19546 2018-04-04 Florian Weimer <fweimer@redhat.com>
19548 inet: Actually build and run tst-deadline.
19549 * inet/Makefile (tests-internal): Add tst-deadline and do not
19550 overwrite the variable.
19551 (tests-static-internal): Remove variable.
19553 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
19556 * bits/uio-ext.h (RWF_APPEND): New.
19557 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
19558 * manual/llio.texi: Document RWF_APPEND.
19559 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
19560 (RWF_SUPPORTED): Add RWF_APPEND.
19562 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19565 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
19566 check for internal nptl signals.
19567 * nptl/sigaction.c (__sigaction): Likewise.
19568 * signal/sigaddset.c (sigaddset): Likewise.
19569 * signal/sigdelset.c (sigdelset): Likewise.
19570 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19571 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
19573 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
19574 to filter out internal nptl signals.
19575 * signal/tst-sigset.c (do_test): Check ech signal indidually and
19576 also check realtime signals using standard macros.
19577 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
19578 __is_internal_signal, __libc_signal_block_all,
19579 __libc_signal_block_app, __libc_signal_restore_set): New functions.
19580 * sysdeps/nptl/sigfillset.c: Remove file.
19581 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
19582 Change return to bool.
19583 (__clear_internal_signals): Remove SIGTIMER clean since it is
19584 equal to SIGCANEL on Linux.
19585 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
19586 signal set was constructed using standard functions.
19588 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19590 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
19591 ifname is too long.
19592 * hurd/hurdsig.c (interrupted_reply_port_location): Use
19593 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
19594 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
19596 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
19597 * signal/sigaddset.c: Include <sigsetopts.h>.
19598 * signal/sigdelset.c: Likewise.
19600 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19602 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19604 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19605 logic as sin and cos.
19607 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19609 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19610 inputs. Return correct sign.
19611 (do_sincos): Remove small input check before do_sin, let do_sin set
19616 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19618 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19619 (do_cos_slow): Likewise.
19620 (do_sin_slow): Likewise.
19621 (reduce_and_compute): Likewise.
19626 (sloww1): Likewise.
19627 (sloww2): Likewise.
19629 (bslow1): Likewise.
19630 (bslow2): Likewise.
19631 (cslow2): Likewise.
19633 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19635 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19636 (do_cos): Remove corp parameter and calculations.
19637 (do_sin): Likewise.
19638 (do_sincos): Remove cor variable.
19639 (__sin): Use do_sincos for huge inputs.
19641 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19642 (reduce_and_compute_sincos): Remove unused function.
19644 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19646 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19647 reduce_sincos, improve accuracy to 136 bits.
19648 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19649 (__sin): Use improved reduction and simplified do_sincos calculation.
19651 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19653 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19655 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19656 (do_sincos_2): Likewise.
19657 (__sin): Remove middle range reduction case.
19659 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19662 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19664 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19665 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19668 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19670 2018-04-03 Joseph Myers <joseph@codesourcery.com>
19672 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19675 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19677 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19678 Remove definitions.
19679 (opendir_oflags): Use O_DIRECTORY regardless.
19680 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19681 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19683 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19685 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19686 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19688 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19689 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19690 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19691 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
19692 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19693 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
19695 * htl/Makefile: Bump licence to LGPL 2.1+.
19696 * htl/alloca_cutoff.c: Likewise.
19697 * htl/cthreads-compat.c: Likewise.
19698 * htl/lockfile.c: Likewise.
19699 * htl/pt-alloc.c: Likewise.
19700 * htl/pt-cancel.c: Likewise.
19701 * htl/pt-cleanup.c: Likewise.
19702 * htl/pt-create.c: Likewise.
19703 * htl/pt-dealloc.c: Likewise.
19704 * htl/pt-detach.c: Likewise.
19705 * htl/pt-exit.c: Likewise.
19706 * htl/pt-getattr.c: Likewise.
19707 * htl/pt-initialize.c: Likewise.
19708 * htl/pt-internal.h: Likewise.
19709 * htl/pt-join.c: Likewise.
19710 * htl/pt-self.c: Likewise.
19711 * htl/pt-setcancelstate.c: Likewise.
19712 * htl/pt-setcanceltype.c: Likewise.
19713 * htl/pt-sigmask.c: Likewise.
19714 * htl/pt-spin-inlines.c: Likewise.
19715 * htl/pt-testcancel.c: Likewise.
19716 * htl/pt-yield.c: Likewise.
19717 * htl/tests/test-1.c: Likewise.
19718 * htl/tests/test-10.c: Likewise.
19719 * htl/tests/test-11.c: Likewise.
19720 * htl/tests/test-12.c: Likewise.
19721 * htl/tests/test-13.c: Likewise.
19722 * htl/tests/test-14.c: Likewise.
19723 * htl/tests/test-15.c: Likewise.
19724 * htl/tests/test-16.c: Likewise.
19725 * htl/tests/test-17.c: Likewise.
19726 * htl/tests/test-2.c: Likewise.
19727 * htl/tests/test-3.c: Likewise.
19728 * htl/tests/test-4.c: Likewise.
19729 * htl/tests/test-5.c: Likewise.
19730 * htl/tests/test-6.c: Likewise.
19731 * htl/tests/test-7.c: Likewise.
19732 * htl/tests/test-8.c: Likewise.
19733 * htl/tests/test-9.c: Likewise.
19734 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19735 * sysdeps/htl/bits/cancelation.h: Likewise.
19736 * sysdeps/htl/bits/pthread-np.h: Likewise.
19737 * sysdeps/htl/bits/pthread.h: Likewise.
19738 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19739 * sysdeps/htl/bits/semaphore.h: Likewise.
19740 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19741 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19742 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19743 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19744 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19745 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19746 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19747 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19748 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19749 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19750 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19751 * sysdeps/htl/old_pt-atfork.c: Likewise.
19752 * sysdeps/htl/pt-atfork.c: Likewise.
19753 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19754 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19755 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19756 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19757 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19758 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19759 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19760 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19761 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19762 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19763 * sysdeps/htl/pt-attr-init.c: Likewise.
19764 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19765 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19766 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19767 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19768 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19769 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19770 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19771 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19772 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19773 * sysdeps/htl/pt-attr.c: Likewise.
19774 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19775 * sysdeps/htl/pt-barrier-init.c: Likewise.
19776 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19777 * sysdeps/htl/pt-barrier.c: Likewise.
19778 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19779 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19780 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19781 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19782 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19783 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19784 * sysdeps/htl/pt-cond-init.c: Likewise.
19785 * sysdeps/htl/pt-cond-signal.c: Likewise.
19786 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19787 * sysdeps/htl/pt-cond-wait.c: Likewise.
19788 * sysdeps/htl/pt-cond.c: Likewise.
19789 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19790 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19791 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19792 * sysdeps/htl/pt-condattr-init.c: Likewise.
19793 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19794 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19795 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19796 * sysdeps/htl/pt-equal.c: Likewise.
19797 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19798 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19799 * sysdeps/htl/pt-getschedparam.c: Likewise.
19800 * sysdeps/htl/pt-getspecific.c: Likewise.
19801 * sysdeps/htl/pt-init-specific.c: Likewise.
19802 * sysdeps/htl/pt-key-create.c: Likewise.
19803 * sysdeps/htl/pt-key-delete.c: Likewise.
19804 * sysdeps/htl/pt-key.h: Likewise.
19805 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19806 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19807 * sysdeps/htl/pt-mutex-init.c: Likewise.
19808 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19809 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19810 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19811 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19812 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19813 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19814 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19815 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19816 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19817 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19818 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19819 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19820 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19821 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19822 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19823 * sysdeps/htl/pt-mutexattr.c: Likewise.
19824 * sysdeps/htl/pt-once.c: Likewise.
19825 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19826 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19827 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19828 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19829 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19830 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19831 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19832 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19833 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19834 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19835 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19836 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19837 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19838 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19839 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19840 * sysdeps/htl/pt-setschedparam.c: Likewise.
19841 * sysdeps/htl/pt-setschedprio.c: Likewise.
19842 * sysdeps/htl/pt-setspecific.c: Likewise.
19843 * sysdeps/htl/pt-spin.c: Likewise.
19844 * sysdeps/htl/pt-startup.c: Likewise.
19845 * sysdeps/htl/pthread.h: Likewise.
19846 * sysdeps/htl/sem-close.c: Likewise.
19847 * sysdeps/htl/sem-destroy.c: Likewise.
19848 * sysdeps/htl/sem-getvalue.c: Likewise.
19849 * sysdeps/htl/sem-init.c: Likewise.
19850 * sysdeps/htl/sem-open.c: Likewise.
19851 * sysdeps/htl/sem-post.c: Likewise.
19852 * sysdeps/htl/sem-timedwait.c: Likewise.
19853 * sysdeps/htl/sem-trywait.c: Likewise.
19854 * sysdeps/htl/sem-unlink.c: Likewise.
19855 * sysdeps/htl/sem-wait.c: Likewise.
19856 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19857 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19858 * sysdeps/mach/htl/pt-block.c: Likewise.
19859 * sysdeps/mach/htl/pt-spin.c: Likewise.
19860 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19861 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19862 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19863 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19864 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19865 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19866 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19867 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19868 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19869 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19870 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19871 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19872 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19873 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19874 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19875 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19876 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19877 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19878 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19879 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19880 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19881 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19882 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19883 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19884 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19885 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19886 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19887 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19888 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19889 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19890 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19891 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19892 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19893 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19894 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19895 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19896 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19897 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19898 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19899 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19900 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19901 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19902 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19904 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19905 * README: Remove the mention of out-of-tree patches needed for
19908 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19909 (UTIME_NOW, UTIME_OMIT): Define macros.
19911 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19912 instead of pthread_detach.
19913 (__cthread_fork): Call __pthread_create instead of pthread_create.
19914 (__cthread_keycreate): Call __pthread_key_create instead of
19915 pthread_key_create.
19916 (__cthread_getspecific): Call __pthread_getspecific instead of
19917 pthread_getspecific.
19918 (__cthread_setspecific): Call __pthread_setspecific instead of
19919 pthread_setspecific.
19920 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19921 __pthread_mutex_unlock instead of pthread_mutex_lock and
19922 pthread_mutex_unlock.
19923 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19924 ___pthread_get_cleanup_stack.
19925 (__pthread_get_cleanup_stack): New strong alias.
19926 * htl/pt-create.c: Include <pthreadP.h>.
19927 (entry_point): Call __pthread_exit instead of pthread_exit.
19928 (pthread_create): Rename to __pthread_create.
19929 (pthread_create): New strong alias.
19930 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19931 (pthread_detach): New strong alias.
19932 (__pthread_detach): Call __pthread_cond_broadcast instead of
19933 pthread_cond_broadcast.
19934 * htl/pt-exit.c: Include <pthreadP.h>.
19935 (__pthread_exit): Call __pthread_setcancelstate and
19936 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19937 __pthread_get_cleanup_stack.
19938 * htl/pt-testcancel.c: Include <pthreadP.h>.
19939 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19940 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19941 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19942 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19943 pthread_attr_getstacksize.
19944 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19945 Rename to __pthread_attr_getstackaddr.
19946 (pthread_attr_getstackaddr): New strong alias.
19947 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19948 Rename to __pthread_attr_getstacksize.
19949 (pthread_attr_getstacksize): New strong alias.
19950 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19951 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19952 (pthread_attr_setstack): New strong alias.
19953 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19954 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19955 pthread_attr_getstacksize, pthread_attr_setstacksize and
19956 pthread_attr_setstackaddr.
19957 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19958 Rename to __pthread_attr_setstackaddr.
19959 (pthread_attr_setstackaddr): New strong alias.
19960 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19961 Rename to __pthread_attr_setstacksize.
19962 (pthread_attr_setstacksize): New strong alias.
19963 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19964 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19966 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19967 (__pthread_key_create): New hidden def.
19968 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19969 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19970 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19971 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19972 __pthread_setspecific, __pthread_setcancelstate,
19973 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19974 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19975 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19977 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19978 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19979 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19980 (pthread_attr_setstackaddr): New strong alias.
19981 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19982 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19983 (pthread_attr_setstacksize): New strong alias.
19984 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19985 (call_exit): Call __pthread_exit instead of pthread_exit.
19986 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19987 (_pthread_mutex_init): New hidden definition.
19988 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19989 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19990 instead of pthread_attr_init and pthread_attr_setstack.
19992 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19993 __vm_deallocate instead of vm_allocate and vm_deallocate.
19994 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19996 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19998 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
20000 * hurd/siginfo.c: Include <libioP.h>.
20001 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
20002 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
20004 * mach/devstream.c: Include <libioP.h>.
20005 (dealloc_ref): Call __mach_port_deallocate instead of
20006 mach_port_deallocate.
20007 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
20008 Call __mach_port_deallocate instead of mach_port_deallocate.
20009 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
20011 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
20013 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
20014 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
20015 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
20017 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
20019 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
20020 instead of sysconf.
20021 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
20022 __clock_gettime instead of clock_gettime.
20023 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
20024 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
20025 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
20026 * sysdeps/unix/bsd/stty.c (stty): Likewise.
20027 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
20029 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
20030 __clock_gettime and __nanosleep instead of clock_gettime and
20032 * hurd/catch-signal.c (hurd_catch_signal): Rename to
20033 __hurd_catch_signal.
20034 (hurd_catch_signal): New strong alias.
20035 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
20036 __hurd_catch_signal instead of hurd_catch_signal.
20037 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
20038 * hurd/hurdexec.c (_hurd_init): Add hidden def.
20039 * hurd/hurdinit.c (_hurd_init): Add hidden def.
20040 * hurd/hurdsig.c: Include <mach/mig_support.h>.
20041 (_hurd_thread_sigstate): Add hidden def.
20042 (_hurd_internal_post_signal): Use __mutex_unlock instead of
20044 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
20045 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
20046 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
20047 __hurd_file_name_path_lookup.
20048 (hurd_file_name_path_lookup): New strong alias.
20049 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
20050 hurd_file_name_path_lookup.
20051 * mach/errstring.c (mach_error_type): Add hidden def.
20052 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
20053 * mach/mutex-init.c (__mutex_init): Add hidden def.
20054 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
20055 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
20056 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
20057 * sysdeps/mach/hurd/getcwd.c
20058 (_hurd_canonicalize_directory_name_internal): Rename to
20059 __hurd_canonicalize_directory_name_internal.
20060 (_hurd_canonicalize_directory_name_internal): New strong alias.
20061 (__canonicalize_directory_name_internal, __getcwd): Call
20062 __hurd_canonicalize_directory_name_internal instead of
20063 _hurd_canonicalize_directory_name_internal.
20064 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
20065 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
20067 * sysdeps/hurd/include/hurd.h: New file.
20068 * sysdeps/hurd/include/hurd/fd.h: New file.
20069 * sysdeps/hurd/include/hurd/signal.h: New file.
20070 * sysdeps/mach/include/lock-intern.h: New file.
20071 * sysdeps/mach/include/mach.h: New file.
20072 * sysdeps/mach/include/mach/mig_support.h: New file.
20073 * sysdeps/mach/include/mach_error.h: New file.
20074 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
20076 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
20077 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
20078 _HEADER_H_HIDDEN_DEF macro.
20079 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
20080 _hurd_fd_error_signal): Add hidden prototype.
20081 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
20083 * libio/iolibio.h (_IO_puts): New hidden prototype.
20084 * libio/ioputs.c (_IO_puts): New hidden def.
20085 * sysdeps/mach/hurd/localplt.data: New file.
20087 2018-04-02 Agustina Arzille <avarzille@riseup.net>
20088 Amos Jeffries <squid3@treenet.co.nz>
20089 David Michael <fedora.dm0@gmail.com>
20090 Marco Gerards <marco@gnu.org>
20091 Marcus Brinkmann <marcus@gnu.org>
20092 Neal H. Walfield <neal@gnu.org>
20093 Pino Toscano <toscano.pino@tiscali.it>
20094 Richard Braun <rbraun@sceen.net>
20095 Roland McGrath <roland@gnu.org>
20096 Samuel Thibault <samuel.thibault@ens-lyon.org>
20097 Thomas DiModica <ricinwich@yahoo.com>
20098 Thomas Schwinge <tschwinge@gnu.org>
20100 * htl: New directory.
20101 * sysdeps/htl: New directory.
20102 * sysdeps/hurd/htl: New directory.
20103 * sysdeps/i386/htl: New directory.
20104 * sysdeps/mach/htl: New directory.
20105 * sysdeps/mach/hurd/htl: New directory.
20106 * sysdeps/mach/hurd/i386/htl: New directory.
20107 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
20108 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
20109 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
20111 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20113 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
20114 signals in thread created for runing timers.
20116 2018-04-01 Florian Weimer <fweimer@redhat.com>
20118 * support/support_format_addrinfo.c (support_format_addrinfo):
20119 Include unknown error number in formatted result.
20121 2018-03-29 Florian Weimer <fweimer@redhat.com>
20123 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
20126 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20128 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
20129 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
20130 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20131 (__ASSUME_CLONE_BACKWARDS): Define.
20133 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
20136 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
20137 early when linux sentinel value is set.
20139 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20141 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
20143 2018-03-27 Andreas Schwab <schwab@suse.de>
20146 * resolv/res_send.c (__res_context_send): Return ENOMEM if
20147 allocation of private copy of nsaddr_list fails.
20149 2018-03-26 Joseph Myers <joseph@codesourcery.com>
20152 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
20153 * sysdeps/unix/sysv/linux/umount.c: ... here.
20154 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
20155 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
20156 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
20157 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
20158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
20159 * sysdeps/unix/sysv/linux/umount.S: Likewise.
20160 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
20162 2018-03-26 Andreas Schwab <schwab@suse.de>
20164 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
20165 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
20166 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
20167 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
20168 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
20169 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
20170 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
20171 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
20172 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
20173 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
20174 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
20175 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
20176 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
20177 (R_RISCV_NUM): Define.
20179 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20181 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
20182 TLS declaration of errno.
20183 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
20185 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
20186 (ARCH_SETUP_TLS): Likewise.
20187 * sysdeps/mach/hurd/libc-start.h: New file copied from
20188 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
20189 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
20190 instead of __libc_setup_tls.
20191 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
20192 __libc_setup_tls before initializing libpthread and running _hurd_init
20193 which starts the signal thread.
20194 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
20196 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20198 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
20201 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
20202 after it is defined.
20204 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
20205 Max Horn <max@quendi.de>
20209 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
20211 * string/test-memmove.c (do_test2): New testcase.
20213 2018-03-22 Joseph Myers <joseph@codesourcery.com>
20215 * sysdeps/generic/frame.h: Remove file.
20216 * sysdeps/arm/frame.h: Likewise.
20217 * sysdeps/hppa/frame.h: Likewise.
20218 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
20220 (GET_FRAME): Likewise.
20221 (GET_STACK): Likewise.
20222 (CALL_SIGHANDLER): Likewise.
20223 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
20225 (GET_FRAME): Likewise.
20226 (GET_STACK): Likewise.
20227 (CALL_SIGHANDLER): Likewise.
20228 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
20229 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20230 (GET_FRAME): Likewise.
20231 (GET_STACK): Likewise.
20232 (CALL_SIGHANDLER): Likewise.
20233 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
20234 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20235 (GET_FRAME): Likewise.
20236 (GET_STACK): Likewise.
20237 (ADVANCE_STACK_FRAME): Likewise.
20238 (CALL_SIGHANDLER): Likewise.
20239 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
20240 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20241 (GET_FRAME): Likewise.
20242 (GET_STACK): Likewise.
20243 (CALL_SIGHANDLER): Likewise.
20244 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
20245 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20246 (GET_FRAME): Likewise.
20247 (GET_STACK): Likewise.
20248 (CALL_SIGHANDLER): Likewise.
20249 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
20250 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20251 (GET_FRAME): Likewise.
20252 (GET_STACK): Likewise.
20253 (CALL_SIGHANDLER): Likewise.
20254 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
20255 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20256 (GET_FRAME): Likewise.
20257 (GET_STACK): Likewise.
20258 (CALL_SIGHANDLER): Likewise.
20259 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
20260 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20261 (GET_FRAME): Likewise.
20262 (GET_STACK): Likewise.
20263 (CALL_SIGHANDLER): Likewise.
20264 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
20265 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20266 (GET_FRAME): Likewise.
20267 (GET_STACK): Likewise.
20268 (CALL_SIGHANDLER): Likewise.
20269 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
20270 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20271 (GET_FRAME): Likewise.
20272 (GET_STACK): Likewise.
20273 (CALL_SIGHANDLER): Likewise.
20274 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
20275 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20276 (GET_FRAME): Likewise.
20277 (GET_STACK): Likewise.
20278 (CALL_SIGHANDLER): Likewise.
20279 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
20280 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20281 (GET_FRAME): Likewise.
20282 (GET_STACK): Likewise.
20283 (CALL_SIGHANDLER): Likewise.
20284 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
20285 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20286 (FIRST_FRAME_POINTER): Likewise.
20287 (ADVANCE_STACK_FRAME): Likewise.
20288 (GET_STACK): Likewise.
20289 (GET_FRAME): Likewise.
20290 (CALL_SIGHANDLER): Likewise.
20291 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
20292 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20293 (ADVANCE_STACK_FRAME): Likewise.
20294 (GET_STACK): Likewise.
20295 (GET_FRAME): Likewise.
20296 (CALL_SIGHANDLER): Likewise.
20297 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
20298 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20299 (GET_FRAME): Likewise.
20300 (GET_STACK): Likewise.
20301 (CALL_SIGHANDLER): Likewise.
20302 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
20303 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20304 (GET_FRAME): Likewise.
20305 (GET_STACK): Likewise.
20306 (CALL_SIGHANDLER): Likewise.
20308 2018-03-21 Joseph Myers <joseph@codesourcery.com>
20310 * sysdeps/x86_64/backtrace.c: Move to ....
20311 * debug/backtrace.c: ... here.
20312 * sysdeps/aarch64/backtrace.c: Remove file.
20313 * sysdeps/alpha/backtrace.c: Likewise.
20314 * sysdeps/hppa/backtrace.c: Likewise.
20315 * sysdeps/ia64/backtrace.c: Likewise.
20316 * sysdeps/mips/backtrace.c: Likewise.
20317 * sysdeps/nios2/backtrace.c: Likewise.
20318 * sysdeps/riscv/backtrace.c: Likewise.
20319 * sysdeps/sh/backtrace.c: Likewise.
20320 * sysdeps/tile/backtrace.c: Likewise.
20322 2018-03-20 Joseph Myers <joseph@codesourcery.com>
20325 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
20328 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
20331 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
20332 possibly overflowing computations.
20334 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
20336 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
20337 values from Linux-specific section now that it is in the GNU section.
20338 * sysdeps/gnu/errlist.c: Regenerate.
20340 2018-03-20 Joseph Myers <joseph@codesourcery.com>
20342 * math/Makefile (libm-narrow-fns): Add sub.
20343 (libm-test-funcs-narrow): Likewise.
20344 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
20345 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
20346 * math/gen-auto-libm-tests.c (test_functions): Add sub.
20347 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
20348 (NARROW_SUB_ROUND_TO_ODD): Likewise.
20349 (NARROW_SUB_TRIVIAL): Likewise.
20350 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
20352 (__dsubl): Likewise.
20353 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
20355 (CFLAGS-nldbl-dsub.c): New variable.
20356 (CFLAGS-nldbl-fsub.c): Likewise.
20357 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20359 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
20361 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
20362 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
20363 * math/auto-libm-test-in: Add tests of sub.
20364 * math/auto-libm-test-out-narrow-sub: New generated file.
20365 * math/libm-test-narrow-sub.inc: New file.
20366 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
20367 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
20368 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
20369 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
20370 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
20371 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
20372 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
20373 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
20374 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
20375 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
20376 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
20377 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
20378 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
20379 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
20380 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
20381 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
20382 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
20383 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
20384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20385 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20386 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20387 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20388 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20389 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20390 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20391 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20392 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20393 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20394 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20395 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20396 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20397 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20402 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20403 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20404 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20405 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20406 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20407 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20408 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20409 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20410 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20411 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20413 2018-03-19 Joseph Myers <joseph@codesourcery.com>
20416 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
20418 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
20420 * benchtests/bench-timing.h (attribute_hidden): Undefine.
20422 2018-03-18 Richard Braun <rbraun@sceen.net>
20424 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
20427 2018-03-18 Agustina Arzille <avarzille@riseup.net>
20429 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
20430 (__libc_cleanup_fct): Define function.
20431 (__libc_cleanup_region_start, __libc_cleanup_region_end,
20432 __libc_cleanup_end): Rewrite implementation using
20433 __attribute__ ((__cleanup__)).
20434 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
20435 * hurd/Makefile (routines): Add hurdlock.
20436 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
20438 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
20439 * hurd/hurdpid.c: Include <lowlevellock.h>
20440 (_S_msg_proc_newids): Use lll_wait to synchronize.
20441 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
20442 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
20443 * mach/Makefile (lock-headers): Remove machine-lock.h.
20444 * mach/lock-intern.h: Include <lowlevellock.h> instead of
20446 (__spin_lock_t): New type.
20447 (__SPIN_LOCK_INITIALIZER): New macro.
20448 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
20449 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
20450 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
20451 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
20452 (__mutex_init): Initialize with lll.
20453 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
20454 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
20456 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20457 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
20458 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
20459 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
20460 (__setpgid): Use lll for synchronization.
20461 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
20462 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
20463 instead of <cthreads.h>.
20464 (_IO_lock_inexpensive): New macro
20465 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
20466 (__libc_lock_self0): New declaration.
20467 (__libc_lock_owner_self): New macro.
20468 (__libc_key_t): Remove type.
20469 (_LIBC_LOCK_INITIALIZER): New macro.
20470 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
20471 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
20472 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
20473 __libc_lock_define_initialized_recursive,
20474 __rtld_lock_define_initialized_recursive,
20475 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
20476 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
20477 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
20478 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
20479 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
20480 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
20481 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
20483 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
20484 * hurd/hurdlock.c: New file.
20485 * hurd/hurdlock.h: New file.
20486 * mach/lowlevellock.h: New file
20488 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
20490 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
20491 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
20492 when opening a symlink with O_NOFOLLOW.
20493 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
20494 path when flags contains O_NOFOLLOW.
20495 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
20496 if flags contains O_DIRECTORY and the result is a directory.
20497 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
20498 oneself when the pointer given in D is nul (as set by ext2fs).
20499 * sysdeps/mach/hurd/mlockall.c: New file.
20500 * sysdeps/mach/hurd/munlockall.c: New file.
20502 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20504 * hurd/hurdsig.c: Include <pthread.h>.
20505 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
20506 get the signal thread stack layout.
20507 * hurd/Makefile (headers): Remove threadvar.h.
20508 (inline-headers): Remove threadvar.h.
20509 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
20510 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
20511 __hurd_threadvar_max, __hurd_errno_location.
20512 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
20513 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
20514 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
20515 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
20516 unless TLS is not initialized yet, in which case we do not need a
20517 critical section yet anyway.
20518 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
20520 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
20522 (__hurd_threadvar_index): Remove enum.
20523 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
20524 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
20526 (__hurd_reply_port0): New variable declaration.
20527 (__hurd_local_reply_port): New macro.
20528 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
20529 (interrupted_reply_port_location): Add thread_t parameter. Use it
20530 with THREAD_TCB to access thread-local variables.
20531 (_hurdsig_abort_rpcs): Pass ss->thread to
20532 interrupted_reply_port_location.
20533 (_hurd_internal_post_signal): Likewise.
20534 (_hurdsig_init): Use presence of cthread_fork instead of
20535 __hurd_threadvar_stack_mask to start signal thread by hand.
20536 Remove signal thread threadvar initialization.
20537 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
20538 * hurd/sigunwind.c: Include <hurd/threadvar.h>
20539 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
20541 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
20543 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
20544 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
20545 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
20546 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
20547 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
20548 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
20549 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
20551 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
20552 <hurd/threadvar.h>.
20553 [IS_IN(rtld)] (rtld_errno): New variable.
20554 [IS_IN(rtld)] (__errno_location): New weak function.
20555 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
20556 * sysdeps/mach/hurd/errno.c: Remove file.
20557 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
20558 (__fork): Remove THREADVAR_SPACE macro and its use.
20559 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
20561 (init): Do not initialize threadvar.
20562 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
20564 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
20565 __hurd_local_reply_port instead of threadvar.
20566 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
20567 _hurd_sigstate fields.
20568 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
20569 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
20570 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
20571 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
20572 instead of threadvar.
20573 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
20574 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
20575 (use_threadvar, global_reply_port): Remove variables.
20576 (__hurd_reply_port0): New variable.
20577 (__mig_get_reply_port): Use __hurd_local_reply_port and
20578 __hurd_reply_port0 instead of threadvar.
20579 (__mig_dealloc_reply_port): Likewise.
20580 (__mig_init): Do not initialize threadvar.
20581 * sysdeps/mach/hurd/profil.c: Fix comment.
20582 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
20583 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
20584 cthread_keycreate, cthread_getspecific, cthread_setspecific to
20585 __cthread_fork, __cthread_detach, __pthread_getattr_np,
20586 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
20587 __cthread_setspecific.
20588 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
20589 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
20590 __cthread_t instead of cthread_fork, cthread_detach,
20591 pthread_getattr_np, pthread_attr_getstack.
20592 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
20593 __cthread_keycreate.
20594 (cthread_getspecific): Rename to __cthread_getspecific.
20595 (cthread_setspecific): Rename to __cthread_setspecific.
20596 (__libc_getspecific): Use __cthread_getspecific instead of
20597 cthread_getspecific.
20598 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20599 __cthread_keycreate instead of cthread_keycreate.
20600 (__libc_setspecific): Use __cthread_setspecific instead of
20601 cthread_setspecific.
20602 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20604 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20605 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20606 testing whether it is defined.
20608 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20610 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20612 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20613 * sysdeps/mach/i386/thread_state.h
20614 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20616 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20618 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20620 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20621 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20623 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20625 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20626 descriptor instead of creating a new one.
20627 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20629 * mach/setup-thread.c: Include <ldsodefs.h>.
20630 (__mach_setup_thread): Call _dl_allocate_tls, pass
20631 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20632 MACHINE_THREAD_STATE_FLAVOR, before getting
20633 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20634 MACHINE_THREAD_STATE_FLAVOR with the result.
20635 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20636 MACHINE_THREAD_STATE_FIX_NEW.
20637 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20638 too. Add original thread parameter.
20640 2018-03-16 Joseph Myers <joseph@codesourcery.com>
20642 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20643 Remove inline function.
20645 * sysdeps/i386/fpu/libm-test-ulps: Update.
20646 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20648 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20650 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20653 2018-03-15 Joseph Myers <joseph@codesourcery.com>
20655 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20656 (__sincos_code): Remove define and undefine.
20657 [__FAST_MATH__] (__sincos): Remove inline function.
20658 [__FAST_MATH__] (__sincosf): Remove inline function.
20659 [__FAST_MATH__] (__sincosl): Remove inline function.
20660 (__atan2l): Remove inline functions.
20661 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20662 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20664 (floor): Remove inline function.
20666 [__FAST_MATH__] (__ldexp_code): Remove macro.
20667 [__FAST_MATH__] (ldexp): Remove inline function.
20668 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20669 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20670 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20671 [__USE_ISOC99] (__lrint_code): Remove macro.
20672 [__USE_ISOC99] (__llrint_code): Likewise.
20673 [__USE_ISOC99] (lrintf): Remove inline function.
20674 [__USE_ISOC99] (lrint): Likewise.
20675 [__USE_ISOC99] (lrintl): Likewise.
20676 [__USE_ISOC99] (llrint): Likewise.
20677 [__USE_ISOC99] (llrintf): Likewise.
20678 [__USE_ISOC99] (llrintl): Likewise.
20680 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20682 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20683 (__ieee754_sqrtf): Remove.
20684 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20685 (__ieee754_sqrtf): Remove.
20686 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20687 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20688 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20689 (__ieee754_sqrtf): Remove.
20690 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20691 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20694 (__ieee754_sqrt): Remove.
20695 (__ieee754_sqrtf): Remove.
20696 (__ieee754_sqrtl): Remove.
20697 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20698 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20699 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20700 (__ieee754_sqrtf): Remove.
20701 (__ieee754_sqrtl): Remove.
20703 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20705 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20706 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20707 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20708 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20709 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20710 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20711 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20712 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20714 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20715 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20716 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20717 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20718 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20719 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20720 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20721 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20722 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20723 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20724 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20725 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20726 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20727 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20728 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20729 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20730 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20731 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20732 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20733 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20734 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20735 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20736 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20737 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20738 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20739 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20740 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20741 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20742 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20743 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20744 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20745 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20746 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20747 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20748 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20749 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20750 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20751 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20752 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20753 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20755 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20757 * include/math.h (sqrt): Declare with asm redirect.
20760 (sqrtf128): Likewise.
20761 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20762 nonlib and libnldbl with -fmath-errno.
20763 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20764 * math/w_sqrt_template.c: Likewise.
20765 * math/w_sqrtf_compat.c: Likewise.
20766 * math/w_sqrtl_compat.c: Likewise.
20767 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20768 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20769 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20772 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20774 * benchtests/Makefile: Define _ISOMAC.
20775 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20776 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20777 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20778 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20779 * benchtests/bench-timing.h: Define attribute_hidden.
20781 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20783 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20786 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20789 * localedata/locales/cs_CZ (mon): Rename to...
20791 (mon): Import from CLDR (genitive case).
20793 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20796 * localedata/locales/el_CY (abmon): Rename to...
20797 (ab_alt_mon): This.
20798 (abmon): Import from CLDR (abbreviated genitive case).
20799 * localedata/locales/el_GR (abmon): Rename to...
20800 (ab_alt_mon): This.
20801 (abmon): Import from CLDR (abbreviated genitive case).
20803 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20806 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20808 2018-03-15 Robert Buj <robert.buj@gmail.com>
20811 * localedata/locales/ca_ES (abmon): Rename to...
20812 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20813 (mon): Rename to...
20815 (abmon): Import from CLDR (genitive case, month names preceded by
20818 (abday): Synchronize with CLDR.
20819 (d_t_fmt): Likewise.
20823 (LC_TIME): Improve indentation.
20824 (LC_TELEPHONE): Likewise.
20825 (LC_NAME): Likewise.
20826 (LC_ADDRESS): Likewise.
20828 2018-03-14 Joseph Myers <joseph@codesourcery.com>
20830 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20831 (lrintf): Remove definitions used only with old GCC.
20832 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20833 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20834 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20835 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20836 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20837 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20838 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20839 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20840 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20841 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20842 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20843 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20844 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20845 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20846 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20847 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20848 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20849 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20850 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20851 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20852 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20853 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20854 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20855 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20856 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20857 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20858 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20859 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20861 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20863 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20864 instruction to unbreak builds with binutils 2.26 and older.
20866 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20868 * sysdeps/aarch64/strncmp.S (count): New macro.
20869 (strncmp): Store misaligned length in SRC1 in COUNT.
20870 (mutual_align): Adjust.
20871 (misaligned8): Load dword at a time when it is safe.
20873 2018-03-12 Zack Weinberg <zackw@panix.com>
20877 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20878 if the _IO_EOF_SEEN bit is already set; update commentary.
20879 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20880 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20882 * support/support_openpty.c, support/tty.h: New files.
20883 * support/Makefile (libsupport-routines): Add support_openpty.
20885 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20887 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20888 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20890 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20892 * po/pt_BR.po: Update translations.
20894 2018-03-12 David Michael <fedora.dm0@gmail.com>
20896 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20897 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20898 get a port to the startup server.
20900 2018-03-11 Zack Weinberg <zackw@panix.com>
20902 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20903 before nldbl-compat.h.
20905 2018-03-10 Zack Weinberg <zackw@panix.com>
20907 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20908 math.h or math_private.h.
20910 * sysdeps/alpha/fpu/s_isnan.c
20911 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20912 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20913 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20914 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20915 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20916 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20917 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20918 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20919 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20922 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20923 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20924 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20925 Include math_private.h.
20927 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20928 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20929 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20930 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20931 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20932 * sysdeps/powerpc/power7/fpu/s_logb.c:
20933 Include math.h and math_private.h.
20935 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20936 uses of $at in .set noat / .set at.
20938 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20940 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20941 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20942 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20943 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20946 2018-03-09 Florian Weimer <fweimer@redhat.com>
20948 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20951 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20954 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20955 Add nop before __startcontext, add explaining comments.
20957 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20960 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20962 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20963 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20964 Do not build hardware transactional code for __SPE__.
20965 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20966 (__lll_trylock_elision): Likewise.
20967 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20968 (__lll_unlock_elision): Likewise.
20970 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20971 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20972 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20973 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20974 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20975 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20976 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20977 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20978 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20979 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20980 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20981 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20982 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20983 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20984 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20985 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20986 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20987 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20988 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20989 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20990 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20991 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20992 (__ASSUME_CLONE_BACKWARDS): Define.
20993 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20994 __clone2 if __NR_clone2 is defined.
20995 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20996 (__ASSUME_CLONE_BACKWARDS): Likewise.
20997 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20998 (__ASSUME_CLONE_BACKWARDS): Likewise.
20999 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21000 (__ASSUME_CLONE2): Likewise.
21001 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21002 (__ASSUME_CLONE_BACKWARDS3): Likewise.
21003 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
21004 variants and the define architecture can use.
21005 (__ASSUME_CLONE_DEFAULT): Define as default.
21006 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21007 (__ASSUME_CLONE_BACKWARDS): Likewise.
21008 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21009 (__ASSUME_CLONE_BACKWARDS): Likewise.
21010 * sysdeps/unix/sysv/linux/s390/kernel-features.h
21011 (__ASSUME_CLONE_BACKWARDS2): Likewise.
21013 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
21015 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
21017 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
21020 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
21021 (do_test_limit): Likewise.
21023 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
21024 for every implementation.
21025 (do_test): Likewise.
21027 * benchtests/bench-strncmp.c: Convert output to json.
21029 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21031 * io/futimens.c: Add missing start-of-file descriptive comment.
21032 * io/utime.c: Likewise.
21033 * misc/futimesat.c: Likewise.
21034 * misc/utimes.c: Likewise.
21035 * sysdeps/mach/hurd/futimesat.c: Likewise.
21036 * sysdeps/mach/hurd/utimes.c: Likewise.
21037 * sysdeps/posix/utime.c: Likewise.
21038 * sysdeps/posix/utimes.c: Likewise.
21039 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
21040 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
21041 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
21042 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
21044 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
21046 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
21048 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
21049 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
21050 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
21051 (__futimens): Move implementation to...
21052 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
21053 utime_tvalue_from_tspec): ... new helper functions.
21054 (hurd_futimens): New function.
21055 * sysdeps/mach/hurd/futimesat.c: New file.
21056 * sysdeps/mach/hurd/utimensat.c: New file.
21058 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
21060 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
21061 UTIME_OMIT): New macros.
21062 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
21063 before reverting to converting time spec to time value and calling
21065 * sysdeps/mach/hurd/utime-helper.c: New file.
21066 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
21067 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
21068 reverting to utime_tvalue_from_tval and __file_utimes.
21069 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
21070 (__lutimes): Just call hurd_futimens after lookup.
21071 * sysdeps/mach/hurd/utimes.c: Likewise.
21073 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
21075 * bits/sigaction.h: Add include guard.
21076 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
21077 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
21078 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
21079 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
21080 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
21081 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
21082 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
21083 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
21084 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
21086 2018-03-05 Joseph Myers <joseph@codesourcery.com>
21088 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
21089 -Wmaybe-uninitialized for -Os.
21090 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
21093 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21095 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
21096 __INO_T_MATCHES_INO64_T is defined.
21097 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
21098 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
21100 * dirent/alphasort64.c: Likewise.
21101 * dirent/scandir.c: Likewise.
21102 * dirent/scandir64-tail.c: Likewise.
21103 * dirent/scandir64.c: Likewise.
21104 * dirent/scandirat.c: Likewise.
21105 * dirent/scandirat64.c: Likewise.
21106 * dirent/versionsort.c: Likewise.
21107 * dirent/versionsort64.c: Likewise.
21108 * include/dirent.h: Likewise.
21110 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
21111 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
21112 for socketpair endpoint.
21113 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
21114 WRITE_BUFFER_SIZE as buffer size for sending socket.
21115 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
21116 issue on system where send is implemented with sendto syscall.
21117 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
21118 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
21119 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
21120 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
21123 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
21124 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
21125 sa_restorer for vDSO case.
21126 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
21128 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21130 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
21131 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
21132 * hurd/hurd/ioctl.h: Include <mach/port.h>
21133 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
21134 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
21135 <mach/mach_types.h> and <mach/message.h>.
21136 (headers): Move mach/param.h to bits/mach/param.h.
21137 * sysdeps/mach/i386/mach/param.h: Move file to ...
21138 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
21139 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
21141 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
21142 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
21143 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
21144 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
21145 trivial, for C++ conformity.
21146 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
21147 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
21148 Process mig output through $(migheadersed).
21149 * hurd/Makefile (migheadersed): Define variable.
21150 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
21151 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
21153 * hurd/hurd.h: Include <bits/types/sigset_t.h>
21154 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
21155 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
21156 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
21157 <bits/types/sigset_t.h>.
21158 [!defined __USE_GNU]: Do not #error out.
21159 (struct hurd_sigstate): Use _NSIG instead of NSIG.
21160 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
21161 Include <stddef.h> and <bits/types/sigset_t.h>
21162 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
21163 instead of sighandler_t.
21164 * stdlib/errno.h (error_t): Move definition to...
21165 * bits/types/error_t.h: ... new header.
21166 * stdlib/Makefile (headers): Add bits/types/error_t.h.
21167 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
21168 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
21169 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
21170 * hurd/hurd.h: Include <bits/types/error_t.h>
21171 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
21172 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
21173 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
21174 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
21175 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
21176 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
21177 * sysdeps/mach/hurd/futimens.c: New file.
21179 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
21182 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
21183 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
21184 * nscd/gai.c (__nss_hosts_database): Readd definition.
21185 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
21186 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
21187 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
21189 2018-03-02 Joseph Myers <joseph@codesourcery.com>
21191 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
21192 (ifunc_one): Likewise.
21194 2018-03-01 DJ Delorie <dj@delorie.com>
21197 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
21200 2018-03-01 Maciej W. Rozycki <macro@mips.com>
21202 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
21203 `match_pid' parameter.
21204 (td_ta_thr_iter): Update accordingly.
21206 2018-03-01 Florian Weimer <fweimer@redhat.com>
21208 * nptl/Makefile (install-lib-ldscripts): Remove.
21209 (install): Remove rule.
21210 ($(inst_libdir)/libpthread.so): Likewise.
21212 2018-03-01 Mike FABIAN <mfabian@redhat.com>
21215 * localedata/locales/an_ES: update month and day names,
21216 improve d_fmt, improve postal_fmt, add country_post,
21219 2018-03-01 Mike FABIAN <mfabian@redhat.com>
21221 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
21222 Ukrainian instead of Bulgarian.
21224 2018-03-01 Florian Weimer <fweimer@redhat.com>
21226 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
21229 2018-03-01 Florian Weimer <fweimer@redhat.com>
21231 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
21232 * nptl/Makefile (routines): Add pthread_atfork.
21233 (static-only-routines): Set to pthread_atfork.
21234 (libpthread-routines): Remove pthread_atfork.
21235 (libpthread-static-only-routines): Remove.
21236 (install): Update comment.
21237 (libpthread.so): Do not install libpthread_nonshared.a.
21238 (tests): Do not link with libpthread_nonshared.a.
21239 (generated): Remove libpthread_nonshared.a.
21240 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
21241 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
21242 with libpthread_nonshared.a.
21244 2018-02-28 Joseph Myers <joseph@codesourcery.com>
21247 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
21248 (libc_feholdexcept_setroundf128): New macro.
21249 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
21252 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
21254 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
21255 * include/inttypes.h: New file.
21257 2018-02-27 Joseph Myers <joseph@codesourcery.com>
21259 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
21260 -Os in two more places.
21262 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21264 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
21265 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
21266 be sorted correctly at the moment because of a bug.
21268 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21270 [BZ #22550] - es_ES locale (and other es_* locales): collation should
21271 treat ñ as a primary different character, sync the collation
21272 for Spanish with CLDR.
21273 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
21274 * localedata/Makefile: Add new test files.
21275 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
21276 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
21278 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
21279 * localedata/am_ET.UTF-8.in: New test file.
21280 * localedata/az_AZ.UTF-8.in: Likewise.
21281 * localedata/be_BY.UTF-8.in: Likewise.
21282 * localedata/ber_DZ.UTF-8.in: Likewise.
21283 * localedata/ber_MA.UTF-8.in: Likewise.
21284 * localedata/bg_BG.UTF-8.in: Likewise.
21285 * localedata/br_FR.UTF-8.in: Likewise.
21286 * localedata/cmn_TW.UTF-8.in: Likewise.
21287 * localedata/crh_UA.UTF-8.in: Likewise.
21288 * localedata/csb_PL.UTF-8.in: Likewise.
21289 * localedata/cv_RU.UTF-8.in: Likewise.
21290 * localedata/cy_GB.UTF-8.in: Likewise.
21291 * localedata/dz_BT.UTF-8.in: Likewise.
21292 * localedata/eo.UTF-8.in: Likewise.
21293 * localedata/es_ES.UTF-8.in: Likewise.
21294 * localedata/fa_IR.UTF-8.in: Likewise.
21295 * localedata/fi_FI.UTF-8.in: Likewise.
21296 * localedata/fil_PH.UTF-8.in: Likewise.
21297 * localedata/fur_IT.UTF-8.in: Likewise.
21298 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
21299 * localedata/ha_NG.UTF-8.in: Likewise.
21300 * localedata/ig_NG.UTF-8.in: Likewise.
21301 * localedata/ik_CA.UTF-8.in: Likewise.
21302 * localedata/kk_KZ.UTF-8.in: Likewise.
21303 * localedata/ku_TR.UTF-8.in: Likewise.
21304 * localedata/ky_KG.UTF-8.in: Likewise.
21305 * localedata/ln_CD.UTF-8.in: Likewise.
21306 * localedata/mi_NZ.UTF-8.in: Likewise.
21307 * localedata/ml_IN.UTF-8.in: Likewise.
21308 * localedata/mn_MN.UTF-8.in: Likewise.
21309 * localedata/mr_IN.UTF-8.in: Likewise.
21310 * localedata/mt_MT.UTF-8.in: Likewise.
21311 * localedata/nb_NO.UTF-8.in: Likewise.
21312 * localedata/om_KE.UTF-8.in: Likewise.
21313 * localedata/os_RU.UTF-8.in: Likewise.
21314 * localedata/ps_AF.UTF-8.in: Likewise.
21315 * localedata/ro_RO.UTF-8.in: Likewise.
21316 * localedata/ru_RU.UTF-8.in: Likewise.
21317 * localedata/sc_IT.UTF-8.in: Likewise.
21318 * localedata/se_NO.UTF-8.in: Likewise.
21319 * localedata/sq_AL.UTF-8.in: Likewise.
21320 * localedata/sv_SE.UTF-8.in: Likewise.
21321 * localedata/szl_PL.UTF-8.in: Likewise.
21322 * localedata/tg_TJ.UTF-8.in: Likewise.
21323 * localedata/tk_TM.UTF-8.in: Likewise.
21324 * localedata/tt_RU.UTF-8.in: Likewise.
21325 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
21326 * localedata/ug_CN.UTF-8.in: Likewise.
21327 * localedata/uz_UZ.UTF-8.in: Likewise.
21328 * localedata/vi_VN.UTF-8.in: Likewise.
21329 * localedata/yi_US.UTF-8.in: Likewise.
21330 * localedata/yo_NG.UTF-8.in: Likewise.
21331 * localedata/zh_CN.UTF-8.in: Likewise.
21332 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
21333 file and fix bugs in the collation.
21334 * localedata/locales/az_AZ: Likewise.
21335 * localedata/locales/be_BY: Likewise.
21336 * localedata/locales/ber_DZ: Likewise.
21337 * localedata/locales/ber_MA: Likewise.
21338 * localedata/locales/bg_BG: Likewise.
21339 * localedata/locales/br_FR: Likewise.
21340 * localedata/locales/br_FR@euro: Likewise.
21341 * localedata/locales/ca_ES: Likewise.
21342 * localedata/locales/cns11643_stroke: Likewise.
21343 * localedata/locales/crh_UA: Likewise.
21344 * localedata/locales/cs_CZ: Likewise.
21345 * localedata/locales/csb_PL: Likewise.
21346 * localedata/locales/cv_RU: Likewise.
21347 * localedata/locales/cy_GB: Likewise.
21348 * localedata/locales/da_DK: Likewise.
21349 * localedata/locales/dz_BT: Likewise.
21350 * localedata/locales/en_CA: Likewise.
21351 * localedata/locales/eo: Likewise.
21352 * localedata/locales/es_CU: Likewise.
21353 * localedata/locales/es_EC: Likewise.
21354 * localedata/locales/es_ES: Likewise.
21355 * localedata/locales/es_US: Likewise.
21356 * localedata/locales/et_EE: Likewise.
21357 * localedata/locales/fa_IR: Likewise.
21358 * localedata/locales/fi_FI: Likewise.
21359 * localedata/locales/fil_PH: Likewise.
21360 * localedata/locales/fur_IT: Likewise.
21361 * localedata/locales/gez_ER@abegede: Likewise.
21362 * localedata/locales/ha_NG: Likewise.
21363 * localedata/locales/hr_HR: Likewise.
21364 * localedata/locales/hsb_DE: Likewise.
21365 * localedata/locales/hu_HU: Likewise.
21366 * localedata/locales/ig_NG: Likewise.
21367 * localedata/locales/ik_CA: Likewise.
21368 * localedata/locales/is_IS: Likewise.
21369 * localedata/locales/iso14651_t1_pinyin: Likewise.
21370 * localedata/locales/kk_KZ: Likewise.
21371 * localedata/locales/ku_TR: Likewise.
21372 * localedata/locales/ky_KG: Likewise.
21373 * localedata/locales/ln_CD: Likewise.
21374 * localedata/locales/lt_LT: Likewise.
21375 * localedata/locales/lv_LV: Likewise.
21376 * localedata/locales/mi_NZ: Likewise.
21377 * localedata/locales/ml_IN: Likewise.
21378 * localedata/locales/mn_MN: Likewise.
21379 * localedata/locales/mr_IN: Likewise.
21380 * localedata/locales/mt_MT: Likewise.
21381 * localedata/locales/nb_NO: Likewise.
21382 * localedata/locales/om_KE: Likewise.
21383 * localedata/locales/os_RU: Likewise.
21384 * localedata/locales/pl_PL: Likewise.
21385 * localedata/locales/ps_AF: Likewise.
21386 * localedata/locales/ro_RO: Likewise.
21387 * localedata/locales/ru_RU: Likewise.
21388 * localedata/locales/ru_UA: Likewise.
21389 * localedata/locales/sc_IT: Likewise.
21390 * localedata/locales/se_NO: Likewise.
21391 * localedata/locales/si_LK: Likewise.
21392 * localedata/locales/sq_AL: Likewise.
21393 * localedata/locales/sv_FI: Likewise.
21394 * localedata/locales/sv_FI@euro: Likewise.
21395 * localedata/locales/sv_SE: Likewise.
21396 * localedata/locales/szl_PL: Likewise.
21397 * localedata/locales/tg_TJ: Likewise.
21398 * localedata/locales/ti_ER: Likewise.
21399 * localedata/locales/tk_TM: Likewise.
21400 * localedata/locales/tl_PH: Likewise.
21401 * localedata/locales/tr_TR: Likewise.
21402 * localedata/locales/tt_RU: Likewise.
21403 * localedata/locales/tt_RU@iqtelif: Likewise.
21404 * localedata/locales/ug_CN: Likewise.
21405 * localedata/locales/uk_UA: Likewise.
21406 * localedata/locales/uz_UZ: Likewise.
21407 * localedata/locales/uz_UZ@cyrillic: Likewise.
21408 * localedata/locales/vi_VN: Likewise.
21409 * localedata/locales/yi_US: Likewise.
21410 * localedata/locales/yo_NG: Likewise.
21412 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21414 * gen-locales.mk: Make test files which contain @ modifiers in their
21416 * localedata/gen-locale.sh: Likewise.
21418 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21420 * posix/tst-fnmatch.input: Fix results for range expressions
21422 * posix/tst-regexloc.c: Do not use a range expression for
21423 de_DE.ISO-8859-1 locale.
21425 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21427 * posix/bug-regex5.c: Fix test case because with the new
21428 iso14651_t1_common file, the da_DK locale now has 6 collating elements
21429 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
21432 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21434 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
21435 downloaded from ISO, the collation order of @-. and space has changed.
21436 Therefore, this test file needed to be adapted.
21437 * localedata/fr_CA.UTF-8.in: Likewise.
21438 * localedata/fr_FR.UTF-8.in: Likewise.
21439 * localedata/uk_UA.UTF-8.in: Likewise.
21441 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21443 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
21444 order of ȥ in the new iso14651_t1_common file.
21445 * localedata/pl_PL.UTF-8.in: Likewise.
21447 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21449 * localedata/locales/iso14651_t1_common: Add sections for various
21450 scripts to the iso14651_t1_common file.
21452 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21454 * localedata/locales/iso14651_t1_common: Use the code point of a
21455 character in the fourth collation level instead of IGNORE for all
21456 entries which have IGNORE on all 4 levels.
21458 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21460 * localedata/locales/iso14651_t1_common: Add some convenient collation
21461 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
21462 rules similar to those in CLDR.
21464 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21466 * localedata/locales/iso14651_t1_common: The new version of this
21467 file downloaded from ISO contained several syntax errors which
21468 are fixed by this patch.
21470 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21472 * localedata/locales/iso14651_t1_common: replace all <U.....>
21473 with <U000.....> because glibc understands only 4 digit or 8 digit
21475 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21477 * localedata/locales/iso14651_t1_common: Necessary changes
21478 to make the file downloaded from ISO usable by glibc.
21480 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21483 * localedata/locales/iso14651_t1_common: Update file to
21484 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
21486 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21488 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
21489 of <nptl/pthreadP.h>
21490 (thread_attr_compare): Move function to...
21491 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
21492 * sysdeps/nptl/timer_routines.h: ... new header.
21493 * sysdeps/mach/hurd/gai_misc.h: New file.
21495 2018-02-26 Joseph Myers <joseph@codesourcery.com>
21497 * string/strcoll_l.c: Include <libc-diag.h>.
21498 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
21499 declarations of seq1 and seq2.
21502 * stdlib/atoi.c (atoi): Use libc_hidden_def.
21503 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
21505 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
21509 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
21510 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
21511 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
21512 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
21513 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
21514 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
21516 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21518 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
21519 macros used in __ptrace_request.
21521 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
21524 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
21526 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
21527 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
21528 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
21531 2018-02-23 Joseph Myers <joseph@codesourcery.com>
21534 * ctype/ctype.c (tolower): Use libc_hidden_def.
21535 (toupper): Likewise.
21536 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
21537 [!_ISOMAC] (toupper): Likewise.
21539 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21541 * localedata/Makefile: Remove --quiet argument when
21544 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21547 * localedata/locales/pt_BR (LC_TIME): use / instead of -
21549 * localedata/locales/pt_PT (LC_TIME): likewise
21551 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21554 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
21555 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
21556 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
21558 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21562 * nptl/Makefile (routines): Remove unregister-atfork.
21563 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
21564 (fork_handler_alloc): Remove function.
21565 (fork_handlers, fork_handler_init): New variables.
21566 (__fork_lock): Rename to atfork_lock.
21567 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
21568 to use a dynamic array to add/remove atfork handlers.
21569 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21570 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
21571 Remove declaration.
21572 (fork_handler): Remove next, refcntr, and need_signal member.
21573 (__run_fork_handler_type): New enum.
21574 (__run_fork_handlers): New prototype.
21575 * nptl/register-atfork.c: Remove file.
21576 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
21578 * sysdeps/nptl/nptl-signals.h: Move to ...
21579 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
21581 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
21582 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
21583 unnecessary check for SIGTIMER.
21584 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
21585 remove unnecessary removal of SIGTIMER.
21586 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
21587 include-signals.h rename.
21588 * nptl/pthreadP.h: Likewise.
21589 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
21590 __is_internal_signal instead of __nptl_is_internal_signal.
21592 2018-02-22 Andrew Waterman <andrew@sifive.com>
21595 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
21596 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
21597 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21598 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21600 2018-02-22 DJ Delorie <dj@delorie.com>
21602 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21604 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21606 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21607 do_misaligned, not misaligned8.
21609 2018-02-22 Steve Ellcey <sellcey@cavium.com>
21611 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21612 Add memcpy_thunderx2.
21613 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21615 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21616 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21617 and IS_THUNDERX2PA checks.
21618 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21619 Use macro to set name appropriately.
21620 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21621 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21622 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21624 (IS_THUNDERX2): New macro.
21626 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21628 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21630 2018-02-21 Zack Weinberg <zackw@panix.com>
21632 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21633 Define here, unconditionally.
21634 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21635 * libio/libioP.h: Remove #if 0 blocks.
21636 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21637 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21638 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21640 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21641 Assume weak_alias is always defined.
21643 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21644 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21645 Remove #if 0 and #ifdef TODO blocks.
21646 Assume text_set_element is always defined.
21648 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21649 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21650 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21652 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21653 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21654 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21655 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21656 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21657 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21658 Reformat bit flags for _flags field to make occupancy clearer.
21660 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21661 Keep definitions consistent with those in libio/libio.h.
21663 * libio/libio.h (_IO_file_flags): Remove macro.
21664 All uses changed to _flags.
21666 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21667 (__HAVE_COLUMN, _IO_BE): Don't define.
21668 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21669 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21670 * libio/libioP.h (EOF): Don't define.
21671 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21672 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21673 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21674 testing _IO_UNIFIED_JUMPTABLES.
21676 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21677 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21678 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21679 (_IO_size_t): Delete; all uses changed to size_t.
21680 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21681 (_IO_off_t): Delete; all uses changed to off_t.
21682 (_IO_off64_t): Delete; all uses changed to off64_t.
21683 (_IO_pid_t): Delete; all uses changed to pid_t.
21684 (_IO_uid_t): Delete; all uses changed to uid_t.
21685 (_IO_wint_t): Delete; all uses changed to wint_t.
21686 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21687 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21688 (_IO_cookie_io_functions_t): Delete; all uses changed to
21689 cookie_io_functions_t.
21690 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21691 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21692 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21693 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21695 * libio/iofopncook.c: Remove unnecessary forward declarations.
21696 * libio/iolibio.h: Correct outdated commentary.
21697 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21698 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21699 Remove unnecessary casts.
21700 * stdio-common/getline.c: Use _IO_getdelim directly.
21701 Don't redefine ssize_t.
21702 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21703 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21704 Remove outdated comments.
21705 * stdio-common/vfscanf.c: Don't redefine va_list.
21707 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21708 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21709 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21710 which are always true, and __cplusplus, which is always false.
21712 2018-02-21 Joseph Myers <joseph@codesourcery.com>
21716 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21717 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21718 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21719 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21721 [!_ISOMAC] (putc_unlocked): Likewise.
21722 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21723 define inline if [__USE_EXTERN_INLINES].
21724 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21729 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21730 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21731 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21732 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21733 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21735 * time/tzfile.c (__tzfile_read): Likewise.
21737 2018-02-21 Mike FABIAN <mfabian@redhat.com>
21740 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21742 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21744 * io/fcntl.h: Fix a typo in a comment.
21746 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21749 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21750 define _DEFAULT_SOURCE.
21751 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21753 2018-02-21 Florian Weimer <fweimer@redhat.com>
21756 * elf/cache.c (save_cache): Call fsync on temporary file before
21758 (save_aux_cache): Call fdatasync on temporary file before renaming
21761 2018-02-21 Florian Weimer <fweimer@redhat.com>
21764 * include/caller.h: Remove file.
21765 * elf/dl-caller.c: Likewise.
21766 * elf/Makefile (dl-routines): Remove dl-caller.
21767 (shared-only-routines): Do not add dl-caller.
21768 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21770 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21772 (dl_open_worker): Do not call __check_caller.
21773 (_dl_open): Do not set caller_dl_open member.
21774 * elf/rtld.c (_rtld_global_ro): Do not initialize
21775 _dl_check_caller member.
21776 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21777 _dl_check_caller member.
21778 (_dl_check_caller): Remove declaration.
21779 * sysdeps/unix/sysv/linux/dl-execstack.c
21780 (_dl_make_stack_executable): Do not call __check_caller.
21782 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21784 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
21785 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
21787 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21789 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21792 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21795 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21796 of 199606L, 200112L, and 200809L.
21797 (_XOPEN_SOURCE): Document special values of 600 and 700.
21798 (_ISOC11_SOURCE): Document macro.
21799 (_ATFILE_SOURCE): Likewise.
21800 (_FORTIFY_SOURCE): Likewise.
21802 2018-02-19 Joseph Myers <joseph@codesourcery.com>
21806 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21807 and define as weak alias of __ferror_unlocked. Use
21809 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21811 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21812 function if [__USE_EXTERN_INLINES].
21813 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21816 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
21819 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21821 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21824 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21825 the GLIBC_2.1 version.
21827 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21830 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21831 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21832 intl/tst-gettext-de.po from po/de.po by removing the
21833 POT-Creation-Date line.
21834 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21836 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21839 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21841 * mach/Makefile (headers): Add mach/param.h.
21842 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21843 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
21844 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21845 (__ptsname_r): Move implementation to...
21846 (__ptsname_internal): ... new function. Add filling the STP
21849 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
21851 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21854 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
21856 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21859 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21861 * nptl/Makefile (tst-mutex8-ENV): Delete.
21862 * nptl/tst-mutex8.c (check_type):
21863 Add runtime check if mutex will be elided.
21865 2018-02-15 Joseph Myers <joseph@codesourcery.com>
21869 * manual/install.texi (Configuring and compiling): Describe
21870 passing CC and CFLAGS on configure command line, not as
21871 environment variables. Use @code markup on those variables.
21872 Specify what options go in CC and what go in CFLAGS. Note the
21873 requirement to compile with optimization.
21874 * INSTALL: Regenerated.
21877 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21878 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21879 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21880 __sigprocmask instead of sigprocmask.
21881 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21883 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21884 __sigsetjmp and sigprocmask.
21887 * include/argz.h (argz_next): Use libc_hidden_proto.
21888 (__argz_next): Likewise.
21889 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21890 (argz_next): Use libc_hidden_weak.
21893 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21895 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21899 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21901 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21905 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21906 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21907 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21908 (__feof_unlocked): New declaration, and inline function if
21909 [__USE_EXTERN_INLINES].
21910 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21911 instead of feof_unlocked.
21912 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21913 * nss/nsswitch.c (nss_parse_file): Likewise.
21914 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21916 * time/getdate.c (__getdate_r): Likewise.
21917 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21918 Define as macro to call __feof_unlocked.
21920 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21922 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21924 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21926 * math/Makefile: Remove mpexp.c and mplog.c
21927 * sysdeps/i386/fpu/mpexp.c: Delete file.
21928 * sysdeps/i386/fpu/mplog.c: Likewise.
21929 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21930 * sysdeps/ia64/fpu/mplog.c: Likewise.
21931 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21932 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21933 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21934 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21935 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21936 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21937 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21938 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21939 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21940 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21941 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21942 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21943 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21944 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21945 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21946 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21948 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21950 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21952 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21954 * sysdeps/sh/libm-test-ulps: Update.
21956 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21958 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21961 2018-02-12 Zack Weinberg <zackw@panix.com>
21964 * posix/sys/types.h: Don't include sys/sysmacros.h.
21965 * misc/sys/sysmacros.h: Remove the conditional deprecation
21966 warnings for the macros defined by this header.
21968 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21970 * manual/probes.texi: Remove slowexp probes.
21971 * math/Makefile: Remove slowexp.
21972 * sysdeps/generic/math_private.h (__slowexp): Remove.
21973 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21974 document error bounds.
21975 * sysdeps/i386/fpu/slowexp.c: Remove.
21976 * sysdeps/ia64/fpu/slowexp.c: Remove.
21977 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21978 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21979 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21980 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21981 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21982 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21983 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21984 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21985 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21986 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21987 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21989 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21992 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21993 * benchtests/pow-inputs: Update comment for slow path cases.
21994 * manual/probes.texi (slowpow_p10): Delete removed probe.
21995 (slowpow_p10): Likewise.
21996 * math/Makefile: Remove halfulp.c and slowpow.c.
21997 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21998 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21999 (__halfulp): Remove.
22000 (__slowpow): Remove.
22001 * sysdeps/i386/fpu/halfulp.c: Delete file.
22002 * sysdeps/i386/fpu/slowpow.c: Likewise.
22003 * sysdeps/ia64/fpu/halfulp.c: Likewise.
22004 * sysdeps/ia64/fpu/slowpow.c: Likewise.
22005 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
22006 improve comments and add error analysis.
22007 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
22008 (power1): Remove function:
22009 (log1): Remove error argument, add error analysis.
22010 (my_log2): Remove function.
22011 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
22012 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22013 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
22014 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
22015 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
22016 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
22017 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
22018 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
22019 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
22020 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
22021 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
22022 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22023 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
22024 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22026 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
22028 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
22029 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
22031 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
22034 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
22035 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
22036 and PTRACE_SETHBPREGS.
22038 2018-02-10 Zack Weinberg <zackw@panix.com>
22041 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
22043 * malloc/tst-malloc-stats-cancellation.c: New test case.
22044 * malloc/Makefile: Add new test case.
22046 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
22048 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
22050 2018-02-10 Joseph Myers <joseph@codesourcery.com>
22052 * math/Makefile (libm-narrow-fns): Add add.
22053 (libm-test-funcs-narrow): Likewise.
22054 * math/Versions (GLIBC_2.28): Add narrowing add functions.
22055 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
22056 * math/gen-auto-libm-tests.c (test_functions): Add add.
22057 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
22058 (NARROW_ADD_ROUND_TO_ODD): Likewise.
22059 (NARROW_ADD_TRIVIAL): Likewise.
22060 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
22062 (__daddl): Likewise.
22063 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
22065 (CFLAGS-nldbl-dadd.c): New variable.
22066 (CFLAGS-nldbl-fadd.c): Likewise.
22067 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
22069 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
22071 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
22072 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
22073 * math/auto-libm-test-in: Add tests of add.
22074 * math/auto-libm-test-out-narrow-add: New generated file.
22075 * math/libm-test-narrow-add.inc: New file.
22076 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
22077 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
22078 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
22079 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
22080 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
22081 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
22082 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
22083 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
22084 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
22085 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
22086 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
22087 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
22088 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
22089 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
22090 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
22091 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
22092 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
22093 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
22094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22095 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
22096 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22097 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22098 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22099 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22100 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22101 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22102 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22103 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22104 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22105 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22106 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22107 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
22109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
22110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
22111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
22112 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22113 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22114 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22115 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22116 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22117 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22118 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
22119 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
22120 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22121 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22123 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
22124 (f128-pairs): New variable.
22125 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
22126 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
22128 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
22129 Also make tests add $(f128-loader-link) to gnulib-tests.
22131 2018-02-09 DJ Delorie <dj@redhat.com>
22134 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
22135 64-bit ELF type for 64-bit ELF objects.
22137 2018-02-09 Joseph Myers <joseph@codesourcery.com>
22139 * math/libm-test-driver.c (snan_tests_arg): New variable.
22140 * math/libm-test-support.h (snan_tests_arg): New declaration.
22141 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
22143 * math/Makefile (test-type-pairs): New variable.
22144 (test-type-pairs-f64xf128-yes): Likewise.
22145 (tests): Add test-narrow-macros.
22146 (libm-test-funcs-narrow): New variable.
22147 (libm-test-c-narrow): Likewise.
22148 (generated): Add $(libm-test-c-narrow).
22149 (libm-tests-base-narrow): New variable.
22150 (libm-tests-narrow): Likewise.
22151 (libm-tests): Add $(libm-tests-narrow).
22152 (libm-tests-for-type): Handle $(libm-tests-narrow).
22153 (libm-test-c-narrow-obj): New variable.
22154 ($(libm-test-c-narrow-obj)): New rule.
22155 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
22156 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
22157 $(o-iterator) to set dependencies and CFLAGS.
22158 * math/gen-auto-libm-tests.c: Document use for narrowing
22160 (output_for_one_input_case): Take argument NARROW.
22161 (generate_output): Likewise. Update call to
22162 output_for_one_input_case.
22163 (main): Take --narrow option. Update call to generate_output.
22164 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
22165 (apply_lit): Update call to _apply_lit.
22166 (apply_arglit): New function.
22167 (parse_args): Handle "a" arguments.
22168 (parse_auto_input): Handle format names using ":".
22169 * math/README.libm-test: Document "a" parameter type.
22170 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
22171 (ARG_TYPE_TRUE_MIN): Likewise.
22172 (ARG_TYPE_MAX): Likwise.
22173 (ARG_MIN_EXP): Likewise.
22174 (ARG_MAX_EXP): Likewise.
22175 (ARG_MANT_DIG): Likewise.
22176 (TEST_COND_arg_ibm128): Likewise.
22177 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
22178 (TEST_COND_arg_fmt): New macro.
22179 (init_max_error): Update prototype.
22180 * math/libm-test-support.c (test_ibm128): New variable.
22181 (init_max_error): Take argument testing_ibm128 and set test_ibm128
22182 instead of using [TEST_COND_ibm128] conditional.
22183 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
22184 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
22185 [TEST_NARROW] (TEST_MSG): New definition.
22186 (arg_plus_zero): New macro.
22187 (arg_minus_zero): Likewise.
22188 (arg_plus_infty): Likewise.
22189 (arg_minus_infty): Likewise.
22190 (arg_qnan_value_pl): Likewise.
22191 (arg_qnan_value): Likewise.
22192 (arg_snan_value_pl): Likewise.
22193 (arg_snan_value): Likewise.
22194 (arg_max_value): Likewise.
22195 (arg_min_value): Likewise.
22196 (arg_min_subnorm_value): Likewise.
22197 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
22198 (RUN_TEST_LOOP_aa_f): New macro.
22199 (TEST_SUFF): New macro.
22200 (TEST_SUFF_STR): Likewise.
22201 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
22202 (TEST_COND_any_ibm128): New macro.
22203 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
22204 this_func. Update call to init_max_error.
22205 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
22206 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
22207 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
22208 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
22209 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
22210 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
22211 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
22212 * math/test-math-scalar.h (TEST_NARROW): Likewise.
22213 * math/test-math-vector.h (TEST_NARROW): Likewise.
22214 * math/test-arg-double.h: New file.
22215 * math/test-arg-float128.h: Likewise.
22216 * math/test-arg-float32x.h: Likewise.
22217 * math/test-arg-float64.h: Likewise.
22218 * math/test-arg-float64x.h: Likewise.
22219 * math/test-arg-ldouble.h: Likewise.
22220 * math/test-math-narrow.h: Likewise.
22221 * math/test-narrow-macros.c: Likewise.
22222 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
22223 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
22224 test-narrow-macros-ldbl-64.
22225 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
22227 * math/bits/mathcalls-narrow.h: New file.
22228 * include/bits/mathcalls-narrow.h: Likewise.
22229 * math/math-narrow.h: Likewise.
22230 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
22231 (__MATHCALL_NARROW_ARGS_2): Likewise.
22232 (__MATHCALL_NARROW_ARGS_3): Likewise.
22233 (__MATHCALL_NARROW_NORMAL): Likewise.
22234 (__MATHCALL_NARROW_REDIR): Likewise.
22235 (__MATHCALL_NARROW): Likewise.
22236 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
22237 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
22239 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22240 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
22241 (libm-narrow-fns): New variable.
22242 (libm-narrow-types-basic): Likewise.
22243 (libm-narrow-types-ldouble-yes): Likewise.
22244 (libm-narrow-types-float128-yes): Likewise.
22245 (libm-narrow-types-float128-alias-yes): Likewise.
22246 (libm-narrow-types): Likewise.
22247 (libm-routines): Add narrowing functions.
22248 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
22249 (libc_feholdexcept_setroundf128): New macro.
22250 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
22251 * sysdeps/ieee754/float128/float128_private.h: Include
22252 <math/math-narrow.h>.
22253 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
22254 Undefine and redefine.
22255 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
22256 (libm_alias_float_ldouble): Undefine and redefine.
22257 (libm_alias_double_ldouble): Likewise.
22259 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
22261 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
22263 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
22266 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
22268 * manual/creature.texi: Convert references to gcc.info to gcc.
22269 * manual/stdio.texi: Likewise.
22270 * manual/string.texi: Likewise.
22272 2018-02-07 Joseph Myers <joseph@codesourcery.com>
22275 * posix/bits/types.h (__int_least8_t): New typedef.
22276 (__uint_least8_t): Likewise.
22277 (__int_least16_t): Likewise.
22278 (__uint_least16_t): Likewise.
22279 (__int_least32_t): Likewise.
22280 (__uint_least32_t): Likewise.
22281 (__int_least64_t): Likewise.
22282 (__uint_least64_t): Likewise.
22283 * sysdeps/generic/stdint.h (int_least8_t): Define using
22285 (int_least16_t): Define using __int_least16_t.
22286 (int_least32_t): Define using __int_least32_t.
22287 (int_least64_t): Define using __int_least64_t.
22288 (uint_least8_t): Define using __uint_least8_t.
22289 (uint_least16_t): Define using __uint_least16_t.
22290 (uint_least32_t): Define using __uint_least32_t.
22291 (uint_least64_t): Define using __uint_least64_t.
22292 * wcsmbs/uchar.h: Include <bits/types.h>.
22293 (char16_t): Define using __uint_least16_t conditional only on
22295 (char32_t): Define using __uint_least32_t conditional only on
22297 * wcsmbs/test-char-types.c: New file.
22298 * wcsmbs/Makefile (tests): Add test-char-types.
22300 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
22303 2018-02-07 Zack Weinberg <zackw@panix.com>
22305 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
22306 Delete all contents except for definitions of _G_HAVE_MMAP and
22307 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
22308 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
22309 sysdeps/unix/sysv/linux/_G_config.h. Make same content
22312 * libio/libio.h: Don't include bits/_G_config.h here.
22313 Include stddef.h with __need_wchar_t defined. Include
22314 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
22315 Define _IO_iconv_t here, directly.
22316 Don't define _IO_HAVE_ST_BLKSIZE.
22317 * libio/libioP.h: Include _G_config.h here. Move include of
22318 shlib-compat.h up with rest of includes. Simplify conditionals
22319 controlling definition of _IO_JUMPS_OFFSET.
22321 * csu/init.c: Remove always-true #if around entire file.
22322 Don't include stdio.h. Set _IO_stdin_used to hardwired
22323 constant 0x20001, and update commentary.
22324 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
22325 Replace all uses of _G_va_list with __gnuc_va_list.
22326 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
22327 instead of #if _IO_HAVE_ST_BLKSIZE.
22328 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
22329 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
22332 * libio/bits/libio.h: Move back to libio/libio.h and adjust
22333 multiple-include guard to match.
22334 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
22336 Remove preprocessor conditionals that are always true and/or
22337 redundant to other preprocessor conditionals in the same nest.
22338 Include shlib-compat.h unconditionally.
22339 Error out if _LIBC is not defined, or if _ISOMAC is defined,
22340 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
22341 defined after including stdio.h.
22342 Use __BEGIN_DECLS/__END_DECLS.
22344 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
22345 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
22346 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
22348 2018-02-07 Zack Weinberg <zackw@panix.com>
22350 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
22351 New single-type headers split from _G_config.h.
22352 * libio/bits/types/cookie_io_functions_t.h
22353 * libio/bits/types/struct_FILE.h
22354 New single-type headers split from libio.h.
22356 * libio/Makefile: Install the above new headers. Don't install
22357 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
22359 * libio/_G_config.h, libio/libio.h: Delete file.
22361 * libio/bits/libio.h: Remove improper-inclusion guard.
22362 Include stdio.h and don't repeat anything that it does.
22363 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
22364 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
22365 __io_read_fn as cookie_read_function_t,
22366 __io_write_fn as cookie_write_function_t,
22367 __io_seek_fn as cookie_seek_function_t,
22368 __io_close_fn as cookie_close_function_t,
22369 and _IO_cookie_io_functions_t as cookie_io_functions_t.
22370 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
22371 here, in the "compatibility defines" section. Remove an #if 0
22372 block. Use the "body" macros from bits/types/struct_FILE.h to
22373 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
22374 and _IO_ferror_unlocked.
22375 Move prototypes of __uflow and __overflow...
22377 * libio/stdio.h: ...here. Don't include bits/libio.h.
22378 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
22379 directly from stdarg.h. Include bits/types/__fpos_t.h,
22380 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
22381 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
22382 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
22383 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
22384 cookie_io_functions_t, not _IO_cookie_io_functions_t;
22385 __ssize_t, not _IO_ssize_t. Unconditionally define
22386 BUFSIZ as 8192 and EOF as (-1).
22388 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
22389 macros from bits/types/struct_FILE.h instead of _IO_* macros
22390 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
22391 instead of _IO_ssize_t.
22392 * libio/bits/stdio2.h: Similarly.
22394 * libio/iolibio.h: Add multiple-include guard.
22395 Include bits/libio.h after stdio.h.
22396 * libio/libioP.h: Add multiple-include guard.
22397 Include stdio.h and bits/libio.h before iolibio.h.
22399 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
22400 * include/bits/types/cookie_io_functions_t.h
22401 * include/bits/types/struct_FILE.h: New wrappers.
22403 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
22404 Get definitions of _G_fpos_t and _G_fpos64_t from
22405 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
22406 respectively. Remove improper-inclusion guards.
22408 * conform/data/stdio.h-data: Update expectations of va_list.
22409 * scripts/check-installed-headers.sh: Remove special case for
22410 libio.h and _G_config.h.
22412 2018-02-07 Joseph Myers <joseph@codesourcery.com>
22416 * include/sys/sysmacros.h [!_ISOMAC]
22417 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
22418 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
22419 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
22420 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
22422 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
22423 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
22425 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
22426 Undefine and redefine to add use __gnu_dev_ prefix.
22427 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
22429 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
22430 and define as hidden inline function.
22431 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
22433 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
22435 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
22436 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
22437 (gnu_dev_minor): Likewise.
22438 (gnu_dev_makedev): Likewise.
22439 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
22441 * posix/wordexp.c (exec_comm_child): Likewise.
22442 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
22443 instead of minor and __gnu_dev_major instead of major.
22444 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
22445 __gnu_dev_major instead of major.
22446 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
22447 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
22448 instead of gnu_dev_minor.
22449 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
22450 (SLAVE_P): Likewise.
22451 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
22452 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
22456 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
22458 * locale/weightwc.h (findidx): Likewise.
22460 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
22462 * manual/probes.texi (slowlog): Delete documentation of removed probe.
22463 (slowlog_inexact): Likewise
22464 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
22465 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
22467 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
22470 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
22471 missing second underscore to parameter name.
22473 2018-02-06 Joseph Myers <joseph@codesourcery.com>
22479 * bits/byteswap.h: Update file comment. Do not include
22480 <bits/byteswap-16.h>.
22481 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
22483 (__bswap_16): Define as inline function.
22484 (__bswap_constant_32): Reformat definition.
22485 (__bswap_32): Always define as inline function, not macro, using
22486 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
22487 otherwise __bswap_constant_32.
22488 (__bswap_constant_64): Reformat definition. Do not use
22489 __extension__ here.
22490 (__bswap_64): Always define as inline function, not macro. Use
22491 __extension__ on function definition. Use __builtin_bswap64 if
22492 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
22493 * string/test-endian-file-scope.c: New file.
22494 * string/test-endian-sign-conversion.c: Likewise.
22495 * string/Makefile (headers): Remove bits/byteswap-16.h.
22496 (tests): Add test-endian-file-scope and
22497 test-endian-sign-conversion.
22498 (CFLAGS-test-endian-sign-conversion.c): New variable.
22499 * bits/byteswap-16.h: Remove file.
22500 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
22501 * sysdeps/ia64/bits/byteswap.h: Likewise.
22502 * sysdeps/m68k/bits/byteswap.h: Likewise.
22503 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22504 * sysdeps/s390/bits/byteswap.h: Likewise.
22505 * sysdeps/tile/bits/byteswap.h: Likewise.
22506 * sysdeps/x86/bits/byteswap-16.h: Likewise.
22507 * sysdeps/x86/bits/byteswap.h: Likewise.
22510 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
22511 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
22512 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
22513 199901L] (__restrict): Define to restrict.
22516 * string/testcopy.c: Include <support/support.h>. Do not include
22517 <malloc.h>. Use <support/test-driver.c>.
22518 (main): Rename to do_test. Make static. Use xmalloc instead of
22522 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
22523 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
22524 (SSIZE_MAX): Define to INT_MAX.
22525 * posix/test-ssize-max.c: New file.
22526 * posix/Makefile (tests): Add test-ssize-max.
22529 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
22530 <support/support.h>. Do not include <malloc.h>.
22531 (query_auxv): Use xmalloc instead of malloc.
22534 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
22535 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
22538 2018-02-06 Florian Weimer <fweimer@redhat.com>
22541 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22542 Use scratch_buffer instead of extend_alloca.
22544 2018-02-06 Zack Weinberg <zackw@panix.com>
22546 * libio/stdio.h: Don't define getc or putc as macros.
22547 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
22548 not _IO_getc and _IO_putc.
22550 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
22551 * stdio-common/tstgetln.c: Don't redefine ssize_t.
22553 2018-02-06 Joseph Myers <joseph@codesourcery.com>
22555 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
22556 (TCP_FASTOPEN_NO_COOKIE): Likewise.
22558 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
22561 * elf/elf.h (NT_PRFPREG): New macro.
22562 (NT_S390_VXRS_LOW): Likewise.
22563 (NT_S390_VXRS_HIGH): Likewise.
22564 (NT_S390_GS_CB): Likewise.
22565 (NT_S390_GS_BC): Likewise.
22566 (NT_S390_RI_CB): Likewise.
22568 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
22569 (MAP_SYNC): New macro.
22570 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
22572 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
22573 (MAP_SYNC): Likewise.
22574 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
22575 (MAP_SYNC): Likewise.
22576 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
22577 (MAP_SYNC): Likewise.
22578 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
22579 (MAP_SYNC): Likewise.
22580 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
22581 (MAP_SYNC): Likewise.
22582 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
22583 (MAP_SYNC): Likewise.
22584 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
22586 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
22589 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
22590 (MAP_SHARED_VALIDATE): New macro.
22591 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22592 (MAP_SHARED_VALIDATE): Likewise.
22594 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22596 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
22597 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22598 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22600 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22602 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22603 (DT_NUM): Updated to 35.
22605 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22607 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22608 __builtin_expect with __glibc_likely and __glibc_unlikely.
22609 (elf_machine_rela): Likewise.
22610 (elf_machine_lazy_rel): Likewise.
22612 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22614 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
22615 __builtin_expect with __glibc_likely and __glibc_unlikely.
22616 (elf_machine_lazy_rel): Likewise.
22618 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22621 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22623 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
22625 2018-02-05 Andreas Schwab <schwab@suse.de>
22628 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22631 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22633 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22634 not check against PTHREAD_STACK_MIN.
22636 2018-02-02 Sean McKean <smckean83@gmail.com>
22639 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22641 2018-02-02 Florian Weimer <fweimer@redhat.com>
22644 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22645 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22646 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22647 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22648 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22649 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22650 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22651 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22652 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22653 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22654 * misc/tst-preadvwritev2.c (do_test): Call it.
22655 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22657 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22659 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22661 * benchtests/bench-memcmp.c: Print json instead of plain text.
22663 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22666 2018-02-01 Joseph Myers <joseph@codesourcery.com>
22668 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22670 (s390_sthyi): New syscall.
22672 * sysdeps/generic/ldbl-classify-compat.h: New file.
22673 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22674 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22675 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22676 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22677 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22678 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22679 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22680 <ldbl-classify-compat.h>.
22681 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22682 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22683 <ldbl-classify-compat.h>.
22684 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22685 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22686 <ldbl-classify-compat.h>.
22687 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22688 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22689 <ldbl-classify-compat.h>.
22690 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22691 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22692 <ldbl-classify-compat.h>.
22693 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22695 <ldbl-classify-compat.h>.
22696 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22697 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22698 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22699 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22700 * sysdeps/microblaze/math_private.h: Likewise.
22701 * sysdeps/nios2/math_private.h: Likewise.
22702 * sysdeps/sh/math_private.h: Likewise.
22704 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22705 * sysdeps/m68k/coldfire/math_private.h: ... here.
22706 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22707 * sysdeps/tile/math_private.h: Likewise.
22708 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22710 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22713 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22715 (libc_fetestexcept): Likewise.
22716 (libc_feupdateenv_test): Likewise.
22717 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22718 (libc_fetestexcept): Likewise.
22719 (libc_feupdateenv_test): Likewise.
22720 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22721 (libc_fetestexcept): Likewise.
22722 (libc_feupdateenv_test): Likewise.
22723 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22724 (libc_fetestexcept): Likewise.
22725 (libc_feupdateenv_test): Likewise.
22727 * sysdeps/generic/math_private.h
22728 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22729 New inline function.
22730 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22733 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22734 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22735 * sysdeps/generic/math_private.h
22736 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22738 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22740 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22742 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22744 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22746 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22748 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22749 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22750 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22751 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22752 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22753 (__fegetenv): Likewise.
22754 (fesetenv): Likewise.
22755 (__fesetenv): Likewise.
22756 (feupdateenv): Likewise.
22757 (__feupdateenv): Likewise.
22758 (fegetround): Likewise.
22759 (__fegetround): Likewise.
22760 (fesetround): Likewise.
22761 (__fesetround): Likewise.
22763 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22764 (feraiseexcept): New macro.
22765 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22766 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22768 (__feraiseexcept): Likewise.
22769 (feclearexcept): Likewise.
22770 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22771 (__feraiseexcept): Likewise.
22772 (feclearexcept): Likewise.
22773 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22774 (__feraiseexcept): Likewise.
22775 (feclearexcept): Likewise.
22776 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22777 (__feraiseexcept): Likewise.
22778 (feclearexcept): Likewise.
22779 (fetestexcept): Likewise.
22781 * sysdeps/m68k/coldfire/math-tests.h: New file.
22783 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22784 * sysdeps/m68k/bits/fenv.h: ... here.
22785 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22787 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22789 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22791 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22793 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22795 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22797 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22798 (__FE_UNDEFINED): New enum constant.
22799 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22801 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22803 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22805 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22806 to match generic bits/fenv.h.
22807 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22810 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22812 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22813 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22814 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22815 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22817 2018-02-01 Carlos O'Donell <carlos@redhat.com>
22818 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22819 Joseph Myers <joseph@codesourcery.com>
22822 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22823 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22824 computation using c.
22825 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22826 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22827 computation using c.
22829 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22831 * version.h (RELEASE): Set to "development".
22832 (VERSION): Set to "2.27.9000".
22833 * NEWS (2.28): New section.
22835 * version.h (RELEASE): Set to "stable".
22836 (VERSION): Set to "2.27".
22837 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22839 * NEWS: Add the list of bugs fixed in 2.27.
22841 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22843 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22844 against PTHREAD_STACK_MIN.
22846 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22848 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22850 (Rafał Lużyński, Andreas Schwab): Update.
22852 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
22855 * NEWS: List the languages which actually use the alternative
22856 months feature in this release. Also explain that "alt_mon" and
22857 "ab_alt_mon" are optional.
22859 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22862 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22864 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22866 * manual/install.texi (Tools for Compilation): Update the newest
22867 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22868 * INSTALL: Regenerated.
22870 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22872 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22873 instead of __builtin_expect.
22875 2018-01-30 Florian Weimer <fweimer@redhat.com>
22877 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22879 * nss/tst-nss-getpwent.c (do_test): Likewise.
22881 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
22884 * localedata/locales/hr_HR (mon): Rename to...
22886 (mon): Import from CLDR (genitive case).
22887 (d_t_fmt): Update the comment.
22889 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22891 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22892 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22893 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22895 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22897 * mach/Versions: Fix version when __mach_host_self_ was added.
22898 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22899 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22900 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22901 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22902 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22903 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22904 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22905 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22906 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22907 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22908 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22909 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
22910 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22911 || to respect codestyle.
22912 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22913 (do_test_bz20181): Rename accordingly.
22914 * malloc/malloc.c: Include <assert.h>.
22915 (assert): Do not define.
22916 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
22917 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22918 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
22919 * sysdeps/mach/hurd/hp-timing.h: New file.
22920 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
22922 2018-01-29 Darius Rad <darius@bluespec.com>
22924 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22926 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
22928 * sysdeps/init_array/crti.S (.section .init_array): Add
22929 PREINIT_FUNCTION when defined.
22930 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
22931 * config.h.in: Regenerate.
22932 * manual/platform.texi: Add RISC-V documenation for
22933 __riscv_flush_icache.
22934 * sysdeps/riscv/__longjmp.S: New file.
22935 * sysdeps/riscv/backtrace.c: Likewise.
22936 * sysdeps/riscv/bits/endian.h: Likewise.
22937 * sysdeps/riscv/bits/setjmp.h: Likewise.
22938 * sysdeps/riscv/bits/wordsize.h: Likewise.
22939 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22940 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22941 * sysdeps/riscv/dl-trampoline.S: Likewise.
22942 * sysdeps/riscv/gccframe.h: Likewise.
22943 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22944 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22945 * sysdeps/riscv/machine-gmon.h: Likewise.
22946 * sysdeps/riscv/memusage.h: Likewise.
22947 * sysdeps/riscv/setjmp.S: Likewise.
22948 * sysdeps/riscv/sys/asm.h: Likewise.
22949 * sysdeps/riscv/tls-macros.h: Likewise.
22950 * sysdeps/riscv/dl-tls.h: New file.
22951 * sysdeps/riscv/libc-tls.c: Likewise.
22952 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22953 * sysdeps/riscv/nptl/tls.h: Likewise.
22954 * sysdeps/riscv/stackinfo.h: Likewise.
22955 * sysdeps/riscv/bits/fenv.h: New file.
22956 * sysdeps/riscv/e_sqrtl.c: Likewise.
22957 * sysdeps/riscv/fpu_control.h: Likewise.
22958 * sysdeps/riscv/math-tests.h: Likewise.
22959 * sysdeps/riscv/nofpu/Implies: Likewise.
22960 * sysdeps/riscv/sfp-machine.h: Likewise.
22961 * sysdeps/riscv/tininess.h: Likewise.
22962 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22963 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22964 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22965 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22966 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22967 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22968 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22969 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22970 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22971 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22972 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22973 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22974 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22975 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22976 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22977 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22978 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22979 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22980 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22981 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22982 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22983 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22984 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22985 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22986 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22987 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22988 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22989 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22990 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22991 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22992 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22993 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22994 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22995 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22996 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22997 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22998 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22999 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
23000 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
23001 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
23002 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
23003 * sysdeps/riscv/rvf/math_private.h: Likewise.
23004 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
23005 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
23006 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
23007 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
23008 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
23009 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
23010 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
23011 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
23012 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
23013 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
23014 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
23015 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
23016 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
23017 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
23018 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
23019 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
23020 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
23021 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
23022 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
23023 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
23024 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
23025 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
23026 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
23027 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
23028 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
23029 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
23030 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
23031 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
23032 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
23033 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
23034 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
23035 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
23036 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
23037 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
23038 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
23039 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
23040 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
23041 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
23042 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
23043 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
23044 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
23045 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
23046 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
23047 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
23048 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
23049 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
23050 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
23051 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
23052 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
23053 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
23054 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
23055 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
23056 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
23057 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
23058 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
23059 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
23060 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
23061 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
23062 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
23063 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
23064 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
23065 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
23066 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
23067 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
23068 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
23069 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
23070 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
23071 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
23072 * sysdeps/riscv/Implies: New file.
23073 * sysdeps/riscv/Makefile: Likewise.
23074 * sysdeps/riscv/configure: Likewise.
23075 * sysdeps/riscv/configure.ac: Likewise.
23076 * sysdeps/riscv/nptl/Makefile: Likewise.
23077 * sysdeps/riscv/preconfigure: Likewise.
23078 * sysdeps/riscv/rv64/Implies-after: Likewise.
23079 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
23080 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
23081 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
23082 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
23083 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
23084 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
23085 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
23086 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
23087 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
23088 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
23089 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
23090 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
23091 (Config): Likewise.
23093 2018-01-29 Florian Weimer <fweimer@redhat.com>
23096 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
23097 libnsl_hidden_proto.
23098 * include/rpcsvc/yp.h (yp_xdrall): Declare with
23099 libnsl_hidden_proto.
23100 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
23101 * nis/Makefile (libnsl-routines): Add nss-default only for
23102 build-obsolete-nsl.
23103 * nis/nis_defaults.c (__nis_default_ttl): Add
23104 libnsl_hidden_nolink_def.
23105 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
23107 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
23108 * nis/ypclnt.c (yp_maplist): Likewise.
23110 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
23112 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23113 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
23115 2018-01-29 Joseph Myers <joseph@codesourcery.com>
23117 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
23118 clean -dxfq for git updates when replacing sources.
23120 * scripts/build-many-glibcs.py (Config.build_gcc): Use
23121 --disable-libcilkrts unconditionally, not just for the final GCC
23124 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23127 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
23130 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
23133 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
23136 * localedata/locales/be_BY (mon): Rename to...
23137 (alt_mon): This, then synchronize with CLDR (nominative case).
23138 (abmon): Rename to...
23139 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
23140 (mon): Import from CLDR (genitive case).
23142 * localedata/locales/be_BY@latin (mon): Rename to...
23144 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
23146 * localedata/locales/be_BY@latin (lang_name): Reworded to
23147 "biełaruskaja mova".
23149 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
23152 * localedata/locales/el_CY (mon): Renamed to...
23154 (mon): Import from CLDR (genitive case).
23155 * localedata/locales/el_GR: Likewise.
23157 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
23160 * localedata/locales/ru_RU (mon): Rename to...
23162 (abmon): Rename to...
23163 (ab_alt_mon): This.
23164 (mon): Import from CLDR (genitive case).
23165 (abmon): Copy from the old content except the 5th month which is
23166 now in the genitive case, even when abbreviated.
23167 * localedata/locales/ru_UA: Likewise.
23168 * time/tst-strptime.c (day_tests): Add an actual example of
23169 a difference between %b and %Ob in Russian.
23171 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
23173 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
23174 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
23176 * resolv/res-close.c: Include <stdlib.h>.
23177 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
23178 <sys/wait.h>, <time.h>, <sys/uio.h>.
23179 (NOT_CANCEL_H): Add inclusion guard.
23180 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
23181 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
23182 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
23184 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
23185 vm_address_t * to ElfW(Addr) * for dl_main parameter.
23186 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
23188 * sysdeps/pthread/timer_create.c (timer_create): Do not use
23189 timer_ptr2id to cast struct timer_node * to void *.
23190 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
23191 --disable-libcilkrts to gcc configure.
23192 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
23193 and make them the default for now.
23194 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
23195 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
23196 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
23197 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
23198 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
23200 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
23201 __task_terminate would ever return successfully.
23202 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
23204 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
23205 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
23206 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
23207 critical section to make code simpler and avoid warning.
23208 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
23209 critical section to make code simpler and avoid warning.
23210 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
23211 const char * instead of char *.
23212 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
23213 __hurd_file_name_split, hurd_file_name_split,
23214 __hurd_directory_name_split, hurd_directory_name_split,
23215 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
23216 hurd_file_name_path_lookup): Make lookup function parameter take a
23217 const char *name instead of char *name.
23218 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
23219 __hurd_directory_name_split): Likewise.
23220 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
23221 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
23222 * sysdeps/mach/hurd/check_native.c: New file.
23223 * sysdeps/mach/hurd/check_pf.c: New file.
23224 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
23225 (__freeifaddrs): Define macro to freeifaddrs.
23226 * sysdeps/mach/hurd/libhurduser.abilist: New file.
23227 * sysdeps/mach/libmachuser.abilist: New file.
23228 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
23229 (do_test_bz20181): Rename accordingly.
23230 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
23231 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
23233 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
23234 version only if __USE_EXTERN_INLINES is defined.
23235 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
23236 __hurd_sockfail): Likewise.
23237 (_hurd_fd_get): Always declare functions, and provide inline versions
23238 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
23239 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
23240 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
23241 _hurd_port_set): Always declare functions, and provide inline versions
23242 only if __USE_EXTERN_INLINES and _LIBC are defined and
23244 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
23245 _hurd_critical_section_unlock): Likewise.
23246 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
23247 * __hurd_threadvar_location): Likewise.
23248 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
23249 _hurd_userlink_clear): Likewise.
23250 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
23251 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
23252 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
23253 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
23254 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
23255 __spin_lock_locked): Likewise.
23256 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
23257 __spin_lock_locked): Likewise.
23258 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
23259 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
23260 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
23261 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
23262 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
23263 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
23264 _POSIX_NO_TRUNC): Define to 0.
23265 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
23266 check size against PTHREAD_STACK_MIN.
23267 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
23268 IS_IN(libpthread)]: Include <sigsetops.h>.
23269 * mach/Makefile (user-interfaces): Add mach/gnumach.
23270 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
23271 * sysdeps/mach/configure (mach_interface_list): Regenerate.
23272 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
23273 instead of invalid -1.
23274 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
23275 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
23276 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
23279 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
23281 * hurd/fcntl-internal.h: New file.
23283 2018-01-27 James Clarke <jrtc27@jrtc27.com>
23285 * sysdeps/hppa/fpu/libm-test-ulps: Update.
23287 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23289 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
23292 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
23293 Build only shared objects.
23295 2018-01-26 Carlos O'Donell <carlos@redhat.com>
23297 * README: Update for hppa.
23299 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23301 * sysdeps/sparc/fpu/libm-test-ulps: Update
23302 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
23304 2018-01-26 Carlos O'Donell <carlos@redhat.com>
23308 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23311 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23312 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23313 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23314 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23317 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23320 * bits/types/__cancel_jmp_buf_tag.h: New file.
23321 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23322 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23323 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23324 * nptl/Makefile (headers): Add
23325 bits/types/__cancel_jmp_buf_tag.h.
23326 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23327 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23328 * sysdeps/nptl/pthread.h: Include
23329 <bits/types/__cancel_jmp_buf_tag.h>.
23330 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23332 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23334 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
23337 * localedata/locales/uk_UA (mon): Renamed to...
23339 (alt_digits): "0" removed and then renamed to...
23341 (date_fmt): Definition changed not to use the alternative
23344 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
23346 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
23347 FLAG_RISCV_FLOAT_ABI_DOUBLE.
23348 * elf/elf.h (EF_RISCV_RVC): New define.
23349 (EF_RISCV_FLOAT_ABI): Likewise.
23350 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
23351 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
23352 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
23353 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
23354 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
23356 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
23358 2018-01-25 Andreas Schwab <schwab@suse.de>
23360 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
23362 * sysdeps/gnu/configure: Regenerate.
23363 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
23364 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23366 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
23367 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
23368 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
23369 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
23370 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
23372 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
23374 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
23375 URL, and run autoconf, make it the default for now.
23377 2018-01-24 Joseph Myers <joseph@codesourcery.com>
23379 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23380 soft-float ColdFire configuration.
23382 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
23383 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
23384 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
23386 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
23389 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
23391 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
23393 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
23396 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
23397 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
23398 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
23401 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23404 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
23405 Rename to __reserved and add comment.
23406 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
23407 Rename to __reserved.
23409 2018-01-24 Joseph Myers <joseph@codesourcery.com>
23411 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23412 i686-gnu configurations.
23413 (Context.run_builds): Include mig, gnumach and hurd in components
23415 (Context.checkout): Add mig, gnumach and hurd to components.
23416 (Context.checkout_tar): Add URL mappings for mig, gnumach and
23418 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
23419 (Config.build): Install gnumach headers, build mig and install
23420 hurd headers for 'gnu' OS.
23421 (Config.install_gnumach_headers): New function.
23422 (Config.install_hurd_headers): Likewise.
23423 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
23424 when building for 'gnu' OS.
23426 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
23428 * manual/tunables.texi (Hardware Capability Tunables): Fix
23431 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
23433 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
23434 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
23435 (ALTMON_11, ALTMON_12): Improve documentation.
23436 * manual/time.texi (strftime): Likewise.
23438 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23441 * localedata/locales/pl_PL: Alternative month names added,
23442 primary month names are genitive now.
23443 * time/tst-strptime.c (day_tests): Actually use a genitive case
23444 of a month name in Polish language.
23446 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23449 * manual/locale.texi: Document ALTMON_1..12 constants for
23450 nl_langinfo. Specify when to use ALTMON instead of MON.
23451 * manual/time.texi (strftime, strptime): Document GNU extension
23452 permitting O modifier with %B and %b. Specify when to use
23455 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23458 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
23459 names, define them as the same as abbreviated month names explicitly.
23460 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
23461 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
23462 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
23463 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
23464 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
23465 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
23466 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
23467 _NL_WABALTMON_12): New enum constants.
23468 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
23469 wab_alt_mon, and ab_alt_mon_defined members.
23470 (time_output): Output ab_alt_mon and wab_alt_mon members.
23471 (time_read): Read them, initialize them as copies of abmon and wabmon
23472 respectively if they are missing, initialize ab_alt_mon_defined.
23473 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
23474 * locale/programs/locfile-kw.h: Regenerate.
23475 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
23476 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
23478 * time/strftime_l.c (a_altmonth, aam_len): New macros.
23479 [!COMPILE_WIDE] (ABALTMON_1): New macro.
23480 (__strftime_internal): Handle %Ob and %Oh formats.
23481 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
23482 (__strptime_internal): Handle %Ob and %Oh formats.
23483 * time/tst-strptime.c (day_tests): Add more tests to parse different
23484 forms of month names including the new %Ob format specifier.
23486 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23489 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
23490 define them as the same as primary full month names explicitly.
23491 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
23492 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
23493 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
23494 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
23495 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
23496 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
23497 _NL_WALTMON_12): New enum constants.
23498 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
23499 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
23501 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
23502 walt_mon, and alt_mon_defined members.
23503 (time_output): Output alt_mon and walt_mon members.
23504 (time_read): Read them, initialize them as copies of mon and wmon
23505 respectively if they are missing, initialize alt_mon_defined.
23506 * locale/programs/locfile-kw.gperf (alt_mon): Define.
23507 * locale/programs/locfile-kw.h: Regenerate.
23508 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
23509 * localedata/tst-langinfo.c (map): Add tests for the new constants
23510 ALTMON_1 .. ALTMON_12.
23511 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
23513 * time/strftime_l.c (f_altmonth): New macro.
23514 (__strftime_internal): Handle %OB format.
23515 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
23516 (__strptime_internal): Handle %OB format.
23517 * time/tst-strptime.c (day_tests): Add tests to parse different forms
23518 of month names including the new %OB format specifier.
23520 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23523 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
23524 from ABORT_TRANSACTION.
23525 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
23526 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
23527 ABORT_TRANSACTION_IMPL): Likewise.
23528 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
23529 Linux code, but remove the code that aborts transactions.
23531 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
23533 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
23535 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
23537 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
23538 in date: "2004-14-09" should be "2004-09-14".
23539 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
23540 "2003-15-09" should be "2003-09-15".
23542 2018-01-18 Arjun Shankar <arjun@redhat.com>
23548 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
23550 (_int_memalign): check for integer overflow before calling
23552 * malloc/tst-malloc-too-large.c: New test.
23553 * malloc/Makefile: Add tst-malloc-too-large.
23555 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
23557 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
23558 in date: "2017-24-07" should be "2017-07-24".
23559 * localedata/locales/mai_IN: Likewise.
23560 * localedata/locales/mai_NP: Likewise.
23562 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
23564 * po/ru.po: Update translations.
23566 2018-01-17 Joseph Myers <joseph@codesourcery.com>
23569 * sysdeps/hppa/backtrace.c: New file.
23571 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
23574 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
23575 align La_x86_64_retval to VEC_SIZE.
23577 2018-01-16 Joseph Myers <joseph@codesourcery.com>
23579 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
23580 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
23582 2018-01-16 Florian Weimer <fweimer@redhat.com>
23584 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
23585 Move tst-thread-exit-clobber ...
23586 [$(CXX)] (tests-unsupported): ... to here.
23588 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23590 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
23591 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
23592 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23593 (_dl_aarch64_cap_flags): Update.
23594 (_DL_HWCAP_COUNT): Update.
23596 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23598 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23599 (_DL_HWCAP_LAST): Remove.
23600 (_DL_HWCAP_COUNT): Move to ...
23601 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23602 (_DL_HWCAP_COUNT): ... here.
23604 2018-01-16 Florian Weimer <fweimer@redhat.com>
23606 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23607 mode with GNU extensions.
23609 2018-01-15 Alan Hayward <alan.hayward@arm.com>
23611 * elf/elf.h (NT_ARM_SVE): Define.
23613 2018-01-15 Florian Weimer <fweimer@redhat.com>
23616 * nptl/tst-minstack-throw.cc: New file.
23617 * nptl/Makefile (tests): Add tst-minstack-throw.
23618 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23619 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23621 2018-01-15 Joseph Myers <joseph@codesourcery.com>
23623 * scripts/build-many-glibcs.py (Context.checkout): Default
23624 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23627 2018-01-13 Carlos O'Donell <carlos@redhat.com>
23630 * elf/elf.h (DF_1_STUB): Define.
23631 (DF_1_PIE): Define.
23633 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23636 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23637 Do not add 0.5 to integer or out-of-range arguments.
23639 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23641 * po/bg.po: Update translations.
23642 * po/cs.po: Likewise.
23643 * po/de.po: Likewise.
23644 * po/ko.po: Likewise.
23645 * po/pl.po: Likewise.
23646 * po/sv.po: Likewise.
23647 * po/uk.po: Likewise.
23648 * po/vi.po: Likewise.
23650 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23652 * aarch64/start.S (_start): Use __wrap_main.
23653 (__wrap_main): New local symbol.
23655 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23659 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23660 generic_getcwd if the path returned by getcwd syscall is not absolute.
23661 * io/tst-getcwd-abspath.c: New test.
23662 * io/Makefile (tests): Add tst-getcwd-abspath.
23664 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23666 * malloc/malloc.c (malloc_consolidate): Add size check.
23668 2018-01-12 Florian Weimer <fweimer@redhat.com>
23670 * support/write_message.c (write_message): Preserve errno.
23671 * support/check.c (print_failure): Likewise.
23672 * support/support_test_verify_impl.c (support_test_verify_impl):
23674 * support/support_test_compare_failure.c
23675 (support_test_compare_failure): Likewise.
23677 2018-01-12 Florian Weimer <fweimer@redhat.com>
23680 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23681 Prevent installation of libnsl.so.
23682 (libnsl-inhibit-o): Do not build (or install) static libraries.
23684 2018-01-12 Egmont Koblinger <egmont@gmail.com>
23687 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23688 before the day number which may produce a double space.
23689 (date_fmt): Likewise.
23691 2018-01-12 Joseph Myers <joseph@codesourcery.com>
23693 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23694 instead of fegetenv.
23696 2018-01-11 Joseph Myers <joseph@codesourcery.com>
23699 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23700 comment to say exceptions are discarded.
23701 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23703 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23706 2018-01-11 Florian Weimer <fweimer@redhat.com>
23708 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23711 2018-01-11 Florian Weimer <fweimer@redhat.com>
23714 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23715 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23717 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23720 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23721 negative arguments in test for NaN or infinity argument.
23723 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23725 * po/libc.pot: Regenerate.
23727 2018-01-10 Florian Weimer <fweimer@redhat.com>
23730 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23731 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23733 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23735 * hurd/hurd/fd.h: Include <fcntl.h>
23736 (__hurd_at_flags): New function.
23737 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23738 with call to __hurd_at_flags.
23739 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23740 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23742 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23743 (__access_noerrno): Use __faccessat_common instead of access_common.
23744 (__access): Likewise.
23745 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23746 with a call to __faccessat.
23747 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23748 (__faccessat_common): ... this. Move implementation of __access into it when
23749 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23750 reauthenticate_cwdir_at helper to implement AT mechanism.
23751 (__faccessat_noerrno): New function, just calls __faccessat_common.
23752 (__faccessat): New function, just calls __faccessat_common.
23753 (faccessat): Define weak alias.
23755 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23758 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23759 (CFLAGS-s_fmaxmagl.c): New variable.
23760 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23763 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23764 long int for arguments of possibly overflowing addition or
23766 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23768 2018-01-09 Joseph Myers <joseph@codesourcery.com>
23771 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23772 (CFLAGS-e_remainderl.c): New variable.
23775 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23777 (CFLAGS-s_cacoshl.c): Likewise.
23778 (CFLAGS-s_casinhl.c): Likewise.
23779 (CFLAGS-s_catanl.c): Likewise.
23780 (CFLAGS-s_catanhl.c): Likewise.
23781 (CFLAGS-s_cexpl.c): Likewise.
23782 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23783 (CFLAGS-s_csinhl.c): Likewise.
23784 (CFLAGS-s_clogl.c): Likewise.
23785 (CFLAGS-s_clog10l.c): Likewise.
23786 (CFLAGS-s_csinl.c): Likewise.
23787 (CFLAGS-s_csqrtl.c): Likewise.
23789 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
23790 2017-01-09 Svante Signell <svante.signell@gmail.com>
23792 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23793 (_hurd_exec_paths): New function.
23794 * hurd/hurd.h (_hurd_exec): Deprecate function.
23795 (_hurd_exec_paths): Declare function.
23796 * hurd/Versions: Export _hurd_exec_paths.
23797 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23798 (__execve): Use __getcwd to build absolute path, and use
23799 _hurd_exec_paths instead of _hurd_exec.
23800 * sysdeps/mach/hurd/spawni.c: Likewise.
23801 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23804 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23806 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23807 test instead of failing in case of ENOENT returned by posix_openpt.
23809 2018-01-08 Florian Weimer <fweimer@redhat.com>
23811 resolv: Support binary labels in test framework.
23812 * support/resolv_test.c (struct to_be_freed): Remove.
23813 (struct compressed_name): New.
23814 (allocate_compressed_name, ascii_tolower)
23815 (compare_compressed_name): New functions.
23816 (struct resolv_response_builder): Update type of
23817 compression_offsets for use with tsearch. Rempve to_be_freed.
23818 (response_push_pointer_to_free): Remove function.
23819 (resolv_response_add_name): Rewrite using struct compressed_name
23820 and tsearch instead of hsearch_r.
23821 (response_builder_allocate): Remove initialization of
23822 compression_offsets.
23823 (response_builder_free): Update for removal of to_be_freed. Use
23824 tdestroy instead of hdestroy_r.
23825 * resolv/Makefile (tests): Add tst-resolv-binary.
23826 (tst-resolv-binary): Link with -lresolv -lpthread.
23828 2018-01-08 Florian Weimer <fweimer@redhat.com>
23830 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23831 time. Pass positive flag instead of negative flag to
23832 support_test_compare_failure.
23833 (support_test_compare_failure): Change negative parameter to
23835 * support/support_test_compare_failure.c (report)
23836 (support_test_compare_failure): Likewise.
23837 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23838 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23840 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23843 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23844 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23845 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23847 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23849 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23851 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23852 Add s_sincosf-sse2 and s_sincosf-fma.
23853 (CFLAGS-s_sincosf-fma.c): New.
23854 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23855 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23856 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23857 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23858 __sincosf is defined.
23860 2018-01-08 Florian Weimer <fweimer@redhat.com>
23862 * nptl/tst-thread-exit-clobber.cc: New file.
23863 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23865 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23866 (tests): Add tst-thread-exit-clobber.
23867 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23869 2018-01-08 Florian Weimer <fweimer@redhat.com>
23871 * support/check.h (support_static_assert): Define.
23872 (TEST_COMPARE): Use it.
23874 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23876 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23877 [!__RLIM_T_MATCHES_RLIM64_T]
23878 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23879 __getrlimit64. Add libc_hidden_weak.
23881 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
23883 * elf/elf.h (R_RISCV_NONE): New define.
23884 (R_RISCV_32): Likewise.
23885 (R_RISCV_64): Likewise.
23886 (R_RISCV_RELATIVE): Likewise.
23887 (R_RISCV_COPY): Likewise.
23888 (R_RISCV_JUMP_SLOT): Likewise.
23889 (R_RISCV_TLS_DTPMOD32): Likewise.
23890 (R_RISCV_TLS_DTPMOD64): Likewise.
23891 (R_RISCV_TLS_DTPREL32): Likewise.
23892 (R_RISCV_TLS_DTPREL64): Likewise.
23893 (R_RISCV_TLS_TPREL32): Likewise.
23894 (R_RISCV_TLS_TPREL64): Likewise.
23895 * Makerules (make-link-multidir): Make directories before linking into
23897 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23899 (VDSO_HASH_LINUX_4_15): Likewise.
23900 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23901 in subdirectories of lib.
23902 * nptl/Makefile (/librt.so): Always depend on
23903 "$(shared-thread-library)".
23905 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23907 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
23908 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23909 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23911 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
23912 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23914 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
23915 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23916 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23917 * sysdeps/gnu/glob-lstat-compat.c: New file.
23918 * sysdeps/gnu/glob64-lstat-compat.c: New file.
23919 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
23921 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23923 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23924 Reserve 16 chars to reloc_addr before calling _itoa_word.
23926 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23929 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23930 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23932 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23933 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23935 * resource/tst-getrlimit.c: Add copyright header.
23937 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23938 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23940 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23941 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23942 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23943 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23945 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23946 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23947 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23948 RLIM64_INFINITY): Fix values to match the kernel ones.
23949 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23950 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23951 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23952 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23953 getrlimit64@@GLIBC_2_27.
23954 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23956 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23957 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23958 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23959 setrlimit, getrlimit64 and setrlimit64.
23961 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23964 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23965 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23967 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23969 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23970 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23971 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23973 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23977 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23978 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23982 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23983 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23984 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23985 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23987 2018-01-04 Florian Weimer <fweimer@redhat.com>
23990 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23991 Align the stack before calling exit.
23992 * stdlib/tst-makecontext-align.c: New file.
23993 * stdlib/Makefile (tests): Add tst-makecontext-align.
23995 2018-01-04 Florian Weimer <fweimer@redhat.com>
23997 Add support for calling dlvsym from libc.so.
23998 * include/dlfcn.h (__libc_dlvsym): Declare.
23999 * elf/Makefile (tests-static-internal): Add
24000 tst-libc_dlvsym-static.
24001 (tests-internal): Add tst-libc_dlvsym.
24002 (modules-names): Add tst-libc_dlvsym-dso.
24003 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
24004 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
24005 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
24006 object tst-libc_dlvsym-dso.so needs to be built before running
24008 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
24009 * elf/Versions: Export __libc_dlvsym.
24010 * elf/dl-libc.c (struct do_dlvsym_args): New.
24011 (do_dlvsym, __libc_dlvsym): New functions.
24012 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
24013 (_dl_open_hook2): New variable.
24014 (__libc_register_dl_open_hook): Set it.
24015 * elf/tst-libc_dlvsym-dso.c: New file.
24016 * elf/tst-libc_dlvsym-static.c: Likewise.
24017 * elf/tst-libc_dlvsym.c: Likewise.
24018 * elf/tst-libc_dlvsym.h: Likewise.
24020 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24022 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
24023 include <sys/mount.h>.
24025 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
24027 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
24028 Add __NO_MATH_ERRNO__ check.
24030 2018-01-02 Joseph Myers <joseph@codesourcery.com>
24032 * sysdeps/mips/mips32/libm-test-ulps: Update.
24033 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24035 2018-01-02 Florian Weimer <fweimer@redhat.com>
24037 * misc/tst-pselect.c: Add copyright header.
24039 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
24041 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
24043 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
24045 (settrlimit): Rename into setrlimit.
24046 (__sttrlimit): Rename into __setrlimit.
24048 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
24049 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
24050 never defined in that case.
24052 2018-01-02 Joseph Myers <joseph@codesourcery.com>
24054 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
24056 * sysdeps/arm/libm-test-ulps: Update.
24058 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
24059 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
24061 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24063 * NEWS: Add cosf and sincosf to list of optimized functions.
24065 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
24068 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
24069 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
24070 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
24071 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
24073 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
24076 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
24078 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
24079 making a copy of it.
24081 2018-01-01 Joseph Myers <joseph@codesourcery.com>
24083 * manual/texinfo.tex: Update to version 2017-12-26.21 with
24084 trailing whitespace removed.
24085 * scripts/config.guess: Update to version 2018-01-01.
24086 * scripts/config.sub: Update to version 2018-01-01.
24087 * scripts/move-if-change: Update from gnulib.
24089 * NEWS: Update copyright dates.
24090 * catgets/gencat.c (print_version): Likewise.
24091 * csu/version.c (banner): Likewise.
24092 * debug/catchsegv.sh: Likewise.
24093 * debug/pcprofiledump.c (print_version): Likewise.
24094 * debug/xtrace.sh (do_version): Likewise.
24095 * elf/ldconfig.c (print_version): Likewise.
24096 * elf/ldd.bash.in: Likewise.
24097 * elf/pldd.c (print_version): Likewise.
24098 * elf/sotruss.sh: Likewise.
24099 * elf/sprof.c (print_version): Likewise.
24100 * iconv/iconv_prog.c (print_version): Likewise.
24101 * iconv/iconvconfig.c (print_version): Likewise.
24102 * locale/programs/locale.c (print_version): Likewise.
24103 * locale/programs/localedef.c (print_version): Likewise.
24104 * login/programs/pt_chown.c (print_version): Likewise.
24105 * malloc/memusage.sh (do_version): Likewise.
24106 * malloc/memusagestat.c (print_version): Likewise.
24107 * malloc/mtrace.pl: Likewise.
24108 * manual/libc.texinfo: Likewise.
24109 * nptl/version.c (banner): Likewise.
24110 * nscd/nscd.c (print_version): Likewise.
24111 * nss/getent.c (print_version): Likewise.
24112 * nss/makedb.c (print_version): Likewise.
24113 * posix/getconf.c (main): Likewise.
24114 * scripts/test-installation.pl: Likewise.
24115 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24117 * All files with FSF copyright notices: Update copyright dates
24118 using scripts/update-copyrights.
24119 * locale/programs/charmap-kw.h: Regenerated.
24120 * locale/programs/locfile-kw.h: Likewise.
24122 2017-12-31 Zack Weinberg <zackw@panix.com>
24124 * libio/bits/libio-ldbl.h: Correct check for improper
24125 inclusion. Add own multiple include guard.
24127 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
24128 Dmitry V. Levin <ldv@altlinux.org>
24132 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
24133 string token expansion. Check for NULL pointer or empty string possibly
24134 returned by expand_dynamic_string_token.
24135 (decompose_rpath): Check for empty path after dynamic string
24138 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
24141 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
24143 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
24144 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
24145 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
24146 and PTRACE_SYSCALL.
24147 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
24148 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24149 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24150 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24151 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24152 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
24154 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
24155 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
24156 __ptrace_peeksiginfo_flags, ptrace): Move to ...
24157 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
24158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24159 bits/ptrace-shared.h.
24160 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
24161 <bits/ptrace-shared.h>.
24162 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
24163 __ptrace_peeksiginfo_flags, ptrace): Remove.
24164 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24165 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24166 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24167 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24168 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
24170 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
24173 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
24174 end of the loop. Improve comments.
24176 2017-12-29 Zack Weinberg <zackw@panix.com>
24179 * manual/errno.texi (Checking for Errors): Explicitly say that errno
24180 might be set on success.
24182 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
24185 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
24186 is unchanged on success.
24188 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
24190 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
24192 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
24193 expand_dynamic_string_token): Likewise.
24194 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
24197 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
24200 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
24201 is set and name contains ':', and all code depending on these checks.
24203 2017-12-24 Zack Weinberg <zackw@panix.com>
24205 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
24206 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
24208 * libio/libio.h: Rename the original version of this file to
24209 libio/bits/libio.h. Error out if not included by stdio.h or the
24211 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
24212 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
24213 if not included by bits/libio.h or the stub _G_config.h.
24214 * sysdeps/unix/sysv/linux/_G_config.h: Move to
24215 sysdeps/unix/sysv/linux/bits. Error out if not included by
24216 bits/libio.h or the stub _G_config.h.
24217 * libio/stdio.h: Include bits/libio.h, not libio.h.
24218 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
24219 well as libio.h and _G_config.h.
24221 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
24222 * libio/strfile.h, stdio-common/vfscanf.c
24223 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
24224 Include stdio.h, not _G_config.h nor libio.h.
24225 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
24226 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
24228 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
24230 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
24233 * stdlib/getrandom.c (getrandom): Fix comment.
24234 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
24236 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
24239 * manual/arith.texi (strtoul): Fix a typo.
24242 * manual/arith.texi (finite): Fix the description of the return
24245 2017-12-22 Eric Blake <ebb9@byu.net>
24247 Avoid gcc warnings on cygwin
24248 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
24249 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
24250 Avoid unused variable.
24252 2017-12-22 Florian Weimer <fweimer@redhat.com>
24254 * io/Makefile (routines): Add copy_file_range.
24255 (tests): Add tst-copy_file_range.
24256 (tests-static, tests-internal): Add tst-copy_file_range-compat.
24257 * io/Versions (GLIBC_2.27): Export copy_file_range.
24258 * io/copy_file_range-compat.c: New file.
24259 * io/copy_file_range.c: Likewise.
24260 * io/tst-copy_file_range-compat.c: Likewise.
24261 * io/tst-copy_file_range.c: Likewise.
24262 * manual/llio.texi (Copying File Data): New section.
24263 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
24264 * support/Makefile (libsupport-routines): Add support-xfstat,
24265 xftruncate, xlseek.
24266 * support/support-xfstat.c: New file.
24267 * support/xftruncate.c: Likewise.
24268 * support/xlseek.c: Likewise.
24269 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
24270 * sysdeps/unix/sysv/linux/**.abilist: Update.
24271 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
24273 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
24275 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24276 disable-multi-arch variant to aarch64-linux-gnu.
24278 2017-12-20 Joseph Myers <joseph@codesourcery.com>
24280 * manual/texinfo.tex: Update to version 2017-12-18.20 with
24281 trailing whitespace removed.
24282 * scripts/config.guess: Update to version 2017-12-17.
24283 * scripts/config.sub: Update to version 2017-11-23.
24284 * scripts/install-sh: Update to version 2017-09-23.17.
24285 * scripts/move-if-change: Update to version 2017-09-13 06:45.
24287 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24289 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
24290 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
24291 * sysdeps/tile/_mcount.S (__mcount): Likewise.
24292 * sysdeps/tile/crti.S (_init, _fini): Likewise.
24293 * sysdeps/tile/crtn.S: Likewise.
24294 * sysdeps/tile/dl-start.S (_start): Likewise.
24295 * sysdeps/tile/dl-trampoline.S: Likewise.
24296 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
24297 * sysdeps/tile/start.S (_start): Likewise.
24298 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
24299 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
24300 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
24301 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
24302 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
24303 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
24304 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
24306 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
24308 * sysdeps/tile/preconfigure: Remove tilegx folder.
24309 * sysdeps/tile/tilegx/Implies: Move definitions to ...
24310 * sysdeps/tile/Implies: ... here.
24311 * sysdeps/tile/tilegx/Makefile: Move rules to ...
24312 * sysdeps/tile/Makefile: ... here.
24313 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
24314 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
24315 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
24316 * sysdeps/tile/bits/wordsize.h: ... here.
24317 * sysdeps/tile/tilegx/*: Move to ...
24318 * sysdeps/tile/*: ... here.
24319 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
24320 * sysdeps/tile/tilegx32/Implies: ... here.
24321 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
24322 * sysdeps/tile/tilegx64/Implies: ... here.
24323 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
24325 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24326 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
24327 * sysdeps/unix/sysv/linux/tile/*: ... here.
24328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
24329 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
24330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
24331 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
24333 * README: Remove tilepro-*-linux-gnu from supported architecture.
24334 * scripts/build-many-glibcs.py: Likewise.
24335 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
24336 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
24337 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
24338 elf_machine_matches_host, elf_machine_dynamic,
24339 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
24340 howto, elf_machine_rela): Likewise.
24341 * sysdeps/tile/dl-start.S (_start): Likewise.
24342 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
24343 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
24344 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
24345 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
24346 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
24347 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24349 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
24350 * sysdeps/tile/preconfigure: Likewise.
24351 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
24352 POINTER_CHK_GUARD): Likewise.
24353 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
24354 * sysdeps/tile/start.S (_start): Likewise.
24355 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
24357 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
24358 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
24360 * sysdeps/unix/sysv/linux/tile/bits/environments.h
24361 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
24362 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
24364 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
24365 * sysdeps/tile/tilepro/Implies: Remove file.
24366 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
24367 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
24368 * sysdeps/tile/tilepro/memchr.c: Likewise.
24369 * sysdeps/tile/tilepro/memcpy.S: Likewise.
24370 * sysdeps/tile/tilepro/memset.c: Likewise.
24371 * sysdeps/tile/tilepro/memusage.h: Likewise.
24372 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
24373 * sysdeps/tile/tilepro/strchr.c: Likewise.
24374 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
24375 * sysdeps/tile/tilepro/strlen.c: Likewise.
24376 * sysdeps/tile/tilepro/strrchr.c: Likewise.
24377 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
24378 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
24379 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24380 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
24381 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
24382 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24384 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
24385 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24386 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
24387 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
24388 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24389 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
24390 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
24391 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
24392 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
24393 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
24394 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
24395 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
24396 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
24397 tilepro mention in comment.
24399 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
24400 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
24401 * nptl/pthread_join_common.c: New file: common function used on
24402 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
24403 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
24404 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
24405 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24406 (cleanup): Move definition to pthread_join_common.c.
24407 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
24408 Remove superflous checks.
24409 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
24412 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
24414 * sysdeps/aarch64/libm-test-ulps: Update.
24416 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24418 * sysdeps/aarch64/memset.S (MEMSET): Define.
24420 2017-12-20 Florian Weimer <fweimer@redhat.com>
24423 nptl: Provide full implementation of pthread_self in libc.so.
24424 * nptl/Makefile (routines): Add pthread_self.
24425 (libpthread-routines): Replace pthread_self with
24426 compat-pthread_self.
24427 * nptl/forward.c (pthread_self): Remove.
24428 * nptl/nptl-init.c (pthread_functions): Do not initialize
24430 * nptl/pthread_self.c (pthread_self): Remove weak alias.
24431 * nptl/compat-pthread_self.c: New file.
24432 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
24433 Remove ptr_pthread_self.
24435 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
24437 * posix/regcomp.c: Fix spelling in comments.
24438 * posix/regex.h: Likewise.
24439 * posix/regex_internal.c: Likewise.
24440 * posix/regexec.c: Likewise.
24442 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24445 * math/Makefile [C++] (tests): Add test for iseqsig.
24446 * math/math.h [C++] (iseqsig): New implementation, which does
24447 not rely on __MATH_TG/__builtin_types_compatible_p.
24448 * math/test-math-iseqsig.cc: New file.
24449 * sysdeps/powerpc/powerpc64le/Makefile
24450 (CFLAGS-test-math-iseqsig.cc): New variable.
24452 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
24454 * elf/dl-load.c (is_trusted_path): Remove.
24455 (fillin_rpath): Remove check_trusted argument and its use,
24456 all callers changed.
24458 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24461 * Makeconfig (link-pie-before-libc): Replace -pie with
24462 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
24463 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
24464 (tst-dlopen-aout-no-pie): New.
24465 (LDFLAGS-tst-prelink): Removed.
24466 (tst-prelink-no-pie): New.
24467 (LDFLAGS-tst-main1): Removed.
24468 (tst-main1-no-pie): New.
24469 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
24470 (tst-gmon-no-pie): New.
24472 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24474 * manual/install.texi: Document that --enable-static-pie
24476 * INSTALL: Regenerated.
24478 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
24481 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
24484 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24488 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24492 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24494 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24495 <errno.h>. Include "eexp.tbl".
24496 (half): New constant.
24498 (__ieee754_exp): Rewrite.
24499 (__slowexp): Remove prototype.
24500 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24501 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24502 * sysdeps/i386/fpu/slowexp.c: Likewise.
24503 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24504 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24505 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24506 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24507 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24508 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24509 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24511 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24512 (CPPFLAGS-slowexp.c): Remove variable.
24513 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24514 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24515 (CFLAGS-slowexp-fma.c): Remove variable.
24516 (CFLAGS-slowexp-fma4.c): Likewise.
24517 (CFLAGS-slowexp-avx.c): Likewise.
24518 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24520 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24521 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24522 * math/Makefile (type-double-routines): Remove slowexp.
24523 * manual/probes.texi (slowexp_p6): Remove.
24524 (slowexp_p32): Likewise.
24526 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24528 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
24531 * lib/glob.c (glob): Do not pass NULL to mempcpy.
24533 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24537 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24539 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24540 <errno.h>. Include "eexp.tbl".
24541 (half): New constant.
24543 (__ieee754_exp): Rewrite.
24544 (__slowexp): Remove prototype.
24545 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24546 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24547 * sysdeps/i386/fpu/slowexp.c: Likewise.
24548 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24549 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24550 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24551 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24552 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24553 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24554 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24556 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24557 (CPPFLAGS-slowexp.c): Remove variable.
24558 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24559 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24560 (CFLAGS-slowexp-fma.c): Remove variable.
24561 (CFLAGS-slowexp-fma4.c): Likewise.
24562 (CFLAGS-slowexp-avx.c): Likewise.
24563 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24565 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24566 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24567 * math/Makefile (type-double-routines): Remove slowexp.
24568 * manual/probes.texi (slowexp_p6): Remove.
24569 (slowexp_p32): Likewise.
24571 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24572 James Clarke <jrtc27@jrtc27.com>
24575 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
24578 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24581 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
24584 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24587 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24588 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
24589 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24590 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
24593 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24596 * bits/types/__cancel_jmp_buf_tag.h: New file.
24597 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24598 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24599 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24600 * nptl/Makefile (headers): Add
24601 bits/types/__cancel_jmp_buf_tag.h.
24602 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24603 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24604 * sysdeps/nptl/pthread.h: Include
24605 <bits/types/__cancel_jmp_buf_tag.h>.
24606 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24608 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24610 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24612 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24613 --enable-static-pie variants to x86_64, x32 and i686.
24615 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24618 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24619 argument for attrubutes. All callers changed.
24620 (__inline_mathop1): Likewise. All callers changed.
24621 (__inline_mathop): Likewise. All callers changed.
24622 [__USE_MISC] (scalbn): Use __inline_forward instead of
24623 __inline_forward_c.
24624 [__USE_ISOC99] (scalbln): Likewise.
24625 [__USE_ISOC99] (nearbyint): Likewise.
24626 [__USE_ISOC99] (lrint): Likewise.
24627 [__USE_MISC] (scalbnf): Likewise.
24628 [__USE_ISOC99] (scalblnf): Likewise.
24629 [__USE_ISOC99] (nearbyintf): Likewise.
24630 [__USE_ISOC99] (lrintf): Likewise.
24631 [__USE_MISC] (scalbnl): Likewise.
24632 [__USE_ISOC99] (scalblnl): Likewise.
24633 [__USE_ISOC99] (nearbyintl): Likewise.
24634 [__USE_ISOC99] (lrintl): Likewise.
24635 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24636 __inline_mathop and __m81_defun changed.
24638 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24639 CPU or FPU for ARM hard-float configurations.
24641 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24643 * nptl/tst-attr3.c: Include <libc-diag.h>.
24644 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24646 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24648 * string/tester.c (test_strncat): Also disable -Warray-bounds
24649 warnings for two tests.
24651 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24654 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24655 $(cc-pie-default) == yes.
24656 * config.make.in (cc-pie-default): New.
24657 * configure.ac (libc_cv_pie_default): Renamed to ...
24658 (libc_cv_cc_pie_default): This.
24659 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24660 * configure: Regenerated.
24662 2017-12-18 Florian Weimer <fweimer@redhat.com>
24665 ld.so: Harden dl-libc/libdl hooks.
24666 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24667 (rtld_active): New function.
24668 * dlfcn/dladdr.c (__dladdr): Call it.
24669 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24670 * dlfcn/dlclose.c (__dlcose): Likewise.
24671 * dlfcn/dlerror.c (__dlerror): Likewise.
24672 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24673 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24674 * dlfcn/dlopen.c (__dlopen): Likewise.
24675 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24676 * dlfcn/dlsym.c (__dlsym): Likewise.
24677 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24678 * libio/vtables.c (_IO_vtable_check): Likewise.
24679 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24680 (__libc_dlclose): Likewise.
24681 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24684 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24687 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24688 buffers for readlink input and output.
24690 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24693 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24694 inhibit_stack_protector.
24697 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24698 inhibit_stack_protector.
24700 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24703 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24704 code and invocation.
24706 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24708 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24710 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24713 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24715 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24717 * sysdeps/s390/fpu/libm-test-ulps: Update.
24719 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24723 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24725 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24726 constants to s_sincosf.h file.
24727 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24728 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24730 * sysdeps/ieee754/flt-32/s_sincosf.h:
24733 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24736 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24739 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24742 * INSTALL: Regenerated.
24743 * Makeconfig (real-static-start-installed-name): New.
24744 (pic-default): Updated for --enable-static-pie.
24745 (pie-default): New for --enable-static-pie.
24746 (default-pie-ldflag): Likewise.
24747 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24748 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24749 Replace $(static-start-installed-name) with
24750 $(real-static-start-installed-name).
24751 (+prectorT): Updated for --enable-static-pie.
24752 (+postctorT): Likewise.
24753 (CFLAGS-.o): Add $(pie-default).
24754 (CFLAGS-.op): Likewise.
24755 * NEWS: Mention --enable-static-pie.
24756 * config.h.in (ENABLE_STATIC_PIE): New.
24757 * configure.ac (--enable-static-pie): New configure option.
24758 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24759 (have-static-pie): Likewise.
24760 Enable static PIE if linker supports --no-dynamic-linker.
24761 (ENABLE_STATIC_PIE): New AC_DEFINE.
24762 (enable-static-pie): New LIBC_CONFIG_VAR.
24763 * configure: Regenerated.
24764 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24765 gr$(start-installed-name) for --enable-static-pie.
24766 (extra-objs): Likewise.
24767 (install-lib): Likewise.
24768 (extra-objs): Add static-reloc.o and static-reloc.os
24769 ($(objpfx)$(start-installed-name)): Also depend on
24770 $(objpfx)static-reloc.o.
24771 ($(objpfx)r$(start-installed-name)): New.
24772 ($(objpfx)g$(start-installed-name)): Also depend on
24773 $(objpfx)static-reloc.os.
24774 ($(objpfx)gr$(start-installed-name)): New.
24775 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24777 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24779 * csu/static-reloc.c: New file.
24780 * elf/Makefile (routines): Add dl-reloc-static-pie.
24781 (elide-routines.os): Likewise.
24782 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24783 (tst-tls1-static-non-pie-no-pie): New.
24784 * elf/dl-reloc-static-pie.c: New file.
24785 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24786 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24787 STATIC_PIE_BOOTSTRAP.
24788 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24789 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24790 (tests-static): Likewise.
24791 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24792 (tst-gmon-static-no-pie): New.
24793 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24794 (CRT-tst-gmon-static-pie): Likewise.
24795 (tst-gmon-static-pie-ENV): Likewise.
24796 (tests-special): Likewise.
24797 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24798 (clean-tst-gmon-static-pie-data): Likewise.
24799 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24800 * gmon/tst-gmon-static-pie.c: New file.
24801 * manual/install.texi: Document --enable-static-pie.
24802 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24803 (_dl_get_dl_main_map): Likewise.
24804 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24805 * sysdeps/x86_64/configure.ac: Likewise.
24806 * sysdeps/i386/configure: Regenerated.
24807 * sysdeps/x86_64/configure: Likewise.
24808 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24809 (ASFLAGS-.op): Likewise.
24811 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24813 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24814 * posix/tst-mmap-offset.c (fname): Use /tmp.
24815 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24817 2017-12-15 Steve Ellcey <sellcey@cavium.com>
24819 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24821 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24823 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24826 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24828 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24829 --with-float=hard for arm-linux-gnueabihf configurations.
24832 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24833 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24834 ($(mo-installed)): Use $(objpfx)%.mo.
24835 (realclean): Remove rule.
24837 * po/Makefile (linguas): Remove rule and dependencies.
24838 (linguas.mo): Likewise.
24839 (.PHONY): Do not depend on linguas and linguas.mo.
24840 (podir): Remove variable.
24841 (pofiles): Likewise.
24842 [$(pofiles)] (%.po): Remove rule.
24844 * sysdeps/sparc/sparc32/Makefile
24845 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24846 start-of-line whitespace in argument of echo.
24847 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24848 with whitespace. Generate __wrap_.udiv alias.
24849 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24850 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24851 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24852 * sysdeps/sparc/sparc32/urem.S: Likewise.
24854 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24856 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24857 for aligned inputs.
24859 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24861 * benchtests/bench-strcmp.c: Print output in JSON format.
24863 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24865 2017-12-14 Florian Weimer <fweimer@redhat.com>
24869 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24870 the expanded path string.
24872 2017-12-14 Florian Weimer <fweimer@redhat.com>
24876 * elf/dl-load.c (system_dirs): Update comment.
24877 (nsystem_dirs_len): Use array_length.
24878 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24880 2017-12-14 Florian Weimer <fweimer@redhat.com>
24882 Simplify compiling most of support/ outside of glibc.
24883 * support/check_addrinfo.c: Include <string.h>.
24884 * support/check_dns_packet.c: Likewise.
24885 * support/check_hostent.c: Likewise.
24886 * support/support_can_chroot.c: Include <support/xunistd.h>.
24887 * support/support_format_addrinfo.c: Include <stdlib.h>
24888 * support/support_format_dns_packet.c: Include <stdbool.h>.
24889 * support/support_format_hostent.c: Include <stdlib.h>.
24890 * support/support_format_netent.c: Likewise.
24891 * support/support_write_string.c: Include <support/xunistd.h>.
24892 * support/xdlfcn.c: Include <stddef.h>.
24894 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24896 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24898 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24899 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24901 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24902 (sysdeps_routines): Add memset-niagara7.
24903 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24905 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24907 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24908 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24909 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24910 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24911 Add niagara7 option.
24912 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24915 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24916 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24917 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24919 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24921 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24922 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24923 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24924 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24925 and __memmove_niagara7.
24926 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24927 Add niagara7 option.
24928 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24929 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24930 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24931 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24932 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24934 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24936 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24937 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24938 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24939 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24941 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24942 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24943 _dl_sparc_cap_flags array.
24944 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24946 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24948 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24949 time whenever possible.
24951 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24953 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24954 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24956 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24958 * soft-fp/fmadf4.c: Move to ....
24959 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24960 * soft-fp/fmasf4.c: Move to ....
24961 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24962 * soft-fp/fmatf4.c: Move to ....
24963 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24964 * sysdeps/ieee754/soft-fp/Makefile: New file.
24965 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24966 * sysdeps/arm/preconfigure: Regenerated.
24967 * sysdeps/arm/nofpu/Implies: New file.
24968 * sysdeps/arm/s_fma.c: Remove file.
24969 * sysdeps/arm/s_fmaf.c: Likewise.
24970 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24971 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24972 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24973 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24974 * sysdeps/microblaze/s_fma.c: Remove file.
24975 * sysdeps/microblaze/s_fmaf.c: Likewise.
24976 * sysdeps/mips/mips32/nofpu/Implies: New file.
24977 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24978 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24979 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24980 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24981 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24982 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24983 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24985 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24986 * sysdeps/nios2/s_fma.c: Remove file.
24987 * sysdeps/nios2/s_fmaf.c: Likewise.
24988 * sysdeps/sh/nofpu/Implies: New file.
24989 * sysdeps/sh/s_fma.c: Remove file.
24990 * sysdeps/sh/s_fmaf.c: Likewise.
24991 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24992 * sysdeps/tile/s_fma.c: Remove file.
24993 * sysdeps/tile/s_fmaf.c: Likewise.
24995 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24997 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24998 Add s_cosf-sse2 and s_cosf-fma.
24999 (CFLAGS-s_cosf-fma.c): New.
25000 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
25001 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
25002 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
25004 2017-12-12 Steve Ellcey <sellcey@cavium.com>
25006 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
25008 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25010 * libio/Makefile (tests): Add tst-bz22415.
25011 (tst-bz22415-ENV): New rule.
25012 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
25013 (tests-special): Add tst-bz22415-mem.out.
25014 ($(objpfx)tst-bz22415-mem.out): New rule.
25015 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
25016 in case of a successful seek operation.
25017 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25018 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
25019 buffer is required.
25020 * libio/tst-bz22415.c: New test.
25022 * sysdeps/ia64/fpu/libm-test-ulps: Update.
25024 2017-12-12 James Clarke <jrtc27@jrtc27.com>
25026 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
25027 __IPC_64 to 0 to avoid IPC_64 being set.
25029 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25032 * math/bits/mathcalls.h (nextafter): Remove const.
25033 (nexttoward): Likewise.
25035 2017-12-12 Joseph Myers <joseph@codesourcery.com>
25037 * configure.ac (--with-fp): Remove configure option.
25038 (with_fp_cond): New variable.
25039 (libc_cv_with_fp): New configure test. Use this variable instead
25041 * configure: Regenerated.
25042 * config.make.in (with-fp): Use @libc_cv_with_fp@.
25043 * manual/install.texi (Configuring and compiling): Remove
25045 * INSTALL: Regenerated.
25046 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
25047 * sysdeps/mips/preconfigure (with_fp_cond): Define.
25048 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
25049 * sysdeps/sh/preconfigure (with_fp_cond): Define.
25050 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
25051 use --without-fp to configure glibc.
25053 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
25055 * manual/locale.texi (nl_langinfo): Fix a typo.
25057 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
25060 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
25062 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25064 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
25065 (CFLAGS-argp-parse.c): Likewise.
25066 (CFLAGS-argp-fmtstream.c): Likewise.
25067 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
25068 (CPPFLAGS-sha512-crypt.c): Likewise.
25069 (CPPFLAGS-md5-crypt.c): Likewise.
25070 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
25071 (CFLAGS-stack_chk_fail_local.c): Likewise.
25072 (CFLAGS-backtrace.c): Likewise.
25073 (CFLAGS-sprintf_chk.c): Likewise.
25074 (CFLAGS-snprintf_chk.c): Likewise.
25075 (CFLAGS-vsprintf_chk.c): Likewise.
25076 (CFLAGS-vsnprintf_chk.c): Likewise.
25077 (CFLAGS-asprintf_chk.c): Likewise.
25078 (CFLAGS-vasprintf_chk.c): Likewise.
25079 (CFLAGS-obprintf_chk.c): Likewise.
25080 (CFLAGS-dprintf_chk.c): Likewise.
25081 (CFLAGS-vdprintf_chk.c): Likewise.
25082 (CFLAGS-printf_chk.c): Likewise.
25083 (CFLAGS-fprintf_chk.c): Likewise.
25084 (CFLAGS-vprintf_chk.c): Likewise.
25085 (CFLAGS-vfprintf_chk.c): Likewise.
25086 (CFLAGS-gets_chk.c): Likewise.
25087 (CFLAGS-fgets_chk.c): Likewise.
25088 (CFLAGS-fgets_u_chk.c): Likewise.
25089 (CFLAGS-fread_chk.c): Likewise.
25090 (CFLAGS-fread_u_chk.c): Likewise.
25091 (CFLAGS-swprintf_chk.c): Likewise.
25092 (CFLAGS-vswprintf_chk.c): Likewise.
25093 (CFLAGS-wprintf_chk.c): Likewise.
25094 (CFLAGS-fwprintf_chk.c): Likewise.
25095 (CFLAGS-vwprintf_chk.c): Likewise.
25096 (CFLAGS-vfwprintf_chk.c): Likewise.
25097 (CFLAGS-fgetws_chk.c): Likewise.
25098 (CFLAGS-fgetws_u_chk.c): Likewise.
25099 (CFLAGS-read_chk.c): Likewise.
25100 (CFLAGS-pread_chk.c): Likewise.
25101 (CFLAGS-pread64_chk.c): Likewise.
25102 (CFLAGS-recv_chk.c): Likewise.
25103 (CFLAGS-recvfrom_chk.c): Likewise.
25104 (CFLAGS-tst-longjmp_chk.c): Likewise.
25105 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
25106 (CFLAGS-tst-longjmp_chk2.c): Likewise.
25107 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
25108 (CFLAGS-tst-longjmp_chk3.c): Likewise.
25109 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25110 (CFLAGS-tst-chk1.c): Likewise.
25111 (CFLAGS-tst-chk2.c): Likewise.
25112 (CFLAGS-tst-chk3.c): Likewise.
25113 (CFLAGS-tst-chk4.cc): Likewise.
25114 (CFLAGS-tst-chk5.cc): Likewise.
25115 (CFLAGS-tst-chk6.cc): Likewise.
25116 (CFLAGS-tst-lfschk1.c): Likewise.
25117 (CFLAGS-tst-lfschk2.c): Likewise.
25118 (CFLAGS-tst-lfschk3.c): Likewise.
25119 (CFLAGS-tst-lfschk4.cc): Likewise.
25120 (CFLAGS-tst-lfschk5.cc): Likewise.
25121 (CFLAGS-tst-lfschk6.cc): Likewise.
25122 (CFLAGS-tst-ssp-1.c): Likewise.
25123 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
25124 (CFLAGS-scandir64.c): Likewise.
25125 (CFLAGS-scandir-tail.c): Likewise.
25126 (CFLAGS-scandir64-tail.c): Likewise.
25127 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
25128 (CFLAGS-dl-tunables.c): Likewise.
25129 (CFLAGS-dl-runtime.c): Likewise.
25130 (CFLAGS-dl-lookup.c): Likewise.
25131 (CFLAGS-dl-iterate-phdr.c): Likewise.
25132 (CFLAGS-vismain.c): Likewise.
25133 (CFLAGS-tst-linkall-static.c): Likewise.
25134 (CFLAGS-tst-linkall-static.c): Likewise.
25135 (CPPFLAGS-dl-load.c): Likewise.
25136 (CFLAGS-ldconfig.c): Likewise.
25137 (CFLAGS-dl-cache.c): Likewise.
25138 (CFLAGS-cache.c): Likewise.
25139 (CFLAGS-rtld.c): Likewise.
25140 (CFLAGS-multiload.c): Likewise.
25141 (CFLAGS-filtmod1.c): Likewise.
25142 (CFLAGS-tst-align.c): Likewise.
25143 (CFLAGS-tst-align2.c): Likewise.
25144 (CFLAGS-tst-alignmod.c): Likewise.
25145 (CFLAGS-tst-alignmod2.c): Likewise.
25146 (CPPFLAGS-tst-execstack.c): Likewise.
25147 (CFLAGS-tst-ptrguard1-static.c): Likewise.
25148 (CFLAGS-tst-latepthreadmod.c): Likewise.
25149 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
25150 (CFLAGS-getgrnam_r.c): Likewise.
25151 (CFLAGS-getgrent_r.c): Likewise.
25152 (CFLAGS-getgrent.c): Likewise.
25153 (CFLAGS-fgetgrent.c): Likewise.
25154 (CFLAGS-fgetgrent_r.c): Likewise.
25155 (CFLAGS-putgrent.c): Likewise.
25156 (CFLAGS-initgroups.c): Likewise.
25157 (CFLAGS-getgrgid.c): Likewise.
25158 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
25159 (CFLAGS-getsgent.c): Likewise.
25160 (CFLAGS-fgetsgent.c): Likewise.
25161 (CFLAGS-fgetsgent_r.c): Likewise.
25162 (CFLAGS-putsgent.c): Likewise.
25163 (CFLAGS-getsgnam.c): Likewise.
25164 (CFLAGS-getsgnam_r.c): Likewise.
25165 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
25166 (CFLAGS-iconv_charmap.c): Likewise.
25167 (CFLAGS-dummy-repertoire.c): Likewise.
25168 (CFLAGS-charmap.c): Likewise.
25169 (CFLAGS-linereader.c): Likewise.
25170 (CFLAGS-simple-hash.c): Likewise.
25171 (CFLAGS-gconv_conf.c): Likewise.
25172 (CFLAGS-iconvconfig.c): Likewise.
25173 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25174 (CFLAGS-gethstbyad.c): Likewise.
25175 (CFLAGS-gethstbynm_r.c): Likewise.
25176 (CFLAGS-gethstbynm.c): Likewise.
25177 (CFLAGS-gethstbynm2_r.c): Likewise.
25178 (CFLAGS-gethstbynm2.c): Likewise.
25179 (CFLAGS-gethstent_r.c): Likewise.
25180 (CFLAGS-gethstent.c): Likewise.
25181 (CFLAGS-rcmd.c): Likewise.
25182 (CFLAGS-getnetbynm_r.c): Likewise.
25183 (CFLAGS-getnetbynm.c): Likewise.
25184 (CFLAGS-getnetbyad_r.c): Likewise.
25185 (CFLAGS-getnetbyad.c): Likewise.
25186 (CFLAGS-getnetent_r.c): Likewise.
25187 (CFLAGS-getnetent.c): Likewise.
25188 (CFLAGS-getaliasent_r.c): Likewise.
25189 (CFLAGS-getaliasent.c): Likewise.
25190 (CFLAGS-getrpcent_r.c): Likewise.
25191 (CFLAGS-getrpcent.c): Likewise.
25192 (CFLAGS-getservent_r.c): Likewise.
25193 (CFLAGS-getservent.c): Likewise.
25194 (CFLAGS-getprtent_r.c): Likewise.
25195 (CFLAGS-getprtent.c): Likewise.
25196 (CFLAGS-either_ntoh.c): Likewise.
25197 (CFLAGS-either_hton.c): Likewise.
25198 (CFLAGS-getnetgrent.c): Likewise.
25199 (CFLAGS-getnetgrent_r.c): Likewise.
25200 (CFLAGS-tst-checks-posix.c): Likewise.
25201 (CFLAGS-tst-sockaddr.c): Likewise.
25202 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
25203 (CFLAGS-tst-translit.c): Likewise.
25204 (CFLAGS-tst-gettext2.c): Likewise.
25205 (CFLAGS-tst-codeset.c): Likewise.
25206 (CFLAGS-tst-gettext3.c): Likewise.
25207 (CFLAGS-tst-gettext4.c): Likewise.
25208 (CFLAGS-tst-gettext5.c): Likewise.
25209 (CFLAGS-tst-gettext6.c): Likewise.
25210 * io/Makefile (CFLAGS-open.c): Likewise.
25211 (CFLAGS-open64.c): Likewise.
25212 (CFLAGS-creat.c): Likewise.
25213 (CFLAGS-creat64.c): Likewise.
25214 (CFLAGS-fcntl.c): Likewise.
25215 (CFLAGS-poll.c): Likewise.
25216 (CFLAGS-ppoll.c): Likewise.
25217 (CFLAGS-lockf.c): Likewise.
25218 (CFLAGS-statfs.c): Likewise.
25219 (CFLAGS-fstatfs.c): Likewise.
25220 (CFLAGS-statvfs.c): Likewise.
25221 (CFLAGS-fstatvfs.c): Likewise.
25222 (CFLAGS-fts.c): Likewise.
25223 (CFLAGS-fts64.c): Likewise.
25224 (CFLAGS-ftw.c): Likewise.
25225 (CFLAGS-ftw64.c): Likewise.
25226 (CFLAGS-lockf.c): Likewise.
25227 (CFLAGS-posix_fallocate.c): Likewise.
25228 (CFLAGS-posix_fallocate64.c): Likewise.
25229 (CFLAGS-fallocate.c): Likewise.
25230 (CFLAGS-fallocate64.c): Likewise.
25231 (CFLAGS-read.c): Likewise.
25232 (CFLAGS-write.c): Likewise.
25233 (CFLAGS-test-stat.c): Likewise.
25234 (CFLAGS-test-lfs.c): Likewise.
25235 * libio/Makefile (CFLAGS-fileops.c): Likewise.
25236 (CFLAGS-fputc.c): Likewise.
25237 (CFLAGS-fputwc.c): Likewise.
25238 (CFLAGS-freopen64.c): Likewise.
25239 (CFLAGS-freopen.c): Likewise.
25240 (CFLAGS-fseek.c): Likewise.
25241 (CFLAGS-fseeko64.c): Likewise.
25242 (CFLAGS-fseeko.c): Likewise.
25243 (CFLAGS-ftello64.c): Likewise.
25244 (CFLAGS-ftello.c): Likewise.
25245 (CFLAGS-fwide.c): Likewise.
25246 (CFLAGS-genops.c): Likewise.
25247 (CFLAGS-getc.c): Likewise.
25248 (CFLAGS-getchar.c): Likewise.
25249 (CFLAGS-getwc.c): Likewise.
25250 (CFLAGS-getwchar.c): Likewise.
25251 (CFLAGS-iofclose.c): Likewise.
25252 (CFLAGS-iofflush.c): Likewise.
25253 (CFLAGS-iofgetpos64.c): Likewise.
25254 (CFLAGS-iofgetpos.c): Likewise.
25255 (CFLAGS-iofgets.c): Likewise.
25256 (CFLAGS-iofgetws.c): Likewise.
25257 (CFLAGS-iofputs.c): Likewise.
25258 (CFLAGS-iofputws.c): Likewise.
25259 (CFLAGS-iofread.c): Likewise.
25260 (CFLAGS-iofsetpos64.c): Likewise.
25261 (CFLAGS-iofsetpos.c): Likewise.
25262 (CFLAGS-ioftell.c): Likewise.
25263 (CFLAGS-iofwrite.c): Likewise.
25264 (CFLAGS-iogetdelim.c): Likewise.
25265 (CFLAGS-iogetline.c): Likewise.
25266 (CFLAGS-iogets.c): Likewise.
25267 (CFLAGS-iogetwline.c): Likewise.
25268 (CFLAGS-ioputs.c): Likewise.
25269 (CFLAGS-ioseekoff.c): Likewise.
25270 (CFLAGS-ioseekpos.c): Likewise.
25271 (CFLAGS-iosetbuffer.c): Likewise.
25272 (CFLAGS-iosetvbuf.c): Likewise.
25273 (CFLAGS-ioungetc.c): Likewise.
25274 (CFLAGS-ioungetwc.c): Likewise.
25275 (CFLAGS-oldfileops.c): Likewise.
25276 (CFLAGS-oldiofclose.c): Likewise.
25277 (CFLAGS-oldiofgetpos64.c): Likewise.
25278 (CFLAGS-oldiofgetpos.c): Likewise.
25279 (CFLAGS-oldiofsetpos64.c): Likewise.
25280 (CFLAGS-oldiofsetpos.c): Likewise.
25281 (CFLAGS-peekc.c): Likewise.
25282 (CFLAGS-putc.c): Likewise.
25283 (CFLAGS-putchar.c): Likewise.
25284 (CFLAGS-putwc.c): Likewise.
25285 (CFLAGS-putwchar.c): Likewise.
25286 (CFLAGS-rewind.c): Likewise.
25287 (CFLAGS-wfileops.c): Likewise.
25288 (CFLAGS-wgenops.c): Likewise.
25289 (CFLAGS-oldiofopen.c): Likewise.
25290 (CFLAGS-iofopen.c): Likewise.
25291 (CFLAGS-iofopen64.c): Likewise.
25292 (CFLAGS-oldtmpfile.c): Likewise.
25293 (CFLAGS-tst_putwc.c): Likewise.
25294 * locale/Makefile (CFLAGS-md5.c): Likewise.
25295 (CFLAGS-charmap.c): Likewise.
25296 (CFLAGS-locfile.c): Likewise.
25297 (CFLAGS-charmap-dir.c): Likewise.
25298 * login/Makefile (CFLAGS-grantpt.c): Likewise.
25299 (CFLAGS-getpt.c): Likewise.
25300 (CFLAGS-pt_chown.c): Likewise.
25301 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
25302 (CFLAGS-obstack.c): Likewise.
25303 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
25304 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
25305 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
25306 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
25307 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
25308 (CFLAGS-test-tgmath.c): Likewise.
25309 (CFLAGS-test-tgmath2.c): Likewise.
25310 (CFLAGS-test-tgmath-ret.c): Likewise.
25311 (CFLAGS-test-powl.c): Likewise.
25312 (CFLAGS-test-snan.c): Likewise.
25313 (CFLAGS-test-signgam-finite.c): Likewise.
25314 (CFLAGS-test-signgam-finite-c99.c): Likewise.
25315 (CFLAGS-test-signgam-finite-c11.c): Likewise.
25316 (CFLAGS-test-signgam-uchar.c): Likewise.
25317 (CFLAGS-test-signgam-uchar-init.c): Likewise.
25318 (CFLAGS-test-signgam-uchar-static.c): Likewise.
25319 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25320 (CFLAGS-test-signgam-uint.c): Likewise.
25321 (CFLAGS-test-signgam-uint-init.c): Likewise.
25322 (CFLAGS-test-signgam-uint-static.c): Likewise.
25323 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
25324 (CFLAGS-test-signgam-ullong.c): Likewise.
25325 (CFLAGS-test-signgam-ullong-init.c): Likewise.
25326 (CFLAGS-test-signgam-ullong-static.c): Likewise.
25327 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
25328 (CFLAGS-test-math-cxx11.cc): Likewise.
25329 (CFLAGS-test-math-isinff.cc): Likewise.
25330 (CFLAGS-test-math-iszero.cc): Likewise.
25331 (CFLAGS-test-math-issignaling.cc): Likewise.
25332 (CFLAGS-test-math-iscanonical.cc): Likewise.
25333 (CFLAGS-test-iszero-excess-precision.c): Likewise.
25334 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
25335 (CFLAGS-test-flt-eval-method.c): Likewise.
25336 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
25337 (CFLAGS-test-finite-macros.c): Likewise.
25338 * misc/Makefile (CFLAGS-select.c): Likewise.
25339 (CFLAGS-tsearch.c): Likewise.
25340 (CFLAGS-lsearch.c): Likewise.
25341 (CFLAGS-pselect.c): Likewise.
25342 (CFLAGS-readv.c): Likewise.
25343 (CFLAGS-writev.c): Likewise.
25344 (CFLAGS-preadv.c): Likewise.
25345 (CFLAGS-preadv64.c): Likewise.
25346 (CFLAGS-pwritev.c): Likewise.
25347 (CFLAGS-pwritev64.c): Likewise.
25348 (CFLAGS-preadv2.c): Likewise.
25349 (CFLAGS-preadv64v2.c): Likewise.
25350 (CFLAGS-pwritev2.c): Likewise.
25351 (CFLAGS-pwritev64v2.c): Likewise.
25352 (CFLAGS-usleep.c): Likewise.
25353 (CFLAGS-syslog.c): Likewise.
25354 (CFLAGS-error.c): Likewise.
25355 (CFLAGS-getpass.c): Likewise.
25356 (CFLAGS-mkstemp.c): Likewise.
25357 (CFLAGS-mkstemp64.c): Likewise.
25358 (CFLAGS-getsysstats.c): Likewise.
25359 (CFLAGS-getusershell.c): Likewise.
25360 (CFLAGS-err.c): Likewise.
25361 (CFLAGS-tst-tsearch.c): Likewise.
25362 (CFLAGS-msync.c): Likewise.
25363 (CFLAGS-fdatasync.c): Likewise.
25364 (CFLAGS-fsync.c): Likewise.
25365 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
25366 (CFLAGS-unwind.c): Likewise.
25367 (CFLAGS-unwind-forcedunwind.c): Likewise.
25368 (CFLAGS-pthread_cancel.c): Likewise.
25369 (CFLAGS-pthread_setcancelstate.c): Likewise.
25370 (CFLAGS-pthread_setcanceltype.c): Likewise.
25371 (CFLAGS-cancellation.c): Likewise.
25372 (CFLAGS-libc-cancellation.c): Likewise.
25373 (CFLAGS-pthread_exit.c): Likewise.
25374 (CFLAGS-forward.c): Likewise.
25375 (CFLAGS-pthread_testcancel.c): Likewise.
25376 (CFLAGS-pthread_join.c): Likewise.
25377 (CFLAGS-pthread_timedjoin.c): Likewise.
25378 (CFLAGS-pthread_once.c): Likewise.
25379 (CFLAGS-pthread_cond_wait.c): Likewise.
25380 (CFLAGS-sem_wait.c): Likewise.
25381 (CFLAGS-sem_timedwait.c): Likewise.
25382 (CFLAGS-fcntl.c): Likewise.
25383 (CFLAGS-lockf.c): Likewise.
25384 (CFLAGS-pread.c): Likewise.
25385 (CFLAGS-pread64.c): Likewise.
25386 (CFLAGS-pwrite.c): Likewise.
25387 (CFLAGS-pwrite64.c): Likewise.
25388 (CFLAGS-wait.c): Likewise.
25389 (CFLAGS-waitpid.c): Likewise.
25390 (CFLAGS-sigwait.c): Likewise.
25391 (CFLAGS-msgrcv.c): Likewise.
25392 (CFLAGS-msgsnd.c): Likewise.
25393 (CFLAGS-tcdrain.c): Likewise.
25394 (CFLAGS-open.c): Likewise.
25395 (CFLAGS-open64.c): Likewise.
25396 (CFLAGS-pause.c): Likewise.
25397 (CFLAGS-recv.c): Likewise.
25398 (CFLAGS-send.c): Likewise.
25399 (CFLAGS-accept.c): Likewise.
25400 (CFLAGS-sendto.c): Likewise.
25401 (CFLAGS-connect.c): Likewise.
25402 (CFLAGS-recvfrom.c): Likewise.
25403 (CFLAGS-recvmsg.c): Likewise.
25404 (CFLAGS-sendmsg.c): Likewise.
25405 (CFLAGS-close.c): Likewise.
25406 (CFLAGS-read.c): Likewise.
25407 (CFLAGS-write.c): Likewise.
25408 (CFLAGS-nanosleep.c): Likewise.
25409 (CFLAGS-sigsuspend.c): Likewise.
25410 (CFLAGS-msync.c): Likewise.
25411 (CFLAGS-fdatasync.c): Likewise.
25412 (CFLAGS-fsync.c): Likewise.
25413 (CFLAGS-pt-system.c): Likewise.
25414 (CFLAGS-tst-cleanup2.c): Likewise.
25415 (CFLAGS-tst-cleanupx2.c): Likewise.
25416 (CFLAGS-flockfile.c): Likewise.
25417 (CFLAGS-ftrylockfile.c): Likewise.
25418 (CFLAGS-funlockfile.c): Likewise.
25419 (CFLAGS-tst-initializers1.c): Likewise.
25420 (CFLAGS-tst-initializers1-c89.c): Likewise.
25421 (CFLAGS-tst-initializers1-c99.c): Likewise.
25422 (CFLAGS-tst-initializers1-c11.c): Likewise.
25423 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
25424 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
25425 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25426 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
25427 (CFLAGS-nscd_getgr_r.c): Likewise.
25428 (CFLAGS-nscd_gethst_r.c): Likewise.
25429 (CFLAGS-nscd_getai.c): Likewise.
25430 (CFLAGS-nscd_initgroups.c): Likewise.
25431 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
25432 (CFLAGS-pause.c): Likewise.
25433 (CFLAGS-pread.c): Likewise.
25434 (CFLAGS-pread64.c): Likewise.
25435 (CFLAGS-pwrite.c): Likewise.
25436 (CFLAGS-pwrite64.c): Likewise.
25437 (CFLAGS-sleep.c): Likewise.
25438 (CFLAGS-wait.c): Likewise.
25439 (CFLAGS-waitid.c): Likewise.
25440 (CFLAGS-waitpid.c): Likewise.
25441 (CFLAGS-getopt.c): Likewise.
25442 (CFLAGS-wordexp.c): Likewise.
25443 (CFLAGS-sysconf.c): Likewise.
25444 (CFLAGS-pathconf.c): Likewise.
25445 (CFLAGS-fpathconf.c): Likewise.
25446 (CFLAGS-spawn.c): Likewise.
25447 (CFLAGS-spawnp.c): Likewise.
25448 (CFLAGS-spawni.c): Likewise.
25449 (CFLAGS-glob.c): Likewise.
25450 (CFLAGS-glob64.c): Likewise.
25451 (CFLAGS-getconf.c): Likewise.
25452 (CFLAGS-nanosleep.c): Likewise.
25453 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
25454 (CFLAGS-getpwent.c): Likewise.
25455 (CFLAGS-getpw.c): Likewise.
25456 (CFLAGS-fgetpwent_r.c): Likewise.
25457 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
25458 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
25459 (CFLAGS-mq_timedreceive.c): Likewise.
25460 (CFLAGS-mq_timedsend.c): Likewise.
25461 (CFLAGS-clock_nanosleep.c): Likewise.
25462 (CFLAGS-librt-cancellation.c): Likewise.
25463 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
25464 (CFLAGS-getspent.c): Likewise.
25465 (CFLAGS-fgetspent.c): Likewise.
25466 (CFLAGS-fgetspent_r.c): Likewise.
25467 (CFLAGS-putspent.c): Likewise.
25468 (CFLAGS-getspnam.c): Likewise.
25469 (CFLAGS-getspnam_r.c): Likewise.
25470 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
25471 (CFLAGS-sigsuspend.c): Likewise.
25472 (CFLAGS-sigtimedwait.c): Likewise.
25473 (CFLAGS-sigwait.c): Likewise.
25474 (CFLAGS-sigwaitinfo.c): Likewise.
25475 (CFLAGS-sigreturn.c): Likewise.
25476 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25477 (CFLAGS-vfwprintf.c): Likewise.
25478 (CFLAGS-tmpfile.c): Likewise.
25479 (CFLAGS-tmpfile64.c): Likewise.
25480 (CFLAGS-tempname.c): Likewise.
25481 (CFLAGS-psignal.c): Likewise.
25482 (CFLAGS-vprintf.c): Likewise.
25483 (CFLAGS-cuserid.c): Likewise.
25484 (CFLAGS-errlist.c): Likewise.
25485 (CFLAGS-siglist.c): Likewise.
25486 (CFLAGS-scanf15.c): Likewise.
25487 (CFLAGS-scanf17.c): Likewise.
25488 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
25489 (CFLAGS-msort.c): Likewise.
25490 (CFLAGS-qsort.c): Likewise.
25491 (CFLAGS-system.c): Likewise.
25492 (CFLAGS-fmtmsg.c): Likewise.
25493 (CFLAGS-strfmon.c): Likewise.
25494 (CFLAGS-strfmon_l.c): Likewise.
25495 (CFLAGS-strfromd.c): Likewise.
25496 (CFLAGS-strfromf.c): Likewise.
25497 (CFLAGS-strfroml.c): Likewise.
25498 (CFLAGS-tst-bsearch.c): Likewise.
25499 (CFLAGS-tst-qsort.c): Likewise.
25500 (CFLAGS-tst-makecontext2.c): Likewise.
25501 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
25502 (CFLAGS-xnlm_prot.c): Likewise.
25503 (CFLAGS-xrstat.c): Likewise.
25504 (CFLAGS-xyppasswd.c): Likewise.
25505 (CFLAGS-xklm_prot.c): Likewise.
25506 (CFLAGS-xrex.c): Likewise.
25507 (CFLAGS-xsm_inter.c): Likewise.
25508 (CFLAGS-xmount.c): Likewise.
25509 (CFLAGS-xrusers.c): Likewise.
25510 (CFLAGS-xspray.c): Likewise.
25511 (CFLAGS-xnfs_prot.c): Likewise.
25512 (CFLAGS-xrquota.c): Likewise.
25513 (CFLAGS-xkey_prot.c): Likewise.
25514 (CFLAGS-auth_unix.c): Likewise.
25515 (CFLAGS-key_call.c): Likewise.
25516 (CFLAGS-pmap_rmt.c): Likewise.
25517 (CFLAGS-clnt_perr.c): Likewise.
25518 (CFLAGS-openchild.c): Likewise.
25519 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
25520 (CFLAGS-msgsnd.c): Likewise.
25521 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
25522 * time/Makefile (CFLAGS-tzfile.c): Likewise.
25523 (CFLAGS-tzset.c): Likewise.
25524 (CFLAGS-getdate.c): Likewise.
25525 (CFLAGS-test_time.c): Likewise.
25526 (CPPFLAGS-tst-tzname.c): Likewise.
25527 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
25528 (CFLAGS-zic.c): Likewise.
25529 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
25530 (CFLAGS-wcswidth.c): Likewise.
25531 (CFLAGS-wcstol.c): Likewise.
25532 (CFLAGS-wcstoul.c): Likewise.
25533 (CFLAGS-wcstoll.c): Likewise.
25534 (CFLAGS-wcstoull.c): Likewise.
25535 (CFLAGS-wcstod.c): Likewise.
25536 (CFLAGS-wcstold.c): Likewise.
25537 (CFLAGS-wcstof128.c): Likewise.
25538 (CFLAGS-wcstof.c): Likewise.
25539 (CFLAGS-wcstol_l.c): Likewise.
25540 (CFLAGS-wcstoul_l.c): Likewise.
25541 (CFLAGS-wcstoll_l.c): Likewise.
25542 (CFLAGS-wcstoull_l.c): Likewise.
25543 (CFLAGS-wcstod_l.c): Likewise.
25544 (CFLAGS-wcstold_l.c): Likewise.
25545 (CFLAGS-wcstof128_l.c): Likewise.
25546 (CFLAGS-wcstof_l.c): Likewise.
25547 (CPPFLAGS-tst-wchar-h.c): Likewise.
25548 (CPPFLAGS-wcstold_l.c): Likewise.
25550 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
25552 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
25554 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25555 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25557 * manual/tunables.texi (Hardware Capability Tunables): Document
25558 glibc.tune.cached_memopt.
25559 * sysdeps/powerpc/cpu-features.c: New file.
25560 * sysdeps/powerpc/cpu-features.h: New file.
25561 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
25562 _dl_powerpc_cpu_features.
25563 * sysdeps/powerpc/dl-tunables.list: New file.
25564 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
25565 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25566 (INIT_ARCH): Initialize use_aligned_memopt.
25567 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
25568 IS_IN(rtld))]: Restrict dl_platform_init availability and
25569 initialize CPU features used by tunables.
25570 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
25571 Add memcpy-power8-cached.
25572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
25573 __memcpy_power8_cached.
25574 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25575 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
25578 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25580 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
25581 (CFLAGS-noinl-tester.c): Likewise.
25582 (CFLAGS-tst-strlen.c): Likewise.
25583 (CFLAGS-stratcliff.c): Likewise.
25584 (CFLAGS-test-ffs.c): Likewise.
25585 (CFLAGS-tst-inlcall.c): Likewise.
25586 (CFLAGS-tst-xbzero-opt.c): Likewise.
25587 (CFLAGS-memcpy.c): Likewise.
25588 (CFLAGS-wordcopy.c): Likewise.
25590 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25592 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
25593 Store r15 on stack and add cfi rule.
25594 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
25597 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
25600 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25603 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25605 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25606 Add s_sinf-sse2 and s_sinf-fma.
25607 (CFLAGS-s_sinf-fma.c): New.
25608 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25609 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25610 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25612 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25614 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25616 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25619 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25620 part of result to imaginary part of argument if it is zero and the
25621 real part of the argument is not finite.
25622 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25623 of result to real part of argument if it is zero and the imaginary
25624 part of the argument is not finite.
25626 2017-12-07 Mike FABIAN <mfabian@redhat.com>
25629 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25630 and to the list of locales to be built for testing.
25631 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25632 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25633 and build the collation rules upon that.
25635 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25637 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25638 * manual/math.texi (Mathematics): Document support for _Float32.
25639 * math/Makefile (test-types): Add float32.
25640 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25641 * stdlib/Versions (GLIBC_2.27): Likewise.
25642 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25643 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25644 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25645 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25646 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25647 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25648 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25649 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25650 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25651 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25652 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25653 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25654 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25655 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25656 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25657 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25658 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25659 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25660 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25661 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25662 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25663 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25665 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25666 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25667 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25668 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25669 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25687 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25688 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25689 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25690 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25691 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25692 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25693 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25694 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25695 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25696 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25705 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25706 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25707 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25708 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25709 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25710 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25711 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25712 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25714 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25716 * stdlib/strtof.c: Include <bits/floatn.h>
25717 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25718 and later undefine as macro. Define as weak alias if
25720 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25721 and later undefine as macro. Define as weak alias if
25723 * stdlib/strtof_l.c: Include <bits/floatn.h>
25724 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25725 and later undefine as macro. Define as weak alias if
25727 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25728 and later undefine as macro. Define as weak alias if
25731 * stdlib/strfromf.c: Include <bits/floatn.h>.
25732 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25733 and later undefine as macro and define as weak alias.
25735 * math/test-float32.h: New file.
25737 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25738 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25739 (libm_alias_float_other_r): Create f32 alias.
25740 (libm_alias_float_r): Use semicolon before call to
25741 libm_alias_float_other_r.
25743 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25744 second argument to libm_alias_float_other.
25745 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25746 second argument to libm_alias_float_other.
25747 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25748 argument to libm_alias_float_other.
25751 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25752 real part of result for argument 0 + i * NaN.
25753 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25754 results for tests of 0 + i * NaN.
25756 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25758 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25760 2017-12-06 David S. Miller <davem@davemloft.net>
25762 * sysdeps/sparc/fpu/libm-test-ulps: Update
25763 exp_{downward,towardzero,upward} ulps.
25765 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25767 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25770 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25772 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25774 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25776 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25779 2017-12-06 Mike FABIAN <mfabian@redhat.com>
25782 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25783 and to the list of locales to be built for testing.
25784 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25785 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25786 and build the collation rules upon that.
25788 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25790 * NEWS: Add sinf to list of optimized functions.
25792 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25794 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25795 (__HAVE_FLOAT32X): Likewise.
25796 * manual/math.texi (Mathematics): Document support for _Float64
25798 * math/Makefile (test-types): Add float64 and float32x.
25799 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25801 * stdlib/Versions (GLIBC_2.27): Likewise.
25802 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25803 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25804 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25805 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25806 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25807 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25808 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25809 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25810 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25811 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25812 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25813 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25814 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25815 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25816 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25817 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25818 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25819 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25820 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25821 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25822 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25823 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25825 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25826 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25827 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25828 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25829 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25846 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25847 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25848 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25849 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25850 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25851 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25852 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25853 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25854 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25855 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25864 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25865 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25866 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25867 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25868 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25869 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25870 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25871 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25873 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25875 * bits/floatn-common.h: Include <bits/long-double.h>.
25876 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25877 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25878 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25879 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25880 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25881 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25882 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25883 (__builtin_huge_valf64): Use __builtin_huge_vall.
25884 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25885 (__builtin_inff64): Use __builtin_infl.
25886 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25887 (__builtin_nanf64): Use __builtin_nanl.
25888 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25889 (__builtin_nansf64): Use __builtin_nansl.
25891 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25892 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25893 Carlos O'Donell <carlos@redhat.com>
25895 * elf/dl-tunables.list: Add elision parameters.
25896 * manual/tunables.texi: Add entries about elision tunable.
25897 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25898 Add callback functions to dynamically enable/disable elision.
25899 Add multiple callbacks functions to set elision parameters.
25900 Deleted __libc_enable_secure check.
25901 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25902 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25903 * configure: Regenerated.
25904 * configure.ac: Option enable_lock_elision was deleted.
25905 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25906 * config.make.in: Remove references to enable_lock_elision.
25907 * manual/install.texi: Elision configure option was removed.
25908 * INSTALL: Regenerated to remove enable_lock_elision.
25910 Disable elision so it can verify error case for destroying a mutex.
25911 * sysdeps/powerpc/nptl/elide.h:
25912 Cleanup ENABLE_LOCK_ELISION check.
25913 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25914 * sysdeps/s390/configure: Regenerated.
25915 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25916 * nptl/tst-mutex8.c:
25917 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25918 * sysdeps/powerpc/powerpc32/sysdep.h:
25919 Deleted all ENABLE_LOCK_ELISION checks.
25920 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25921 * sysdeps/powerpc/sysdep.h: Likewise.
25922 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25923 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25924 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25925 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25926 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25927 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25928 enable-lock-elision.
25930 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25932 * stdlib/strtod.c: Include <bits/floatn.h>.
25933 (BUILD_DOUBLE): New macro.
25934 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25935 (strtof64): Define and later undefine as macro. Define as weak
25936 alias if [!USE_WIDE_CHAR].
25937 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25938 (wcstof64): Define and later undefine as macro. Define as weak
25939 alias if [USE_WIDE_CHAR].
25940 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25941 (strtof32x): Define and later undefine as macro. Define as weak
25942 alias if [!USE_WIDE_CHAR].
25943 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25944 (wcstof32x): Define and later undefine as macro. Define as weak
25945 alias if [USE_WIDE_CHAR].
25946 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25947 (BUILD_DOUBLE): New macro.
25948 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25949 (strtof64_l): Define and later undefine as macro. Define as weak
25950 alias if [!USE_WIDE_CHAR].
25951 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25952 (wcstof64_l): Define and later undefine as macro. Define as weak
25953 alias if [USE_WIDE_CHAR].
25954 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25955 (strtof32x_l): Define and later undefine as macro. Define as weak
25956 alias if [!USE_WIDE_CHAR].
25957 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25958 (wcstof32x_l): Define and later undefine as macro. Define as weak
25959 alias if [USE_WIDE_CHAR].
25961 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25963 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25964 (reduced): Use ones as double instead of integer.
25966 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25968 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25970 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25972 * stdlib/strfromd.c: Include <bits/floatn.h>.
25973 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25974 and later undefine as macro and define as weak alias.
25975 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25978 * math/test-float32x.h: New file.
25979 * math/test-float64.h: Likewise.
25981 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25982 (libm_alias_double_other_r_f64): New macro.
25983 (libm_alias_double_other_r_f32x): Likewise.
25984 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25985 libm_alias_double_other_r_f32x.
25986 (libm_alias_double_r): Use semicolon before call to
25987 libm_alias_double_other_r.
25988 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25990 (libm_alias_double_other_r_f64): New macro.
25991 (libm_alias_double_other_r_f32x): Likewise.
25992 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25993 libm_alias_double_other_r_f32x.
25995 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25997 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25999 (SINF_FUNC): Likewise. Replace floor with simple casts.
26001 2017-12-05 Mike FABIAN <mfabian@redhat.com>
26004 * localedata/Makefile: Add et_EE.UTF-8 to test-input
26005 and to the list of locales to be built for testing.
26006 * localedata/et_EE.UTF-8.in: New file for testing the collation.
26007 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
26008 and build the collation rules upon that.
26010 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
26012 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
26013 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
26014 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
26015 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
26016 instead of __insn__xxx.
26017 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
26018 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
26019 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
26020 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
26021 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
26022 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
26024 2017-12-05 Florian Weimer <fweimer@redhat.com>
26026 Linux: Implement interfaces for memory protection keys
26027 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
26029 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
26030 * support/xunistd.h (xsysconf): Declare.
26031 * support/xraise.c: New file.
26032 * support/xsigaction.c: Likewise.
26033 * support/xsignal.c: Likewise.
26034 * support/xsysconf.c: Likewise.
26035 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
26036 pkey_set, pkey_get, pkey_mprotect.
26037 [misc] (tests): Add tst-pkey.
26038 (tst-pkey): Link with -lpthread.
26039 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
26040 pkey_free, pkey_set, pkey_get, pkey_mprotect.
26041 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
26042 (PKEY_DISABLE_WRITE): Define.
26043 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
26045 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
26046 (SEGV_PKUERR): Add.
26047 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
26048 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
26049 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
26050 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
26052 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
26053 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
26054 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
26055 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
26056 * sysdeps/unix/sysv/linux/**.abilist: Update.
26058 2017-12-05 Florian Weimer <fweimer@redhat.com>
26060 * support/tst-test_compare.c (subprocess): Use long long instead
26061 of long argument for consistent type width across 32-bit and
26062 64-bit architectures.
26063 (do_test): Adjust expected output.
26065 2017-12-05 Joseph Myers <joseph@codesourcery.com>
26067 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
26068 (cosf): Define using libm_alias_float.
26069 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
26070 (fabsf): Define using libm_alias_float.
26071 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
26072 (fmaf): Define using libm_alias_float.
26073 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
26074 (rintf): Define using libm_alias_float.
26075 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
26076 (sinf): Define using libm_alias_float.
26077 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
26078 <libm-alias-float.h>.
26079 (modff): Define using libm_alias_float.
26080 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
26081 <libm-alias-float.h>.
26082 (logbf): Define using libm_alias_float.
26083 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
26084 <libm-alias-float.h>.
26085 (ceilf): Define using libm_alias_float.
26086 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
26087 <libm-alias-float.h>.
26088 (copysignf): Define using libm_alias_float.
26089 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
26090 <libm-alias-float.h>.
26091 (floorf): Define using libm_alias_float.
26092 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
26093 <libm-alias-float.h>.
26094 (llrintf): Define using libm_alias_float.
26095 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
26096 <libm-alias-float.h>.
26097 (llroundf): Define using libm_alias_float.
26098 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
26099 <libm-alias-float.h>.
26100 (lrintf): Define using libm_alias_float.
26101 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
26102 <libm-alias-float.h>.
26103 (lroundf): Define using libm_alias_float.
26104 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
26105 <libm-alias-float.h>.
26106 (nearbyintf): Define using libm_alias_float.
26107 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
26108 <libm-alias-float.h>.
26109 (rintf): Define using libm_alias_float.
26110 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
26111 <libm-alias-float.h>.
26112 (roundf): Define using libm_alias_float.
26113 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
26114 <libm-alias-float.h>.
26115 (truncf): Define using libm_alias_float.
26116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
26117 Include <libm-alias-float.h>.
26118 (ceilf): Define using libm_alias_float.
26119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
26120 Include <libm-alias-float.h>.
26121 (copysignf): Define using libm_alias_float.
26122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
26123 Include <libm-alias-float.h>.
26124 (floorf): Define using libm_alias_float.
26125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
26126 Include <libm-alias-float.h>.
26127 (llrintf): Define using libm_alias_float.
26128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
26129 Include <libm-alias-float.h>.
26130 (llroundf): Define using libm_alias_float.
26131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
26132 Include <libm-alias-float.h>.
26133 (logbf): Define using libm_alias_float.
26134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
26135 Include <libm-alias-float.h>.
26136 (lrintf): Define using libm_alias_float.
26137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
26138 Include <libm-alias-float.h>.
26139 (lroundf): Define using libm_alias_float.
26140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
26141 Include <libm-alias-float.h>.
26142 (modff): Define using libm_alias_float.
26143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
26144 Include <libm-alias-float.h>.
26145 (roundf): Define using libm_alias_float.
26146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
26147 Include <libm-alias-float.h>.
26148 (truncf): Define using libm_alias_float.
26149 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
26150 <libm-alias-float.h>.
26151 (llrintf): Define using libm_alias_float.
26152 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
26153 <libm-alias-float.h>.
26154 (llroundf): Define using libm_alias_float.
26155 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
26156 <libm-alias-float.h>.
26157 (ceilf): Define using libm_alias_float.
26158 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
26159 <libm-alias-float.h>.
26160 (floorf): Define using libm_alias_float.
26161 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
26162 <libm-alias-float.h>.
26163 (llroundf): Define using libm_alias_float.
26164 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
26165 <libm-alias-float.h>.
26166 (lroundf): Define using libm_alias_float.
26167 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
26168 <libm-alias-float.h>.
26169 (roundf): Define using libm_alias_float.
26170 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
26171 <libm-alias-float.h>.
26172 (truncf): Define using libm_alias_float.
26173 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
26174 <libm-alias-float.h>.
26175 (copysignf): Define using libm_alias_float.
26176 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
26177 <libm-alias-float.h>.
26178 (llrintf): Define using libm_alias_float.
26179 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
26180 <libm-alias-float.h>.
26181 (llroundf): Define using libm_alias_float.
26182 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
26183 <libm-alias-float.h>.
26184 (lrintf): Define using libm_alias_float.
26185 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
26186 <libm-alias-float.h>.
26187 (lroundf): Define using libm_alias_float.
26188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
26189 <libm-alias-float.h>.
26190 (ceilf): Define using libm_alias_float.
26191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
26192 <libm-alias-float.h>.
26193 (copysignf): Define using libm_alias_float.
26194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
26195 <libm-alias-float.h>.
26196 (cosf): Define using libm_alias_float.
26197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
26198 <libm-alias-float.h>.
26199 (floorf): Define using libm_alias_float.
26200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
26201 <libm-alias-float.h>.
26202 (llrintf): Define using libm_alias_float.
26203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
26204 <libm-alias-float.h>.
26205 (llroundf): Define using libm_alias_float.
26206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
26207 <libm-alias-float.h>.
26208 (logbf): Define using libm_alias_float.
26209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
26210 <libm-alias-float.h>.
26211 (modff): Define using libm_alias_float.
26212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
26213 <libm-alias-float.h>.
26214 (roundf): Define using libm_alias_float.
26215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
26216 <libm-alias-float.h>.
26217 (sinf): Define using libm_alias_float.
26218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
26219 <libm-alias-float.h>.
26220 (truncf): Define using libm_alias_float.
26221 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
26222 <libm-alias-float.h>.
26223 (ceilf): Define using libm_alias_float.
26224 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
26225 <libm-alias-float.h>.
26226 (copysignf): Define using libm_alias_float.
26227 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
26228 <libm-alias-float.h>.
26229 (floorf): Define using libm_alias_float.
26230 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
26231 <libm-alias-float.h>.
26232 (llrintf): Define using libm_alias_float.
26233 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
26234 <libm-alias-float.h>.
26235 (llroundf): Define using libm_alias_float.
26236 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
26237 <libm-alias-float.h>.
26238 (nearbyintf): Define using libm_alias_float.
26239 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
26240 <libm-alias-float.h>.
26241 (rintf): Define using libm_alias_float.
26242 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
26243 <libm-alias-float.h>.
26244 (roundf): Define using libm_alias_float.
26245 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
26246 <libm-alias-float.h>.
26247 (truncf): Define using libm_alias_float.
26248 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
26249 <libm-alias-float.h>.
26250 (ceilf): Define using libm_alias_float.
26251 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
26252 <libm-alias-float.h>.
26253 (floorf): Define using libm_alias_float.
26254 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
26255 <libm-alias-float.h>.
26256 (llroundf): Define using libm_alias_float.
26257 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
26258 <libm-alias-float.h>.
26259 (roundf): Define using libm_alias_float.
26260 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
26261 <libm-alias-float.h>.
26262 (truncf): Define using libm_alias_float.
26263 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
26264 <libm-alias-float.h>.
26265 (copysignf): Define using libm_alias_float.
26266 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
26267 <libm-alias-float.h>.
26268 (llrintf): Define using libm_alias_float.
26269 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
26270 <libm-alias-float.h>.
26271 (llroundf): Define using libm_alias_float.
26272 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
26273 <libm-alias-float.h>.
26274 (cosf): Define using libm_alias_float.
26275 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
26276 <libm-alias-float.h>.
26277 (llrintf): Define using libm_alias_float.
26278 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
26279 <libm-alias-float.h>.
26280 (llroundf): Define using libm_alias_float.
26281 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
26282 <libm-alias-float.h>.
26283 (sinf): Define using libm_alias_float.
26285 2017-12-04 Florian Weimer <fweimer@redhat.com>
26287 * support/check.h (TEST_COMPARE): Define.
26288 (support_test_compare_failure): Declare.
26289 * support/Makefile (libsupport-routines): Add
26290 support_test_compare_failure.
26291 (tests): Add tst-test_compare.
26292 * support /support_test_compare_failure.c: New file.
26293 * support/tst-test_compare.c: Likewise.
26295 2017-12-04 Mike FABIAN <mfabian@redhat.com>
26298 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
26299 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
26300 available, this rewrite of the collation rules does reproduce
26301 the test file in the same order.
26303 2017-12-04 Mike FABIAN <mfabian@redhat.com>
26306 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
26307 digraphs in the month and day names. Using single code points for
26308 digraphs is deprecated. While there are dedicated Unicode
26309 codepoints, for the digraphs, these are included for backwards
26310 compatibility and modern texts use a sequence of Basic Latin
26311 characters. See: https://www.unicode.org/faq/ligature_digraph.html
26312 This makes the month and day names agree exactly with CLDR now,
26313 CLDR does not use the single code points for the digraphs either.
26315 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
26317 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
26319 2017-12-04 Joseph Myers <joseph@codesourcery.com>
26321 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
26324 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
26326 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
26327 Define only for libc.so.
26329 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
26331 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26332 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
26333 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
26334 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
26335 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26337 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26340 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
26342 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
26345 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
26346 PREINIT_FUNCTION_WEAK is nonzero.
26347 (gmon_initializer): New function. Put procedure label for it in
26348 .init_array section.
26349 (_init): Don't call PREINIT_FUNCTION.
26350 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
26351 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
26352 value when map argument is null.
26354 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
26355 depi instruction from PIC pc-relative sequence.
26356 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
26357 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
26358 (elf_machine_load_address): Likewise.
26359 (elf_machine_runtime_setup): Likewise.
26361 2017-12-02 Joseph Myers <joseph@codesourcery.com>
26363 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
26364 <libm-alias-double.h>.
26365 (logb): Define using libm_alias_double.
26366 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
26367 <libm-alias-double.h>.
26368 (copysign): Define using libm_alias_double.
26369 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
26370 <libm-alias-double.h>.
26371 (llrint): Define using libm_alias_double.
26372 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
26373 <libm-alias-double.h>.
26374 (llround): Define using libm_alias_double.
26375 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
26376 <libm-alias-double.h>.
26377 (lrint): Define using libm_alias_double.
26378 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
26379 <libm-alias-double.h>.
26380 (lround): Define using libm_alias_double.
26381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26382 Include <libm-alias-double.h>.
26383 (copysign): Define using libm_alias_double.
26384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
26385 Include <libm-alias-double.h>.
26386 (llrint): Define using libm_alias_double.
26387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
26388 Include <libm-alias-double.h>.
26389 (llround): Define using libm_alias_double.
26390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
26391 <libm-alias-double.h>.
26392 (logb): Define using libm_alias_double.
26393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
26394 Include <libm-alias-double.h>.
26395 (lrint): Define using libm_alias_double.
26396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
26397 Include <libm-alias-double.h>.
26398 (lround): Define using libm_alias_double.
26399 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
26400 <libm-alias-double.h>.
26401 (llrint): Define using libm_alias_double.
26402 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
26403 <libm-alias-double.h>.
26404 (llround): Define using libm_alias_double.
26405 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
26406 <libm-alias-double.h>.
26407 (llround): Define using libm_alias_double.
26408 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
26409 <libm-alias-double.h>.
26410 (lround): Define using libm_alias_double.
26411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
26412 <libm-alias-double.h>.
26413 (copysign): Define using libm_alias_double.
26414 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
26415 <libm-alias-double.h>.
26416 (llrint): Define using libm_alias_double.
26417 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
26418 <libm-alias-double.h>.
26419 (llround): Define using libm_alias_double.
26420 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
26421 <libm-alias-double.h>.
26422 (lrint): Define using libm_alias_double.
26423 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
26424 <libm-alias-double.h>.
26425 (lround): Define using libm_alias_double.
26426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
26427 <libm-alias-double.h>.
26428 (copysign): Define using libm_alias_double.
26429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
26430 <libm-alias-double.h>.
26431 (llrint): Define using libm_alias_double.
26433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
26434 <libm-alias-double.h>.
26435 (llround): Define using libm_alias_double.
26436 (lround): Likewise.
26437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
26438 <libm-alias-double.h>.
26439 (logb): Define using libm_alias_double.
26440 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
26441 <libm-alias-double.h>.
26442 (copysign): Define using libm_alias_double.
26443 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
26444 <libm-alias-double.h>.
26445 (llrint): Define using libm_alias_double.
26447 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
26448 <libm-alias-double.h>.
26449 (llround): Define using libm_alias_double.
26450 (lround): Likewise.
26451 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
26452 <libm-alias-double.h>.
26453 (llround): Define using libm_alias_double.
26454 (lround): Likewise.
26455 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
26456 <libm-alias-double.h>.
26457 (copysign): Define using libm_alias_double.
26458 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
26459 <libm-alias-double.h>.
26460 (llrint): Define using libm_alias_double.
26462 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
26463 <libm-alias-double.h>.
26464 (llround): Define using libm_alias_double.
26465 (lround): Likewise.
26466 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
26467 <libm-alias-double.h>.
26468 (llrint): Define using libm_alias_double.
26470 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
26471 <libm-alias-double.h>.
26472 (llround): Define using libm_alias_double.
26473 (lround): Likewise.
26475 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26478 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
26479 compat symbol based on llround.
26481 * sysdeps/powerpc/power7/fpu/s_logb.c
26482 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
26483 symbol based on __logb, not on logb.
26484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
26485 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
26487 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26489 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
26490 (rint): Define using libm_alias_double.
26491 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
26492 <libm-alias-double.h>.
26493 (modf): Define using libm_alias_double.
26494 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
26495 <libm-alias-double.h>.
26496 (ceil): Define using libm_alias_double.
26497 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
26498 <libm-alias-double.h>.
26499 (floor): Define using libm_alias_double.
26500 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
26501 <libm-alias-double.h>.
26502 (nearbyint): Define using libm_alias_double.
26503 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
26504 <libm-alias-double.h>.
26505 (rint): Define using libm_alias_double.
26506 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
26507 <libm-alias-double.h>.
26508 (round): Define using libm_alias_double.
26509 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
26510 <libm-alias-double.h>.
26511 (trunc): Define using libm_alias_double.
26512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
26513 <libm-alias-double.h>.
26514 (ceil): Define using libm_alias_double.
26515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
26516 Include <libm-alias-double.h>.
26517 (floor): Define using libm_alias_double.
26518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
26519 <libm-alias-double.h>.
26520 (modf): Define using libm_alias_double.
26521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
26522 Include <libm-alias-double.h>.
26523 (round): Define using libm_alias_double.
26524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
26525 Include <libm-alias-double.h>.
26526 (trunc): Define using libm_alias_double.
26527 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
26528 <libm-alias-double.h>.
26529 (ceil): Define using libm_alias_double.
26530 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
26531 <libm-alias-double.h>.
26532 (floor): Define using libm_alias_double.
26533 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
26534 <libm-alias-double.h>.
26535 (round): Define using libm_alias_double.
26536 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
26537 <libm-alias-double.h>.
26538 (trunc): Define using libm_alias_double.
26539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
26540 <libm-alias-double.h>.
26541 (ceil): Define using libm_alias_double.
26542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
26543 <libm-alias-double.h>.
26544 (floor): Define using libm_alias_double.
26545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
26546 <libm-alias-double.h>.
26547 (modf): Define using libm_alias_double.
26548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
26549 <libm-alias-double.h>.
26550 (round): Define using libm_alias_double.
26551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
26552 <libm-alias-double.h>.
26553 (trunc): Define using libm_alias_double.
26554 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
26555 <libm-alias-double.h>.
26556 (ceil): Define using libm_alias_double.
26557 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
26558 <libm-alias-double.h>.
26559 (floor): Define using libm_alias_double.
26560 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
26561 <libm-alias-double.h>.
26562 (nearbyint): Define using libm_alias_double.
26563 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
26564 <libm-alias-double.h>.
26565 (rint): Define using libm_alias_double.
26566 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
26567 <libm-alias-double.h>.
26568 (round): Define using libm_alias_double.
26569 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
26570 <libm-alias-double.h>.
26571 (trunc): Define using libm_alias_double.
26572 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
26573 <libm-alias-double.h>.
26574 (ceil): Define using libm_alias_double.
26575 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
26576 <libm-alias-double.h>.
26577 (floor): Define using libm_alias_double.
26578 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
26579 <libm-alias-double.h>.
26580 (round): Define using libm_alias_double.
26581 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
26582 <libm-alias-double.h>.
26583 (trunc): Define using libm_alias_double.
26585 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
26586 (fabs): Define using libm_alias_double.
26587 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
26588 (fma): Define using libm_alias_double.
26589 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
26590 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
26591 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
26592 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
26594 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26596 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26598 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26599 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26600 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26603 due redirect macro.
26605 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26607 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26609 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26611 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26612 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26613 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26614 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26617 (libm-sysdep_routines): Add s_nearbyintf-generic and
26618 s_nearbyint-generic.
26619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26632 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26643 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26654 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26665 (sysdep_calls): New rule.
26666 (sysdep_routines): Use sysdep_calls as base.
26667 (libm-sysdep_routines): Add generic rule for symbols shared with
26668 libc. Add s_copysign-generic and s_copysign-generic objects.
26669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26678 2017-12-01 Mike FABIAN <mfabian@redhat.com>
26681 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26682 the list of locales to be built for testing.
26683 * localedata/is_IS.UTF-8.in: New file.
26684 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26687 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26689 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26690 <libm-alias-float.h>.
26691 (fabsf): Define using libm_alias_float.
26693 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26695 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26697 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26699 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26700 <libm-alias-float.h>.
26701 (fabsf): Define using libm_alias_float.
26702 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26703 <libm-alias-float.h>.
26704 (lrintf): Define using libm_alias_float.
26705 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26706 <libm-alias-float.h>.
26707 (rintf): Define using libm_alias_float.
26709 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26710 <libm-alias-double.h>.
26711 (fabs): Define using libm_alias_double.
26712 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26713 <libm-alias-double.h>.
26714 (lrint): Define using libm_alias_double.
26715 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26716 <libm-alias-double.h>.
26717 (rint): Define using libm_alias_double.
26719 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26720 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26721 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26722 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26723 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26724 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26725 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26726 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26727 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26728 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26729 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26730 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26731 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26732 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26733 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26734 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26735 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26736 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26738 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26739 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26740 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26742 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26743 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26744 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26746 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26747 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26748 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26749 s_expm1_template.c.
26750 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26751 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26752 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26754 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26755 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26756 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26757 s_floor_template.c.
26758 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26759 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26760 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26761 s_frexp_template.c.
26762 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26763 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26764 s_lrint_template.c.
26765 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26766 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26767 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26769 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26770 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26771 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26772 s_nearbyint_template.c.
26773 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26774 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26775 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26776 s_remquo_template.c.
26777 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26778 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26779 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26781 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26782 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26783 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26785 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26786 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26787 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26788 s_sincos_template.c.
26789 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26790 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26791 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26793 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26794 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26795 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26797 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26798 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26799 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26800 s_trunc_template.c.
26801 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26802 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26803 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26804 s_atan.c instead of including s_atan.c.
26805 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26806 s_atanf.c instead of including s_atanf.c.
26807 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26808 s_atanl.c instead of including s_atanl.c.
26809 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26810 instead of s_atan.c.
26811 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26812 instead of s_atanf.c.
26813 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26814 instead of s_atanl.c.
26816 * scripts/update-copyrights: Do not handle intl/plural.c
26819 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26822 * configure.ac (BISON): Require to be present.
26823 * configure: Regenerated.
26824 * intl/Makefile (generated): Add plural.c.
26825 [$(BISON) != no]: Make code unconditional.
26826 (plural.c): Change rule to $(objpfx)plural.c.
26827 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26828 * intl/plural.c: Remove.
26829 * manual/install.texi (Tools for Compilation): Document bison as
26831 * INSTALL: Regenerated.
26833 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26835 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26836 <libm-alias-double.h>.
26837 (llrint): Define using libm_alias_double.
26838 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26839 <libm-alias-float.h>.
26840 (llrintf): Define using libm_alias_float.
26841 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26842 <libm-alias-ldouble.h>.
26843 (llrintl): Define using libm_alias_ldouble.
26845 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26846 declare_mgen_alias instead of weak_alias.
26847 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26848 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26849 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26851 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26853 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26855 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26856 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26857 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26859 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26860 Add submul_1-generic.
26861 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26862 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26863 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26865 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26866 Add addmul_1-generic.
26867 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26868 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26869 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26871 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26873 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26874 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26875 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26877 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26879 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26880 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26881 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26883 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26885 According to CLDR, collation rules for Serbian and Bosnian
26886 should be the same as for Croatian.
26889 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26890 and to the list of locales to be built for testing.
26891 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26892 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26893 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26894 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26896 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26898 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26899 to make test case pass.
26900 * localedata/hr_HR.UTF-8.in: Add more test strings.
26902 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26904 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26906 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26908 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26909 the list of locales to built for testing.
26910 * localedata/hr_HR.UTF-8.in: New file.
26912 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26915 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26917 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26918 CLDR (except use ligatures for the digraphs, CLDR does not use
26919 the ligatures), add first_workday, some fixes in the date and time
26921 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26923 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26924 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26925 Add int_p_cs_precedes and int_n_cs_precedes.
26926 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26927 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26929 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26930 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26932 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26933 and lang_lib. Change postal_fmt.
26935 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26937 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26939 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26940 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26941 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26942 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26943 * sysdeps/generic/setjmpP.h: New file.
26944 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26945 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26946 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26947 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26948 Add jmp_buf-ssp.sym.
26949 (tests): Add tst-saved_mask-1.
26951 2017-11-30 Arjun Shankar <arjun@redhat.com>
26955 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26956 instead of request2size.
26958 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26961 (__lllrint): Remove alias.
26962 (lllrint): Likewise.
26963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26964 (__lllrintf): Likewise.
26965 (lllrintf): Likewise.
26967 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26968 <libm-alias-float.h>.
26969 (copysignf): Define using libm_alias_float.
26970 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26971 <libm-alias-float.h>.
26972 (fabsf): Define using libm_alias_float.
26973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26974 Include <libm-alias-float.h>.
26975 (copysignf): Define using libm_alias_float.
26976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26977 <libm-alias-float.h>.
26978 (fabsf): Define using libm_alias_float.
26979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26980 <libm-alias-float.h>.
26981 (fdimf): Define using libm_alias_float.
26982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26983 <libm-alias-float.h>.
26984 (fmaf): Define using libm_alias_float.
26985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26986 <libm-alias-float.h>.
26987 (llrintf): Define using libm_alias_float.
26988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26989 Include <libm-alias-float.h>.
26990 (nearbyintf): Define using libm_alias_float.
26991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26992 <libm-alias-float.h>.
26993 (rintf): Define using libm_alias_float.
26994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26995 <libm-alias-float.h>.
26996 (llrintf): Define using libm_alias_float.
26997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26998 <libm-alias-float.h>.
26999 (lrintf): Define using libm_alias_float.
27000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
27001 <libm-alias-float.h>.
27002 (nearbyintf): Define using libm_alias_float.
27003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
27004 <libm-alias-float.h>.
27005 (rintf): Define using libm_alias_float.
27006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
27007 <libm-alias-float.h>.
27008 (ceilf): Define using libm_alias_float.
27009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
27010 <libm-alias-float.h>.
27011 (floorf): Define using libm_alias_float.
27012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
27013 <libm-alias-float.h>.
27014 (fmaf): Define using libm_alias_float.
27015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
27016 <libm-alias-float.h>.
27017 (lrintf): Define using libm_alias_float.
27018 (llrintf): Likewise.
27019 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
27020 <libm-alias-float.h>.
27021 (nearbyintf): Define using libm_alias_float.
27022 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
27023 <libm-alias-float.h>.
27024 (rintf): Define using libm_alias_float.
27025 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
27026 <libm-alias-float.h>.
27027 (truncf): Define using libm_alias_float.
27028 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
27029 <libm-alias-float.h>.
27030 (copysignf): Define using libm_alias_float.
27031 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
27032 <libm-alias-float.h>.
27033 (fabsf): Define using libm_alias_float.
27034 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
27035 <libm-alias-float.h>.
27036 (lrintf): Define using libm_alias_float.
27037 (llrintf): Likewise.
27038 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
27039 <libm-alias-float.h>.
27040 (nearbyintf): Define using libm_alias_float.
27041 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
27042 <libm-alias-float.h>.
27043 (rintf): Define using libm_alias_float.
27045 2017-11-29 Joseph Myers <joseph@codesourcery.com>
27047 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27048 <libm-alias-double.h>.
27049 (copysign): Define using libm_alias_double.
27050 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
27051 <libm-alias-double.h>.
27052 (fabs): Define using libm_alias_double.
27053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27054 Include <libm-alias-double.h>.
27055 (copysign): Define using libm_alias_double.
27056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27057 <libm-alias-double.h>.
27058 (fabs): Define using libm_alias_double.
27059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
27060 <libm-alias-double.h>.
27061 (fdim): Define using libm_alias_double.
27062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
27063 <libm-alias-double.h>.
27064 (fma): Define using libm_alias_double.
27065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
27066 <libm-alias-double.h>.
27067 (llrint): Define using libm_alias_double.
27068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
27069 Include <libm-alias-double.h>.
27070 (nearbyint): Define using libm_alias_double.
27071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
27072 <libm-alias-double.h>.
27073 (rint): Define using libm_alias_double.
27074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
27075 <libm-alias-double.h>.
27076 (fabs): Define using libm_alias_double.
27077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
27078 <libm-alias-double.h>.
27079 (llrint): Define using libm_alias_double.
27080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
27081 <libm-alias-double.h>.
27082 (nearbyint): Define using libm_alias_double.
27083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
27084 <libm-alias-double.h>.
27085 (rint): Define using libm_alias_double.
27086 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
27087 <libm-alias-double.h>.
27088 (ceil): Define using libm_alias_double.
27089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
27090 <libm-alias-double.h>.
27091 (floor): Define using libm_alias_double.
27092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
27093 <libm-alias-double.h>.
27094 (fma): Define using libm_alias_double.
27095 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
27096 <libm-alias-double.h>.
27097 (lrint): Define using libm_alias_double.
27098 (llrint): Likewise.
27099 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
27100 <libm-alias-double.h>.
27101 (nearbyint): Define using libm_alias_double.
27102 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
27103 <libm-alias-double.h>.
27104 (rint): Define using libm_alias_double.
27105 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
27106 <libm-alias-double.h>.
27107 (trunc): Define using libm_alias_double.
27108 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
27109 <libm-alias-double.h>.
27110 (copysign): Define using libm_alias_double.
27111 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
27112 <libm-alias-double.h>.
27113 (fabs): Define using libm_alias_double.
27114 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
27115 <libm-alias-double.h>.
27116 (lrint): Define using libm_alias_double.
27117 (llrint): Likewise.
27118 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
27119 <libm-alias-double.h>.
27120 (nearbyint): Define using libm_alias_double.
27121 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
27122 <libm-alias-double.h>.
27123 (rint): Define using libm_alias_double.
27126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
27128 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27130 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
27131 SPARC --disable-multi-arch glibc variants.
27133 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
27134 <libm-alias-float.h>.
27135 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27137 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
27138 <libm-alias-float.h>.
27139 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27141 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
27142 <libm-alias-float.h>.
27143 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27145 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
27146 <libm-alias-float.h>.
27147 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27149 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
27150 <libm-alias-float.h>.
27151 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27153 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
27154 <libm-alias-float.h>.
27155 (ceilf): Define using libm_alias_float.
27156 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
27157 <libm-alias-float.h>.
27158 (floorf): Define using libm_alias_float.
27159 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
27160 <libm-alias-float.h>.
27161 (fmaf): Define using libm_alias_float.
27162 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
27163 <libm-alias-float.h>.
27164 (nearbyintf): Define using libm_alias_float.
27165 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
27166 <libm-alias-float.h>.
27167 (rintf): Define using libm_alias_float.
27168 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
27169 <libm-alias-float.h>.
27170 (truncf): Define using libm_alias_float.
27171 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
27172 (copysignf): Define using libm_alias_float.
27173 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
27174 (cosf): Define using libm_alias_float.
27175 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27176 (fabsf): Define using libm_alias_float.
27177 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27178 (fmaxf): Define using libm_alias_float.
27179 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
27180 (fminf): Define using libm_alias_float.
27181 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
27182 (llrintf): Define using libm_alias_float.
27183 [!__ILP32__] (lrintf): Likewise.
27184 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
27185 (sincosf): Define using libm_alias_float.
27186 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
27187 (sinf): Define using libm_alias_float.
27188 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
27189 (lrintf): Define using libm_alias_float.
27191 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
27192 <libm-alias-double.h>.
27193 (atan): Define using libm_alias_double.
27194 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
27195 <libm-alias-double.h>.
27196 (ceil): Define using libm_alias_double.
27197 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
27198 <libm-alias-double.h>.
27199 (floor): Define using libm_alias_double.
27200 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
27201 <libm-alias-double.h>.
27202 (fma): Define using libm_alias_double.
27203 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
27204 <libm-alias-double.h>.
27205 (nearbyint): Define using libm_alias_double.
27206 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
27207 <libm-alias-double.h>.
27208 (rint): Define using libm_alias_double.
27209 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
27210 <libm-alias-double.h>.
27211 (sin): Define using libm_alias_double.
27213 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
27214 <libm-alias-double.h>.
27215 (tan): Define using libm_alias_double.
27216 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
27217 <libm-alias-double.h>.
27218 (trunc): Define using libm_alias_double.
27219 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
27220 (copysign): Define using libm_alias_double.
27221 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
27222 (fabs): Define using libm_alias_double.
27223 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
27224 (fmax): Define using libm_alias_double.
27225 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
27226 (fmin): Define using libm_alias_double.
27227 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
27228 (llrint): Define using libm_alias_double.
27229 [!__ILP32__] (lrint): Likewise.
27230 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
27231 (lrint): Define using libm_alias_double.
27233 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27235 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
27236 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
27238 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
27239 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
27240 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
27241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
27242 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
27243 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
27246 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
27248 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
27249 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
27250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
27251 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
27252 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
27253 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
27256 (libm-sysdep_routines): Add s_nearbyint-generic and
27257 s_nearbyintf-generic objects.
27258 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
27259 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
27260 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
27261 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
27262 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
27263 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
27265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
27266 Add s_finitef-generic and s_finite-generic objects.
27267 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
27268 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
27269 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
27270 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
27271 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
27272 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
27274 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
27275 Add s_isinff-generic and s_isinf-generic objects.
27276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
27277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
27278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
27279 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
27280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
27281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27283 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
27284 Add s_isnanf-generic and s_isnan-generic objects.
27285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
27286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
27287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
27288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
27289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
27290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27292 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
27294 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
27296 (sysdep_routines): Use sysdep_calls as base.
27297 (libm-sysdep_routines): Add generic rule for symbols shared with
27298 libc. Add s_signbit-generic and s_signbitf-generic objects.
27299 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
27300 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
27301 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
27302 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
27303 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
27304 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27306 2017-11-29 Joseph Myers <joseph@codesourcery.com>
27308 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
27309 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
27310 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
27311 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
27312 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
27313 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
27314 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
27315 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
27316 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
27317 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
27318 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
27319 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
27320 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
27321 libm_alias_float_r.
27322 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
27323 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
27325 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
27326 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
27327 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
27328 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
27329 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
27330 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
27331 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
27332 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
27333 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
27334 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
27336 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
27338 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
27339 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
27340 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
27341 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
27342 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
27343 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
27344 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
27345 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
27346 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
27347 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
27348 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
27349 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
27350 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
27351 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
27352 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
27353 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
27354 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
27355 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
27356 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
27358 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
27359 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
27360 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
27361 * sysdeps/ia64/fpu/w_lgammaf_main.c
27362 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
27363 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
27365 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27366 Alexandre Oliva <aoliva@redhat.com>
27369 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
27370 * localedata/fr_CA.UTF-8.in: New file with test data for backward
27372 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
27374 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
27375 * localedata/locales/de_DE (LC_COLLATE): Likewise.
27376 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
27377 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
27378 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
27379 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
27380 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
27381 instead of “ifdef DIACRIT_BACKWARD”.
27383 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27385 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
27386 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
27387 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
27388 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
27389 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
27390 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
27391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
27392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
27393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
27394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
27395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
27396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
27397 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
27398 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
27399 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
27400 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
27401 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
27402 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
27403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
27404 ($(have-as-vis3) == yes): Remove conditional.
27405 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
27407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
27409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
27411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
27413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
27415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
27416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
27417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
27418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
27419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
27420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
27421 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
27422 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
27424 2017-11-29 Joseph Myers <joseph@codesourcery.com>
27426 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
27427 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
27428 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
27429 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
27430 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
27431 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
27432 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
27433 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
27434 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
27435 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
27436 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
27437 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
27438 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
27439 libm_alias_double_r.
27440 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
27442 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
27443 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
27444 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
27445 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
27446 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
27447 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
27448 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
27449 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
27450 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
27451 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
27452 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
27454 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
27456 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
27457 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
27458 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
27459 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
27460 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
27461 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
27462 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
27463 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
27464 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
27465 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
27466 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
27467 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
27468 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
27469 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
27470 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
27471 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
27472 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
27473 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
27475 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
27476 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
27477 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
27478 * sysdeps/ia64/fpu/w_lgamma_main.c
27479 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
27480 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
27482 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
27484 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
27485 address of $global$ into %dp register earlier. Use pc-relative
27486 instruction sequence for PIC case.
27488 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27490 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
27491 (asinhf): Define using libm_alias_float.
27492 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
27493 (atanf): Define using libm_alias_float.
27494 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
27495 (cbrtf): Define using libm_alias_float.
27496 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
27497 (ceilf): Define using libm_alias_float.
27498 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
27499 (copysignf): Define using libm_alias_float.
27500 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
27501 (expm1f): Define using libm_alias_float.
27502 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
27503 (fabsf): Define using libm_alias_float.
27504 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
27505 (floorf): Define using libm_alias_float.
27506 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27507 (fmaxf): Define using libm_alias_float.
27508 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
27509 (fminf): Define using libm_alias_float.
27510 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
27511 (frexpf): Define using libm_alias_float.
27512 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
27513 (llrintf): Define using libm_alias_float.
27514 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
27515 (logbf): Define using libm_alias_float.
27516 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
27517 (lrintf): Define using libm_alias_float.
27518 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
27519 (nearbyintf): Define using libm_alias_float.
27520 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
27521 (remquof): Define using libm_alias_float.
27522 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
27523 (rintf): Define using libm_alias_float.
27524 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
27525 (truncf): Define using libm_alias_float.
27526 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
27527 <libm-alias-float.h>.
27528 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27530 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
27531 <libm-alias-float.h>.
27532 (expf): Define using libm_alias_float, or libm_alias_float_other
27534 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
27535 <libm-alias-float.h>.
27536 (log2f): Define using libm_alias_float, or libm_alias_float_other
27538 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
27539 <libm-alias-float.h>.
27540 (logf): Define using libm_alias_float, or libm_alias_float_other
27542 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
27543 <libm-alias-float.h>.
27544 (powf): Define using libm_alias_float, or libm_alias_float_other
27546 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
27547 <libm-alias-float.h>.
27548 (cosf): Define using libm_alias_float.
27549 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
27550 <libm-alias-float.h>.
27551 (sincosf): Define using libm_alias_float.
27552 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
27553 <libm-alias-float.h>.
27554 (sinf): Define using libm_alias_float.
27555 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27556 (fmaxf): Define using libm_alias_float.
27557 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
27558 (fminf): Define using libm_alias_float.
27559 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27560 <libm-alias-float.h>.
27561 (fmaf): Define using libm_alias_float.
27563 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
27564 (asinh): Define using libm_alias_double.
27565 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
27566 (atan): Define using libm_alias_double.
27567 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
27568 (cbrt): Define using libm_alias_double.
27569 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
27570 (ceil): Define using libm_alias_double.
27571 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
27572 (copysign): Define using libm_alias_double.
27573 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
27574 (expm1): Define using libm_alias_double.
27575 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
27576 (fabs): Define using libm_alias_double.
27577 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
27578 (fdim): Define using libm_alias_double.
27579 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
27580 (floor): Define using libm_alias_double.
27581 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
27582 (fmax): Define using libm_alias_double.
27583 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
27584 (fmin): Define using libm_alias_double.
27585 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
27586 (frexp): Define using libm_alias_double.
27587 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
27588 (llrint): Define using libm_alias_double.
27589 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
27590 (logb): Define using libm_alias_double.
27591 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
27592 (lrint): Define using libm_alias_double.
27593 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
27594 (nearbyint): Define using libm_alias_double.
27595 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
27596 (remquo): Define using libm_alias_double.
27597 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27598 (rint): Define using libm_alias_double.
27599 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27600 (trunc): Define using libm_alias_double.
27601 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27602 (fmax): Define using libm_alias_double.
27603 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27604 (fmin): Define using libm_alias_double.
27605 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27606 (fma): Define using libm_alias_double.
27608 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27611 * elf/dl-hwcaps.c (ROUND): Removed.
27612 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27613 and ELF_NOTE_NEXT_OFFSET.
27614 * elf/dl-load.c (ROUND): Removed.
27615 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27616 * elf/readelflib.c (ROUND): Removed.
27617 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27618 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27619 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27620 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27622 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27624 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27625 [!__fmaf] (fmaf): Define using libm_alias_float.
27627 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27628 [!__fma] (fma): Define using libm_alias_double.
27629 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27631 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27634 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27635 and implement the collation rules for cs from CLDR on top of that.
27636 * Makefile: Add cs_CZ.UTF-8 to test-input.
27637 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27639 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27641 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27643 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27644 Icarus Sparry <icarus.w.sparry@intel.com>
27646 * benchtests/Makefile:Add BENCHSET to allow subsets of
27647 benchmarks to be run.
27648 * benchtests/README: Add documentation for: Running subsets of
27651 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27653 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27654 range of tests names.
27656 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27657 result from property and remove "max", min" and "mean" from
27658 required properties based on benchtests/bench-skeleton.c.
27660 2017-11-28 Florian Weimer <fweimer@redhat.com>
27663 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27664 due to Internet requirement.
27665 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27667 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27669 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27671 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27672 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27673 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27674 (sysdep_routines): Add memset-ultra1.
27675 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27677 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27678 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27679 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27680 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27681 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27682 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27683 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27684 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27686 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27688 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27689 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27690 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27691 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27692 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27693 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27694 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27696 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27697 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27698 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27699 (sysdep_routines): Add memcpy-ultra1.
27700 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27701 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27703 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27705 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27706 (cfloat_versions): Take function argument without trailing 'f'.
27707 Call libm_alias_float_other.
27708 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27709 * sysdeps/alpha/fpu/cargf.c: Likewise.
27710 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27711 * sysdeps/alpha/fpu/conjf.c: Likewise.
27712 * sysdeps/alpha/fpu/crealf.c: Likewise.
27713 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27714 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27715 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27716 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27717 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27718 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27719 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27720 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27721 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27722 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27723 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27724 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27725 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27726 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27727 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27728 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27729 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27730 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27731 (clog10f): Use libm_alias_float_other.
27732 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27733 (ceilf): Define using libm_alias_float.
27734 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27735 (copysignf): Define using libm_alias_float.
27736 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27737 (fabsf): Define using libm_alias_float.
27738 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27739 (floorf): Define using libm_alias_float.
27740 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27741 (fmaxf): Define using libm_alias_float.
27742 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27743 (fminf): Define using libm_alias_float.
27744 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27745 (lrintf): Define using libm_alias_float.
27746 (llrintf): Likewise.
27747 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27748 (lroundf): Define using libm_alias_float.
27749 (llroundf): Likewise.
27750 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27751 (rintf): Define using libm_alias_float.
27752 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27753 (truncf): Define using libm_alias_float.
27755 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27756 (ceilf): Define using libm_alias_float.
27757 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27758 (floorf): Define using libm_alias_float.
27759 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27760 (fmaf): Define using libm_alias_float.
27761 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27762 (fmaxf): Define using libm_alias_float.
27763 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27764 (fminf): Define using libm_alias_float.
27765 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27766 (llrintf): Define using libm_alias_float.
27767 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27768 (llroundf): Define using libm_alias_float.
27769 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27770 (lrintf): Define using libm_alias_float.
27771 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27772 (lroundf): Define using libm_alias_float.
27773 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27774 <libm-alias-float.h>.
27775 (nearbyintf): Define using libm_alias_float.
27776 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27777 (rintf): Define using libm_alias_float.
27778 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27779 (roundf): Define using libm_alias_float.
27780 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27781 (truncf): Define using libm_alias_float.
27783 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27784 (ceil): Define using libm_alias_double.
27785 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27786 (copysign): Define using libm_alias_double.
27787 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27788 (fabs): Define using libm_alias_double.
27789 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27790 (floor): Define using libm_alias_double.
27791 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27792 (fmax): Define using libm_alias_double.
27793 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27794 (fmin): Define using libm_alias_double.
27795 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27796 (lrint): Define using libm_alias_double.
27797 (llrint): Likewise.
27798 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27799 (lround): Define using libm_alias_double.
27800 (llround): Likewise.
27801 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27802 (rint): Define using libm_alias_double.
27803 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27804 (trunc): Define using libm_alias_double.
27806 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27807 (libm_alias_double_r): Add semicolon after weak_alias call.
27809 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27811 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27812 (ceil): Define using libm_alias_double.
27813 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27814 (floor): Define using libm_alias_double.
27815 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27816 (fma): Define using libm_alias_double.
27817 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27818 (fmax): Define using libm_alias_double.
27819 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27820 (fmin): Define using libm_alias_double.
27821 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27822 (llrint): Define using libm_alias_double.
27823 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27824 (llround): Define using libm_alias_double.
27825 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27826 (lrint): Define using libm_alias_double.
27827 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27828 (lround): Define using libm_alias_double.
27829 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27830 (nearbyint): Define using libm_alias_double.
27831 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27832 (rint): Define using libm_alias_double.
27833 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27834 (round): Define using libm_alias_double.
27835 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27836 (trunc): Define using libm_alias_double.
27838 2017-11-27 Florian Weimer <fweimer@redhat.com>
27840 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27841 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27842 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27843 (tests): Add tst-mlock2.
27844 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27845 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27846 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27847 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27848 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27849 for mlock. Document mlock2.
27851 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27853 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27854 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27856 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27858 * sysdeps/x86/Makeconfig: New file.
27859 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27860 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27861 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27862 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27863 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27864 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27865 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27867 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27868 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27869 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27870 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27871 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27872 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27873 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27874 * manual/math.texi (Mathematics): Document support for _Float64x.
27875 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27876 * stdlib/Versions (GLIBC_2.27): Likewise.
27877 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27878 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27879 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27880 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27881 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27882 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27883 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27884 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27885 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27886 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27887 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27888 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27893 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27894 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27895 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27896 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27897 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27898 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27899 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27900 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27901 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27902 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27903 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27904 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27905 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27906 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27908 2017-11-27 Andreas Schwab <schwab@suse.de>
27910 * elf/Makefile (dl-routines): Add dl-sort-maps.
27911 * elf/dl-sort-maps.c: New file.
27912 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27913 (_dl_sort_maps): Declare.
27914 * elf/dl-fini.c (_dl_sort_fini): Remove.
27915 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27916 * elf/dl-close.c (_dl_close_worker): Likewise.
27917 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27919 * elf/dl-open.c (dl_open_worker): Likewise.
27921 2017-11-24 Joseph Myers <joseph@codesourcery.com>
27923 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27924 using libm_alias_float128.
27925 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27927 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27929 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27930 (setpayloadsigf128): Likewise.
27931 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27933 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27936 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27937 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27938 -mfloat128 to CFLAGS.
27940 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27942 (CFLAGS-libm-test-support-float64x.c): New variable.
27943 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27944 $(f128-loader-link) to gnulib-tests.
27946 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27947 (libm_alias_float128_other_r): If
27948 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27950 (libm_alias_float128_r): Add semicolon after weak_alias call.
27951 * sysdeps/generic/libm-alias-ldouble.h
27952 (libm_alias_ldouble_other_r_f128): New macro.
27953 (libm_alias_ldouble_other_r_f64x): Likewise.
27954 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27955 and libm_alias_ldouble_other_r_f64x.
27956 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27957 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27958 (libm_alias_ldouble_other_r_f128): New macro.
27959 (libm_alias_ldouble_other_r_f64x): Likewise.
27960 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27961 and libm_alias_ldouble_other_r_f64x.
27963 * stdlib/strfroml.c: Always include <stdlib.h>.
27964 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27965 undefine as macro and define as weak alias.
27966 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27967 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27969 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27970 Define and later undefine as macro and define as weak alias.
27972 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27973 Define and later undefine as macro. Define as weak alias if
27975 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27976 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27977 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27978 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27979 Define and later undefine as macro. Define as weak alias if
27981 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27982 Define and later undefine as macro. Define as weak alias if
27984 * sysdeps/ieee754/float128/strtof128_l.c
27985 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27986 Define and later undefine as macro. Define as weak alias if
27988 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27989 Define and later undefine as macro. Define as weak alias if
27991 * sysdeps/ieee754/ldbl-128/strtold_l.c
27992 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27993 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27994 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27995 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27996 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27997 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27998 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27999 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
28000 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
28001 * sysdeps/ieee754/ldbl-96/strtold_l.c
28002 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
28003 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28004 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
28005 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
28007 * math/test-float64x.h: New file.
28008 * math/Makefile (type-float64x-yes): New variable.
28009 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
28011 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
28012 function-like macro.
28013 (min_of_type_): Likewise.
28014 (min_of_type_l): Likewise.
28015 (min_of_type_f128): Likewise.
28016 (min_of_type): Pass () as last argument of __MATH_TG.
28018 * stdlib/tst-strtod-round-skeleton.c
28019 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
28022 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
28023 for combinations of long double with _Float64 and _Float64x.
28025 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
28026 (__DECL_SIMD_cosf32): Likewise.
28027 (__DECL_SIMD_cosf64): Likewise.
28028 (__DECL_SIMD_cosf32x): Likewise.
28029 (__DECL_SIMD_cosf64x): Likewise.
28030 (__DECL_SIMD_cosf128x): Likewise.
28031 (__DECL_SIMD_sinf16): Likewise.
28032 (__DECL_SIMD_sinf32): Likewise.
28033 (__DECL_SIMD_sinf64): Likewise.
28034 (__DECL_SIMD_sinf32x): Likewise.
28035 (__DECL_SIMD_sinf64x): Likewise.
28036 (__DECL_SIMD_sinf128x): Likewise.
28037 (__DECL_SIMD_sincosf16): Likewise.
28038 (__DECL_SIMD_sincosf32): Likewise.
28039 (__DECL_SIMD_sincosf64): Likewise.
28040 (__DECL_SIMD_sincosf32x): Likewise.
28041 (__DECL_SIMD_sincosf64x): Likewise.
28042 (__DECL_SIMD_sincosf128x): Likewise.
28043 (__DECL_SIMD_logf16): Likewise.
28044 (__DECL_SIMD_logf32): Likewise.
28045 (__DECL_SIMD_logf64): Likewise.
28046 (__DECL_SIMD_logf32x): Likewise.
28047 (__DECL_SIMD_logf64x): Likewise.
28048 (__DECL_SIMD_logf128x): Likewise.
28049 (__DECL_SIMD_expf16): Likewise.
28050 (__DECL_SIMD_expf32): Likewise.
28051 (__DECL_SIMD_expf64): Likewise.
28052 (__DECL_SIMD_expf32x): Likewise.
28053 (__DECL_SIMD_expf64x): Likewise.
28054 (__DECL_SIMD_expf128x): Likewise.
28055 (__DECL_SIMD_powf16): Likewise.
28056 (__DECL_SIMD_powf32): Likewise.
28057 (__DECL_SIMD_powf64): Likewise.
28058 (__DECL_SIMD_powf32x): Likewise.
28059 (__DECL_SIMD_powf64x): Likewise.
28060 (__DECL_SIMD_powf128x): Likewise.
28062 * stdlib/Versions (libc): Move entries for wcstof128 and
28063 wcstof128_l to ....
28064 * wcsmbs/Versions (libc): ... here.
28065 Include <float128-abi.h>.
28067 2017-11-24 Florian Weimer <fweimer@redhat.com>
28069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28070 bits/mman-shared.h.
28071 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
28072 <bits/mman-shared.h>.
28073 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
28075 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
28076 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
28077 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
28078 <bits/mman-shared.h>.
28080 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28083 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
28084 posix_memalign/free.
28085 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
28087 2017-11-22 Mike FABIAN <mfabian@redhat.com>
28090 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
28091 and implement the collation rules for pl from CLDR on top of that.
28092 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
28093 of locales to be built for testing.
28094 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
28096 2017-11-23 Joseph Myers <joseph@codesourcery.com>
28098 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
28099 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
28100 libm_alias_ldouble_other.
28101 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
28102 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
28103 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
28104 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
28105 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
28106 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
28107 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
28108 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
28109 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
28110 libm_alias_ldouble_r.
28111 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
28112 libm_alias_ldouble_other.
28113 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
28114 (log10l): Likewise.
28115 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
28116 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
28117 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
28118 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
28119 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
28120 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
28121 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
28122 (atan2l): Likewise.
28123 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
28124 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
28125 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
28126 libm_alias_ldouble.
28127 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
28129 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
28130 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
28131 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
28133 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
28134 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
28135 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
28136 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
28137 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
28138 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
28139 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
28140 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
28141 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
28142 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
28143 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
28144 libm_alias_ldouble.
28145 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
28146 libm_alias_ldouble_other.
28147 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
28148 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
28149 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
28150 libm_alias_ldouble.
28151 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
28152 libm_alias_ldouble_other.
28153 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
28154 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
28155 * sysdeps/ia64/fpu/w_lgammal_main.c
28156 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
28157 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
28159 2017-11-23 Florian Weimer <fweimer@redhat.com>
28161 * malloc/malloc.c (tcache_thread_shutdown): Rename from
28162 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
28163 alike. Remove freeres marker.
28164 * malloc/arena.c (arena_thread_freeres): Call
28165 tcache_thread_shutdown.
28167 2017-11-23 Florian Weimer <fweimer@redhat.com>
28170 Export nscd hash function as __nss_hash.
28171 * include/nss.h (__nss_hash): Declare.
28172 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
28174 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
28175 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
28177 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
28178 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
28179 * nss/Makefiles (routines): Add nss_hash.
28180 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
28181 * nss/nss_hash.c: Rename from nis/nis_hash.c.
28182 (__nss_hash): Rename from __nis_hash. Define hidden alias.
28183 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
28185 2017-11-23 Florian Weimer <fweimer@redhat.com>
28188 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
28189 Return error code, not -1.
28190 * signal/tst-sigwait-eintr.c: New file.
28191 * signal/Makefile (tests): Add tst-sigwait-eintr.
28193 2017-11-23 Florian Weimer <fweimer@redhat.com>
28195 Linux: Add memfd_create system call wrapper
28196 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
28198 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
28199 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
28200 [__USE_GNU] (memfd_create): Declare.
28201 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
28202 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
28203 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
28204 * sysdeps/unix/sysv/linux/**.abilist: Update.
28205 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
28207 2017-11-22 Joseph Myers <joseph@codesourcery.com>
28209 * localedata/gen-locale.sh: Fix typo in variable name.
28211 * resolv/res_debug.c (p_secstodate): Condition definition on
28212 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
28213 directly as __p_secstodate, and as a compat symbol. Do not use
28214 libresolv_hidden_def.
28215 * resolv/resolv.h (p_secstodate): Remove macro and function
28217 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
28218 using p_secstodate.
28219 * include/resolv.h (__p_secstodate): Do not use
28220 libresolv_hidden_proto.
28221 * resolv/Makefile (tests): Move tst-p_secstodate to ....
28222 (tests-internal): ... here.
28223 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
28224 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
28225 and declare and use __p_secstodate and use compat_symbol_reference
28227 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
28228 implementation returning 77.
28231 * resolv/res_debug.c: Include <libc-diag.h>.
28232 (p_secstodate): Assert time_t at least as wide as u_long. On
28233 overflow, use integer seconds since the epoch as output, or use
28234 "<overflow>" as output and set errno to EOVERFLOW if integer
28235 seconds since the epoch would be 14 or more characters.
28236 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
28238 * resolv/tst-p_secstodate.c: New file.
28239 * resolv/Makefile (tests): Add tst-p_secstodate.
28240 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
28242 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
28243 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
28244 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
28246 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
28248 * posix/regcomp.c (init_word_char): Add comments.
28250 2017-11-22 Joseph Myers <joseph@codesourcery.com>
28253 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
28254 strlen to compute length of ut_user and set trailing NUL byte of
28257 2017-11-21 Mike FABIAN <mfabian@redhat.com>
28260 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
28261 using “copy "iso14651_t1"” and then implementing the
28262 collation rules for lv from CLDR on top of that.
28263 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
28264 of locales to be built for testing.
28265 * lv_LV.UTF-8.in: New file with test data to test the Latvian
28268 2017-11-21 Joseph Myers <joseph@codesourcery.com>
28270 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28271 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
28272 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
28273 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
28274 [__USE_MISC] (MADV_HWPOISON): New macro.
28275 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
28277 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28279 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
28280 -Wmissing-braces on GCC 4.9.
28282 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
28284 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
28285 * sysdeps/s390/s390-32/start.S (_start): Likewise
28286 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
28287 (thread_start): Likewise.
28288 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
28289 (thread_start): Likewise.
28290 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
28291 (__makecontext_ret): Likewise.
28292 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
28293 (__makecontext_ret): Likewise.
28295 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
28297 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
28298 __wcschrnul): Remove attribute_hidden.
28300 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
28302 regex: don't assume uint64_t or uint32_t
28303 This avoids -Werror=overflow errors for 32-bit systems in
28304 the 64-bit case. Problem reported by Joseph Myers in:
28305 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
28306 Also, when this code is used in Gnulib it ports to platforms
28307 that lack uint64_t and uint32_t. The C standard doesn't guarantee
28308 them, and on some 32-bit compilers there is no uint64_t.
28309 Problem reported by Gianluigi Tiesi in:
28310 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
28311 * posix/regcomp.c (init_word_char): Don't assume that the types
28312 uint64_t and uint32_t exist. Adapted from Gnulib patch
28313 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
28314 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
28316 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
28318 * sysdeps/aarch64/memset-reg.h: New file.
28319 * sysdeps/aarch64/memset.S: Use it.
28320 (__memset): Rename to MEMSET macro.
28321 [ZVA_MACRO]: Use zva_macro.
28322 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
28323 Add memset_generic and memset_falkor.
28324 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28325 (__libc_ifunc_impl_list): Add memset ifuncs.
28326 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
28327 local variable zva_size.
28328 * sysdeps/aarch64/multiarch/memset.c: New file.
28329 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
28330 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
28331 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
28332 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
28333 (DCZID_DZP_MASK): New macro.
28334 (DCZID_BS_MASK): Likewise.
28335 (init_cpu_features): Read and set zva_size.
28336 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
28337 (struct cpu_features): New member zva_size.
28339 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
28340 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
28341 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
28343 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
28344 backwards. Fix timing computation.
28345 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
28346 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
28347 on memset by N at a time. Fix timing computation.
28349 2017-11-20 Florian Weimer <fweimer@redhat.com>
28351 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
28352 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
28354 2017-11-19 Florian Weimer <fweimer@redhat.com>
28356 manual: Document mprotect
28357 * manual/memory.texi (Memory Protection): New section.
28358 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
28359 documentation of PROT_* flags and reference the Memory Protection
28362 2017-11-19 Florian Weimer <fweimer@redhat.com>
28364 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
28365 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
28366 (Scatter-Gather): ... to here. Remove misleading comment.
28368 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
28370 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
28373 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
28374 when /proc/<pid>/setgroups does not exist.
28376 2017-11-18 Florian Weimer <fweimer@redhat.com>
28378 * sysdeps/unix/sysv/linux/tst-ttyname.c
28379 (become_root_in_mount_ns): Remove.
28380 (do_in_chroot_1): Call support_enter_mount_namespace.
28381 (do_in_chroot_2): Likewise.
28382 (do_test): Call support_become_root early.
28384 2017-11-18 Florian Weimer <fweimer@redhat.com>
28386 * support/namespace.h (support_enter_mount_namespace): Declare.
28387 * support/support_enter_mount_namespace.c: New file.
28388 * support/Makefile (libsupport-routines): Add
28389 support_enter_mount_namespace.
28391 2017-11-18 Florian Weimer <fweimer@redhat.com>
28393 * support/temp_file.c (support_create_temp_directory): Use
28394 test_dir and do not rely on the presence of the XXXXXX suffix.
28395 * support/temp_file.h (support_create_temp_directory): Update
28397 * support/tst-xreadlink.c (do_test): Adjust.
28398 * support/support_chroot.c (support_chroot_create): Likewise.
28400 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28402 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
28404 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
28407 2017-11-17 Joseph Myers <joseph@codesourcery.com>
28409 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28410 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28411 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28412 (ceill): Define using libm_alias_ldouble.
28413 * sysdeps/x86_64/fpu/s_copysignl.S: Include
28414 <libm-alias-ldouble.h>.
28415 (copysignl): Define using libm_alias_ldouble.
28416 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28417 (fabsl): Define using libm_alias_ldouble.
28418 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28419 (floorl): Define using libm_alias_ldouble.
28420 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28421 (fmaxl): Define using libm_alias_ldouble.
28422 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28423 (fminl): Define using libm_alias_ldouble.
28424 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28425 (llrintl): Define using libm_alias_ldouble.
28426 (lrintl): Likewise.
28427 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
28428 <libm-alias-ldouble.h>.
28429 (nearbyintl): Define using libm_alias_ldouble.
28430 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28431 (truncl): Define using libm_alias_ldouble.
28432 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
28433 <libm-alias-ldouble.h>.
28434 (lrintl): Define using libm_alias_ldouble.
28436 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28437 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28438 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
28439 (asinhl): Define using libm_alias_ldouble.
28440 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
28441 (atanl): Define using libm_alias_ldouble.
28442 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
28443 (cbrtl): Define using libm_alias_ldouble.
28444 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28445 (ceill): Define using libm_alias_ldouble.
28446 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
28447 (copysignl): Define using libm_alias_ldouble.
28448 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28449 (fabsl): Define using libm_alias_ldouble.
28450 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28451 (floorl): Define using libm_alias_ldouble.
28452 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28453 (fmaxl): Define using libm_alias_ldouble.
28454 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28455 (fminl): Define using libm_alias_ldouble.
28456 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
28457 (frexpl): Define using libm_alias_ldouble.
28458 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28459 (llrintl): Define using libm_alias_ldouble.
28460 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
28461 (logbl): Define using libm_alias_ldouble.
28462 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
28463 (lrintl): Define using libm_alias_ldouble.
28464 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
28465 (nearbyintl): Define using libm_alias_ldouble.
28466 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
28467 (nextafterl): Define using libm_alias_ldouble.
28468 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
28469 (remquol): Define using libm_alias_ldouble.
28470 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
28471 (rintl): Define using libm_alias_ldouble.
28472 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28473 (truncl): Define using libm_alias_ldouble.
28474 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28475 (fmaxl): Define using libm_alias_ldouble.
28476 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28477 (fminl): Define using libm_alias_ldouble.
28479 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
28480 to C syntax instead of availability and properties of types.
28481 * bits/floatn.h [!__ASSEMBLER]: Likewise.
28482 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
28483 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
28484 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
28485 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
28486 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
28488 2017-11-17 Florian Weimer <fweimer@redhat.com>
28490 support_become_root: Enable file creation in namespaces.
28491 * support/support_become_root.c (setup_mapping): New function.
28492 (support_become_root): Call it.
28494 2017-11-17 Joseph Myers <joseph@codesourcery.com>
28496 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
28499 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28501 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
28502 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
28504 2017-11-16 Joseph Myers <joseph@codesourcery.com>
28506 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
28508 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28511 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28513 * INSTALL: Fix botched up regeneration.
28515 * NEWS: Update sourceare link to https.
28516 * configure.ac: Likewise.
28517 * crypt/md5test-giant.c: Likewise.
28518 * dlfcn/bug-atexit1.c: Likewise.
28519 * dlfcn/bug-atexit2.c: Likewise.
28520 * localedata/README: Likewise.
28521 * malloc/tst-mallocfork.c: Likewise.
28522 * manual/install.texi: Likewise.
28523 * nptl/tst-pthread-getattr.c: Likewise.
28524 * stdio-common/tst-fgets.c: Likewise.
28525 * stdio-common/tst-fwrite.c: Likewise.
28526 * sunrpc/Makefile: Likewise.
28527 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
28528 * wcsmbs/tst-mbrtowc2.c: Likewise.
28529 * configure: Regenerate.
28530 * INSTALL: Regenerate.
28532 2017-11-15 Martin Sebor <msebor@redhat.com>
28534 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
28535 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
28536 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
28538 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28541 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
28542 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
28545 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
28546 Defer is_pty check until end of the function.
28547 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28550 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
28551 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
28552 (ttyname): Likewise.
28553 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28554 (__ttyname_r): Likewise.
28556 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
28559 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
28561 * manual/terminal.texi (Is It a Terminal):
28562 Mention ENODEV for ttyname and ttyname_r.
28564 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28566 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
28567 constant and macro.
28569 * sysdeps/unix/sysv/linux/bits/mman-linux.h
28570 [__USE_MISC] (MADV_WIPEONFORK): New macro.
28571 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28572 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28573 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28574 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28576 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28578 * signal/sigrelse.c (sigrelse): Optimize implementation.
28580 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
28581 (__sigpause): Rely on __sigsuspend to implement single thread
28582 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
28584 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28586 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28587 kernel version to 4.14.
28589 2017-11-15 Steve Ellcey <sellcey@cavium.com>
28592 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
28593 Check if ifname is too long.
28595 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28597 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28599 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28601 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
28602 was accidentally lost.
28604 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28606 * localedata/locales/az_IR: Add standard copyright header.
28608 2017-11-15 Florian Weimer <fweimer@redhat.com>
28611 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28612 not just the top one. Output a new "subheaps" statistic.
28614 2017-11-15 Florian Weimer <fweimer@redhat.com>
28617 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28618 under the per-arena lock.
28619 * malloc/Makefile (tests): Add tst-malloc_info.
28620 (tst-malloc_info): Link with libpthread.
28621 * malloc/tst-malloc_info.c: New file.
28623 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28626 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28627 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28628 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28629 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28630 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28631 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28632 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28633 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28634 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28635 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28636 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28637 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28638 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28639 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28640 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28641 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28642 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28643 (__floating_type): Likewise.
28644 (__real_integer_type): Likewise.
28645 (__complex_integer_type): Likewise.
28646 (__expr_is_real): Likewise.
28647 (__tgmath_real_type_sub): Likewise.
28648 (__tgmath_real_type): Likewise.
28649 (__tgmath_complex_type_sub): Likewise.
28650 (__tgmath_complex_type): Likewise.
28651 (__TGMATH_F128): Likewise.
28652 (__TGMATH_CF128): Likewise.
28653 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28655 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28656 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28658 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28660 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28661 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28662 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28663 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28665 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28666 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28668 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28669 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28670 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28672 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28673 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28674 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28678 2017-11-14 Joseph Myers <joseph@codesourcery.com>
28680 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28681 for stpncpy calls for GCC 8.
28682 (test_strncat): Disable -Wstringop-truncation warning for strncat
28683 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28684 strncat call for GCC 7.
28685 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28687 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28690 * string/bug-strncat1.c: Include <libc-diag.h>.
28691 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28693 2017-11-13 Claude Paroz <claude@2xlibre.net>
28696 * localedata/locales/aa_DJ: Improved readibility by replacing
28697 <Uxxxx> sequences in the ASCII printable range by their ASCII
28698 character equivalents.
28699 * localedata/locales/aa_ER: Likewise.
28700 * localedata/locales/aa_ER@saaho: Likewise.
28701 * localedata/locales/aa_ET: Likewise.
28702 * localedata/locales/af_ZA: Likewise.
28703 * localedata/locales/agr_PE: Likewise.
28704 * localedata/locales/ak_GH: Likewise.
28705 * localedata/locales/am_ET: Likewise.
28706 * localedata/locales/anp_IN: Likewise.
28707 * localedata/locales/ar_AE: Likewise.
28708 * localedata/locales/ar_BH: Likewise.
28709 * localedata/locales/ar_DZ: Likewise.
28710 * localedata/locales/ar_EG: Likewise.
28711 * localedata/locales/ar_IN: Likewise.
28712 * localedata/locales/ar_IQ: Likewise.
28713 * localedata/locales/ar_JO: Likewise.
28714 * localedata/locales/ar_KW: Likewise.
28715 * localedata/locales/ar_LB: Likewise.
28716 * localedata/locales/ar_LY: Likewise.
28717 * localedata/locales/ar_MA: Likewise.
28718 * localedata/locales/ar_OM: Likewise.
28719 * localedata/locales/ar_QA: Likewise.
28720 * localedata/locales/ar_SA: Likewise.
28721 * localedata/locales/ar_SD: Likewise.
28722 * localedata/locales/ar_SS: Likewise.
28723 * localedata/locales/ar_SY: Likewise.
28724 * localedata/locales/ar_TN: Likewise.
28725 * localedata/locales/ar_YE: Likewise.
28726 * localedata/locales/as_IN: Likewise.
28727 * localedata/locales/ast_ES: Likewise.
28728 * localedata/locales/ayc_PE: Likewise.
28729 * localedata/locales/az_AZ: Likewise.
28730 * localedata/locales/az_IR: Likewise.
28731 * localedata/locales/be_BY: Likewise.
28732 * localedata/locales/be_BY@latin: Likewise.
28733 * localedata/locales/bem_ZM: Likewise.
28734 * localedata/locales/ber_DZ: Likewise.
28735 * localedata/locales/ber_MA: Likewise.
28736 * localedata/locales/bg_BG: Likewise.
28737 * localedata/locales/bhb_IN: Likewise.
28738 * localedata/locales/bho_IN: Likewise.
28739 * localedata/locales/bi_VU: Likewise.
28740 * localedata/locales/bn_BD: Likewise.
28741 * localedata/locales/bn_IN: Likewise.
28742 * localedata/locales/bo_CN: Likewise.
28743 * localedata/locales/bo_IN: Likewise.
28744 * localedata/locales/br_FR: Likewise.
28745 * localedata/locales/brx_IN: Likewise.
28746 * localedata/locales/bs_BA: Likewise.
28747 * localedata/locales/byn_ER: Likewise.
28748 * localedata/locales/ca_AD: Likewise.
28749 * localedata/locales/ca_ES: Likewise.
28750 * localedata/locales/ca_FR: Likewise.
28751 * localedata/locales/ca_IT: Likewise.
28752 * localedata/locales/ce_RU: Likewise.
28753 * localedata/locales/chr_US: Likewise.
28754 * localedata/locales/cmn_TW: Likewise.
28755 * localedata/locales/crh_UA: Likewise.
28756 * localedata/locales/cs_CZ: Likewise.
28757 * localedata/locales/csb_PL: Likewise.
28758 * localedata/locales/cv_RU: Likewise.
28759 * localedata/locales/cy_GB: Likewise.
28760 * localedata/locales/da_DK: Likewise.
28761 * localedata/locales/de_AT: Likewise.
28762 * localedata/locales/de_BE: Likewise.
28763 * localedata/locales/de_CH: Likewise.
28764 * localedata/locales/de_DE: Likewise.
28765 * localedata/locales/de_IT: Likewise.
28766 * localedata/locales/de_LI: Likewise.
28767 * localedata/locales/de_LU: Likewise.
28768 * localedata/locales/doi_IN: Likewise.
28769 * localedata/locales/dv_MV: Likewise.
28770 * localedata/locales/dz_BT: Likewise.
28771 * localedata/locales/el_CY: Likewise.
28772 * localedata/locales/el_GR: Likewise.
28773 * localedata/locales/en_AG: Likewise.
28774 * localedata/locales/en_AU: Likewise.
28775 * localedata/locales/en_BW: Likewise.
28776 * localedata/locales/en_CA: Likewise.
28777 * localedata/locales/en_DK: Likewise.
28778 * localedata/locales/en_GB: Likewise.
28779 * localedata/locales/en_HK: Likewise.
28780 * localedata/locales/en_IE: Likewise.
28781 * localedata/locales/en_IL: Likewise.
28782 * localedata/locales/en_IN: Likewise.
28783 * localedata/locales/en_NG: Likewise.
28784 * localedata/locales/en_NZ: Likewise.
28785 * localedata/locales/en_PH: Likewise.
28786 * localedata/locales/en_SG: Likewise.
28787 * localedata/locales/en_US: Likewise.
28788 * localedata/locales/en_ZA: Likewise.
28789 * localedata/locales/en_ZM: Likewise.
28790 * localedata/locales/en_ZW: Likewise.
28791 * localedata/locales/eo: Likewise.
28792 * localedata/locales/es_AR: Likewise.
28793 * localedata/locales/es_BO: Likewise.
28794 * localedata/locales/es_CL: Likewise.
28795 * localedata/locales/es_CO: Likewise.
28796 * localedata/locales/es_CR: Likewise.
28797 * localedata/locales/es_CU: Likewise.
28798 * localedata/locales/es_DO: Likewise.
28799 * localedata/locales/es_EC: Likewise.
28800 * localedata/locales/es_ES: Likewise.
28801 * localedata/locales/es_GT: Likewise.
28802 * localedata/locales/es_HN: Likewise.
28803 * localedata/locales/es_MX: Likewise.
28804 * localedata/locales/es_NI: Likewise.
28805 * localedata/locales/es_PA: Likewise.
28806 * localedata/locales/es_PE: Likewise.
28807 * localedata/locales/es_PR: Likewise.
28808 * localedata/locales/es_PY: Likewise.
28809 * localedata/locales/es_SV: Likewise.
28810 * localedata/locales/es_US: Likewise.
28811 * localedata/locales/es_UY: Likewise.
28812 * localedata/locales/es_VE: Likewise.
28813 * localedata/locales/et_EE: Likewise.
28814 * localedata/locales/eu_ES: Likewise.
28815 * localedata/locales/eu_ES@euro: Likewise.
28816 * localedata/locales/fa_IR: Likewise.
28817 * localedata/locales/ff_SN: Likewise.
28818 * localedata/locales/fi_FI: Likewise.
28819 * localedata/locales/fil_PH: Likewise.
28820 * localedata/locales/fo_FO: Likewise.
28821 * localedata/locales/fr_BE: Likewise.
28822 * localedata/locales/fr_CA: Likewise.
28823 * localedata/locales/fr_CH: Likewise.
28824 * localedata/locales/fr_FR: Likewise.
28825 * localedata/locales/fr_LU: Likewise.
28826 * localedata/locales/fur_IT: Likewise.
28827 * localedata/locales/fy_DE: Likewise.
28828 * localedata/locales/fy_NL: Likewise.
28829 * localedata/locales/ga_IE: Likewise.
28830 * localedata/locales/gd_GB: Likewise.
28831 * localedata/locales/gez_ER: Likewise.
28832 * localedata/locales/gez_ET: Likewise.
28833 * localedata/locales/gl_ES: Likewise.
28834 * localedata/locales/gu_IN: Likewise.
28835 * localedata/locales/gv_GB: Likewise.
28836 * localedata/locales/ha_NG: Likewise.
28837 * localedata/locales/hak_TW: Likewise.
28838 * localedata/locales/he_IL: Likewise.
28839 * localedata/locales/hi_IN: Likewise.
28840 * localedata/locales/hif_FJ: Likewise.
28841 * localedata/locales/hne_IN: Likewise.
28842 * localedata/locales/hr_HR: Likewise.
28843 * localedata/locales/hsb_DE: Likewise.
28844 * localedata/locales/ht_HT: Likewise.
28845 * localedata/locales/hu_HU: Likewise.
28846 * localedata/locales/hy_AM: Likewise.
28847 * localedata/locales/i18n: Likewise.
28848 * localedata/locales/ia_FR: Likewise.
28849 * localedata/locales/id_ID: Likewise.
28850 * localedata/locales/ig_NG: Likewise.
28851 * localedata/locales/ik_CA: Likewise.
28852 * localedata/locales/is_IS: Likewise.
28853 * localedata/locales/it_CH: Likewise.
28854 * localedata/locales/it_IT: Likewise.
28855 * localedata/locales/iu_CA: Likewise.
28856 * localedata/locales/ja_JP: Likewise.
28857 * localedata/locales/ka_GE: Likewise.
28858 * localedata/locales/kk_KZ: Likewise.
28859 * localedata/locales/kl_GL: Likewise.
28860 * localedata/locales/kn_IN: Likewise.
28861 * localedata/locales/ko_KR: Likewise.
28862 * localedata/locales/kok_IN: Likewise.
28863 * localedata/locales/ks_IN: Likewise.
28864 * localedata/locales/ks_IN@devanagari: Likewise.
28865 * localedata/locales/ku_TR: Likewise.
28866 * localedata/locales/kw_GB: Likewise.
28867 * localedata/locales/ky_KG: Likewise.
28868 * localedata/locales/lb_LU: Likewise.
28869 * localedata/locales/lg_UG: Likewise.
28870 * localedata/locales/li_BE: Likewise.
28871 * localedata/locales/li_NL: Likewise.
28872 * localedata/locales/lij_IT: Likewise.
28873 * localedata/locales/ln_CD: Likewise.
28874 * localedata/locales/lo_LA: Likewise.
28875 * localedata/locales/lt_LT: Likewise.
28876 * localedata/locales/lv_LV: Likewise.
28877 * localedata/locales/lzh_TW: Likewise.
28878 * localedata/locales/mag_IN: Likewise.
28879 * localedata/locales/mai_IN: Likewise.
28880 * localedata/locales/mg_MG: Likewise.
28881 * localedata/locales/mhr_RU: Likewise.
28882 * localedata/locales/mi_NZ: Likewise.
28883 * localedata/locales/mk_MK: Likewise.
28884 * localedata/locales/ml_IN: Likewise.
28885 * localedata/locales/mn_MN: Likewise.
28886 * localedata/locales/mni_IN: Likewise.
28887 * localedata/locales/mr_IN: Likewise.
28888 * localedata/locales/ms_MY: Likewise.
28889 * localedata/locales/mt_MT: Likewise.
28890 * localedata/locales/my_MM: Likewise.
28891 * localedata/locales/nan_TW: Likewise.
28892 * localedata/locales/nan_TW@latin: Likewise.
28893 * localedata/locales/nb_NO: Likewise.
28894 * localedata/locales/nds_DE: Likewise.
28895 * localedata/locales/nds_NL: Likewise.
28896 * localedata/locales/ne_NP: Likewise.
28897 * localedata/locales/nhn_MX: Likewise.
28898 * localedata/locales/niu_NU: Likewise.
28899 * localedata/locales/niu_NZ: Likewise.
28900 * localedata/locales/nl_AW: Likewise.
28901 * localedata/locales/nl_BE: Likewise.
28902 * localedata/locales/nl_NL: Likewise.
28903 * localedata/locales/nn_NO: Likewise.
28904 * localedata/locales/nr_ZA: Likewise.
28905 * localedata/locales/nso_ZA: Likewise.
28906 * localedata/locales/oc_FR: Likewise.
28907 * localedata/locales/om_ET: Likewise.
28908 * localedata/locales/om_KE: Likewise.
28909 * localedata/locales/or_IN: Likewise.
28910 * localedata/locales/os_RU: Likewise.
28911 * localedata/locales/pa_IN: Likewise.
28912 * localedata/locales/pa_PK: Likewise.
28913 * localedata/locales/pap_AW: Likewise.
28914 * localedata/locales/pap_CW: Likewise.
28915 * localedata/locales/pl_PL: Likewise.
28916 * localedata/locales/ps_AF: Likewise.
28917 * localedata/locales/pt_BR: Likewise.
28918 * localedata/locales/pt_PT: Likewise.
28919 * localedata/locales/quz_PE: Likewise.
28920 * localedata/locales/raj_IN: Likewise.
28921 * localedata/locales/ro_RO: Likewise.
28922 * localedata/locales/ru_RU: Likewise.
28923 * localedata/locales/ru_UA: Likewise.
28924 * localedata/locales/rw_RW: Likewise.
28925 * localedata/locales/sa_IN: Likewise.
28926 * localedata/locales/sat_IN: Likewise.
28927 * localedata/locales/sc_IT: Likewise.
28928 * localedata/locales/sd_IN: Likewise.
28929 * localedata/locales/sd_IN@devanagari: Likewise.
28930 * localedata/locales/se_NO: Likewise.
28931 * localedata/locales/sgs_LT: Likewise.
28932 * localedata/locales/shs_CA: Likewise.
28933 * localedata/locales/si_LK: Likewise.
28934 * localedata/locales/sid_ET: Likewise.
28935 * localedata/locales/sk_SK: Likewise.
28936 * localedata/locales/sl_SI: Likewise.
28937 * localedata/locales/sm_WS: Likewise.
28938 * localedata/locales/so_DJ: Likewise.
28939 * localedata/locales/so_ET: Likewise.
28940 * localedata/locales/so_KE: Likewise.
28941 * localedata/locales/so_SO: Likewise.
28942 * localedata/locales/sq_AL: Likewise.
28943 * localedata/locales/sq_MK: Likewise.
28944 * localedata/locales/sr_ME: Likewise.
28945 * localedata/locales/sr_RS: Likewise.
28946 * localedata/locales/sr_RS@latin: Likewise.
28947 * localedata/locales/ss_ZA: Likewise.
28948 * localedata/locales/st_ZA: Likewise.
28949 * localedata/locales/sv_FI: Likewise.
28950 * localedata/locales/sv_SE: Likewise.
28951 * localedata/locales/sw_KE: Likewise.
28952 * localedata/locales/sw_TZ: Likewise.
28953 * localedata/locales/szl_PL: Likewise.
28954 * localedata/locales/ta_IN: Likewise.
28955 * localedata/locales/ta_LK: Likewise.
28956 * localedata/locales/tcy_IN: Likewise.
28957 * localedata/locales/te_IN: Likewise.
28958 * localedata/locales/tg_TJ: Likewise.
28959 * localedata/locales/th_TH: Likewise.
28960 * localedata/locales/the_NP: Likewise.
28961 * localedata/locales/ti_ER: Likewise.
28962 * localedata/locales/ti_ET: Likewise.
28963 * localedata/locales/tig_ER: Likewise.
28964 * localedata/locales/tk_TM: Likewise.
28965 * localedata/locales/tl_PH: Likewise.
28966 * localedata/locales/tn_ZA: Likewise.
28967 * localedata/locales/to_TO: Likewise.
28968 * localedata/locales/tpi_PG: Likewise.
28969 * localedata/locales/tr_CY: Likewise.
28970 * localedata/locales/tr_TR: Likewise.
28971 * localedata/locales/ts_ZA: Likewise.
28972 * localedata/locales/tt_RU: Likewise.
28973 * localedata/locales/tt_RU@iqtelif: Likewise.
28974 * localedata/locales/ug_CN: Likewise.
28975 * localedata/locales/uk_UA: Likewise.
28976 * localedata/locales/unm_US: Likewise.
28977 * localedata/locales/ur_IN: Likewise.
28978 * localedata/locales/ur_PK: Likewise.
28979 * localedata/locales/uz_UZ: Likewise.
28980 * localedata/locales/uz_UZ@cyrillic: Likewise.
28981 * localedata/locales/ve_ZA: Likewise.
28982 * localedata/locales/vi_VN: Likewise.
28983 * localedata/locales/wa_BE: Likewise.
28984 * localedata/locales/wae_CH: Likewise.
28985 * localedata/locales/wal_ET: Likewise.
28986 * localedata/locales/wo_SN: Likewise.
28987 * localedata/locales/xh_ZA: Likewise.
28988 * localedata/locales/yi_US: Likewise.
28989 * localedata/locales/yo_NG: Likewise.
28990 * localedata/locales/yue_HK: Likewise.
28991 * localedata/locales/yuw_PG: Likewise.
28992 * localedata/locales/zh_CN: Likewise.
28993 * localedata/locales/zh_HK: Likewise.
28994 * localedata/locales/zh_SG: Likewise.
28995 * localedata/locales/zh_TW: Likewise.
28996 * localedata/locales/zu_ZA: Likewise.
28998 2017-11-13 Florian Weimer <fweimer@redhat.com>
29000 * support/next_to_fault.h, support/next_to_fault.c: New files.
29001 * support/Makefile (libsupport-routines): Add next_to_fault.
29002 * resolv/tst-inet_pton.c (struct next_to_fault)
29003 (next_to_fault_allocate, next_to_fault_free): Remove.
29004 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
29006 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
29008 * elf/dl-support.c: Include <dl-procruntime.c>.
29009 * include/link.h: Include <link_map.h>.
29010 * sysdeps/generic/dl-procruntime.c: New file.
29011 * sysdeps/generic/link_map.h: Likewise.
29012 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
29013 the writable ld.so namespace.
29015 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
29017 timezone: pacify GCC -Wstringop-truncation
29018 Problem reported by Martin Sebor in:
29019 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
29020 * timezone/zic.c (writezone): Use memcpy, not strncpy.
29022 2017-11-12 Florian Weimer <fweimer@redhat.com>
29024 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
29026 (tests): Add tst-xreadlink.
29027 * support/support.h (xstrndup): Declare.
29028 * support/xunistd.h (xunlink, xreadlink): Declare.
29029 * support/temp_file.h (support_create_temp_directory): Declare.
29030 * support/temp_file.c (support_create_temp_directory): New function.
29031 * support/support_chroot.c (support_chroot_create): Use it.
29032 * support/xreadlink.c: New file.
29033 * support/xstrndup.c: Likewise.
29034 * support/xunlink.c: Likewise.
29035 * support/tst-xreadlink.c: Likewise.
29037 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
29039 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
29041 2017-11-11 Florian Weimer <fweimer@redhat.com>
29045 * resolv/res_comp.c (printable_string, binary_hnok)
29046 (binary_leading_dash): New functions.
29047 (res_hnok): Reimplement using these functions and ns_name_pton.
29048 (res_ownok): Likewise.
29049 (res_mailok): Reimplement using printable_string, ns_name_pton and
29051 (res_dnok): Reimplement using printable_string and ns_name_pton.
29052 * resolv/tst-res_hnok.c (tests): Add additional tests.
29053 (LETTERDIGITS, PRINTABLE): Define.
29054 (do_test): Adjust one_char results.
29056 2017-11-11 Florian Weimer <fweimer@redhat.com>
29059 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
29060 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
29062 2017-11-11 Florian Weimer <fweimer@redhat.com>
29064 * resolv/tst-ns_name_pton.c: New file.
29065 * resolv/Makefile (tests): Add tst-ns_name_pton.
29066 (tst-ns_name_pton): Link against libresolv.
29068 2017-11-11 Florian Weimer <fweimer@redhat.com>
29070 * resolv/tst-res_hnok.c: New file.
29071 * resolv/Makefile (tests): Add tst-res_hnok.
29072 (tst-res_hnok): Link against libresolv.
29074 2017-11-11 Florian Weimer <fweimer@redhat.com>
29076 * resolv/tst-resolv-network.c: Use test framework instead explicit
29079 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
29081 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
29082 <jmp_buf-macros.h>.
29083 [!_ISOMAC] (STR_HELPER): New.
29084 [!_ISOMAC] (STR): Likewise.
29085 [!_ISOMAC] (TEST_SIZE): Likewise.
29086 [!_ISOMAC] (TEST_ALIGN): Likewise.
29087 [!_ISOMAC] (TEST_OFFSET): Likewise.
29088 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
29089 field offsets of jmp_buf as well as sigjmp_buf.
29090 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
29091 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
29092 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
29093 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
29094 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
29095 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
29096 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
29097 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
29098 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
29099 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
29101 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
29103 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
29104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
29106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
29108 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
29109 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
29110 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
29111 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
29112 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
29113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
29115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
29117 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
29118 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
29119 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
29121 2017-11-07 Joseph Myers <joseph@codesourcery.com>
29124 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29125 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
29126 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29127 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
29128 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29129 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
29130 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29131 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
29132 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29133 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
29134 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29135 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
29136 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29137 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
29138 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29139 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
29140 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29141 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
29142 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29143 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
29144 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29145 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
29146 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29147 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
29148 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29149 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
29150 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29151 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
29152 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29153 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
29154 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29155 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
29156 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29157 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
29158 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29159 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
29160 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29161 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
29162 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29163 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
29164 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29165 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
29166 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29167 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
29168 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29169 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
29170 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29171 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
29172 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29173 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
29174 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29175 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
29176 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29177 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
29178 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29179 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
29180 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29181 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
29182 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29183 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
29184 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29185 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
29186 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29187 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
29188 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29189 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
29190 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29191 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
29192 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29193 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
29194 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29195 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
29196 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29197 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
29198 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29199 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
29200 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29201 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
29202 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29203 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
29204 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29205 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
29206 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29207 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
29208 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29209 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
29210 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29211 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
29213 * stdlib/tst-strtod.h (F16): New macro.
29219 (IF_FLOAT16): Likewise.
29220 (IF_FLOAT32): Likewise.
29221 (IF_FLOAT64): Likewise.
29222 (IF_FLOAT32X): Likewise.
29223 (IF_FLOAT64X): Likewise.
29224 (IF_FLOAT128X): Likewise.
29225 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
29226 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
29227 (STRTOD_TEST_FOREACH): Likewise.
29228 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
29229 (CHOOSE_f64): Likewise.
29230 (CHOOSE_f32x): Likewise.
29231 (CHOOSE_f64x): Likewise.
29233 2017-11-07 Andreas Schwab <schwab@suse.de>
29235 * nptl/Makefile (tests-internal): Remove tst-typesizes.
29237 2017-11-07 Mike FABIAN <mfabian@redhat.com>
29240 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
29242 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
29245 2017-11-07 Claude Paroz <claude@2xlibre.net>
29248 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
29250 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
29252 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
29255 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29258 * nptl/allocatestack.c (allocate_stack): Check if
29259 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
29260 __PTHREAD_MUTEX_HAVE_PREV is defined.
29261 * nptl/descr.h (pthread): Likewise.
29262 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29264 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
29265 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
29266 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
29267 * sysdeps/nptl/bits/thread-shared-types.h
29268 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
29270 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
29271 of __WORDSIZE for internal layout.
29272 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
29273 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
29274 instead of __WORDSIZE whether to use an union for __spins and __list
29276 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
29278 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
29279 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
29281 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
29282 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29284 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
29285 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29287 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
29288 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29290 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
29291 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29293 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
29294 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29296 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
29297 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29299 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
29300 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29302 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
29303 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29305 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
29306 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29308 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
29309 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29311 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
29312 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29314 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
29315 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29317 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
29318 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29320 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
29321 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29324 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
29326 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
29327 checks for expected input type size.
29328 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
29329 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
29331 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
29332 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
29333 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
29334 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
29335 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
29336 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
29337 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
29338 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
29339 superflous runtime assert check.
29340 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
29342 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
29344 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
29346 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
29348 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
29350 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
29352 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
29353 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
29354 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
29356 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
29358 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
29360 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
29362 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
29364 * nptl/pthread_attr_setinheritsched.c
29365 (__pthread_attr_setinheritsched): Likewise.
29366 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
29368 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
29370 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
29371 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
29372 __old_pthread_attr_setstack): Likewise.
29373 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
29375 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
29377 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
29379 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
29380 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
29382 * nptl/tst-typesizes.c: Remove file.
29384 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
29385 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
29386 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
29387 checks for internal pthread_mutex_t offsets.
29388 * sysdeps/aarch64/nptl/pthread-offsets.h
29389 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
29390 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
29391 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
29392 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
29393 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
29394 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
29395 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
29396 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
29397 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
29398 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
29399 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
29400 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
29401 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
29402 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
29403 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
29404 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
29405 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
29406 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
29408 2017-11-07 Florian Weimer <fweimer@redhat.com>
29410 * bits/mman-linux.h: Move ...
29411 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
29413 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
29416 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29418 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
29419 Redefine STRNLEN as __strnlen_power8.
29421 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29423 * signal/sighold.c (sighold): Optimize implementation.
29425 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
29426 __NR_rt_sigqueueinfo.
29428 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29430 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
29431 assume __NR_rt_sigtimedwait.
29432 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
29433 and add LIBC_CANCEL_HANDLED for cancellation marking.
29434 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29436 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29437 (sysdeps_routines): Add memchr_noneon.
29438 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
29439 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
29440 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
29441 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
29442 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
29443 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
29444 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
29446 * sysdeps/arm/arm-ifunc.h: New file.
29447 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
29448 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
29449 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
29450 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
29451 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
29452 (__memcpy_neon): Avoid create hidden alias.
29453 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
29454 (__memcpy_vfp): Likewise.
29455 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29456 (sysdep_routines): Add memcpy_arm.
29457 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
29459 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
29462 * Makerules (make-link-multidir): New.
29463 * config.make.in (multidir): New.
29464 * configure.ac (libc_cv_multidir): New. AC_SUBST.
29465 * configure: Regenerated.
29466 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
29467 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
29468 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
29471 2017-11-06 Joseph Myers <joseph@codesourcery.com>
29474 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
29475 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
29477 2017-11-04 Mike FABIAN <mfabian@redhat.com>
29479 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
29482 2017-11-04 Florian Weimer <fweimer@redhat.com>
29484 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
29486 2017-11-03 Joseph Myers <joseph@codesourcery.com>
29488 * math/math.h [__HAVE_DISTINCT_FLOAT16
29489 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29490 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29491 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29492 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
29493 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
29494 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
29495 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29496 (__MATH_TG_F32): New macro.
29497 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29498 (__MATH_TG_F64X): Likewise.
29499 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29500 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
29502 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
29504 * po/de.po: Update translations.
29505 * po/ru.po: Likewise.
29507 2017-11-03 Florian Weimer <fweimer@redhat.com>
29509 * manual/filesys.texi (Hard Links): Document linkat.
29511 2017-11-03 Joseph Myers <joseph@codesourcery.com>
29513 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
29514 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29515 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29516 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29517 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29518 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29519 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
29520 the same as _Float128.
29521 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29522 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29523 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
29526 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
29528 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
29530 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
29532 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29533 (strtof32x): Likewise.
29534 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29535 (strtof64x): Likewise.
29536 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29537 (strtof128x): Likewise.
29538 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29539 (strfromf16): Likewise.
29540 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29541 (strfromf32): Likewise.
29542 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29543 (strfromf64): Likewise.
29544 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29545 (strfromf32x): Likewise.
29546 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29547 (strfromf64x): Likewise.
29548 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29549 (strfromf128x): Likewise.
29550 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
29551 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
29552 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
29553 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
29554 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
29555 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
29557 2017-11-03 Richard Henderson <rth@twiddle.net>
29559 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
29561 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29563 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
29565 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29567 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
29568 DT_TLSDESC_GOT initialization.
29569 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
29570 (_dl_tlsdesc_resolve_hold): Likewise.
29571 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
29572 (_dl_tlsdesc_resolve_hold): Likewise.
29573 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
29574 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29576 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29578 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
29580 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29583 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
29584 non-lazily for R_ARM_TLS_DESC.
29586 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29589 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
29590 R_ARM_TLS_DESC case.
29591 (elf_machine_lazy_rel): Remove the prelink check.
29593 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29595 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
29596 DT_TLSDESC_GOT initialization.
29597 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29598 (_dl_tlsdesc_resolve_rela): Likewise.
29599 (_dl_tlsdesc_resolve_hold): Likewise.
29600 (_dl_tlsdesc_undefweak): Remove ldar.
29601 (_dl_tlsdesc_dynamic): Likewise.
29602 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29603 (_dl_tlsdesc_resolve_rela): Likewise.
29604 (_dl_tlsdesc_resolve_hold): Likewise.
29605 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29606 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29607 (_dl_tlsdesc_resolve_rela): Likewise.
29608 (_dl_tlsdesc_resolve_hold): Likewise.
29610 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29612 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29613 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29615 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29617 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29618 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29620 2017-11-02 Joseph Myers <joseph@codesourcery.com>
29622 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29624 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29625 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29626 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29627 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29628 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29629 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29630 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29631 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29632 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29633 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29634 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29636 2017-11-02 Mike FABIAN <mfabian@redhat.com>
29639 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29640 * localedata/locales/tpi_PG: Add standard header.
29642 2017-11-02 Florian Weimer <fweimer@redhat.com>
29644 test-errno-linux: quotactl can fail with EPERM in containers.
29645 * sysdeps/unix/sysv/linux/test-errno-linux.c
29646 (LIST, LIST_FORWARD): New macros.
29647 (check_error_in_list): New function.
29648 (test_wrp_rv): Accept list of permitted error codes.
29649 (test_wrp_rv2): Remove.
29650 (test_wrp): Call test_wrp_rv with list of error codes.
29651 (test_wrp2): Accept list of error codes.
29652 (do_test): Adjust. Allow EPERM for quotactl.
29654 2017-11-02 Florian Weimer <fweimer@redhat.com>
29656 * stdio-common/bug16.c (do_test): Use array_length.
29657 * stdio-common/errlist.c (_sys_nerr): Likewise.
29658 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29659 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29660 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29661 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29662 (do_test): Use array_length.
29663 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29664 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29665 * stdio-common/tst-printf-round.c (do_test): Likewise.
29666 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29667 (CHECK): Use array_length.
29668 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29669 * stdio-common/tstscanf.c (main): Likewise.
29670 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29672 2017-11-02 Florian Weimer <fweimer@redhat.com>
29674 Add array_length and array_end macros.
29675 * include/array_length.h: New file.
29677 2017-11-02 Florian Weimer <fweimer@redhat.com>
29680 * posix/tst-glob-tilde.c (do_noescape): New variable.
29681 (one_test): Process it.
29682 (do_test): Set do_noescape. Add unescaping test case.
29684 2017-11-01 Joseph Myers <joseph@codesourcery.com>
29687 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29688 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29689 with appropriate macros defined and undefined.
29690 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29691 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29692 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29693 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29694 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29695 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29696 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29697 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29698 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29699 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29702 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29703 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29704 that for long double. Do not condition define and undefine of
29705 _Mdouble_complex_ on [__CFLOAT128].
29707 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29709 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29710 of <sysdeps/generic/sysdep.h>.
29711 (ALIGNARG): Removed.
29712 (ASM_SIZE_DIRECTIVE): Likewise.
29715 (ENTRY_CHK): Likewise.
29716 (END_CHK): Likewise.
29717 (syscall_error): Likewise.
29718 (mcount): Likewise.
29719 (PSEUDO_END): Likewise.
29721 (atom_text_section): Likewise.
29722 * sysdeps/x86/sysdep.h: New file.
29723 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29724 of <sysdeps/generic/sysdep.h>.
29725 (ALIGNARG): Removed.
29726 (ASM_SIZE_DIRECTIVE): Likewise.
29729 (ENTRY_CHK): Likewise.
29730 (END_CHK): Likewise.
29731 (syscall_error): Likewise.
29732 (mcount): Likewise.
29733 (PSEUDO_END): Likewise.
29735 (atom_text_section): Likewise.
29737 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
29739 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29740 category of LC_CTYPE set to "i18n:2012".
29741 * localedata/locales/i18n_ctype: Regenerate.
29743 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
29745 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29746 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29747 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29748 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29750 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29751 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29752 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29753 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29755 2017-10-31 Joseph Myers <joseph@codesourcery.com>
29758 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29760 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29762 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29764 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29765 (CMPLXF32X): Likewise.
29766 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29767 (CMPLXF64X): Likewise.
29768 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29769 (CMPLXF128X): Likewise.
29772 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29773 (__MATH_EVAL_FMT2): Define to add 0.0f.
29775 2017-10-31 Alan Modra <amodra@gmail.com>
29777 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29793 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29794 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29795 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29796 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29797 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29798 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29799 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29800 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29801 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29802 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29803 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29804 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29805 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29806 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29807 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29808 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29809 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29810 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29811 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29812 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29813 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29814 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29815 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29816 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29817 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29818 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29819 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29820 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29821 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29822 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29823 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29824 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29825 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29826 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29827 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29828 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29829 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29830 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29831 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29832 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29833 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29834 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29835 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29836 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29837 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29838 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29839 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29840 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29841 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29842 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29843 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29844 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29845 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29846 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29847 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29850 include sysdep.h and math_ldbl_opt.h.
29852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29853 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29879 2017-10-31 Alan Modra <amodra@gmail.com>
29881 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29882 string/strncase_l.c, not string/strncase.c.
29883 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29884 (libc_hidden_def): Redefine.
29886 2017-10-31 Alan Modra <amodra@gmail.com>
29888 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29889 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29890 (__strcasecmp): Don't define.
29892 2017-10-31 Alan Modra <amodra@gmail.com>
29894 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29896 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29897 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29898 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29900 2017-10-31 Alan Modra <amodra@gmail.com>
29902 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29905 2017-10-31 Alan Modra <amodra@gmail.com>
29907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29908 Redefine only when SHARED.
29910 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29912 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29913 Include <bits/math-finite.h> with appropriate macros defined and
29915 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29916 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29917 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29918 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29919 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29921 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29922 [!_Mlong_double_] (_Mlong_double_): Likewise.
29923 [!_Mfloat16_] (_Mfloat16_): Likewise.
29924 [!_Mfloat32_] (_Mfloat32_): Likewise.
29925 [!_Mfloat64_] (_Mfloat64_): Likewise.
29926 [!_Mfloat128_] (_Mfloat128_): Likewise.
29927 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29928 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29929 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29930 (_Mdouble_): Define without indirection through those macros.
29931 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29932 [!_Mfloat128_] (_Mfloat128_): Likewise.
29933 [_Mlong_double_] (_Mlong_double_): Likewise.
29934 (_Mdouble_): Define without indirection through those macros.
29935 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29936 not add -D_Mlong_double_=double.
29937 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29938 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29940 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29942 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29944 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29946 * sysdeps/x86/libc-start.c: Reformat.
29948 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29951 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29952 (1): Renamed to ...
29955 (L(Src2)): Likewise.
29956 (L(1)): Renamed to ...
29959 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29961 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29962 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29963 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29964 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29965 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29966 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29967 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29968 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29969 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29970 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29971 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29972 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29973 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29974 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29975 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29976 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29977 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29978 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29979 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29980 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29981 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29982 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29983 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29984 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29985 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29986 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29987 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29988 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29989 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29990 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29991 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29992 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29993 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29994 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29995 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29996 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29997 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29998 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29999 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
30000 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
30001 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
30002 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
30003 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
30004 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
30005 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
30006 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
30007 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
30008 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
30009 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
30010 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
30011 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
30012 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
30013 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
30014 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
30015 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
30016 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
30017 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
30018 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
30019 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
30020 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
30021 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
30022 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
30023 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
30024 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
30025 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
30026 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
30028 2017-10-30 Florian Weimer <fweimer@redhat.com>
30030 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
30032 * io/tst-mkdirat.c (do_test): Likewise.
30033 * io/tst-mkfifoat.c (do_test): Likewise.
30034 * io/tst-mknodat.c (do_test): Likewise.
30035 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
30036 * locale/programs/locale.c (select_dirs): Likewise.
30037 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
30038 * posix/bug-glob2.c (my_readdir): Likewise.
30039 * posix/tst-dir.c (main): Likewise.
30040 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
30041 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
30043 2017-10-30 Florian Weimer <fweimer@redhat.com>
30045 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
30048 2017-10-30 Florian Weimer <fweimer@redhat.com>
30050 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
30051 Convert to support/test-driver.c.
30052 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
30053 New macro parameters.
30054 (PRINTF): Remove macro. Use test_verbose conditionals instead.
30055 * posix/tst-gnuglob.c: New file.
30056 * posix/tst-gnuglob64.c: Likewise.
30057 * posix/Makefile (tests): Add tst-gnuglob64.
30059 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
30062 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
30063 and use a better translation for March in “mon”.
30064 * localedata/locales/csb_PL: Use more ASCII to improve the
30065 readability of the source.
30067 2017-10-30 Mike FABIAN <mfabian@redhat.com>
30070 * localedata/locales/km_KH: Use ASCII as much
30071 as possible for better readability of the source and
30072 remove useless comments.
30073 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
30074 was commented out and apparently wrong anyway because it was
30075 using Lao characters. If Buddhist era should be used
30076 for km_KH, a native speaker should write the correct formaat
30078 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
30079 (According to CLDR, the first weekday for Cambodia is Sunday).
30080 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
30081 (These were using Lao characters which must be wrong. If we get
30082 the correct data from a native speaker, we could add it back, until
30083 then it is better not to have name_mr and name_mrs at all than
30086 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
30088 * locale/loadlocale.c: Correct size of
30089 _nl_value_type_LC_<category> arrays.
30091 2017-10-27 Joseph Myers <joseph@codesourcery.com>
30093 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
30094 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
30095 with appropriate macros defined and undefined.
30096 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
30097 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
30098 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
30099 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
30100 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
30102 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
30104 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
30107 2017-10-27 Mike FABIAN <mfabian@redhat.com>
30109 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
30110 with lowercase letters to make it agree with CLDR.
30112 2017-10-27 Mike FABIAN <mfabian@redhat.com>
30115 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
30116 first letters of yesstr and nostr in yesexpr and noexpr,
30117 not for the full words.
30118 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
30119 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
30120 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
30121 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
30122 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
30123 first letters of yesstr and nostr in yesexpr and noexpr,
30124 until now only English was matched in yesexpr and noexpr.
30125 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
30126 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
30127 fil but not for tl. As tl and fil are very similar, using fil
30128 is probably better than using English.
30130 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
30133 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
30134 in yesstr and nostr.
30136 2017-10-26 Joseph Myers <joseph@codesourcery.com>
30138 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
30139 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
30140 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
30142 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
30144 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
30146 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
30148 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30149 (SNANF128X): Likewise.
30151 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
30152 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
30153 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30154 (HUGE_VAL_F32): Likewise.
30155 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30156 (HUGE_VAL_F64): Likewise.
30157 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30158 (HUGE_VAL_F32X): Likewise.
30159 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30160 (HUGE_VAL_F64X): Likewise.
30161 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30162 (HUGE_VAL_F128X): Likewise.
30164 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
30166 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
30167 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
30168 for the br_FR locale.
30170 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
30173 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
30175 2017-10-25 Carlos O'Donell <carlos@redhat.com>
30177 * locale/programs/record-status.h: Define globals, and function
30178 prototypes. Move function bodies...
30179 * locale/programs/record-status.c: ... to here. New file.
30180 * iconv/Makefile (iconv_prog-modules): Add record-status.
30181 * locale/Makefile (lib-modules): Likewise.
30182 * iconv/iconv_prog.c: Remove verbose.
30183 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
30184 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
30185 record a warning about ASCII compatibility.
30186 * locale/programs/ld-monetary.c (monetary_finish): If
30187 warn_int_curr_symbol is true then record a warning about the symbol
30188 not being in our ISO 4217 list.
30189 * locale/programs/locale.c: Include record-status.h. Remove verbose.
30190 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
30191 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
30192 (OPT_NO_WARN): Define.
30193 (OPT_WARN): Define.
30194 (options): Add entry for --no-warnings, and --warnings.
30195 (set_warnings): New function to enable/disable warnings.
30196 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
30197 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
30198 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
30199 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
30200 Pass flags to generate_locale.
30201 (generate_locale): Accept new flag argument and pass it to localedef
30203 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
30204 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
30206 * localedata/Makefile (test-input-data): Use full file name.
30207 * localedata/da_DK.in: Rename to...
30208 * localedata/da_DK.ISO-8859-1.in: ...this.
30209 * localedata/de_DE.in: Rename to...
30210 * localedata/de_DE.ISO-8859-1.in: ...this.
30211 * localedata/en_US.in: Rename to...
30212 * localedata/en_US.ISO-8859-1.in: ...this.
30213 * localedata/fr_FR.in: Rename to...
30214 * localedata/fr_FR.UTF-8.in: ... this.
30215 * localedata/hr_HR.in: Rename to...
30216 * localedata/hr_HR.ISO-8859-2.in: ...this.
30217 * localedata/hu_HU.in: Rename to...
30218 * localedata/hu_HU.UTF-8.in: ...this.
30219 * localedata/si_LK.in: Rename to...
30220 * localedata/si_LK.UTF-8.in: ...this.
30221 * localedata/sv_SE.in: Rename to...
30222 * localedata/sv_SE.ISO-8859-1.in: ...this.
30223 * localedata/tr_TR.in: Rename to...
30224 * localedata/tr_TR.UTF-8.in: ...this.
30225 * localedata/uk_UA.in: Rename to...
30226 * localedata/uk_UA.UTF-8.in: ...this.
30227 * localedata/sort-test.sh: Test file is locale name with the
30230 * localedata/unicode-gen/Makefile (check_i18n): Rename to
30231 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
30233 * localedata/locales/i18n_ctype: Regenerate.
30234 * localedata/locales/tr_TR: Likewise.
30235 * localedata/locales/translit_circle: Likewise.
30236 * localedata/locales/translit_cjk_compat: Likewise.
30237 * localedata/locales/translit_combining: Likewise.
30238 * localedata/locales/translit_compat: Likewise.
30239 * localedata/locales/translit_font: Likewise.
30240 * localedata/locales/translit_fraction: Likewise.
30242 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30244 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
30245 lxvd2x/stxvd2x with lvx/stvx.
30246 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
30248 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
30250 * include/alloc_buffer.h: Replace "if if " with "if " in
30252 * sysdeps/mips/memcpy.S: Likkewise.
30253 * sysdeps/mips/memset.S: Likewise.
30254 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30256 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
30258 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
30261 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30264 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
30265 yesexpr and noexpr.
30266 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
30267 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
30268 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
30269 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
30270 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
30271 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
30272 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
30274 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30276 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
30277 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
30278 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
30279 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
30280 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
30281 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
30282 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
30283 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
30284 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
30285 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
30286 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
30287 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
30289 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30291 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
30292 as possible for better readability of the source.
30293 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
30294 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
30295 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
30296 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
30297 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
30298 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
30299 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
30300 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
30301 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
30302 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
30303 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
30304 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
30305 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
30306 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
30307 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
30308 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
30309 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
30310 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
30311 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
30312 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
30313 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
30314 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
30315 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
30316 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
30317 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
30318 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
30319 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
30320 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
30321 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
30322 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
30323 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
30324 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
30325 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
30326 * localedata/locales/en_US (LC_MESSAGES): Likewise.
30327 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
30328 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
30329 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
30330 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
30331 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
30332 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
30333 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
30334 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
30335 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
30336 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
30337 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
30338 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
30339 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
30340 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
30341 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
30342 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
30343 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
30344 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
30345 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
30346 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
30347 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
30348 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
30349 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
30350 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
30351 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
30352 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
30353 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
30354 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
30355 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
30356 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
30357 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
30358 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
30359 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
30360 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
30361 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
30362 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
30363 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
30364 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
30365 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
30366 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
30367 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
30368 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
30369 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
30370 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
30371 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
30372 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
30373 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
30374 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
30375 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
30376 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
30377 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
30378 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
30379 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
30380 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
30381 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
30382 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
30383 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
30384 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
30385 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
30386 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
30387 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
30388 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
30389 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
30390 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
30391 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
30392 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
30393 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
30394 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
30395 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
30396 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
30397 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
30398 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
30399 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
30400 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
30401 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
30402 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
30403 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
30404 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
30405 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
30406 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
30407 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
30408 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
30409 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
30410 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
30411 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
30412 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
30413 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
30414 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
30415 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
30416 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
30417 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
30418 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
30419 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
30420 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
30421 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
30422 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
30423 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
30424 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
30425 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
30426 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
30427 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
30428 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
30429 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
30430 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
30431 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
30432 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
30433 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
30434 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
30435 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
30436 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
30437 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
30438 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
30439 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
30440 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
30441 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
30442 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
30443 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
30444 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
30445 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
30446 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
30447 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
30448 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
30449 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
30450 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
30451 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
30452 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
30453 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
30454 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
30455 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
30456 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
30457 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
30458 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
30459 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
30460 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
30461 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
30462 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
30463 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
30464 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
30465 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
30466 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
30468 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30470 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
30471 (Use first letters of yesstr and nostr correctly instead of using
30474 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30476 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
30477 (Use first letters of yesstr and nostr correctly).
30479 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30481 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
30482 also check for the first characters of yesstr and nostr.
30483 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
30484 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
30486 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30488 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
30489 also check for Chinese characters.
30491 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30493 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
30494 match also for the contents of yesstr and nostr. As the first letter
30495 of yesstr and nostr is equal, checking only for the first letter
30498 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30500 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
30501 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
30503 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30505 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
30506 of main contributor.
30508 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30510 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
30511 instead of using English.
30513 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30515 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
30516 by including the first letters of nostr and yesexpr in the regexp.
30517 Also make it more readable by using ASCII where possible.
30519 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30521 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
30522 the first letter of nostr in the regexp. It agrees with CLDR now.
30523 Also make it more readable by using ASCII where possible.
30525 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30527 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
30528 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
30529 these strings contain a U+17D6 (which somewhat looks like a colon)
30530 instead of a real colon to separate the full words for “yes”
30531 and “no” from the single letter responses.
30533 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30535 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
30536 it agree with CLDR (include the first letter of yesstr).
30537 Also make it more readable by using ASCII where possible.
30539 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30541 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
30542 and improve yesexpr and noexpr. The yesstr and nostr apparently
30543 came from CLDR. And CLDR has a bug there: these strings contain
30544 a U+0903 (which looks like a colon) instead of a real colon
30545 to separate the full words for “yes” and “no” from the single
30548 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30550 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
30551 letters of the full yesstr and nostr in yesexpr and noexpr.
30553 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30555 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
30556 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
30557 * localedata/locales/an_ES: Make source more readable by using ASCII
30560 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30563 * localedata/locales/yuw_PG: New file.
30564 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
30565 * locale/iso-639.def: Add Yau (Uruwa).
30567 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30569 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
30571 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30573 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
30574 (__libc_realloc): Likewise.
30575 (_mid_memalign): Likewise.
30576 (__libc_calloc): Likewise.
30578 2017-10-23 Mike FABIAN <mfabian@redhat.com>
30580 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
30581 by adding the generic +1 and -0 as in all other locales.
30582 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
30583 day names and make it more readable by using ASCII where possible.
30585 2017-10-24 Joseph Myers <joseph@codesourcery.com>
30587 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
30588 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
30590 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30592 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
30593 WNOHANG in waitpid call.
30595 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
30597 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30598 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30600 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30601 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30602 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30603 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30604 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30605 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30606 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30607 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30610 2017-10-23 Michael Collison <michael.collison@arm.com>
30612 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30613 with __builtin_sqrt.
30614 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30615 with __builtin_sqrtf.
30616 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30617 with __builtin_ceil.
30618 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30619 with __builtin_ceilf.
30620 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30621 with __builtin_floor.
30622 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30623 with __builtin_floorf.
30624 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30625 with __builtin_fma.
30626 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30627 with __builtin_fmaf.
30628 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30629 with __builtin_fmax.
30630 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30631 with __builtin_fmaxf.
30632 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30633 with __builtin_fmin.
30634 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30635 with __builtin_fminf.
30636 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30637 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30638 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30639 with builtin_rint and conversion to int.
30640 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30641 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30642 with builtin_llround.
30643 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30644 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30645 with builtin_rint and conversion to long int.
30646 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30647 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30648 with builtin_lround.
30649 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30650 with builtin_lroundf.
30651 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30652 statements with __builtin_nearbyint.
30653 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30654 statements with __builtin_nearbyintf.
30655 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30656 with __builtin_rint.
30657 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30658 with __builtin_rintf.
30659 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30660 with __builtin_round.
30661 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30662 with __builtin_roundf.
30663 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30664 with __builtin_trunc.
30665 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30666 with __builtin_truncf.
30667 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30668 and s_l[l]round[f].c too.
30670 2017-10-23 Alan Modra <amodra@gmail.com>
30672 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30673 Adjust stack after restoring regs. Add missing LR cfi_restore.
30675 2017-10-23 Alan Modra <amodra@gmail.com>
30677 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30678 Move LR save and frame setup/teardown and LR restore to
30679 immediately around memset call. Provide cfi.
30681 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30683 * sysdeps/i386/fpu/e_powf.S: Removed.
30684 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30685 * sysdeps/i386/fpu/w_powf.c: Likewise.
30686 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30687 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30688 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30690 (CFLAGS-e_powf-sse2.c): New.
30691 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30692 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30694 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30696 * sysdeps/i386/fpu/e_log2f.S: Removed.
30697 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30698 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30699 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30700 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30701 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30703 (CFLAGS-e_log2f-sse2.c): New.
30704 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30705 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30707 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30709 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30711 (CFLAGS-e_powf-fma.c): New.
30712 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30713 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30715 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30717 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30719 (CFLAGS-e_log2f-fma.c): New.
30720 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30721 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30723 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30725 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30727 (CFLAGS-e_logf-fma.c): New.
30728 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30729 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30731 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30733 * sysdeps/i386/fpu/e_logf.S: Removed.
30734 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30735 * sysdeps/i386/fpu/w_logf.c: Likewise.
30736 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30737 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30738 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30739 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30741 (CFLAGS-e_logf-sse2.c): New.
30742 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30743 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30745 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30747 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30748 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30749 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30750 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30751 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30753 (CFLAGS-e_exp2f-sse2.c): New.
30754 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30755 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30757 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30759 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30761 (CFLAGS-e_exp2f-fma.c): New.
30762 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30763 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30765 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30767 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30768 * sysdeps/i386/fpu/e_expf.S: Likewise.
30769 * sysdeps/i386/fpu/math_errf.c: Likewise.
30770 * sysdeps/i386/fpu/w_expf.c: Likewise.
30771 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30772 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30773 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30774 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30775 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30776 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30777 Remove e_expf-ia32.
30778 (CFLAGS-e_expf-sse2.c): New.
30779 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30780 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30782 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30784 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30785 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30786 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30787 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30789 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30791 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30792 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30794 (__redirect_expf): This.
30795 (SYMBOL_NAME): Changed to expf.
30796 (__ieee754_expf): Renamed to ...
30798 (__GI___expf): This.
30799 (__ieee754_expf): Add strong_alias.
30800 (__expf_finite): Likewise.
30802 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30804 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
30807 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30810 2017-10-21 Florian Weimer <fweimer@redhat.com>
30812 * posix/Makefile (tests): Add tst-glob-tilde.
30813 (tests-special): Add tst-glob-tilde-mem.out
30814 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30815 (tst-glob-tilde-mem.out): Add mtrace check.
30816 * posix/tst-glob-tilde.c: New file.
30818 2017-10-20 Joseph Myers <joseph@codesourcery.com>
30820 * bits/floatn-common.h: New file.
30821 * math/Makefile (headers): Add bits/floatn-common.h.
30822 * bits/floatn.h: Include <bits/floatn-common.h>.
30823 * sysdeps/ia64/bits/floatn.h: Likewise.
30824 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30825 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30826 * sysdeps/powerpc/bits/floatn.h: Likewise.
30827 * sysdeps/x86/bits/floatn.h: Likewise.
30829 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30831 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30832 indicates whether compiler emits an warning for alias for
30833 functions with incompatible types.
30836 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30837 the auxiliary process is terminated by a signal before calling _exit
30840 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30843 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30845 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30846 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30847 and bit_arch_XSAVEC_Usable if needed.
30848 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30849 and bit_arch_Use_dl_runtime_resolve_opt.
30850 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30852 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30853 (bit_arch_Prefer_No_AVX512): Updated.
30854 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30855 (bit_arch_XSAVEC_Usable): New.
30856 (STATE_SAVE_OFFSET): Likewise.
30857 (STATE_SAVE_MASK): Likewise.
30858 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30859 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30860 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30861 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30862 (index_arch_XSAVEC_Usable): New.
30863 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30864 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30865 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30867 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30868 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30869 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30870 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30871 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30872 _dl_runtime_resolve_xsavec.
30873 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30875 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30876 instead of VEC_SIZE.
30877 (REGISTER_SAVE_BND0): Removed.
30878 (REGISTER_SAVE_BND1): Likewise.
30879 (REGISTER_SAVE_BND3): Likewise.
30880 (REGISTER_SAVE_RAX): Always defined to 0.
30882 (_dl_runtime_resolve_avx): Likewise.
30883 (_dl_runtime_resolve_avx_slow): Likewise.
30884 (_dl_runtime_resolve_avx_opt): Likewise.
30885 (_dl_runtime_resolve_avx512): Likewise.
30886 (_dl_runtime_resolve_avx512_opt): Likewise.
30887 (_dl_runtime_resolve_sse): Likewise.
30888 (_dl_runtime_resolve_sse_vex): Likewise.
30890 (_dl_runtime_resolve_fxsave): Likewise.
30891 (USE_XSAVE): Likewise.
30892 (_dl_runtime_resolve_xsave): Likewise.
30893 (USE_XSAVEC): Likewise.
30894 (_dl_runtime_resolve_xsavec): Likewise.
30895 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30897 (_dl_runtime_resolve_avx512_opt): Likewise.
30898 (_dl_runtime_resolve_avx): Likewise.
30899 (_dl_runtime_resolve_avx_opt): Likewise.
30900 (_dl_runtime_resolve_sse): Likewise.
30901 (_dl_runtime_resolve_sse_vex): Likewise.
30902 (_dl_runtime_resolve_fxsave): New.
30903 (_dl_runtime_resolve_xsave): Likewise.
30904 (_dl_runtime_resolve_xsavec): Likewise.
30906 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
30910 * posix/glob.c (__glob): Fix one-byte overflow.
30912 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30914 * malloc/malloc.c (sysdep-cancel.h): Add include.
30916 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30918 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30920 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30922 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30923 (tests): Remove $(objpfx)ga_test depdendency.
30924 * resolv/ga_test.c: Remove file.
30926 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30929 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30930 * localedata/locales/kab_DZ: New file.
30932 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30934 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30935 _dl_relocate_static_pie instead of _dl_start to compute load
30936 address in static PIE.
30938 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30940 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30942 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30945 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30946 * localedata/locales/shn_MM: New file.
30948 2017-10-20 Florian Weimer <fweimer@redhat.com>
30951 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30952 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30953 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30954 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30955 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30956 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30958 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30960 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30962 2017-10-19 Joseph Myers <joseph@codesourcery.com>
30964 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30967 * sysdeps/mips/bits/long-double.h: Move to ....
30968 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30970 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30972 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30974 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30975 H.J. Lu <hongjiu.lu@intel.com>
30978 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30979 GLRO(dl_platform) to NULL.
30980 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30981 (modules-names): Add tst-platformmod-1 and
30982 x86_64/tst-platformmod-2.
30983 (CFLAGS-tst-platform-1.c): New.
30984 (CFLAGS-tst-platformmod-1.c): Likewise.
30985 (CFLAGS-tst-platformmod-2.c): Likewise.
30986 (LDFLAGS-tst-platformmod-2.so): Likewise.
30987 ($(objpfx)tst-platform-1): Likewise.
30988 ($(objpfx)tst-platform-1.out): Likewise.
30989 (tst-platform-1-ENV): Likewise.
30990 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30991 * sysdeps/x86_64/tst-platform-1.c: New file.
30992 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30993 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30995 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30998 * locale/iso-639.def: Add Karbi.
30999 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
31000 * localedata/locales/mjw_IN: New file.
31002 2017-10-18 Joseph Myers <joseph@codesourcery.com>
31004 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
31005 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
31006 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
31007 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
31008 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
31009 (libm_alias_ldouble_other_r): Also create _Float128 alias.
31010 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
31012 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
31013 (libm_alias_ldouble_other_r): Also create _Float128 alias.
31014 * manual/math.texi (Mathematics): Document additional architecture
31015 support for _Float128.
31016 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
31017 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
31018 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
31019 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31020 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31021 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
31022 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
31023 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
31024 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31025 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
31026 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31027 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
31028 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31029 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
31030 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31032 2017-10-18 Renlin Li <renlin.li@arm.com>
31034 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
31035 _DYNAMIC symbol to calculate load address.
31037 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
31039 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
31040 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
31042 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
31043 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
31045 2017-10-18 Mike FABIAN <mfabian@redhat.com>
31048 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
31049 and improve readability by using more ASCII.
31050 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
31051 and improve readability by using more ASCII.
31053 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
31055 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
31056 not all targets support atomics on bool.
31058 2017-10-17 Joseph Myers <joseph@codesourcery.com>
31060 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
31061 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
31063 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
31064 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
31065 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
31066 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
31067 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
31068 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
31070 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31072 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
31075 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
31078 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
31079 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
31080 (do_check_remalloced_chunk): Fix build bug.
31081 (do_check_malloc_state): Add assert that checks arena->top.
31082 (malloc_consolidate): Remove initialization.
31083 (int_mallinfo): Remove call to malloc_consolidate.
31084 (__libc_mallopt): Clarify why malloc_consolidate is needed.
31086 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
31088 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
31089 (have_fastchunks): Remove.
31090 (clear_fastchunks): Remove.
31091 (set_fastchunks): Remove.
31092 (malloc_state): Add have_fastchunks.
31093 (malloc_init_state): Use have_fastchunks.
31094 (do_check_malloc_state): Remove incorrect invariant checks.
31095 (_int_malloc): Use have_fastchunks.
31096 (_int_free): Likewise.
31097 (malloc_consolidate): Likewise.
31099 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
31101 * malloc/malloc.c (tcache_put): Inline.
31102 (tcache_get): Inline.
31104 2017-10-17 Jordi Mallach <jordi@gnu.org>
31106 Aurelien Jarno <aurelien@aurel32.net>
31108 * localedata/locales/ca_ES@valencia: New file.
31109 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
31111 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
31114 * math/math.h: Let signbit use the builtin in C++ mode with gcc
31117 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31119 * scripts/build-many-glibcs.py (Context.add_all_configs):
31120 Add arm-linux-gnueabihf multiarch extra_glibcs.
31122 * sysdeps/generic/ifunc-init.h: New file.
31123 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
31125 2017-10-17 Mike FABIAN <mfabian@redhat.com>
31128 * localedata/locales/el_GR: Set n_cs_precedes to 0.
31129 * localedata/locales/el_CY: copy "el_GR" because it is identical.
31130 * stdlib/tst-strfmon_l.c: adapt test case.
31132 2017-10-16 Joseph Myers <joseph@codesourcery.com>
31134 * sysdeps/generic/float128-abi.h: New file.
31135 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
31136 non-__prefixed symbols to ....
31137 * math/Versions: ... here. Include <float128-abi.h>.
31138 * stdlib/Versions ... and here. Include <float128-abi.h>
31140 2017-10-16 Florian Weimer <fweimer@redhat.com>
31142 * version.h (VERSION): Switch to ".9000" as the development
31145 2017-10-16 Florian Weimer <fweimer@redhat.com>
31148 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
31149 compat_symbol_reference to access non-default version.
31151 2017-10-16 Florian Weimer <fweimer@redhat.com>
31153 * malloc/Makefile (others-extras): Set to mcheck-init.o.
31155 2017-10-16 Carlos O'Donell <carlos@redhat.com>
31157 * include/shlib-compat.h (compat_symbol_reference): Update
31160 2017-10-16 Joseph Myers <joseph@codesourcery.com>
31162 * math/Makefile (test-types): Add
31163 $(type-float128-$(float128-alias-fcts)).
31164 * math/test-float128.h (TYPE_STR): Define conditional on
31165 [FLT128_MANT_DIG == LDBL_MANT_DIG].
31166 (ULP_IDX): Likewise.
31167 (ULP_I_IDX): Likewise.
31169 * stdlib/strtold.c: Include <bits/floatn.h>
31170 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
31171 and later undefine as macro. Define as weak alias if
31173 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
31174 and later undefine as macro. Define as weak alias if
31176 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
31177 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
31178 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
31179 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
31180 Define and later undefine as macro. Define as weak alias if
31182 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
31184 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
31185 Define and later undefine as macro. Define as weak alias if
31187 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
31188 Define and later undefine as macro. Define as weak alias if
31191 2017-10-15 Carlos O'Donell <carlos@redhat.com>
31193 * localedata/collate-test.c (allocate_arrays): Don't use \n in
31194 record_verbose messages.
31196 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
31199 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
31200 to silence -O3 -Wall warning with GCC 7.
31202 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
31204 * Makeconfig (+link-static-before-libc): Use the first of
31205 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
31206 * gmon/Makefile (tests): Add tst-gmon-static.
31207 (tests-static): Likewise.
31208 (CFLAGS-tst-gmon-static.c): New.
31209 (CRT-tst-gmon-static): Likewise.
31210 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
31211 (tst-gmon-static-ENV): Likewise.
31212 (tests-special): Likewise.
31213 ($(objpfx)tst-gmon-static.out): Likewise.
31214 (clean-tst-gmon-static-data): Likewise.
31215 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
31216 * gmon/tst-gmon-static-gprof.sh: New file.
31217 * gmon/tst-gmon-static.c: Likewise.
31219 2017-10-13 Carlos O'Donell <carlos@redhat.com>
31222 * locale/programs/linereader.c (get_string): Don't warn on
31223 non-symbolic character.
31226 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
31230 * locale/programs/record-status.h: New file
31231 * locale/programs/locale.c: Add comment.
31232 * locale/programs/charmap-dir.c: Don't include error.h.
31233 (charmap_opendir): Use record_error.
31234 * locale/programs/charmap.c: Don't include error.h.
31235 (charmap_read): Use record_error, and record_warning.
31236 (parse_charmap): Likewise.
31237 * locale/programs/ld-address.c: Don't include error.h.
31238 (address_finish): Use record_error, and record_warning.
31239 * locale/programs/ld-collate.c: Don't include error.h.
31240 (collate_finish): Use record_error, and record_error_at_line.
31241 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
31242 (ctype_class_new): Likewise.
31243 (ctype_map_new): Likewise.
31244 (set_one_default): Likewise.
31245 (set_class_defaults): Likewise.
31246 (translit_flatten): Likewise.
31247 (allocate_arrays): Use record_error, and record_verbose.
31248 * locale/programs/ld-identification.c: Don't include error.h.
31249 (indentation_finish): Use record_error and record_warning.
31250 * locale/programs/ld-measurement.c: Don't include error.h.
31251 (measurement_finish): Use record_error.
31252 * locale/programs/ld-messages.c
31253 (message_finish): Likewise.
31254 * locale/programs/ld-monetary.c
31255 (monetary_finish): Likewise.
31256 * locale/programs/ld-name.c (name_finish): Use record_error
31257 and record_warning.
31258 * locale/programs/ld-numeric.c
31259 (numeric_finish): Use record_error.
31260 * locale/programs/ld-paper.c: Don't include error.h.
31261 (paper_finish): Use record_error.
31262 * locale/programs/ld-telephone.c: Don't include error.h.
31263 (telephone_finish): Use record_error.
31264 * locale/programs/ld-time.c (time_finish): Likewise.
31265 * locale/programs/linereader.h (lr_error): Make inline func.
31266 * locale/programs/localedef.c: Define recorded_warning_count,
31267 and recorded_error_count.
31268 (main): Use record_error. Use recorded_error_count and
31269 recorded_warning_count to issue correct error returns.
31270 (add_to_readlist): Use record_error.
31271 (find_locale): Likewise.
31272 (load_locale): Likewise.
31273 * locale/programs/localedef.h: Remove be_quiet
31274 and WITH_CUR_LOCALE.
31275 * locale/programs/locarchive.c (compare_from_file): Use
31277 * locale/programs/locfile.c (write_locale_data): Use
31279 * locale/programs/repertoire.c: Dont include error.h.
31280 (repertoire_complain): Use record_error.
31281 * localedata/tst-fmon.sh: Expect failures from localedef.
31282 * localedata/tst-locale.sh: Likewise.
31283 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
31285 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
31286 (REPORTS): Likewise.
31288 (i18n): Rename to...
31289 (i18n_ctype): ...this.
31290 (i18n-report): Rename to...
31291 (i18n_ctype-report): ...this.
31292 * localedata/locales/i18n_ctype: Regenerate.
31293 * localedata/locales/i18n: copy i18n_ctype.
31295 2017-10-13 Joseph Myers <joseph@codesourcery.com>
31297 * stdlib/strfroml.c: Include <bits/floatn.h>.
31298 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
31299 Define before include of <stdlib.h> and undefine afterwards, then
31300 define as weak alias.
31302 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
31303 Undefine and restore default definition. Use
31304 libm_alias_ldouble_other.
31306 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
31309 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
31312 2017-10-13 James Clarke <jrtc27@jrtc27.com>
31314 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31315 Assign sym_map to be map for local symbols, as TLS relocations
31316 use sym_map to determine whether the symbol is defined and to
31317 extract the TLS information.
31318 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31319 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31321 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31324 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
31325 (math_force_eval): Add powerpc version.
31328 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
31330 (do_test): Likewise.
31331 * stdio-common/tst-printf.sh: Likewise.
31332 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
31333 ifdef clause in order to set the carry bit right. Replace r0 by
31334 0 without changing the behavior.
31336 2017-10-13 Joseph Myers <joseph@codesourcery.com>
31338 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
31339 <libm-alias-ldouble.h>.
31340 (fabsl): Define using libm_alias_ldouble.
31341 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
31342 <libm-alias-ldouble.h>.
31343 (fabsl): Define using libm_alias_ldouble.
31345 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
31346 Remove conditional code.
31348 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
31349 Rename to __clog10_internal_l.
31350 (__clog10_internal_l): Define aliases using
31351 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
31354 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31356 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
31357 * benchtests/sincosf-inputs: New file.
31358 * benchtests/cosf-inputs: New file.
31359 * benchtests/sinf-inputs: New file.
31361 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
31363 * posix/tst-spawn.c (do_test): Wait for both children.
31365 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
31368 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
31369 tests-pie): Add tst-gmon-pie.
31370 (CFLAGS-tst-gmon-pie.c): New.
31371 (CRT-tst-gmon-pie): Likewise.
31372 (tst-gmon-pie-ENV): Likewise.
31373 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
31374 ($(objpfx)tst-gmon-pie.out): Likewise.
31375 (clean-tst-gmon-pie-data): Likewise.
31376 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
31377 * gmon/gmon.c [PIC]: Include <link.h>.
31378 [PIC] (callback): New function.
31379 (write_hist): Add an argument for load address. Subtract load
31381 (write_call_graph): Likewise.
31382 (write_gmon): Call __dl_iterate_phdr to get load address, pass
31383 it to write_hist and write_call_graph.
31384 * gmon/tst-gmon-pie.c: New file.
31386 2017-10-11 Joseph Myers <joseph@codesourcery.com>
31388 * math/Makefile (test-types-basic): New variable.
31389 (test-types): Likewise.
31390 (libm-test-support): Use $(test-types) instead of $(types).
31391 (libm-tests-base-normal): Likewise.
31392 (libm-tests-base-finite): Likewise.
31393 (libm-tests-base-inline): Likewise.
31394 (generated): Likewise.
31395 ($(objpfx)libm-test-support-$(t).c): Likewise.
31396 (libm-tests-for-type iterator): Likewise.
31397 (libm-test-support iterator): Likewise.
31398 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
31399 (ulp_idx): Use ULP_IDX.
31400 * math/test-ldouble.h: Include <float.h>.
31401 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
31402 (ULP_IDX): New macro.
31403 (ULP_I_IDX): Likewise.
31404 * math/test-double.h (ULP_IDX): Likewise.
31405 (ULP_I_IDX): Likewise.
31406 * math/test-float.h (ULP_IDX): Likewise.
31407 (ULP_I_IDX): Likewise.
31408 * math/test-float128.h (ULP_IDX): Likewise.
31409 (ULP_I_IDX): Likewise.
31411 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31413 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
31414 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31415 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31416 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
31417 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31418 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
31419 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
31420 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31421 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31422 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31423 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
31424 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31425 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31426 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31427 (SINGLE_THREAD_BY_GLOBAL): Define.
31428 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31430 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31432 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31434 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31436 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
31437 (SINGLE_THREAD_BY_GLOBAL): Likewise.
31438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31441 2017-10-11 Andreas Schwab <schwab@suse.de>
31443 * nis/Makefile (aux): Remove.
31444 * nscd/Makefile (aux): Add nscd_hash.
31445 (nscd-modules): Likewise.
31446 ($(objpfx)nscd): Don't depend on libnsl.
31447 * nscd/nscd_hash.c: New file.
31448 * nscd/nscd_hash.h: Likewise.
31449 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
31450 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
31451 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
31452 instead of <nis/rpcsvc/nis.h>.
31453 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
31455 2017-10-11 Florian Weimer <fweimer@redhat.com>
31458 Avoid large NSS buffers with many addresses, aliases.
31459 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
31460 using dynarrays and struct alloc_buffer.
31461 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
31462 (tst-nss-files-hosts-multi): Link with -ldl.
31463 * nss/tst-nss-files-hosts-multi.c: New file.
31465 2017-10-11 Florian Weimer <fweimer@redhat.com>
31468 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
31469 scratch_buffer. Eliminate gotos.
31471 2017-10-11 Joseph Myers <joseph@codesourcery.com>
31473 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
31474 libm_alias_ldouble_other.
31475 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
31476 undefine and redefine.
31477 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31478 (exp10l): Do not define here.
31479 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
31480 (weak_alias): Undefine and redefine.
31481 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
31482 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31483 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
31484 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
31486 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
31487 [!__fma] (fma): Define using libm_alias_double.
31488 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
31489 [!__fmaf] (fmaf): Define using libm_alias_float.
31490 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
31491 (fmal): Define using libm_alias_ldouble.
31493 2017-10-10 Joseph Myers <joseph@codesourcery.com>
31495 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
31497 (libm_alias_double_other): Likewise.
31498 (libm_alias_double_r): Use libm_alias_double_other_r.
31499 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
31501 (libm_alias_float_other): Likewise.
31502 (libm_alias_float_r): Use libm_alias_float_other_r.
31503 * sysdeps/generic/libm-alias-float128.h
31504 (libm_alias_float128_other_r): New macro.
31505 (libm_alias_float128_other): Likewise.
31506 (libm_alias_float128_r): Use libm_alias_float128_other_r.
31507 * sysdeps/generic/libm-alias-ldouble.h
31508 (libm_alias_ldouble_other_r): New macro.
31509 (libm_alias_ldouble_other): Likewise.
31510 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31511 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
31512 (libm_alias_double_other_r): New macro.
31513 (libm_alias_double_other): Likewise.
31514 (libm_alias_double_r): Use libm_alias_double_other_r.
31515 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
31516 (libm_alias_ldouble_other_r): New macro.
31517 (libm_alias_ldouble_other): Likewise.
31518 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31519 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
31520 [!USE_AS_COMPAT]: Use libm_alias_double_other.
31521 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
31522 [!USE_AS_COMPAT]: Use libm_alias_float_other.
31523 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
31524 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
31525 * math/w_exp2f.c: Use libm_alias_float_other.
31526 * math/w_expf.c: Likewise.
31527 * math/w_log2f.c: Likewise.
31528 * math/w_logf.c: Likewise.
31529 * math/w_powf.c: Likewise.
31530 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
31531 [!__exp2f]: Use libm_alias_float_other.
31532 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
31533 [!__expf]: Use libm_alias_float_other.
31534 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
31535 [!__log2f]: Use libm_alias_float_other.
31536 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
31537 [!__logf]: Use libm_alias_float_other.
31538 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
31539 [!__powf]: Use libm_alias_float_other.
31541 2017-10-10 Florian Weimer <fweimer@redhat.com>
31543 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
31545 (_nss_files_gethostbyname3_r): Call it.
31547 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31549 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
31550 error. Remove default definition of declare_mgen_alias.
31551 [!declare_mgen_alias_r]: Likewise.
31552 * sysdeps/generic/math-type-macros-double.h
31553 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
31554 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
31555 (declare_mgen_alias_r): Likewise.
31556 * sysdeps/generic/math-type-macros-float128.h
31557 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31558 * sysdeps/generic/math-type-macros-ldouble.h
31559 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31560 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
31562 (declare_mgen_alias_r_s): Likewise.
31563 (declare_mgen_alias_r): Likewise.
31564 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
31565 (lgamma_r): Define using libm_alias_double_r.
31566 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
31567 (lgammaf_r): Define using libm_alias_float_r.
31568 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
31569 (lgammal_r): Define using libm_alias_ldouble_r.
31570 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
31571 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31573 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31575 * lib/glob.c (__glob_pattern_type): Remove now-spurious
31576 extern declaration.
31578 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31580 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
31582 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
31585 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
31586 [__cplusplus >= 201103] (__USE_ISOC99): Define.
31587 * math/Makefile (test-math-cxx11): New test.
31588 * math/test-math-cxx11.cc: New file.
31590 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
31592 * login/openpty.c (openpty): Close slave pty file descriptor on error.
31594 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
31595 call to allocate the slave pty file descriptor.
31597 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31599 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31600 [!__fma] (fma): Define using libm_alias_double.
31601 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31602 [!__fma] (fma): Define using libm_alias_double.
31604 * sysdeps/ieee754/float128/float128_private.h: Include
31605 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31606 (libm_alias_ldouble_r): Undefine and redefine.
31607 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31608 <libm-alias-ldouble.h>.
31609 (asinhl): Define using libm_alias_ldouble.
31610 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31611 <libm-alias-ldouble.h>.
31612 (atanl): Define using libm_alias_ldouble.
31613 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31614 <libm-alias-ldouble.h>.
31615 (cbrtl): Define using libm_alias_ldouble.
31616 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31617 <libm-alias-ldouble.h>.
31618 (ceill): Define using libm_alias_ldouble.
31619 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31620 <libm-alias-ldouble.h>.
31621 (copysignl): Define using libm_alias_ldouble.
31622 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31623 <libm-alias-ldouble.h>.
31624 (cosl): Define using libm_alias_ldouble.
31625 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31626 <libm-alias-ldouble.h>.
31627 (erfl): Define using libm_alias_ldouble.
31629 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31630 <libm-alias-ldouble.h>.
31631 (expm1l): Define using libm_alias_ldouble.
31632 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31633 <libm-alias-ldouble.h>.
31634 (fabsl): Define using libm_alias_ldouble.
31635 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31636 <libm-alias-ldouble.h>.
31637 (floorl): Define using libm_alias_ldouble.
31638 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31639 <libm-alias-ldouble.h>.
31640 (fmal): Define using libm_alias_ldouble.
31641 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31642 <libm-alias-ldouble.h>.
31643 (frexpl): Define using libm_alias_ldouble.
31644 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31645 libm_alias_ldouble.
31646 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31647 <libm-alias-ldouble.h>.
31648 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31649 libm_alias_ldouble.
31650 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31651 <libm-alias-ldouble.h>.
31652 (getpayloadl): Define using libm_alias_ldouble.
31653 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31654 <libm-alias-ldouble.h>.
31655 (llrintl): Define using libm_alias_ldouble.
31656 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31657 <libm-alias-ldouble.h>.
31658 (llroundl): Define using libm_alias_ldouble.
31659 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31660 <libm-alias-ldouble.h>.
31661 (logbl): Define using libm_alias_ldouble.
31662 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31663 <libm-alias-ldouble.h>.
31664 (lrintl): Define using libm_alias_ldouble.
31665 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31666 <libm-alias-ldouble.h>.
31667 (lroundl): Define using libm_alias_ldouble.
31668 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31669 <libm-alias-ldouble.h>.
31670 (modfl): Define using libm_alias_ldouble.
31671 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31672 <libm-alias-ldouble.h>.
31673 (nearbyintl): Define using libm_alias_ldouble.
31674 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31675 <libm-alias-ldouble.h>.
31676 (nextafterl): Define using libm_alias_ldouble.
31677 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31678 <libm-alias-ldouble.h>.
31679 (nextupl): Define using libm_alias_ldouble.
31680 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31681 <libm-alias-ldouble.h>.
31682 (remquol): Define using libm_alias_ldouble.
31683 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31684 <libm-alias-ldouble.h>.
31685 (rintl): Define using libm_alias_ldouble.
31686 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31687 <libm-alias-ldouble.h>.
31688 (roundevenl): Define using libm_alias_ldouble.
31689 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31690 <libm-alias-ldouble.h>.
31691 (roundl): Define using libm_alias_ldouble.
31692 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31693 using libm_alias_ldouble.
31694 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31695 <libm-alias-ldouble.h>.
31696 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31697 Define using libm_alias_ldouble.
31698 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31699 <libm-alias-ldouble.h>.
31700 (sincosl): Define using libm_alias_ldouble.
31701 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31702 <libm-alias-ldouble.h>.
31703 (sinl): Define using libm_alias_ldouble.
31704 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31705 <libm-alias-ldouble.h>.
31706 (tanhl): Define using libm_alias_ldouble.
31707 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31708 <libm-alias-ldouble.h>.
31709 (tanl): Define using libm_alias_ldouble.
31710 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31711 <libm-alias-ldouble.h>.
31712 (totalorderl): Define using libm_alias_ldouble.
31713 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31714 <libm-alias-ldouble.h>.
31715 (totalordermagl): Define using libm_alias_ldouble.
31716 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31717 <libm-alias-ldouble.h>.
31718 (truncl): Define using libm_alias_ldouble.
31719 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31720 libm_alias_ldouble.
31721 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31722 libm_alias_ldouble.
31723 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31724 <libm-alias-ldouble.h>.
31725 (weak_alias): Do not undefine and redefine.
31726 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31727 (copysignl): Define with long_double_symbol only if [IS_IN
31729 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31730 <libm-alias-ldouble.h>.
31731 (weak_alias): Do not undefine and redefine.
31732 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31733 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31734 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31735 <libm-alias-ldouble.h>.
31736 (weak_alias): Do not undefine and redefine.
31737 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31738 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31739 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31740 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31741 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31742 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31743 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31744 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31745 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31746 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31747 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31748 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31749 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31750 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31751 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31752 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31753 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31754 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31755 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31756 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31757 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31758 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31759 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31760 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31761 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31762 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31764 2017-10-06 Carlos O'Donell <carlos@redhat.com>
31767 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31768 (tcache_thread_freeres): Set tcache_shutting_down before
31769 freeing the tcache.
31770 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31771 * malloc/tst-malloc-tcache-leak.c: New file.
31773 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31775 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31776 back to powerpc32 file.
31777 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31778 (memrchr): Add __memrchr_power8 to ifunc list.
31779 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31780 extra bytes for unaligned inputs.
31782 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31784 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31785 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31786 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31787 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31788 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31790 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31792 * sysdeps/arm/libm-test-ulps: Update.
31794 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31795 <libm-alias-ldouble.h>.
31796 (asinhl): Define using libm_alias_ldouble.
31797 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31798 <libm-alias-ldouble.h>.
31799 (cbrtl): Define using libm_alias_ldouble.
31800 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31801 <libm-alias-ldouble.h>.
31802 (copysignl): Define using libm_alias_ldouble.
31803 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31804 <libm-alias-ldouble.h>.
31805 (cosl): Define using libm_alias_ldouble.
31806 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31807 <libm-alias-ldouble.h>.
31808 (erfl): Define using libm_alias_ldouble.
31810 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31811 <libm-alias-ldouble.h>.
31812 (fmal): Define using libm_alias_ldouble.
31813 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31814 <libm-alias-ldouble.h>.
31815 (frexpl): Define using libm_alias_ldouble.
31816 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31817 libm_alias_ldouble.
31818 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31819 <libm-alias-ldouble.h>.
31820 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31821 libm_alias_ldouble.
31822 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31823 <libm-alias-ldouble.h>.
31824 (getpayloadl): Define using libm_alias_ldouble.
31825 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31826 <libm-alias-ldouble.h>.
31827 (llrintl): Define using libm_alias_ldouble.
31828 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31829 <libm-alias-ldouble.h>.
31830 (llroundl): Define using libm_alias_ldouble.
31831 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31832 <libm-alias-ldouble.h>.
31833 (lrintl): Define using libm_alias_ldouble.
31834 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31835 <libm-alias-ldouble.h>.
31836 (lroundl): Define using libm_alias_ldouble.
31837 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31838 <libm-alias-ldouble.h>.
31839 (modfl): Define using libm_alias_ldouble.
31840 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31841 <libm-alias-ldouble.h>.
31842 (nextupl): Define using libm_alias_ldouble.
31843 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31844 <libm-alias-ldouble.h>.
31845 (remquol): Define using libm_alias_ldouble.
31846 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31847 <libm-alias-ldouble.h>.
31848 (roundevenl): Define using libm_alias_ldouble.
31849 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31850 <libm-alias-ldouble.h>.
31851 (roundl): Define using libm_alias_ldouble.
31852 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31853 using libm_alias_ldouble.
31854 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31855 <libm-alias-ldouble.h>.
31856 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31857 <libm-alias-ldouble.h>.
31858 (setpayloadsigl): Define using libm_alias_ldouble.
31859 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31860 <libm-alias-ldouble.h>.
31861 (sincosl): Define using libm_alias_ldouble.
31862 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31863 <libm-alias-ldouble.h>.
31864 (sinl): Define using libm_alias_ldouble.
31865 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31866 <libm-alias-ldouble.h>.
31867 (tanhl): Define using libm_alias_ldouble.
31868 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31869 <libm-alias-ldouble.h>.
31870 (tanl): Define using libm_alias_ldouble.
31871 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31872 <libm-alias-ldouble.h>.
31873 (totalorderl): Define using libm_alias_ldouble.
31874 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31875 <libm-alias-ldouble.h>.
31876 (totalordermagl): Define using libm_alias_ldouble.
31877 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31878 libm_alias_ldouble.
31879 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31880 libm_alias_ldouble.
31882 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31884 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31886 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31887 (__libc_ifunc_impl_list): Likewise.
31888 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31889 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31891 * benchtests/bench-memmove-walk.c: New file.
31892 * benchtests/Makefile (string-benchset): Add it.
31894 * benchtests/bench-memset-walk.c: New file.
31895 * benchtests/Makefile (string-benchset): Add it.
31897 * benchtests/bench-memcpy-walk.c: New file.
31898 * benchtests/Makefile (string-benchset): Add it.
31900 2017-10-05 Florian Weimer <fweimer@redhat.com>
31902 nscd: Eliminate compilation time dependency in the build output.
31903 * nscd/nscd_stat.c (STATDATA_VERSION)
31904 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31905 (STATDATA_VERSION_FULL): New macro definitions.
31906 (compilation): Remove.
31907 (struct statdata): Adjust version member.
31908 (send_stats): Set version from STATDATA_VERSION_FULL.
31909 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31911 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31913 * configure.ac (--enable-add-ons): Remove option.
31914 (machine): Do not mention add-ons in comment.
31915 (LIBC_PRECONFIGURE): Likewise.
31916 (add_ons): Remove variable and sanity checks and logic to locate
31918 (add_ons_automatic): Remove variable.
31919 (configured_add_ons): Likewise.
31920 (add_ons_sfx): Likewise.
31921 (add_ons_pfx): Likewise.
31922 (add_on_subdirs): Likewise.
31923 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31924 consideration of add-ons in Implies handling.
31925 (sysdeps_add_ons): Likewise.
31926 * configure: Regenerated.
31927 * libidn/configure.ac: Remove.
31928 * libidn/configure: Likewise.
31929 * sysdeps/unix/inet/configure.ac: New file.
31930 * sysdeps/unix/inet/configure: New generated file.
31931 * sysdeps/unix/inet/Subdirs: Add libidn.
31932 * Makeconfig (sysdeps-srcdirs): Remove variable.
31933 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31934 ($(common-objpfx)config.status): Do not depend on add-on files.
31935 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31937 (all-subdirs): Do not include $(add-on-subdirs).
31938 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31939 * config.make.in (add-ons): Remove variable.
31940 (add-on-subdirs): Likewise.
31941 (sysdeps-add-ons): Likewise.
31942 * manual/Makefile (add-chapters): Remove.
31943 ($(objpfx)texis): Do not depend on $(add-chapters).
31944 (nonexamples): Do not handle $(add-chapters).
31945 (examples): Do not handle $(add-ons).
31946 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31948 * manual/install.texi (Installation): Do not mention add-ons.
31949 (--enable-add-ons): Do not document configure option.
31950 * INSTALL: Regenerated.
31951 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31952 * manual/maint.texi (Hierarchy Conventions): Do not mention
31954 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31956 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31958 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31959 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31961 2017-10-05 Andreas Schwab <schwab@suse.de>
31964 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31965 (_IO_flush_all_lockp): Always lock list_all_lock.
31966 (_IO_flush_all_linebuffered): Likewise.
31967 (_IO_unbuffer_all): Likewise.
31969 2017-10-05 Florian Weimer <fweimer@redhat.com>
31972 Do not flush stdio streams on abort.
31973 * stdlib/abort.c (fflush): Remove macro definition.
31974 (abort): Remove stages related to stdio flushing.
31976 2017-10-05 Florian Weimer <fweimer@redhat.com>
31978 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31980 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31982 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31984 2017-10-05 Florian Weimer <fweimer@redhat.com>
31986 * support/support_format_hostent.c (support_format_hostent): Add
31987 more error information for NETDB_INTERNAL.
31989 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31991 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31992 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31993 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31994 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31995 AC_DEFINE if multi-arch is enabled.
31996 * sysdeps/i386/configure: Regenerated.
31998 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
32000 * Makeconfig (+link-static-before-libc): Use
32001 $(DEFAULT-LDFLAGS-$(@F)).
32002 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
32003 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
32004 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
32006 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
32008 * elf/Makefile (tests): Add tst-main1.
32009 (modules-names): Add tst-main1mod.
32010 ($(objpfx)tst-main1): New.
32011 (CRT-tst-main1): Likewise.
32012 (LDFLAGS-tst-main1): Likewise.
32013 (LDLIBS-tst-main1): Likewise.
32014 (tst-main1mod.so-no-z-defs): Likewise.
32015 * elf/tst-main1.c: New file.
32016 * elf/tst-main1mod.c: Likewise.
32018 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
32020 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
32022 2017-10-04 Joseph Myers <joseph@codesourcery.com>
32024 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
32025 (fma): Define using libm_alias_double.
32026 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
32027 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
32029 (fmal): Do not define as compat symbol here.
32030 * sysdeps/alpha/fpu/s_fma.c: New file.
32032 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
32034 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
32036 2017-10-04 Joseph Myers <joseph@codesourcery.com>
32039 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
32041 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
32043 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
32044 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
32045 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
32046 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
32047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32048 Include <math_ldbl_opt.h>
32049 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
32051 (compat_symbol): Undefine and redefine.
32052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
32054 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
32055 (compat_symbol): Undefine and redefine.
32056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
32057 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
32058 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
32059 GLIBC_2_1 for libm.
32060 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
32061 GLIBC_2.0 copysignl symbol.
32062 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32063 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
32065 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
32067 2017-10-04 Florian Weimer <fweimer@redhat.com>
32069 * scripts/check-local-headers.sh: Ignore nspr4 header file
32070 directory in addition to nspr.
32072 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
32075 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
32076 * configure: Regenerate.
32077 * crypt/Makefile (nss-cpp-flags): New variable.
32078 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
32079 (CPPFLAGS-md5-crypt.c): Use it.
32080 * scripts/check-local-headers.sh: Ignore nspr header file
32083 2017-10-04 Andreas Schwab <schwab@suse.de>
32085 * nis/Makefile (services): Remove compat.
32086 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
32087 ($(objpfx)libnss_compat.so): Remove rule.
32088 * nis/Versions (libnss_compat): Remove.
32089 * nss/Makefile (services): Add compat.
32090 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
32091 * nss/Versions (libnss_compat): Define.
32092 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
32093 Don't include <rpc/types.h>. Replace bool_t by bool.
32094 * nss/nss_compat/compat-initgroups.c: Likewise.
32095 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
32096 instead of <rpcsrv/ypclnt.h>.
32097 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
32098 yp_get_default_domain.
32099 * nss/nss_compat/compat-pwd.c: Likewise.
32100 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
32101 yp_get_default_domain.
32102 * nss/nss_compat/nisdomain.c: New file.
32103 * nss/nss_compat/nisdomain.h: Likewise.
32105 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
32108 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
32109 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32111 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
32114 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
32115 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
32117 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32119 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
32120 "movl main@GOTOFF(%ebx), %eax".
32122 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32124 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
32125 allow undefined _DYNAMIC in PIE libc.a.
32126 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32129 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32131 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
32134 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32136 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
32139 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32141 * math/test-math-iscanonical.cc (error): Replace bool with int.
32143 2017-10-03 Joseph Myers <joseph@codesourcery.com>
32145 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
32146 (modf): Define using libm_alias_double, only if [!__modf].
32147 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
32148 <libm-alias-double.h>.
32149 (modf): Define using libm_alias_double, only if [!__modf].
32150 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
32151 compat symbol here.
32152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
32153 (weak_alias): Do not undefine and redefine.
32154 (strong_alias): Likewise.
32155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
32156 (weak_alias): Likewise.
32157 (strong_alias): Likewise.
32159 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
32160 (logb): Define using libm_alias_double, only if [!__logb].
32161 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
32162 <libm-alias-double.h>.
32163 (logb): Define using libm_alias_double, only if [!__logb].
32164 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
32165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
32166 (weak_alias): Do not undefine and redefine.
32167 (strong_alias): Likewise.
32168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
32169 (weak_alias): Likewise.
32170 (strong_alias): Likewise.
32172 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32174 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
32175 Check SHARED instead PIC.
32177 2017-10-03 Joseph Myers <joseph@codesourcery.com>
32179 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
32180 [!__fmaf] (fmaf): Define using libm_alias_float.
32182 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
32183 (frexp): Define using libm_alias_double.
32184 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
32185 <libm-alias-double.h>.
32186 (frexp): Define using libm_alias_double.
32187 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
32188 compat symbol here.
32190 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32193 * math/math.h: Trivial fix for unbalanced parentheses in comment.
32194 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
32195 (CFLAGS-test-math-iscanonical.cc): New variable.
32196 * math/test-math-iscanonical.cc: New file.
32197 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
32198 Provide a C++ implementation based on function overloading,
32199 rather than using __MATH_TG, which uses C-only builtins.
32200 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
32202 * sysdeps/powerpc/powerpc64le/Makefile
32203 (CFLAGS-test-math-iscanonical.cc): New variable.
32205 2017-10-03 Joseph Myers <joseph@codesourcery.com>
32207 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
32208 (ceil): Define using libm_alias_double.
32209 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
32210 (floor): Define using libm_alias_double.
32211 * sysdeps/ieee754/dbl-64/s_llround.c: Include
32212 <libm-alias-double.h>.
32213 (llround): Define using libm_alias_double.
32214 * sysdeps/ieee754/dbl-64/s_lround.c: Include
32215 <libm-alias-double.h>.
32216 (lround): Define using libm_alias_double.
32217 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
32218 <libm-alias-double.h>.
32219 (nearbyint): Define using libm_alias_double.
32220 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
32221 <libm-alias-double.h>.
32222 (remquo): Define using libm_alias_double.
32223 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
32224 (rint): Define using libm_alias_double.
32225 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
32226 (round): Define using libm_alias_double.
32227 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
32228 (trunc): Define using libm_alias_double.
32229 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
32230 <libm-alias-double.h>.
32231 (ceil): Define using libm_alias_double.
32232 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
32233 <libm-alias-double.h>.
32234 (floor): Define using libm_alias_double.
32235 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
32236 <libm-alias-double.h>.
32237 (llround): Define using libm_alias_double.
32238 [_LP64] (lround): Likewise.
32239 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
32240 <libm-alias-double.h>.
32241 [!_LP64] (lround): Define using libm_alias_double.
32242 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
32243 <libm-alias-double.h>.
32244 (nearbyint): Define using libm_alias_double.
32245 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
32246 <libm-alias-double.h>.
32247 (remquo): Define using libm_alias_double.
32248 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
32249 <libm-alias-double.h>.
32250 (rint): Define using libm_alias_double.
32251 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
32252 <libm-alias-double.h>.
32253 (round): Define using libm_alias_double.
32254 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
32255 <libm-alias-double.h>.
32256 (trunc): Define using libm_alias_double.
32257 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
32258 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
32259 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
32260 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
32261 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
32262 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
32263 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
32264 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
32265 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
32267 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
32269 * math/w_remainder.c: New file.
32270 * math/w_remainderf.c: New file.
32271 * math/w_remainderl.c: New file.
32273 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32275 * elf/rtld.c (BOOTSTRAP_MAP): New.
32276 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
32277 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
32279 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
32281 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
32284 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32286 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
32287 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
32288 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
32289 rtld_hidden_data_ver): Define to empty.
32290 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
32291 __assert_perror_fail): Likewise.
32292 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32293 (__rewinddir): Likewise.
32294 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32295 (__profile_frequency): Likewise.
32296 * include/setjmp.h (__sigsetjmp): Likewise.
32297 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
32298 __libc_sigaction): Likewise.
32299 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
32300 not set hidden attribute.
32301 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
32302 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
32303 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
32304 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
32305 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
32306 __fxstatat64): Likewise.
32307 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32308 (__uname): Likewise.
32309 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32310 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
32311 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
32312 (NO_RTLD_HIDDEN): Set.
32313 * sysdeps/mach/hurd/configure: Refresh.
32314 * config.h.in: Refresh.
32316 2017-10-02 Joseph Myers <joseph@codesourcery.com>
32318 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
32319 (atan): Define using libm_alias_double.
32320 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
32321 (tan): Define using libm_alias_double.
32322 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
32323 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
32325 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
32326 define as weak alias of __atan. Do not define any aliases if
32328 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
32329 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
32330 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
32331 as weak alias of __tan. Do not define any aliases if [__tan].
32332 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
32333 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
32334 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
32336 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
32337 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
32338 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
32339 and define as weak alias of __atan.
32340 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
32342 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
32343 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
32344 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
32345 define as weak alias of __tan.
32347 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32349 * math/w_lgamma.c: New file.
32350 * math/w_lgammaf.c: New file.
32351 * math/w_lgammal.c: New file.
32353 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32355 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
32356 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
32357 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
32358 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
32359 * sysdeps/ieee754/flt-32/w_logf.c: New file.
32360 * sysdeps/ieee754/flt-32/w_powf.c: New file.
32361 * sysdeps/i386/fpu/w_log2f.c: New file.
32362 * sysdeps/i386/fpu/w_logf.c: New file.
32363 * sysdeps/i386/fpu/w_powf.c: New file.
32364 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
32365 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
32366 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
32368 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32369 H.J. Lu <hongjiu.lu@intel.com>
32371 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
32372 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
32373 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
32374 * sysdeps/ieee754/flt-32/w_expf.c: New file.
32375 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
32377 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
32378 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
32379 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
32380 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
32381 * sysdeps/i386/fpu/w_exp2f.c: New file.
32382 * sysdeps/i386/fpu/w_expf.c: New file.
32383 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
32384 * sysdeps/x86_64/fpu/w_expf.c: New file.
32386 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32388 * math/Versions (logf): New libm symbol at GLIBC_2.27.
32391 * math/w_log2f.c: New file.
32392 * math/w_logf.c: New file.
32393 * math/w_powf.c: New file.
32394 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
32395 * math/w_logf_compat.c (__logf_compat): Likewise.
32396 * math/w_powf_compat.c (__powf_compat): Likewise.
32397 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
32398 * sysdeps/ia64/fpu/e_logf.S: Likewise.
32399 * sysdeps/ia64/fpu/e_powf.S: Likewise.
32400 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32401 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32402 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32403 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32404 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32405 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32406 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32407 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32408 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32409 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32410 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32411 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32420 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32421 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32422 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32423 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32424 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32429 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32430 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32431 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32433 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32435 * sysdeps/powerpc/powerpc64/multiarch/Makefile
32436 (sysdep_routines): Add memrchr_power8.
32437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32438 (memrchr): Add __memrchr_power8 to list of memrchr functions.
32439 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
32441 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
32442 (memrchr): Add __memrchr_power8 to ifunc list.
32443 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
32445 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32448 * sysdeps/unix/sysv/linux/posix_fadvise64.c
32449 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
32451 * sysdeps/unix/sysv/linux/posix_fallocate64.c
32452 (__posix_fallocate64_l64): Likewise.
32454 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32457 * sysdeps/unix/sysv/linux/sched_setaffinity.c
32458 (__sched_setaffinity_new): Add libc_hidden_proto and
32461 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32464 * include/glob.h (__glob64): Add libc_hidden_proto.
32465 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
32468 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32471 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
32474 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32477 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
32479 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32482 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
32485 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32488 * csu/version.c (__libc_print_version): Add attribute_hidden.
32490 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32493 * include/libc-internal.h (__init_misc): Add attribute_hidden.
32495 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32498 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
32500 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32503 * nscd/nscd_helper.c (__nis_hash): New prototype.
32505 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32508 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
32509 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
32511 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32512 * termios/tcgetattr.c (__tcgetattr): Likewise.
32514 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32517 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
32518 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
32519 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
32520 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
32521 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
32523 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32526 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
32528 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32531 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
32532 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
32534 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32537 * intl/hash-string.h (__hash_string): Add attribute_hidden.
32539 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32542 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
32543 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
32545 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32548 * include/ifreq.h: New file.
32549 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
32550 (__ifreq): Likewise.
32551 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
32552 (__ifreq): Likewise.
32554 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32557 * include/idna.h: New file.
32558 * inet/getnameinfo.c: Include <idna.h> instead of
32560 (__idna_to_unicode_lzlz): Removed.
32561 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
32563 (__idna_to_ascii_lz): Removed.
32564 (__idna_to_unicode_lzlz): Likewise.
32566 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32569 * include/plural-exp.h: New file.
32570 * intl/plural-exp.c: Include <plural-exp.h> instead of
32573 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32576 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
32577 "getsourcefilter.h".
32578 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
32579 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
32580 "getsourcefilter.h".
32581 (__get_sol): Removed.
32583 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32586 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
32588 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
32590 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32593 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
32596 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32599 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32601 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32604 * include/search.h (__tdestroy): Add libc_hidden_proto.
32605 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32607 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32610 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32612 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32615 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32618 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32621 * include/signal.h (__kill): Add libc_hidden_proto.
32622 (__sigblock): Likewise.
32623 (__sigprocmask): Likewise.
32624 (__sigaltstack): Likewise.
32625 * signal/kill.c (__kill): Add libc_hidden_def.
32626 * signal/sigblock.c (__sigblock): Likewise.
32627 * signal/sigprocmask.c (__sigprocmask): Likewise.
32628 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32629 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32630 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32631 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32632 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32634 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32636 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32637 (__sigprocmask): Likewise.
32638 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32640 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32641 (__sigprocmask): Likewise.
32642 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32645 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32648 * include/string.h (__strsep): Add libc_hidden_proto.
32649 * string/strsep.c (__strsep): Add libc_hidden_def.
32651 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32654 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32656 (__spawni): Likewise.
32658 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32661 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32662 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32668 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32670 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32673 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32674 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32675 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32676 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32677 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32679 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32680 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32682 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32685 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32686 (__dcigettext): Likewise.
32688 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32691 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32693 (__get_nprocs): Likewise.
32694 (__get_phys_pages): Likewise.
32695 (__get_avphys_pages): Likewise.
32696 (__get_child_max): Add attribute_hidden.
32697 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32698 (__get_nprocs): Likewise.
32699 (__get_phys_pages): Likewise.
32700 (__get_avphys_pages): Likewise.
32701 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32703 (__get_nprocs): Likewise.
32704 (__get_phys_pages): Likewise.
32705 (__get_avphys_pages): Likewise.
32706 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32708 (__get_nprocs_conf): Likewise.
32709 (__get_phys_pages): Likewise.
32710 (__get_avphys_pages): Likewise.
32712 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32715 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32717 (__netlink_close): Likewise.
32718 (__netlink_free_handle): Likewise.
32719 (__netlink_request): Likewise.
32721 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32724 * include/rpc/rpc.h (__rpc_thread_variables): Add
32726 (__rpc_thread_svc_cleanup): Likewise.
32727 (__rpc_thread_clnt_cleanup): Likewise.
32728 (__rpc_thread_key_cleanup): Likewise.
32730 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32733 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32734 (__writev): Likewise.
32735 * misc/readv.c (__readv): Add libc_hidden_def.
32736 * misc/writev.c (__writev): Likewise.
32737 * sysdeps/posix/readv.c (__readv): Likewise.
32738 * sysdeps/posix/writev.c (__writev): Likewise.
32739 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32740 (__readv): Likewise.
32741 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32742 (__writev): Likewise.
32744 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32747 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32748 (__regcomp): Add libc_hidden_proto.
32749 (__regexec): Likewise.
32750 (__regfree): Likewise.
32751 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32752 (__regfree): Likewise.
32753 * posix/regexec.c (__regexec): Likewise.
32755 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32758 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32759 (__getutent): Likewise.
32760 (__getutid): Likewise.
32761 (__getutline): Likewise.
32762 (__pututline): Likewise.
32763 (__getutent_r): Likewise.
32764 (__getutid_r): Likewise.
32765 (__getutline_r): Likewise.
32766 (__utmpname): Add attribute_hidden.
32767 (__setutent): Likewise.
32768 (__endutent): Likewise.
32769 * login/getutent.c (__getutent): Add libc_hidden_def.
32770 * login/getutent_r.c (__getutent_r): Likewise.
32771 (__pututline): Likewise.
32772 * login/getutid.c (__getutid): Likewise.
32773 * login/getutid_r.c (__getutid_r): Likewise.
32774 * login/getutline.c (__getutline): Likewise.
32775 * login/getutline_r.c (__getutline_r): Likewise.
32776 * login/updwtmp.c (__updwtmp): Likewise.
32778 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32781 * include/dirent.h (__opendir): Always add attribute_hidden.
32782 (__fdopendir): Likewise.
32783 (__closedir): Likewise.
32784 (__readdir): Likewise.
32785 (__readdir64): Add libc_hidden_proto.
32786 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32787 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32788 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32789 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32792 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32795 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32796 * include/netdb.h (__gethostbyaddr_r): Likewise.
32797 (__gethostbyname_r): Likewise.
32798 (__gethostbyname2_r): Likewise.
32799 (__getnetbyaddr_r): Likewise.
32800 (__getnetbyname_r): Likewise.
32801 (__getservbyname_r): Likewise.
32802 (__getservbyport_r): Likewise.
32803 (__getprotobyname_r): Likewise.
32804 (__getprotobynumber_r): Likewise.
32805 (__getnetgrent_r): Likewise.
32806 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32807 (__getrpcbynumber_r): Likewise.
32808 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32810 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32813 * include/stdio.h (__fcloseall): Add attribute_hidden.
32814 (__getline): Likewise.
32815 (__path_search): Likewise.
32816 (__gen_tempname): Likewise.
32817 (__libc_message): Likewise.
32818 (__flockfile): Likewise.
32819 (__funlockfile): Likewise.
32820 (__fxprintf): Likewise.
32821 (__fxprintf_nocancel): Likewise.
32823 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32826 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32827 (__sgetsgent_r): Likewise.
32829 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32832 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32833 (__statfs64): Likewise.
32834 (__fstatfs64): Likewise.
32835 * include/sys/statvfs.h (__statvfs64): Likewise.
32836 (__fstatvfs64): Likewise.
32837 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32838 (__statfs_filesize_max): Likewise.
32839 (__statfs_symlinks): Likewise.
32840 (__statfs_chown_restricted): Likewise.
32842 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32845 * include/time.h (__tzstring): Add attribute_hidden.
32846 (__tzfile_read): Likewise.
32847 (__tzfile_compute): Likewise.
32848 (__tzfile_default): Likewise.
32849 (__tzset_parse_tz): Likewise.
32850 (__offtime): Likewise.
32851 (__asctime_r): Likewise.
32852 (__tzset): Likewise.
32853 (__tz_convert): Likewise.
32854 (__getdate_r): Likewise.
32855 (__getclktck): Likewise.
32857 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32860 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32861 (__nscd_unmap): Likewise.
32862 (__nscd_cache_search): Likewise.
32863 (__nscd_get_nl_timestamp): Likewise.
32864 (__nscd_getpwnam_r): Likewise.
32865 (__nscd_getpwuid_r): Likewise.
32866 (__nscd_getgrnam_r): Likewise.
32867 (__nscd_getgrgid_r): Likewise.
32868 (__nscd_gethostbyname_r): Likewise.
32869 (__nscd_gethostbyname2_r): Likewise.
32870 (__nscd_gethostbyaddr_r): Likewise.
32871 (__nscd_getai): Likewise.
32872 (__nscd_getgrouplist): Likewise.
32873 (__nscd_getservbyname_r): Likewise.
32874 (__nscd_getservbyport_r): Likewise.
32875 (__nscd_innetgr): Likewise.
32876 (__nscd_setnetgrent): Likewise.
32878 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32881 * include/gmp.h: Declare internal functions only if _ISOMAC is
32883 (__mpn_extract_double): Add attribute_hidden.
32884 (__mpn_extract_long_double): Likewise.
32885 (__mpn_extract_float128): Likewise.
32886 (__mpn_construct_float): Likewise.
32887 (__mpn_construct_double): Likewise.
32888 (__mpn_construct_long_double): Likewise.
32889 (__mpn_construct_float128): Likewise.
32890 (mpn_add_1): Likewise.
32891 (mpn_addmul_1): Likewise.
32892 (mpn_add_n): Likewise.
32893 (mpn_cmp): Likewise.
32894 (mpn_divrem): Likewise.
32895 (mpn_lshift): Likewise.
32896 (mpn_mul): Likewise.
32897 (mpn_mul_1): Likewise.
32898 (mpn_rshift): Likewise.
32899 (mpn_sub_1): Likewise.
32900 (mpn_submul_1): Likewise.
32901 (mpn_sub_n): Likewise.
32903 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32906 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32907 (__wcscat): Likewise.
32908 (__btowc): Likewise.
32909 (__wcrtomb): Likewise.
32910 (__mbsrtowcs): Likewise.
32911 (__wcsrtombs): Likewise.
32912 (__mbsnrtowcs): Likewise.
32913 (__wcsnrtombs): Likewise.
32914 (__wcsncpy): Likewise.
32915 (__wcpncpy): Likewise.
32916 (__wmemcpy): Likewise.
32917 (__wmempcpy): Likewise.
32918 (__wmemmove): Likewise.
32919 (__wcschrnul): Likewise.
32920 (__vfwscanf): Likewise.
32921 (__vswprintf): Likewise.
32922 (__fwprintf): Likewise.
32923 (__vfwprintf): Likewise.
32925 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32928 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32929 (__getgrgid_r): Likewise.
32930 (__getgrnam_r): Likewise.
32931 * include/pwd.h (__getpwuid_r): Likewise.
32932 (__getpwnam_r): Likewise.
32933 (__fgetpwent_r): Likewise.
32934 * include/shadow.h (__getspnam_r): Likewise.
32935 (__sgetspent_r): Likewise.
32936 (__fgetspent_r): Likewise.
32938 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32941 * include/unistd.h (__access): Add attribute_hidden.
32942 (__lseek64): Likewise.
32943 (__libc_pread64): Likewise.
32944 (__pipe2): Likewise.
32945 (__sleep): Likewise.
32946 (__chdir): Likewise.
32947 (__fchdir): Likewise.
32948 (__getcwd): Likewise.
32949 (__rmdir): Likewise.
32950 (__execvpe): Likewise.
32951 (__execve): Likewise.
32952 (__setsid): Likewise.
32953 (__getuid): Likewise.
32954 (__geteuid): Likewise.
32955 (__getgid): Likewise.
32956 (__getegid): Likewise.
32957 (__getgroups): Likewise.
32958 (__group_member): Likewise.
32959 (__ttyname_r): Likewise.
32960 (__isatty): Likewise.
32961 (__readlink): Likewise.
32962 (__unlink): Likewise.
32963 (__gethostname): Likewise.
32964 (__profil): Likewise.
32965 (__getdtablesize): Likewise.
32967 (__ftruncate): Likewise.
32968 (__ftruncate64): Likewise.
32970 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32973 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32974 * argp/argp-fs-xinl.c: Likewise.
32975 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32976 * argp/argp-parse.c: Include <argp.h>.
32977 * argp/argp-xinl.c: Likewise.
32978 * include/argp-fmtstream.h: New file.
32979 * include/argp.h (__argp_error): Add attribute_hidden.
32980 (__argp_failure): Likewise.
32981 (__argp_input): Likewise.
32982 (__argp_state_help): Likewise.
32984 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32987 * include/wchar.h (____wcstof_l_internal): New prototype.
32988 (____wcstod_l_internal): Likewise.
32989 (____wcstold_l_internal): Likewise.
32990 (____wcstol_l_internal): Likewise.
32991 (____wcstoul_l_internal): Likewise.
32992 (____wcstoll_l_internal): Likewise.
32993 (____wcstoull_l_internal): Likewise.
32994 (____wcstof128_l_internal): Likewise.
32995 * sysdeps/ieee754/float128/wcstof128.c
32996 (____wcstof128_l_internal): Removed.
32997 * sysdeps/ieee754/float128/wcstof128_l.c
32998 (____wcstof128_l_internal): Likewise.
32999 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
33000 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
33001 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
33002 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
33003 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
33004 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
33005 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
33006 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
33007 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
33008 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
33010 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
33013 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
33014 instead of <sys/statvfs.h>.
33015 (__internal_statvfs): Removed.
33016 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
33017 instead of <sys/statvfs.h>.
33018 (__internal_statvfs64): Removed.
33019 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
33020 "internal_statvfs.h" instead of <sys/statvfs.h>.
33021 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
33022 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
33023 instead of <sys/statvfs.h>.
33024 (__internal_statvfs): Removed.
33025 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
33026 instead of <sys/statvfs.h>.
33027 (__internal_statvfs64): Removed.
33029 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
33032 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
33033 (__gconv_close): Likewise.
33034 (__gconv): Likewise.
33035 (__gconv_find_transform): Likewise.
33036 (__gconv_lookup_cache): Likewise.
33037 (__gconv_compare_alias_cache): Likewise.
33038 (__gconv_load_cache): Likewise.
33039 (__gconv_get_path): Likewise.
33040 (__gconv_close_transform): Likewise.
33041 (__gconv_release_cache): Likewise.
33042 (__gconv_find_shlib): Likewise.
33043 (__gconv_release_shlib): Likewise.
33044 (__gconv_get_builtin_trans): Likewise.
33045 (__gconv_compare_alias): Likewise.
33046 * include/dlfcn.h (_dlerror_run): Likewise.
33047 * include/stdio.h (__fortify_fail_abort): Likewise.
33048 * include/time.h (__tz_compute): Likewise.
33049 (__strptime_internal): Likewise.
33050 * intl/gettextP.h (_nl_find_domain): Likewise.
33051 (_nl_load_domain): Likewise.
33052 (_nl_find_msg): Likewise.
33053 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
33054 (EXTRACT_PLURAL_EXPRESSION): Likewise.
33055 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
33056 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
33057 (__gai_find_request): Likewise.
33058 (__gai_remove_request): Likewise.
33059 (__gai_notify): Likewise.
33060 (__gai_notify_only): Likewise.
33061 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33062 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33063 (_dl_non_dynamic_init): Likewise.
33064 (_dl_aux_init): Likewise.
33065 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
33066 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33068 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
33069 (__wcsmbs_clone_conv): Likewise.
33070 (__wcsmbs_named_conv): Likewise.
33072 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
33075 * include/stdlib.h (__random): Add attribute_hidden.
33076 (__random_r): Likewise.
33077 (__srandom_r): Likewise.
33078 (__initstate_r): Likewise.
33079 (__setstate_r): Likewise.
33080 (__erand48_r): Likewise.
33081 (__nrand48_r): Likewise.
33082 (__jrand48_r): Likewise.
33083 (__srand48_r): Likewise.
33084 (__seed48_r): Likewise.
33085 (__lcong48_r): Likewise.
33086 (__drand48_iterate): Likewise.
33087 (__setenv): Likewise.
33088 (__unsetenv): Likewise.
33089 (__clearenv): Likewise.
33090 (__ptsname_r): Likewise.
33091 (__posix_openpt): Likewise.
33092 (__add_to_environ): Likewise.
33093 (__realpath): Add libc_hidden_proto.
33094 (__ecvt_r): Likewise.
33095 (__fcvt_r): Likewise.
33096 (__qecvt_r): Likewise.
33097 (__qfcvt_r): Likewise.
33098 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
33099 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
33101 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
33104 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
33105 * include/time.h (__mktime_internal): Likewise.
33106 * libio/iolibio.h (__fopen_internal): Likewise.
33108 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
33110 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
33112 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
33113 Correct offset used to restore PIC register.
33115 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
33118 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
33119 code to load address of __getcontext_ret when generating PIC code.
33121 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
33123 * elf/Makefile (tests-static-internal): Add
33124 tst-tls1-static-non-pie.
33125 (LDFLAGS-tst-tls1-static-non-pie): New.
33126 * elf/tst-tls1-static-non-pie.c: New file.
33128 2017-09-29 Joseph Myers <joseph@codesourcery.com>
33130 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
33131 (asinh): Define using libm_alias_double.
33132 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
33133 (cbrt): Define using libm_alias_double.
33134 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
33135 <libm-alias-double.h>.
33136 (copysign): Define using libm_alias_double.
33137 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
33138 (erf): Define using libm_alias_double.
33140 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
33141 (expm1): Define using libm_alias_double.
33142 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
33143 (fabs): Define using libm_alias_double.
33144 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
33146 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
33147 <libm-alias-double.h>.
33148 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
33150 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
33151 <libm-alias-double.h>.
33152 (getpayload): Define using libm_alias_double.
33153 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
33154 <libm-alias-double.h>.
33155 (llrint): Define using libm_alias_double.
33156 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
33157 (lrint): Define using libm_alias_double.
33158 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
33159 <libm-alias-double.h>.
33160 (nextup): Define using libm_alias_double.
33161 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
33162 <libm-alias-double.h>.
33163 (roundeven): Define using libm_alias_double.
33164 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
33166 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
33167 <libm-alias-double.h>.
33168 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
33169 using libm_alias_double.
33170 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
33171 (cos): Define using libm_alias_double.
33173 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
33174 <libm-alias-double.h>.
33175 (sincos): Define using libm_alias_double.
33176 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
33177 (tanh): Define using libm_alias_double.
33178 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
33179 <libm-alias-double.h>.
33180 (totalorder): Define using libm_alias_double.
33181 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
33182 <libm-alias-double.h>.
33183 (totalordermag): Define using libm_alias_double.
33184 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
33186 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
33188 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
33189 <libm-alias-double.h>.
33190 (getpayload): Define using libm_alias_double.
33191 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
33192 <libm-alias-double.h>.
33193 (roundeven): Define using libm_alias_double.
33194 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
33195 <libm-alias-double.h>.
33196 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
33197 <libm-alias-double.h>.
33198 (totalorder): Define using libm_alias_double.
33199 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
33200 <libm-alias-double.h>.
33201 (totalordermag): Define using libm_alias_double.
33202 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
33203 libc compat symbol here.
33204 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
33205 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
33206 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
33207 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
33208 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
33209 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
33210 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
33211 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
33212 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
33213 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
33215 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
33217 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
33218 _dl_relocate_static_pie instead of _dl_start to compute load
33219 address in static PIE. Return 0 if _DYNAMIC is undefined for
33222 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
33224 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
33225 _DYNAMIC is undefined for static executable.
33227 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
33229 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
33231 2017-09-29 Joseph Myers <joseph@codesourcery.com>
33233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33235 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
33237 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
33238 (__ieee754_lgamma_r): Use fabs rather than __fabs.
33239 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33240 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33241 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
33242 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
33243 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33244 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
33245 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
33246 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
33247 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
33248 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
33249 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33250 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
33251 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
33252 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33253 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
33255 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
33257 * math/bits/cmathcalls.h (cimag): Remove inline.
33258 (creal): Remove inline.
33259 (conj): Remove inline.
33261 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33263 * math/Makefile (type-float-routines): Add e_powf_log2_data.
33264 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
33265 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
33266 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
33267 (issignalingf_inline): Likewise.
33268 (POWF_LOG2_TABLE_BITS): Likewise.
33269 (POWF_LOG2_POLY_ORDER): Likewise.
33270 (POWF_SCALE_BITS): Likewise.
33271 (POWF_SCALE): Likewise.
33272 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
33273 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
33274 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
33276 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33278 * math/Makefile (type-float-routines): Add e_log2f_data.
33279 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
33280 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
33281 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
33282 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
33283 * sysdeps/i386/fpu/e_log2f_data.c: New file.
33284 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
33285 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
33287 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33289 * math/Makefile (type-float-routines): Add e_logf_data.
33290 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
33291 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
33292 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
33293 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
33294 * sysdeps/i386/fpu/e_logf_data.c: New file.
33295 * sysdeps/ia64/fpu/e_logf_data.c: New file.
33296 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
33298 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
33300 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
33301 undefined _DYNAMIC in PIE libc.a.
33302 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
33305 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
33307 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
33308 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
33309 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
33310 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
33311 (__signbit): Remove.
33312 (__signbitl): Remove.
33313 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
33314 (__signbit): Remove.
33315 (__signbitl): Remove.
33316 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
33317 (__signbit): Remove.
33318 (__signbitl): Remove.
33319 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
33320 (__signbit): Remove.
33321 (__signbitl): Remove.
33322 * sysdeps/tile/bits/mathinline.h: Delete file.
33323 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
33324 (__signbit): Remove.
33325 (__signbitl): Remove.
33327 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
33329 * math/math.h: Improve handling of C99 isgreater macros.
33330 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
33331 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
33332 * sysdeps/powerpc/bits/mathinline.h: Likewise.
33333 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33334 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
33336 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
33338 * sysdeps/aarch64/libm-test-ulps: Update.
33340 2017-09-28 Joseph Myers <joseph@codesourcery.com>
33343 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33344 math_opt_barrier on argument when doing arithmetic on it.
33345 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33346 Likewise. Use math_force_eval not math_opt_barrier after
33348 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
33349 math_opt_barrier on argument when doing arithmetic on it.
33350 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33353 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
33355 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
33357 (__freeifaddrs): Likewise.
33359 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33361 * include/dirent.h (__dirfd): New declaration.
33362 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
33364 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
33365 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
33366 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
33367 * include/unistd.h (__revoke): New declaration.
33368 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
33370 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
33371 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
33373 * include/dirent.h (__seekdir): New declaration.
33374 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
33375 redefine as weak alias.
33376 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
33378 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
33379 and use libc_hidden_def on them.
33380 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
33382 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
33383 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
33384 instead of getifaddrs and freeifaddrs.
33386 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
33389 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
33390 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
33391 (__dso_handle): Remove declaration.
33392 * dlfcn/tstatexit.c (__dso_handle): Removed.
33393 (main): Don't check __dso_handle.
33394 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
33395 (main): Don't check __dso_handle.
33396 * include/dso_handle.h: New file.
33397 * malloc/mtrace.c: Include <dso_handle.h>.
33398 (mtrace): Pass __dso_handle directly.
33399 * nptl/pthread_atfork.c: Include <dso_handle.h>.
33400 (__dso_handle): Remove declaration.
33401 (__pthread_atfork): Pass __dso_handle directly.
33402 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
33403 (__dso_handle): Removed.
33404 * posix/wordexp-test.c: Include <dso_handle.h>.
33405 (__dso_handle): Remove declaration.
33406 (__app_register_atfork): Pass __dso_handle directly.
33407 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
33408 (__dso_handle): Remove declaration.
33409 (at_quick_exit): Pass __dso_handle directly.
33410 * stdlib/atexit.c: Include <dso_handle.h>.
33411 (__dso_handle): Remove declaration.
33412 (atexit): Pass __dso_handle directly.
33413 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
33414 (__dso_handle): Removed.
33416 2017-09-26 Joseph Myers <joseph@codesourcery.com>
33418 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
33421 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
33423 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
33424 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
33425 values to correct default value for given type.
33427 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
33430 * elf/Makefile (tests): Add tst-debug1.
33431 ($(objpfx)tst-debug1): New.
33432 ($(objpfx)tst-debug1.out): Likewise.
33433 ($(objpfx)tst-debug1mod1.so): Likewise.
33434 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
33435 with p_filesz == 0.
33436 * elf/tst-debug1.c: New file.
33438 2017-09-26 Joseph Myers <joseph@codesourcery.com>
33440 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
33441 Define using __ifunc.
33443 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33445 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
33448 2017-09-26 Joseph Myers <joseph@codesourcery.com>
33451 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
33453 2017-09-26 Florian Weimer <fweimer@redhat.com>
33455 * resolv/Makefile (tests-internal): Fix typo in comment.
33457 2017-09-26 Florian Weimer <fweimer@redhat.com>
33459 * resolv/nss_dns/dns-host.c: Fix typo in comment.
33461 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33463 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
33464 Use an union instead of a max_align_t array for __space,
33465 so that __space is the same size on all platforms.
33466 * malloc/scratch_buffer_grow_preserve.c
33467 (__libc_scratch_buffer_grow_preserve): Likewise.
33470 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
33472 * posix/Makefile (routines): Add glob-lstat-compat and
33473 glob64-lstat-compat.
33474 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
33475 * posix/glob-lstat-compat.c: New file.
33476 * posix/glob64-lstat-compat.c: Likewise.
33477 * posix/tst-glob_lstat_compat.c: Likewise.
33478 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
33479 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
33480 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
33481 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
33483 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
33484 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33485 * posix/glob.c (glob_lstat): New function.
33486 (glob): Rename to __glob and add versioned symbol to 2.27.
33487 (glob_in_dir): Use glob_lstat.
33488 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
33489 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
33490 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
33492 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
33493 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
33494 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
33495 gl_lstat on glob call.
33496 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
33497 and glob64 symbols.
33498 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
33499 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
33500 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
33501 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
33502 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
33503 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
33504 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
33505 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
33506 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
33507 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
33508 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
33509 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
33510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
33512 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
33513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
33514 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
33515 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
33516 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
33517 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
33518 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
33519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
33520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
33521 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
33522 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
33523 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
33525 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
33527 * configure.ac (AS): Require binutils 2.25 or later.
33528 * configure: Regenerated.
33530 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33533 * stdlib/test-atexit-race-common.c (do_test): Minimize required
33536 2017-09-25 DJ Delorie <dj@redhat.com>
33539 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
33542 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
33544 * sysdeps/ieee754/dbl-64/sincos32.h
33545 [SINCCOS32_H]: Remove define.
33546 [SINCOS32_H]: Define.
33548 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33550 * math/Versions (expf): New libm symbol at GLIBC_2.27.
33552 * math/w_exp2f.c: New file.
33553 * math/w_expf.c: New file.
33554 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
33555 * math/w_expf_compat.c (__expf_compat): Likewise.
33556 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
33557 * sysdeps/ia64/fpu/e_expf.S: Likewise.
33558 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
33559 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
33560 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
33561 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
33562 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
33563 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
33564 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
33565 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
33566 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
33567 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33568 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
33569 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
33570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
33572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
33576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
33578 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
33579 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
33580 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
33581 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
33582 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
33583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
33585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
33587 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
33588 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
33589 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
33591 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33593 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
33594 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
33595 (roundtoint, converttoint): Likewise.
33596 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
33597 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33598 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33599 * sysdeps/ieee754/flt-32/math_config.h: New file.
33600 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33601 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33602 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33603 * sysdeps/i386/fpu/math_errf.c: New file.
33604 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33605 * sysdeps/ia64/fpu/math_errf.c: New file.
33606 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33607 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33609 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33611 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33612 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33613 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33614 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33615 to make sure that these symbols are defined.
33616 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33618 (__need_NULL): Do not define.
33619 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33621 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33622 CMGROUP_MAX, cmsgcred): Do not define.
33623 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33625 * bits/socket.h: Likewise.
33626 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33627 __gettimeofday instead of gettimeofday.
33628 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33629 instead of settimeofday.
33631 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33633 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33634 (asinhf): Define using libm_alias_float.
33635 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33636 (atanf): Define using libm_alias_float.
33637 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33638 (cbrtf): Define using libm_alias_float.
33639 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33640 (ceilf): Define using libm_alias_float.
33641 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33642 <libm-alias-float.h>.
33643 (copysignf): Define using libm_alias_float.
33644 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33645 (cosf): Define using libm_alias_float.
33646 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33647 (erff): Define using libm_alias_float.
33649 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33650 (expm1f): Define using libm_alias_float.
33651 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33652 (fabsf): Define using libm_alias_float.
33653 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33654 (floorf): Define using libm_alias_float.
33655 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33656 (frexpf): Define using libm_alias_float.
33657 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33659 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33660 <libm-alias-float.h>.
33661 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33663 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33664 <libm-alias-float.h>.
33665 (getpayloadf): Define using libm_alias_float.
33666 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33667 <libm-alias-float.h>.
33668 (llrintf): Define using libm_alias_float.
33669 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33670 <libm-alias-float.h>.
33671 (llroundf): Define using libm_alias_float.
33672 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33673 (logbf): Define using libm_alias_float.
33674 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33675 (lrintf): Define using libm_alias_float.
33676 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33677 (lroundf): Define using libm_alias_float.
33678 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33679 (modff): Define using libm_alias_float.
33680 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33681 <libm-alias-float.h>.
33682 (nearbyintf): Define using libm_alias_float.
33683 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33684 <libm-alias-float.h>.
33685 (nextafterf): Define using libm_alias_float.
33686 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33687 <libm-alias-float.h>.
33688 (nextupf): Define using libm_alias_float.
33689 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33690 <libm-alias-float.h>.
33691 (remquof): Define using libm_alias_float.
33692 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33693 (rintf): Define using libm_alias_float.
33694 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33695 <libm-alias-float.h>.
33696 (roundevenf): Define using libm_alias_float.
33697 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33698 (roundf): Define using libm_alias_float.
33699 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33700 using libm_alias_float.
33701 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33702 <libm-alias-float.h>.
33703 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33704 Define using libm_alias_float.
33705 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33706 <libm-alias-float.h>.
33707 (sincosf): Define using libm_alias_float.
33708 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33709 (sinf): Define using libm_alias_float.
33710 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33711 (tanf): Define using libm_alias_float.
33712 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33713 (tanhf): Define using libm_alias_float.
33714 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33715 <libm-alias-float.h>.
33716 (totalorderf): Define using libm_alias_float.
33717 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33718 <libm-alias-float.h>.
33719 (totalordermagf): Define using libm_alias_float.
33720 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33721 (truncf): Define using libm_alias_float.
33722 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33724 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33727 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33730 math/math.h: Let fpclassify use the builtin in C++ mode, even
33731 when optimazing for size.
33733 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33735 * csu/Makefile (generated): Do not add version-info.h.
33736 (before-compile): Likewise.
33737 (all-Banner-files): Remove variable.
33738 ($(objpfx)version-info.h): Remove rule.
33739 * csu/version.c (banner): Do not include "version-info.h".
33740 * libidn/Banner: Remove.
33741 * manual/contrib.texi (Simon Josefsson): New entry.
33743 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33745 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33746 Remove conditionals on LDBL_MANT_DIG.
33747 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33748 (__ieee754_lgammal_r): Likewise.
33750 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33752 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33754 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33755 _Float128 and L(). Replace _Float128 with long double and L(x)
33756 with xL, throughout the file.
33757 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33758 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33759 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33760 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33762 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33764 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33765 sysdeps/ieee754/ldbl-128ibm.
33766 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33767 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33768 of including it. Keep _Float128 and L() intact. These will be
33769 reviewed by a separate patch.
33770 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33771 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33772 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33773 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33775 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33778 (__finitef128): Define to __redirect___finitef128.
33779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33780 (__isinff128): Define to __redirect___isinff128.
33781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33782 (__isnanf128): Define to __redirect___isnanf128.
33784 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33786 * sysdeps/powerpc/powerpc64le/Makefile
33787 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33788 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33790 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33791 Carlos O'Donell <carlos@redhat.com>
33794 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33795 * stdlib/test-dlclose-exit-race.c: New file.
33796 * stdlib/test-dlclose-exit-race-helper.c: New file.
33797 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33799 2017-09-21 Joseph Myers <joseph@codesourcery.com>
33801 * crypt/Banner: Remove file.
33802 * nptl/Banner: Likewise.
33803 * resolv/Banner: Likewise.
33804 * soft-fp/Banner: Likewise.
33805 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33806 ($(objpfx)version.d): Remove dependency on banner.h.
33807 ($(objpfx)version.os): Likewise.
33808 * nptl/version.c (banner): Do not include banner.h.
33809 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33810 Jelinek and BIND code.
33812 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33813 Carlos O'Donell <carlos@redhat.com>
33815 * support/xdlfcn.h: New file.
33816 * support/xdlfcn.c: New file.
33817 * support/Makefile (libsupport-routines): Add xdlfcn.
33818 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33820 2017-09-20 Joseph Myers <joseph@codesourcery.com>
33823 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33824 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33825 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33826 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33827 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33828 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33829 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33830 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33832 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33833 Ricky Zhou <rickyz@google.com>
33834 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
33837 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33839 (__new_exitfn): Fail registration when we finished at_exit processing.
33840 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33841 * stdlib/on_exit.c (__on_exit): Likewise.
33842 * stdlib/exit.c (__exit_funcs_done): New variable.
33843 (__run_exit_handlers): Use __exit_funcs_lock.
33844 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33846 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33847 (test-cxa_atexit-race, test-on_exit-race): New tests.
33848 * stdlib/test-atexit-race-common.c: New file.
33849 * stdlib/test-atexit-race.c: New file.
33850 * stdlib/test-at_quick_exit-race.c: New file.
33851 * stdlib/test-cxa_atexit-race.c: New file.
33852 * stdlib/test-on_exit-race.c: New file.
33854 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33856 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33857 * benchtests/exp2f-inputs: Copy of expf-inputs.
33858 * benchtests/log2f-inputs: Copy of logf-inputs.
33860 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33862 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33863 Explicitly take address of first element of array arguments in
33864 call to INLINE_SYSCALL.
33866 2017-09-19 Andreas Schwab <schwab@suse.de>
33869 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33871 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33873 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33874 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33875 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33876 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33877 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33878 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33879 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33880 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33881 * posix/Makefile (tests): Add tst-fexecve.
33882 * posix/tst-fexecve.c: New file.
33884 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33886 * benchtests/Makefile: Add logf benchmark.
33887 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33889 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33891 * benchtests/Makefile: Add expf benchmark.
33892 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33894 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33896 * csu/Makefile: Add -funwind-tables to libc-start.c.
33897 * debug/Makefile: Add -funwind-tables to backtrace.c.
33898 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33899 * sysdeps/arm/Makefile: Likewise.
33900 * sysdeps/i386/Makefile: Likewise.
33901 * sysdeps/m68k/Makefile: Likewise.
33902 * sysdeps/mips/Makefile: Likewise.
33903 * sysdeps/nios2/Makefile: Likewise.
33904 * sysdeps/sh/Makefile: Likewise.
33905 * sysdeps/sparc/Makefile: Likewise.
33907 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33909 * benchtests/Makefile (bench-math): Add trunc and truncf.
33910 (CFLAGS-bench-trunc.c): New variable.
33911 (CFLAGS-bench-truncf.c): Likewise.
33912 * benchtests/trunc-inputs: New file.
33913 * benchtests/truncf-inputs: Likewise.
33915 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33917 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33919 2017-09-18 Joseph Myers <joseph@codesourcery.com>
33921 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33922 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33924 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33925 (exp10l): Define as weak alias.
33926 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33927 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33929 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33930 (remainderl): Define as weak alias.
33932 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33933 (fmal): Define using libm_alias_ldouble.
33934 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33935 (acoshl): Define using libm_alias_ldouble.
33936 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33937 (acosl): Define using libm_alias_ldouble.
33938 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33939 (asinl): Define using libm_alias_ldouble.
33940 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33941 (atan2l): Define using libm_alias_ldouble.
33942 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33943 (atanhl): Define using libm_alias_ldouble.
33944 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33945 (coshl): Define using libm_alias_ldouble.
33946 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33947 (exp10l): Define using libm_alias_ldouble.
33948 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33949 (exp2l): Define using libm_alias_ldouble.
33950 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33951 (expl): Define using libm_alias_ldouble.
33952 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33953 (fmodl): Define using libm_alias_ldouble.
33954 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33955 (hypotl): Define using libm_alias_ldouble.
33956 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33957 (j0l): Define using libm_alias_ldouble.
33959 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33960 (j1l): Define using libm_alias_ldouble.
33962 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33963 (jnl): Define using libm_alias_ldouble.
33965 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33966 (log10l): Define using libm_alias_ldouble.
33967 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33968 (log2l): Define using libm_alias_ldouble.
33969 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33970 (logl): Define using libm_alias_ldouble.
33971 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33972 (powl): Define using libm_alias_ldouble.
33973 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33974 (remainderl): Define using libm_alias_ldouble.
33975 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33976 (sinhl): Define using libm_alias_ldouble.
33977 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33978 (sqrtl): Define using libm_alias_ldouble.
33979 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33980 (tgammal): Define using libm_alias_ldouble.
33981 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33982 (exp10l): Do not use long_double_symbol here.
33983 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33984 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33985 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33986 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33987 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33988 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33989 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33990 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33991 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33992 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33993 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33994 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33995 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33996 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33997 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33998 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33999 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34000 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34001 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34002 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34003 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34004 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34006 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
34008 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
34009 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
34011 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
34013 * io/read.c (read): Add libc_hidden_weak.
34014 * sysdeps/mach/hurd/read.c (read): Likewise.
34015 * io/write.c (write): Likewise.
34016 * sysdeps/mach/hurd/write.c (write): Likewise.
34017 * io/pread64.c (__pread64): Likewise.
34018 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
34019 * posix/pread64.c (__pread64): Add libc_hidden_def.
34021 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
34023 * benchtests/scripts/compare_strings.py: New option -g.
34024 (draw_graph): Print a message that a graph is being generated.
34025 (process_results): Generate graph only if -g is passed.
34026 (main): Process option -g.
34028 * benchtests/scripts/compare_strings.py (process_results):
34029 Better spacing for output.
34031 * benchtests/scripts/compare_strings.py: Use argparse.
34032 * benchtests/README: Document existence of compare_strings.py.
34034 2017-09-15 Joseph Myers <joseph@codesourcery.com>
34036 * math/s_fma.c: Include <libm-alias-double.h>.
34037 (fma): Define using libm_alias_double.
34038 * math/s_nextafter.c: Include <libm-alias-double.h>.
34039 (nextafter): Define using libm_alias_double.
34040 * math/w_acos_compat.c: Include <libm-alias-double.h>.
34041 (acos): Define using libm_alias_double.
34042 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
34043 (aocsh): Define using libm_alias_double.
34044 * math/w_asin_compat.c: Include <libm-alias-double.h>.
34045 (asin): Define using libm_alias_double.
34046 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
34047 (atan2): Define using libm_alias_double.
34048 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
34049 (atanh): Define using libm_alias_double.
34050 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
34051 (cosh): Define using libm_alias_double.
34052 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
34053 (exp10): Define using libm_alias_double.
34054 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
34055 (exp2): Define using libm_alias_double.
34056 * math/w_exp_compat.c: Include <libm-alias-double.h>.
34057 (exp): Define using libm_alias_double.
34058 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
34059 (fmod): Define using libm_alias_double.
34060 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
34061 (hypot): Define using libm_alias_double.
34062 * math/w_j0_compat.c: Include <libm-alias-double.h>.
34063 (j0): Define using libm_alias_double.
34065 * math/w_j1_compat.c: Include <libm-alias-double.h>.
34066 (j1): Define using libm_alias_double.
34068 * math/w_jn_compat.c: Include <libm-alias-double.h>.
34069 (jn): Define using libm_alias_double.
34071 * math/w_log10_compat.c: Include <libm-alias-double.h>.
34072 (log10): Define using libm_alias_double.
34073 * math/w_log2_compat.c: Include <libm-alias-double.h>.
34074 (log2): Define using libm_alias_double.
34075 * math/w_log_compat.c: Include <libm-alias-double.h>.
34076 (log): Define using libm_alias_double.
34077 * math/w_pow_compat.c: Include <libm-alias-double.h>.
34078 (pow): Define using libm_alias_double.
34079 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
34080 (remainder): Define using libm_alias_double.
34081 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
34082 (sinh): Define using libm_alias_double.
34083 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
34084 (sqrt): Define using libm_alias_double.
34085 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
34086 (tgamma): Define using libm_alias_double.
34087 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
34088 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
34089 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
34090 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
34091 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
34092 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
34093 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
34094 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
34095 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
34096 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
34097 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
34098 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
34099 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
34100 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
34101 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
34102 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
34103 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
34104 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
34105 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
34106 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
34107 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
34108 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
34109 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
34110 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
34111 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
34113 * math/e_acoshl.c: Remove.
34114 * math/e_acosl.c: Likewise.
34115 * math/e_asinl.c: Likewise.
34116 * math/e_atan2l.c: Likewise.
34117 * math/e_atanhl.c: Likewise.
34118 * math/e_coshl.c: Likewise.
34119 * math/e_expl.c: Likewise.
34120 * math/e_fmodl.c: Likewise.
34121 * math/e_gammal_r.c: Likewise.
34122 * math/e_hypotl.c: Likewise.
34123 * math/e_j0l.c: Likewise.
34124 * math/e_j1l.c: Likewise.
34125 * math/e_jnl.c: Likewise.
34126 * math/e_lgammal_r.c: Likewise.
34127 * math/e_log10l.c: Likewise.
34128 * math/e_log2l.c: Likewise.
34129 * math/e_logl.c: Likewise.
34130 * math/e_powl.c: Likewise.
34131 * math/e_rem_pio2l.c: Likewise.
34132 * math/e_sinhl.c: Likewise.
34133 * math/e_sqrtf128.c: Likewise.
34134 * math/e_sqrtl.c: Likewise.
34135 * math/k_cosl.c: Likewise.
34136 * math/k_sinl.c: Likewise.
34137 * math/k_tanl.c: Likewise.
34138 * math/s_asinhl.c: Likewise.
34139 * math/s_atanl.c: Likewise.
34140 * math/s_cbrtl.c: Likewise.
34141 * math/s_erfl.c: Likewise.
34142 * math/s_expm1l.c: Likewise.
34143 * math/s_log1pl.c: Likewise.
34144 * math/s_tanhl.c: Likewise.
34146 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
34150 [$(subdir) = math] (sysdep_calls): New variable. Has the
34151 previous contents of sysdep_routines, but re-sorted..
34152 [$(subdir) = math] (sysdep_routines): Re-use the contents from
34154 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
34155 defined in sysdep_calls and replace by the respective m_* names.
34156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
34157 (compat_symbol): Undefine to avoid duplicated compat symbols in
34160 2017-09-15 Joseph Myers <joseph@codesourcery.com>
34162 * math/s_fmaf.c: Include <libm-alias-float.h>.
34163 (fmaf): Define using libm_alias_float.
34164 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
34165 (acosf): Define using libm_alias_float.
34166 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
34167 (acoshf): Define using libm_alias_float.
34168 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
34169 (asinf): Define using libm_alias_float.
34170 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
34171 (atan2f): Define using libm_alias_float.
34172 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
34173 (atanhf): Define using libm_alias_float.
34174 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
34175 (coshf): Define using libm_alias_float.
34176 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
34177 (exp10f): Define using libm_alias_float.
34178 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
34179 (fmodf): Define using libm_alias_float.
34180 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
34181 (hypotf): Define using libm_alias_float.
34182 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
34183 (j0f): Define using libm_alias_float.
34185 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
34186 (j1f): Define using libm_alias_float.
34188 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
34189 (jnf): Define using libm_alias_float.
34191 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
34192 (log10f): Define using libm_alias_float.
34193 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
34194 (log2f): Define using libm_alias_float.
34195 * math/w_logf_compat.c: Include <libm-alias-float.h>.
34196 (logf): Define using libm_alias_float.
34197 * math/w_powf_compat.c: Include <libm-alias-float.h>.
34198 (powf): Define using libm_alias_float.
34199 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
34200 (remainderf): Define using libm_alias_float.
34201 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
34202 (sinhf): Define using libm_alias_float.
34203 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
34204 (sqrtf): Define using libm_alias_float.
34205 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
34206 (tgammaf): Define using libm_alias_float.
34208 2017-09-14 Joseph Myers <joseph@codesourcery.com>
34210 * include/math.h (roundeven): Change hidden_proto call to
34212 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
34214 [NO_LONG_DOUBLE] (__j0l): New strong alias.
34215 (y0): Rename to __y0 and define as weak alias.
34216 [NO_LONG_DOUBLE] (__y0l): New strong alias.
34217 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
34219 (y0f): Rename to __y0f and define as weak alias.
34220 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
34222 [NO_LONG_DOUBLE] (__j1l): New strong alias.
34223 (y1): Rename to __y1 and define as weak alias.
34224 [NO_LONG_DOUBLE] (__y1l): New strong alias.
34225 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
34227 (y1f): Rename to __y1f and define as weak alias.
34228 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
34230 [NO_LONG_DOUBLE] (__jnl): New strong alias.
34231 (yn): Rename to __yn and define as weak alias.
34232 [NO_LONG_DOUBLE] (__ynl): New strong alias.
34233 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
34235 (ynf): Rename to __ynf and define as weak alias.
34236 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
34237 (fromfp): Define as weak alias.
34238 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
34239 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
34240 (fromfpx): Define as weak alias.
34241 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
34242 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
34243 __getpayload and define as weak alias.
34244 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
34245 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
34246 __roundeven and define as weak alias.
34247 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
34248 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
34250 (setpayload): Define as weak alias.
34251 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
34252 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
34254 (setpayloadsig): Define as weak alias.
34255 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
34256 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
34257 __totalorder and define as weak alias.
34258 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
34259 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
34260 to __totalordermag and define as weak alias.
34261 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
34262 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
34263 (ufromfp): Define as weak alias.
34264 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
34265 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
34267 (ufromfpx): Define as weak alias.
34268 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
34269 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
34270 Rename to __getpayload and define as weak alias.
34271 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
34272 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
34273 Rename to __roundeven and define as weak alias.
34274 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
34275 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
34276 Rename to __totalorder and define as weak alias.
34277 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
34278 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
34279 (totalordermag): Rename to __totalordermag and define as weak
34281 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
34282 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
34284 (__roundevenl): Likewise.
34285 (__totalorderl): Likewise.
34286 (__totalordermagl): Likewise
34287 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
34289 (fromfpf128): Define as weak alias.
34290 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
34292 (fromfpxf128): Define as weak alias.
34293 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
34295 (setpayloadf128): Define as weak alias.
34296 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
34297 __setpayloadsigf128.
34298 (setpayloadsigf128): Define as weak alias.
34299 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
34301 (ufromfpf128): Define as weak alias.
34302 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
34304 (ufromfpxf128): Define as weak alias.
34305 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
34306 (fromfpf): Define as weak alias.
34307 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
34309 (fromfpxf): Define as weak alias.
34310 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
34311 __getpayloadf and define as weak alias.
34312 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
34313 __roundevenf and define as weak alias.
34314 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
34316 (setpayloadf): Define as weak alias.
34317 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
34319 (setpayloadsigf): Define as weak alias.
34320 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
34321 __totalorderf and define as weak alias.
34322 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
34323 Rename to __totalordermagf and define as weak alias.
34324 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
34326 (ufromfpf): Define as weak alias.
34327 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
34329 (ufromfpxf): Define as weak alias.
34330 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
34332 (fromfpl): Define as weak alias.
34333 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
34335 (fromfpxl): Define as weak alias.
34336 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
34337 to __getpayloadl and define as weak alias.
34338 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
34339 __roundevenl and define as weak alias.
34340 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
34342 (setpayloadl): Define as weak alias.
34343 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
34345 (setpayloadsigl): Define as weak alias.
34346 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
34347 to __totalorderl and define as weak alias.
34348 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
34349 Rename to __totalordermagl and define as weak alias.
34350 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
34352 (ufromfpl): Define as weak alias.
34353 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
34355 (ufromfpxl): Define as weak alias.
34356 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
34358 (fromfpl): Define as weak alias.
34359 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
34361 (fromfpxl): Define as weak alias.
34362 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
34363 Rename to __getpayloadl and define as weak alias.
34364 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
34365 to __roundevenl and define as weak alias. Call __roundeven
34366 instead of roundeven.
34367 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
34369 (setpayloadl): Define as weak alias.
34370 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
34372 (setpayloadsigl): Define as weak alias.
34373 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
34374 Rename to __totalorderl and define as weak alias.
34375 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
34376 Rename to __totalordermagl and define as weak alias.
34377 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
34379 (ufromfpl): Define as weak alias.
34380 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
34382 (ufromfpxl): Define as weak alias.
34383 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
34385 (fromfpl): Define as weak alias.
34386 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
34388 (fromfpxl): Define as weak alias.
34389 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
34390 __getpayloadl and define as weak alias.
34391 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
34392 __roundevenl and define as weak alias.
34393 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
34395 (setpayloadl): Define as weak alias.
34396 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
34398 (setpayloadsigl): Define as weak alias.
34399 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
34400 __totalorderl and define as weak alias.
34401 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
34402 Rename to __totalordermagl and define as weak alias.
34403 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
34405 (ufromfpl): Define as weak alias.
34406 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
34408 (ufromfpxl): Define as weak alias.
34410 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
34412 * benchtests/bench-string.h (realloc_bufs): New function.
34413 (test_init): Call it.
34414 * benchtests/bench-memset-large.c (do_test): Likewise.
34415 * benchtests/bench-memset.c (do_test): Likewise.
34417 * benchtests/bench-memset-large.c: Print output in JSON
34419 * benchtests/bench-memset.c: Likewise.
34421 2017-09-14 Mike FABIAN <mfabian@redhat.com>
34424 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
34425 * iconvdata/Makefile: Add IBM858.
34426 * iconvdata/gconv-modules: Likewise.
34427 * iconvdata/tst-tables.sh: Likewise.
34428 * iconvdata/ibm858.c: New file.
34429 * localedata/charmaps/IBM858: Likewise.
34431 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
34434 * locales/niu_NZ (LC_TIME): copy "niu_NU".
34435 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
34437 2017-09-14 Mike FABIAN <mfabian@redhat.com>
34440 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
34441 and add tel_int_fmt.
34443 2017-09-14 Joseph Myers <joseph@codesourcery.com>
34445 * sysdeps/generic/libm-alias-float128.h: New file.
34446 * sysdeps/generic/math-type-macros-float128.h: Include
34447 <libm-alias-float128.h>.
34448 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34450 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34452 * sysdeps/generic/libm-alias-ldouble.h: New file.
34453 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
34454 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
34455 * sysdeps/generic/math-type-macros-ldouble.h: Include
34456 <libm-alias-ldouble.h>.
34457 [!declare_mgen_alias] (declare_mgen_alias): Define to use
34458 libm_alias_ldouble.
34460 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
34462 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
34463 * math/w_exp_compat.c: ... here.
34464 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
34465 * math/w_expf_compat.c: ... here.
34466 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
34467 * math/w_expl_compat.c: ... here.
34468 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
34469 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
34470 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
34471 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
34473 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34475 * math/w_scalbln_template.c (strong_alias): Do not undefine and
34477 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
34479 (ldexpl): Only define as compat symbol for libc, not libm.
34480 (scalbnl): Define as compat symbol for libc here.
34481 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
34482 define for [IS_IN (libc)].
34483 (__ldexpl_2): Remove alias.
34484 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
34485 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
34486 name in long_double_symbol call.
34487 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
34488 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34489 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34490 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
34491 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
34493 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
34494 Define as compat symbol.
34496 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34498 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
34499 * sysdeps/unix/sysv/linux/alpha/Makefile
34500 [$(subdir) = csu] (sysdep_routines): Remove rule.
34502 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34504 * sysdeps/generic/libm-alias-double.h: New file.
34505 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
34506 * sysdeps/generic/math-type-macros-double.h: Include
34507 <libm-alias-double.h>.
34508 [declare_mgen_alias] (declare_mgen_alias): Define to use
34510 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
34511 (M_LIBM_NEED_COMPAT): Remove macro.
34512 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
34513 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
34514 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
34516 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34517 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34518 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34519 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34520 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34521 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34522 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34523 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34524 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34525 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34526 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34527 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34528 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34529 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34530 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34531 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34532 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34533 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34534 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34535 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34536 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34537 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34538 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34539 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34540 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34541 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34542 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34543 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
34544 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
34546 (declare_mgen_alias): New macro.
34547 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
34548 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
34549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
34550 (M_LIBM_NEED_COMPAT): Remove macro.
34551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
34552 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
34553 <first-versions.h>.
34554 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
34555 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
34557 2017-09-12 Joseph Myers <joseph@codesourcery.com>
34559 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
34560 (declare_mgen_alias_2): Remove.
34561 * sysdeps/generic/math-type-macros-double.h
34562 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
34564 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
34566 (ldexp): Define with declare_mgen_alias.
34567 (scalbn): Likewise.
34569 2017-09-12 Steve Ellcey <sellcey@cavium.com>
34571 * grp/initgroups.c: Include config.h.
34572 (DEFAULT_CONFIG): New macro.
34573 (internal_getgrouplist): Use DEFAULT_CONFIG.
34574 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34575 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
34576 (DEFAULT_DEFCONFIG): New macro.
34577 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
34578 * nss/grp-lookup.c: Include config.h
34579 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
34580 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
34581 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
34582 * manual/nss.texi: Update default values section.
34584 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
34587 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
34589 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34590 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34591 Handle MathVec_Prefer_No_AVX512.
34592 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
34593 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
34596 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34598 * posix/sched_primax.c (__sched_get_priority_max): Add
34600 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34601 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34602 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34603 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34604 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34605 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34606 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34607 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34610 2017-09-11 Joseph Myers <joseph@codesourcery.com>
34612 * sysdeps/generic/libm-alias-float.h: New file.
34613 * sysdeps/generic/math-type-macros-float.h: Include
34614 <libm-alias-float.h>.
34615 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34617 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34620 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34621 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34622 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34623 (HWCAP_IMPORTANT): Likewise.
34624 (HWCAP_X86_64): New enum.
34625 (HWCAP_X86_AVX512_1): Updated.
34626 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34627 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34628 (modules-names): Add x86_64/tst-x86_64mod-1.
34629 (LDFLAGS-tst-x86_64mod-1.so): New.
34630 ($(objpfx)tst-x86_64-1): Likewise.
34631 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34632 (tst-x86_64-1-clean): Likewise.
34633 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34634 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34636 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34638 * po/sv.po: Update translations.
34639 * po/fr.po: Likewise.
34641 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34643 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34645 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34647 * elf/rtld-Rules: Fix $(error) use.
34649 2017-09-09 Mike FABIAN <mfabian@redhat.com>
34652 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34653 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34654 * localedata/locales/bn_BD: “Bengali” was still used in some
34655 comments. Change it to “Bangla”.
34657 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34659 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34661 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34663 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34664 thunderx2t99p1 to list of cpu names.
34665 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34666 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34668 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34670 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34671 Use strcmp instead of tunable_is_name.
34673 2017-09-08 Joseph Myers <joseph@codesourcery.com>
34675 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34676 (F_GET_RW_HINT): New macro.
34677 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34678 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34679 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34680 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34681 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34682 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34683 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34684 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34685 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34687 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34688 (F_ADD_SEALS): New macro.
34689 [__USE_GNU] (F_GET_SEALS): Likewise.
34690 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34691 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34692 [__USE_GNU] (F_SEAL_GROW): Likewise.
34693 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34695 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34697 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34698 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34699 * posix/glob_internal.h (__glob_pattern_type):
34700 * posix/glob.c (glob):
34701 * posix/glob_pattern_p.c (__glob_pattern_p):
34704 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34705 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34706 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34707 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34708 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34710 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34711 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34712 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34713 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34714 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34715 * sysdeps/wordsize-64/glob.c: Likewise.
34716 * sysdeps/wordsize-64/glob64.c: Likewise.
34717 * sysdeps/wordsize-64/globfree.c: Likewise.
34718 * sysdeps/wordsize-64/globfree64.c: Likewise.
34719 * sysdeps/unix/sysv/linux/glob.c: New file.
34720 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34721 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34722 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34723 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34724 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34725 adds !GLOB_NO_OLD_VERSION as an extra condition.
34726 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34727 using relative path instead of absolute one.
34728 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34729 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34730 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34731 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34732 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34733 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34736 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34737 (glob): Use the same scratch buffer for both getlogin_r and
34738 getpwnam_r. Don’t require preallocation of the login name. This
34739 simplifies storage allocation, and corrects the handling of
34743 * posix/glob.c (glob): Port recent patches to platforms
34744 lacking getpwnam_r.
34745 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34746 returns an error number rather than setting errno.
34748 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34749 instead of GCC extension.
34750 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34751 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34752 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34756 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34757 * posix/bug-glob1.c: Remove file.
34758 * posix/tst-glob_symlinks.c: New file.
34759 * posix/glob.c (__lstat64): New macro.
34760 (is_dir): New function.
34761 (glob, glob_in_dir): Match symlinks even if they are dangling.
34762 (link_stat, link_exists_p): Remove. All uses removed.
34766 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34767 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34772 * posix/Makefile (routines): Add globfree, globfree64, and
34774 * posix/flexmember.h: New file.
34775 * posix/glob_internal.h: Likewise.
34776 * posix/glob_pattern_p.c: Likewise.
34777 * posix/globfree.c: Likewise.
34778 * posix/globfree64.c: Likewise.
34779 * sysdeps/gnu/globfree64.c: Likewise.
34780 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34781 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34782 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34783 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34784 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34785 * sysdeps/wordsize-64/globfree.c: Likewise.
34786 * sysdeps/wordsize-64/globfree64.c: Likewise.
34787 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34788 [NDEBUG): Remove comments.
34789 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34790 (dirent_type): New type. Use uint_fast8_t not
34791 uint8_t, as C99 does not require uint8_t.
34792 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34793 (struct readdir_result): Use dirent_type. Do not define skip_entry
34794 unless it is needed; this saves a byte on platforms lacking d_ino.
34795 (readdir_result_type, readdir_result_skip_entry):
34796 New functions, replacing ...
34797 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
34798 these functions, which were removed. This makes the callers
34799 easier to read. All callers changed.
34800 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34801 (size_add_wrapv, glob_use_alloca): New static functions.
34802 (glob, glob_in_dir): Check for size_t overflow in several places,
34803 and fix some size_t checks that were not quite right.
34804 Remove old code using SHELL since Bash no longer
34806 (glob, prefix_array): Separate MS code better.
34807 (glob_in_dir): Remove old Amiga and VMS code.
34808 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34810 (glob_in_dir): Do not rely on undefined behavior in accessing
34811 struct members beyond their bounds. Use a flexible array member
34813 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34814 0/1. Caller changed.
34815 (glob): Fix memory leaks.
34816 * posix/glob64 (globfree64): Move to separate file.
34817 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34818 (globfree64): Remove hidden alias.
34819 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34821 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34823 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34825 Move compat code to separate file.
34826 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34829 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34831 * resolv/tst-resolv-qtypes.c (domain): Changed to
34832 "const char domain[] =".
34834 2017-09-07 Joseph Myers <joseph@codesourcery.com>
34836 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34839 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34840 (TCP_MD5SIG_EXT): Likewise.
34841 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34842 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34843 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34845 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34847 2017-09-07 Mike FABIAN <mfabian@redhat.com>
34849 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34851 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
34854 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34856 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34858 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34859 before assuming that the file is empty. Avoid testing buffer content
34862 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34865 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34867 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34869 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34871 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34873 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34875 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34877 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34880 2017-09-06 Florian Weimer <fweimer@redhat.com>
34882 * malloc/dynarray_emplace_enlarge.c
34883 (__libc_dynarray_emplace_enlarge): Add missing else.
34885 2017-09-06 Florian Weimer <fweimer@redhat.com>
34888 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34889 case of failure to obtain the global conf object.
34891 2017-09-06 Florian Weimer <fweimer@redhat.com>
34894 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34895 dynarray allocation failure.
34897 2017-09-06 Florian Weimer <fweimer@redhat.com>
34899 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34900 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34901 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34903 (response): Call them. Add 'p', '6' flag processing.
34904 (test_reverse): New function.
34905 (test_get2_any): Call it.
34906 (test_no_inet6): Add 'p' test.
34907 (test_inet6): Likewise.
34909 2017-09-06 Florian Weimer <fweimer@redhat.com>
34911 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34912 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34914 (test_gai): Adjust query names. Add additional tests.
34915 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34916 test_get2. Adjust query names. Add additional tests.
34917 (test_no_inet6): New function, extracted from threadfunc.
34918 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34919 Add additional tests.
34921 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34924 * localedata/unicode-gen/utf8_gen.py: Set the width for
34925 characters with Prepended_Concatenation_Mark property to 1
34926 * localedata/charmaps/UTF-8: Updated using the improved script.
34928 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34931 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34932 use the range notation for all ranges of neighbouring characters
34933 with the same width.
34935 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34937 * sysdeps/generic/math-type-macros-double.h: Include
34938 <math-svid-compat.h>.
34939 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34940 * sysdeps/generic/math-type-macros-float.h: Include
34941 <math-svid-compat.h>.
34942 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34943 * sysdeps/generic/math-type-macros-ldouble.h: Include
34944 <math-svid-compat.h>.
34945 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34946 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34948 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34949 * math/w_acosf_compat.c: Likewise.
34950 * math/w_acosh_compat.c: Likewise.
34951 * math/w_acoshf_compat.c: Likewise.
34952 * math/w_acoshl_compat.c: Likewise.
34953 * math/w_acosl_compat.c: Likewise.
34954 * math/w_asin_compat.c: Likewise.
34955 * math/w_asinf_compat.c: Likewise.
34956 * math/w_asinl_compat.c: Likewise.
34957 * math/w_atan2_compat.c: Likewise.
34958 * math/w_atan2f_compat.c: Likewise.
34959 * math/w_atan2l_compat.c: Likewise.
34960 * math/w_atanh_compat.c: Likewise.
34961 * math/w_atanhf_compat.c: Likewise.
34962 * math/w_atanhl_compat.c: Likewise.
34963 * math/w_cosh_compat.c: Likewise.
34964 * math/w_coshf_compat.c: Likewise.
34965 * math/w_coshl_compat.c: Likewise.
34966 * math/w_exp10_compat.c: Likewise.
34967 * math/w_exp10f_compat.c: Likewise.
34968 * math/w_exp10l_compat.c: Likewise.
34969 * math/w_exp2_compat.c: Likewise.
34970 * math/w_exp2f_compat.c: Likewise.
34971 * math/w_exp2l_compat.c: Likewise.
34972 * math/w_fmod_compat.c: Likewise.
34973 * math/w_fmodf_compat.c: Likewise.
34974 * math/w_fmodl_compat.c: Likewise.
34975 * math/w_hypot_compat.c: Likewise.
34976 * math/w_hypotf_compat.c: Likewise.
34977 * math/w_hypotl_compat.c: Likewise.
34978 * math/w_j0_compat.c: Likewise.
34979 * math/w_j0f_compat.c: Likewise.
34980 * math/w_j0l_compat.c: Likewise.
34981 * math/w_j1_compat.c: Likewise.
34982 * math/w_j1f_compat.c: Likewise.
34983 * math/w_j1l_compat.c: Likewise.
34984 * math/w_jn_compat.c: Likewise.
34985 * math/w_jnf_compat.c: Likewise.
34986 * math/w_jnl_compat.c: Likewise.
34987 * math/w_lgamma_r_compat.c: Likewise.
34988 * math/w_lgammaf_r_compat.c: Likewise.
34989 * math/w_lgammal_r_compat.c: Likewise.
34990 * math/w_log10_compat.c: Likewise.
34991 * math/w_log10f_compat.c: Likewise.
34992 * math/w_log10l_compat.c: Likewise.
34993 * math/w_log2_compat.c: Likewise.
34994 * math/w_log2f_compat.c: Likewise.
34995 * math/w_log2l_compat.c: Likewise.
34996 * math/w_log_compat.c: Likewise.
34997 * math/w_logf_compat.c: Likewise.
34998 * math/w_logl_compat.c: Likewise.
34999 * math/w_pow_compat.c: Likewise.
35000 * math/w_powf_compat.c: Likewise.
35001 * math/w_powl_compat.c: Likewise.
35002 * math/w_remainder_compat.c: Likewise.
35003 * math/w_remainderf_compat.c: Likewise.
35004 * math/w_remainderl_compat.c: Likewise.
35005 * math/w_sinh_compat.c: Likewise.
35006 * math/w_sinhf_compat.c: Likewise.
35007 * math/w_sinhl_compat.c: Likewise.
35008 * math/w_sqrt_compat.c: Likewise.
35009 * math/w_sqrtf_compat.c: Likewise.
35010 * math/w_sqrtl_compat.c: Likewise.
35011 * math/w_tgamma_compat.c: Likewise.
35012 * math/w_tgammaf_compat.c: Likewise.
35013 * math/w_tgammal_compat.c: Likewise.
35014 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
35015 [LIBM_SVID_COMPAT].
35016 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
35017 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
35018 [LIBM_SVID_COMPAT].
35019 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
35020 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
35021 [LIBM_SVID_COMPAT].
35022 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
35023 * sysdeps/i386/fpu/w_sqrt.c: New file.
35024 * sysdeps/ia64/fpu/w_acos.c: Likewise.
35025 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
35026 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
35027 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
35028 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
35029 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
35030 * sysdeps/ia64/fpu/w_asin.c: Likewise.
35031 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
35032 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
35033 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
35034 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
35035 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
35036 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
35037 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
35038 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
35039 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
35040 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
35041 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
35042 * sysdeps/ia64/fpu/w_exp.c: Likewise.
35043 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
35044 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
35045 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
35046 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
35047 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
35048 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
35049 * sysdeps/ia64/fpu/w_expf.c: Likewise.
35050 * sysdeps/ia64/fpu/w_expl.c: Likewise.
35051 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
35052 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
35053 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
35054 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
35055 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
35056 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
35057 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
35058 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
35059 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
35060 * sysdeps/ia64/fpu/w_log.c: Likewise.
35061 * sysdeps/ia64/fpu/w_log10.c: Likewise.
35062 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
35063 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
35064 * sysdeps/ia64/fpu/w_log2.c: Likewise.
35065 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
35066 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
35067 * sysdeps/ia64/fpu/w_logf.c: Likewise.
35068 * sysdeps/ia64/fpu/w_logl.c: Likewise.
35069 * sysdeps/ia64/fpu/w_pow.c: Likewise.
35070 * sysdeps/ia64/fpu/w_powf.c: Likewise.
35071 * sysdeps/ia64/fpu/w_powl.c: Likewise.
35072 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
35073 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
35074 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
35075 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
35076 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
35077 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
35078 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
35079 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
35080 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
35081 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
35082 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
35083 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
35084 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
35085 [LIBM_SVID_COMPAT].
35086 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
35087 * sysdeps/ieee754/k_standard.c: Likewise.
35088 * sysdeps/ieee754/k_standardf.c: Likewise.
35089 * sysdeps/ieee754/k_standardl.c: Likewise.
35090 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
35091 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
35092 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
35093 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
35094 long_double_symbol call on [LIBM_SVID_COMPAT].
35095 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
35096 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
35097 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
35098 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
35099 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
35100 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
35101 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
35102 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
35103 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
35104 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
35105 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
35106 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
35107 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
35108 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
35109 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
35110 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
35111 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
35112 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
35113 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
35114 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
35115 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
35116 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
35118 2017-09-05 Steve Ellcey <sellcey@cavium.com>
35120 * include/shlib-compat.h (TEST_COMPAT): New Macro.
35121 * malloc/tst-mallocstate.c: Convert from test-skeleton
35122 to test-driver. Ifdef code using TEST_COMPAT macro.
35123 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
35124 * math/test-matherr.c: Likewise.
35126 2017-09-05 Joseph Myers <joseph@codesourcery.com>
35129 * debug/pcprofiledump.c (main): Use byte-swapped mask when
35130 comparing word with byte-swapped constant.
35132 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
35135 * locale/iso-639.def: add Miskito.
35136 * localedata/SUPPORTED: Add miq_NI/UTF-8.
35137 * localedata/locales/miq_NI: New file.
35139 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
35142 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
35143 (__mkdir): Likewise.
35144 * io/chmod.c (__chmod): Add libc_hidden_def.
35145 * io/mkdir.c (__mkdir): Likewise.
35146 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
35147 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
35148 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
35149 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
35151 2017-09-04 Joseph Myers <joseph@codesourcery.com>
35153 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
35157 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
35158 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
35160 2017-09-04 Florian Weimer <fweimer@redhat.com>
35162 * math/math.h: Issue warning if log is defined.
35164 2017-09-04 Joseph Myers <joseph@codesourcery.com>
35166 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
35167 kernel version to 4.13.
35169 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
35171 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
35172 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
35174 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
35175 just <bits/types.h>.
35176 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
35177 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
35178 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
35179 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
35180 * misc/preadv2.c: Include <errno.h>.
35181 * misc/preadv64v2.c: Include <errno.h>.
35182 * misc/pwritev2.c: Include <errno.h>.
35183 * misc/pwritev64v2.c: Include <errno.h>.
35184 * sysdeps/posix/preadv2.c: Include <errno.h>.
35185 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
35186 Fix <unistd.h> inclusion.
35187 * sysdeps/posix/pwritev2.c: Include <errno.h>.
35188 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
35189 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
35190 __strtoul_internal): New functions.
35191 * sysdeps/posix/pause.c: Include <sigsetops.h>.
35192 * sysdeps/posix/system.c: Include <sigsetops.h>.
35193 * sysdeps/mach/hurd/i386/Makefile
35194 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
35195 [$(subdir) = csu] (sysdep-only-routines): Likewise.
35196 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
35197 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
35198 __feraiseexcept_renamed to feraiseexcept instead of
35199 __GI_feraiseexcept.
35200 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
35201 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
35202 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
35203 RWF_NOWAIT): Define to 0 if undefined already.
35204 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
35206 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
35207 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
35209 2017-09-01 Joseph Myers <joseph@codesourcery.com>
35211 * manual/math.texi (pow10): Do not document.
35212 (pow10f): Likewise.
35213 (pow10l): Likewise.
35214 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
35215 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
35216 * math/libm-test-exp10.inc (pow10_test): Remove.
35217 (do_test): Do not call pow10.
35218 * math/w_exp10_compat.c (pow10): Make into compat symbol.
35219 [NO_LONG_DOUBLE] (pow10l): Likewise.
35220 * math/w_exp10f_compat.c (pow10f): Likewise.
35221 * math/w_exp10l_compat.c (pow10l): Likewise.
35222 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
35223 (pow10): Make into compat symbol.
35224 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
35225 (pow10f): Make into compat symbol.
35226 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
35227 (pow10l): Make into compat symbol.
35228 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
35230 (CFLAGS-nldbl-pow10.c): Remove variable..
35231 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
35232 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
35233 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
35234 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
35235 Undefine and redefine.
35236 (pow10l): Make into compat symbol.
35237 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
35238 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35239 * sysdeps/arm/libm-test-ulps: Likewise.
35240 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
35241 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35242 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
35243 * sysdeps/microblaze/libm-test-ulps: Likewise.
35244 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35245 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35246 * sysdeps/nios2/libm-test-ulps: Likewise.
35247 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35248 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35249 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35250 * sysdeps/sh/libm-test-ulps: Likewise.
35251 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35252 * sysdeps/tile/libm-test-ulps: Likewise.
35253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35255 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
35257 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
35259 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
35261 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
35262 "../ChangeLog.old/ChangeLog.8".
35263 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
35264 "../ChangeLog.old/ChangeLog.14".
35266 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
35268 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
35271 2017-09-01 Joseph Myers <joseph@codesourcery.com>
35273 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
35275 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
35277 * csu/version.c (banner): Remove "by Roland McGrath et al.".
35278 * nptl/Banner: Remove "by Ulrich Drepper et al.".
35280 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
35282 * stdlib/tst-atexit-common.c (do_test): Test support for at least
35283 32 atexit handlers.
35285 2017-09-01 Zack Weinberg <zackw@panix.com>
35287 * math/math.h (HUGE_VAL): Improve commentary.
35289 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35290 Andreas Schwab <schwab@suse.de>
35293 * include/stdio.h (__gen_tempfd): New function.
35294 * stdio-common/Makefile (routines): Add gentempfd.
35295 * stdio-common/gentempfd.c: New file.
35296 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
35297 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
35298 unnamed file first.
35300 2017-09-01 Florian Weimer <fweimer@redhat.com>
35304 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
35305 result to determine success or failure, not the errno value.
35306 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
35307 (tst-nss-files-hosts-erange): Link with -ldl.
35308 * nss/tst-nss-files-hosts-erange.c: New file.
35309 * nss/tst-resolv-basic.c (response): Handle nodata.example.
35310 (do_test): Add NO_DATA tests.
35311 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
35312 (do_test): Call it.
35314 2017-09-01 Florian Weimer <fweimer@redhat.com>
35317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
35318 coming from gethostbyname2_r.
35320 2017-09-01 Florian Weimer <fweimer@redhat.com>
35322 * support/namespace.h (struct support_chroot_configuration): Add
35324 (struct support_chroot): Add path_hosts, path_host_conf.
35325 * support/support_chroot.c (write_file): New function.
35326 (support_chroot_create): Call it to process /etc/resolv.conf,
35327 /etc/hosts, /etc/host.conf.
35328 (support_chroot_free): Update.
35330 2017-09-01 Florian Weimer <fweimer@redhat.com>
35332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
35333 status indicates it is set.
35335 2017-09-01 Florian Weimer <fweimer@redhat.com>
35338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
35339 function lookup failures more reliable.
35341 2017-09-01 Florian Weimer <fweimer@redhat.com>
35343 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
35344 (getcanonname): Likewise.
35345 (gaih_inet): Likewise.
35347 2017-09-01 Florian Weimer <fweimer@redhat.com>
35349 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
35350 (getcanonname): Likewise.
35351 (gaih_inet): Likewise.
35353 2017-08-31 Steve Ellcey <sellcey@cavium.com>
35354 Richard Henderson <rth@twiddle.net>
35356 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
35357 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
35358 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
35359 (IREG_SIZE, OREG_SIZE): New macros.
35360 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
35361 (IREG_SIZE, OREG_SIZE): New macros.
35362 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
35363 (IREG_SIZE): New macro.
35364 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
35365 (IREG_SIZE): New macro.
35366 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
35368 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
35369 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
35370 (__CONCATX): Handle exceptions correctly on large values that may
35372 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
35373 Initialize if not already set.
35374 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
35376 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35378 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
35379 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
35381 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
35383 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
35385 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
35387 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
35389 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
35391 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
35393 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
35394 (NO_CANCELLATION): Likewise.
35395 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
35397 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
35399 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
35401 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
35402 (NO_CANCELLATION): Likewise.
35403 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
35404 (NO_CANCELLATION): Likewise.
35405 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
35407 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
35409 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
35411 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
35413 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
35415 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
35416 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
35418 2017-08-31 Steve Ellcey <sellcey@cavium.com>
35420 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
35423 2017-08-31 Florian Weimer <fweimer@redhat.com>
35425 * include/libc-symbols.h (internal_function): Remove.
35427 2017-08-31 Florian Weimer <fweimer@redhat.com>
35429 * stdlib/fmtmsg.c (internal_addseverity): Remove
35432 2017-08-31 Florian Weimer <fweimer@redhat.com>
35434 * stdio-common/printf_fp.c (group_number): Remove
35436 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
35438 2017-08-31 Florian Weimer <fweimer@redhat.com>
35440 * posix/fnmatch.c (internal_function): Remove definition.
35441 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
35442 * posix/regcomp.c (peek_token, init_word_char)
35443 (duplicate_node_closure, fetch_token, peek_token)
35444 (peek_token_bracket, build_range_exp, build_collating_symbol):
35446 * posix/regex_internal.c (re_string_construct_common)
35447 (create_ci_newstate, create_cd_newstate, re_string_allocate)
35448 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
35449 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
35450 (re_string_translate_buffer, re_string_reconstruct)
35451 (re_string_peek_byte_case, re_string_fetch_byte_case)
35452 (re_string_destruct, re_string_context_at, re_node_set_alloc)
35453 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
35454 (re_node_set_add_intersect, re_node_set_init_union)
35455 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
35456 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
35457 (re_dfa_add_node, calc_state_hash, re_acquire_state)
35458 (re_acquire_state_context): Likewise.
35459 * posix/regex_internal.h (internal_function): Remove definition.
35460 (re_string_realloc_buffers, build_wcs_buffer)
35461 (build_wcs_upper_buffer, build_upper_buffer)
35462 (re_string_translate_buffer, re_string_context_at)
35463 (re_string_char_size_at, re_string_wchar_at)
35464 (re_string_elem_size_at): Likewise.
35465 * posix/regexec.c (match_ctx_init, match_ctx_clean)
35466 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
35467 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
35468 (re_search_internal, re_search_2_stub, re_search_stub)
35469 (re_copy_regs, prune_impossible_nodes, check_matching)
35470 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
35471 (free_fail_stack_return, sift_states_iter_mb)
35472 (sift_states_backward, build_sifted_states)
35473 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
35474 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
35475 (check_subexp_limits, sift_states_bkref, merge_state_array)
35476 (find_recover_state, transit_state, merge_state_with_log)
35477 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
35478 (transit_state_mb, transit_state_bkref, get_subexp)
35479 (get_subexp_sub, find_subexp_node, check_arrival)
35480 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
35481 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
35482 (check_node_accept_bytes, find_collation_sequence_value)
35483 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
35484 (acquire_init_state_context, check_halt_node_context)
35485 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
35486 (sub_epsilon_src_nodes): Likewise.
35487 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
35488 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
35489 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
35490 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
35491 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
35492 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
35493 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
35494 * sysdeps/posix/ttyname.c (getttyname): Likewise.
35495 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
35496 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
35497 (PREADV): Likewise.
35498 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
35499 (PREADV): Likewise.
35500 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
35501 (PWRITEV): Likewise.
35502 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
35503 (PWRITEV): Likewise.
35504 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
35505 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
35507 2017-08-31 Florian Weimer <fweimer@redhat.com>
35509 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
35510 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
35511 Remove internal_function.
35512 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
35513 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
35514 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
35515 (__deallocate_stack, __libc_pthread_init)
35516 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
35517 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
35518 (__libc_disable_asynccancel, __librt_disable_asynccancel):
35520 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
35521 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
35522 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
35524 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
35525 (__pthread_mutex_unlock_usercnt): Likewise.
35527 2017-08-31 Florian Weimer <fweimer@redhat.com>
35529 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
35530 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
35531 (fts_safe_changedir): Remove internal_function.
35532 * io/ftw.c (internal_function): Remove definition.
35533 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
35535 2017-08-31 Florian Weimer <fweimer@redhat.com>
35537 * inet/deadline.c (__deadline_current_time)
35538 (__deadline_from_timeval, __deadline_to_ms): Remove
35540 * inet/getnameinfo.c (nrl_domainname): Likewise.
35541 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
35542 * inet/inet6_option.c (add_pad): Likewise.
35543 * inet/net-internal.h (__deadline_current_time)
35544 (__deadline_from_timeval, __deadline_to_ms): Likewise.
35545 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
35546 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
35547 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
35549 2017-08-31 Joseph Myers <joseph@codesourcery.com>
35551 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
35552 include <bits/nan.h>.
35553 * math/Makefile (headers): Remove bits/nan.h.
35554 * bits/nan.h: Remove.
35555 * sysdeps/ieee754/bits/nan.h: Likewise.
35556 * sysdeps/mips/bits/nan.h: Likewise.
35558 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
35559 not include <bits/inf.h>.
35560 * math/Makefile (headers): Remove bits/inf.h.
35561 * bits/inf.h: Remove.
35562 * sysdeps/ieee754/bits/inf.h: Likewise.
35564 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
35565 bits/huge_vall.h or bits/huge_val_flt128.h.
35566 (HUGE_VAL): Define directly here.
35567 [__USE_ISOC99] (HUGE_VALF): Likewise.
35568 [__USE_ISOC99] (HUGE_VALL): Likewise.
35569 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35570 (HUGE_VAL_F128): Likewise.
35571 * math/Makefile (headers): Remove bits/huge_val.h,
35572 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
35573 * bits/huge_val.h: Remove.
35574 * bits/huge_val_flt128.h: Likewise.
35575 * bits/huge_valf.h: Likewise.
35576 * bits/huge_vall.h: Likewise.
35577 * sysdeps/ia64/bits/huge_vall.h: Likewise.
35578 * sysdeps/ieee754/bits/huge_val.h: Likewise.
35579 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
35580 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
35581 * sysdeps/sh/bits/huge_val.h: Likewise.
35582 * sysdeps/sparc/bits/huge_vall.h: Likewise.
35583 * sysdeps/x86/bits/huge_vall.h: Likewise.
35585 2017-08-31 Florian Weimer <fweimer@redhat.com>
35587 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
35589 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
35591 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
35592 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35593 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
35594 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
35595 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35596 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35597 * elf/dl-libc.c (dlerror_run): Likewise.
35598 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35599 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35600 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35601 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35603 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35604 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35605 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35606 * elf/dl-profile.c (_dl_start_profile): Likewise.
35607 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35608 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35610 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35611 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35612 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35613 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35614 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35615 (_dl_allocate_tls_storage): Likewise.
35616 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35617 (_dl_check_all_versions): Likewise.
35618 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35619 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35620 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35621 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35622 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35623 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35624 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35625 internal_function from __dl_start.
35626 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35627 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35628 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35629 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35630 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35631 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35632 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35633 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35634 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35635 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35636 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35637 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35638 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35639 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35640 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35642 (struct rtld_global_ro): Remove internal_function from the
35643 _dl_lookup_symbol_x member.
35644 (_dl_symbol_value): Remove. No longer defined anywhere.
35645 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35647 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35648 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35649 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35650 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35651 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35652 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35653 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35654 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35655 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35656 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35657 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35658 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35660 2017-08-31 Florian Weimer <fweimer@redhat.com>
35662 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35663 Remove internal_function.
35664 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35666 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35669 2017-08-31 Florian Weimer <fweimer@redhat.com>
35671 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35672 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35673 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35675 2017-08-31 Florian Weimer <fweimer@redhat.com>
35677 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35678 (__gai_enqueue_request): Remove internal_function.
35679 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35680 (__gai_remove_request, __gai_notify, __gai_notify_only)
35681 (__gai_sigqueue): Likewise.
35682 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35683 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35684 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35685 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35688 2017-08-31 Florian Weimer <fweimer@redhat.com>
35690 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35691 * include/dirent.h (__opendirat, __getdents, __getdents64)
35692 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35693 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35694 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35695 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35697 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35699 2017-08-31 Florian Weimer <fweimer@redhat.com>
35701 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35703 (GETCWD_RETURN_TYPE): Likewise.
35705 2017-08-31 Florian Weimer <fweimer@redhat.com>
35707 * include/time.h (__tz_compute, __strptime_internal): Remove
35709 * time/strptime_l.c (__strptime_internal): Likewise.
35710 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35712 2017-08-31 Florian Weimer <fweimer@redhat.com>
35714 * iconv/gconv.c (__gconv): Remove internal_function.
35715 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35716 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35717 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35718 (__gconv_release_cache): Likewise.
35719 * iconv/gconv_close.c (__gconv_close): Likewise.
35720 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35721 (read_conf_file, __gconv_get_path): Likewise.
35722 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35723 (__gconv_release_step, gen_steps, increment_counter)
35724 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35725 (__gconv_close_transform, free_modules_db): Likewise.
35726 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35728 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35729 (__gconv_find_transform, __gconv_lookup_cache)
35730 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35731 (__gconv_close_transform, __gconv_release_cache)
35732 (__gconv_loaded_object, __gconv_release_shlib)
35733 (__gconv_compare_alias): Likewise.
35734 * iconv/gconv_open.c (__gconv_open): Likewise.
35735 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35736 * iconv/iconvconfig.c (add_module): Likewise.
35737 * intl/dcigettext.c (plural_lookup, guess_category_value)
35738 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35739 * intl/eval-plural.h (plural_eval): Likewise.
35740 * intl/finddomain.c (_nl_find_domain): Likewise.
35741 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35742 (_nl_load_domain, _nl_find_msg): Likewise.
35743 (internal_function): Remove definition.
35744 * intl/loadinfo.h (internal_function): Likewise.
35745 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35747 * intl/localealias.c (internal_function): Remove definition.
35748 (read_alias_file): Remove internal_function.
35749 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35750 * intl/plural-exp.h (internal_function): Remove definition.
35751 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35753 * intl/plural.c: Regenerate.
35754 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35755 * locale/coll-lookup.c (__collidx_table_lookup)
35756 (__collseq_table_lookup): Likewise.
35757 * locale/coll-lookup.h (__collidx_table_lookup)
35758 (__collseq_table_lookup): Likewise.
35759 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35760 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35761 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35762 (_nl_unload_locale): Likewise.
35763 * locale/localeinfo.h (struct __locale_data): Remove
35764 internal_function from cleanup member.
35765 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35766 (_nl_remove_locale, _nl_load_locale_from_archive)
35767 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35768 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35769 (_nl_cleanup_time): Remove internal_function.
35770 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35771 (_nl_parse_alt_digit): Likewise.
35772 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35773 (_nl_select_era_entry): Likewise.
35774 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35775 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35776 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35777 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35778 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35780 2017-08-31 Florian Weimer <fweimer@redhat.com>
35782 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35783 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35784 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35785 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35787 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35788 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35789 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35790 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35792 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35794 2017-08-31 Florian Weimer <fweimer@redhat.com>
35796 * misc/getttyent.c (skip, value): Remove internal_function.
35797 * misc/syslog.c (openlog_internal): Likewise.
35798 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35800 2017-08-31 Florian Weimer <fweimer@redhat.com>
35802 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35803 (__nss_rewrite_field): Remove internal_function.
35804 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35805 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35806 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35807 * nss/nsswitch.c (nss_parse_file, nss_getline)
35808 (nss_parse_service_list, nss_new_service): Likewise.
35809 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35810 * nss/valid_field.c (__nss_valid_field): Likewise.
35811 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35813 2017-08-31 Florian Weimer <fweimer@redhat.com>
35815 * malloc/arena.c (__malloc_fork_lock_parent)
35816 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35817 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35818 internal_function from defintions.
35819 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35820 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35821 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35822 internal_function from declarations.
35823 * malloc/malloc.c (internal_function): Do not define.
35824 (mem2mem_check): Remove internal_function from declaration.
35825 (munmap_chunk, mremap_chunk): Remove internal_function.
35826 * malloc/mtrace.c (tr_where): Likewise.
35828 2017-08-31 Florian Weimer <fweimer@redhat.com>
35830 * include/rpc/pmap_clnt.h (__get_socket): Remove
35832 * sunrpc/auth_des.c (synchronize): Likewise.
35833 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35834 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35835 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35836 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35837 (key_call): Likewise.
35838 * sunrpc/pm_getport.c (__get_socket): Likewise.
35839 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35840 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35841 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35842 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35843 (invalidate): Likewise.
35844 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35845 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35846 (set_input_fragment, get_input_bytes): Likewise.
35848 2017-08-31 Florian Weimer <fweimer@redhat.com>
35850 * malloc/malloc.c (_int_free): Remove locked variable and related
35853 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35856 * Makerules (build-module-helper-objlist): Filter out
35857 $(elf-objpfx)sofini.os.
35858 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35861 2017-08-31 Florian Weimer <fweimer@redhat.com>
35863 * libio/fcloseall.c: Assume weak_alias is defined.
35864 * libio/feof.c: Likewise.
35865 * libio/fileno.c: Likewise.
35866 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35867 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35869 (_IO_file_open): Call __open directly.
35870 (_IO_new_file_sync): Assume ESPIPE is defined.
35871 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35872 (_IO_new_file_write): Call __write directly.
35873 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35874 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35875 * libio/genops.c: Assume _LIBC is defined.
35876 (save_for_backup): Remove internal_function.
35877 * libio/getc.c: Assume weak_alias is defined.
35878 * libio/getwc.c: Likewise.
35879 * libio/iofclose.c: Assume _LIBC is defined.
35880 * libio/iofdopen.c: Likewise.
35881 (_IO_fcntl): Remove macro definition.
35882 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35883 Call __fcntl directly.
35884 * libio/iofflush.c: Assume weak_alias is defined.
35885 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35887 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35888 * libio/iofgets.c: Likewise.
35889 * libio/iofopen.c: Assume _LIBC is defined.
35890 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35891 * libio/iofputs.c: Assume weak_alias is defined.
35892 * libio/iofread.c: Likewise.
35893 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35894 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35895 * libio/ioftell.c: Assume weak_alias is defined.
35896 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35897 * libio/iofwide.c: Assume _LIBC is defined.
35898 (_IO_fwide): Drop SHARED conditional because it is implied by
35900 * libio/iofwrite.c: Assume weak_alias is defined.
35901 * libio/iogetdelim.c: Likewise.
35902 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35903 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35904 (_IO_getwline): Call __wmemcpy directly.
35905 * libio/iopopen.c: Assume _LIBC is defined.
35906 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35907 (_IO_close): Remove macro definitions.
35908 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35910 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35912 * libio/ioputs.c: Assume weak_alias is defined.
35913 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35914 * libio/iosetbuffer.c: Assume weak_alias is defined.
35915 * libio/iosetvbuf.c: Likewise.
35916 * libio/ioungetc.c: Likewise.
35917 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35918 libc_hidden_def, libc_hidden_weak, NULL are defined.
35919 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35920 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35922 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35924 (_IO_old_file_init_internal): Drop SHARED conditional because it
35925 is implied by SHLIB_COMPAT.
35926 (_IO_old_file_fopen): Call __open directly.
35927 (_IO_old_file_sync): Assume ESPIPE is defined.
35928 (_IO_old_file_write): Call __write directly.
35929 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35930 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35931 Call __fcntl directly.
35932 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35933 (_IO_old_fgetpos): Assume EIO is defined.
35934 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35935 (_IO_old_fgetpos64): Assume EIO is defined.
35936 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35937 (_IO_old_fsetpos): Assume EIO is defined.
35938 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35939 (_IO_old_fsetpos64): Assume EIO is defined.
35940 * libio/oldiopopen.c: Assume _LIBC is defined.
35941 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35942 (_IO_close): Remove macro definitions.
35943 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35945 (_IO_old_proc_close): Call __close, __waitpid directly.
35946 * libio/put.c: Assume weak_alias is defined.
35947 * libio/stdfiles.c: Assume _LIBC is defined.
35948 * libio/stdio.c: Likewise.
35949 * libio/wfileops.c: Likewise.
35950 (_IO_wfile_sync): Assume ESPIPE is defined.
35951 * libio/wgenops.c: Assume _LIBC is defined.
35952 (save_for_wbackup): Remove internal_function.
35954 2017-08-31 Florian Weimer <fweimer@redhat.com>
35956 * malloc/malloc.c (top_check): Change return type to void. Remove
35958 * malloc/hooks.c (top_check): Likewise.
35959 (malloc_check, realloc_check, memalign_check): Adjust.
35961 2017-08-30 Joseph Myers <joseph@codesourcery.com>
35964 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35965 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35966 sigcontext and namespace requirements.
35967 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35968 * sysdeps/m68k/sys/ucontext.h: Likewise.
35969 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35970 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35971 <bits/sigcontext.h>.
35972 (__ctx): Define earlier.
35973 (mcontext_t): Define structure contents rather than using struct
35975 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35976 __glibc_reserved1 instead of __reserved.
35977 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35978 <bits/sigcontext.h>.
35979 (__ctx): Define earlier.
35980 (mcontext_t): Define structure contents rather than using struct
35982 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35983 mcontext_t instead of struct sigcontext.
35984 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35985 <bits/sigcontext.h>.
35986 (__ctx): Define earlier.
35987 (mcontext_t): Define structure contents rather than using struct
35989 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35990 <bits/sigcontext.h>.
35991 (__ctx): Define earlier.
35992 (mcontext_t): Define structure contents rather than using struct
35994 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35995 mcontext_t instead of struct sigcontext.
35996 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35997 mcontext_t instead of struct sigcontext.
35998 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35999 <bits/sigcontext.h>.
36000 (__ctx): New macro.
36001 (struct __ia64_fpreg_mcontext): New type.
36002 (mcontext_t): Define structure contents rather than using struct
36004 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
36005 (uc_sigmask): Define using __ctx.
36006 (uc_stack): Likewise.
36007 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
36008 <bits/sigcontext.h>.
36009 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36010 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
36011 <bits/sigcontext.h>.
36012 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
36013 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
36014 <bits/sigcontext.h>.
36015 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
36016 <bits/sigcontext.h>.
36017 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
36018 <bits/sigcontext.h>.
36019 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
36020 <bits/sigcontext.h>.
36021 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
36022 <bits/sigcontext.h>.
36023 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
36024 <bits/sigcontext.h>.
36025 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
36026 <bits/sigcontext.h>.
36027 (__ctx): Define earlier.
36028 (mcontext_t): Define structure contents rather than using struct
36030 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
36031 <bits/sigcontext.h>. Include <bits/types.h>.
36032 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
36033 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
36034 (test-xfail-XPG42/ucontext.h/conform): Likewise.
36035 (test-xfail-UNIX98/signal.h/conform): Likewise.
36036 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36037 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36038 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36039 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36040 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36041 (test-xfail-POSIX2008/signal.h/conform): Likewise.
36042 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36043 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36044 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36046 2017-08-30 Florian Weimer <fweimer@redhat.com>
36048 * malloc/dynarray_emplace_enlarge.c
36049 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
36050 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
36051 * malloc/tst-dynarray.c (test_long_overflow): New function.
36052 (do_test): Call it.
36054 2017-08-30 Florian Weimer <fweimer@redhat.com>
36056 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
36057 (set_arena_corrupt): Remove definitions.
36058 (mtrim): Do not check for corrupt arena.
36059 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
36062 2017-08-30 Florian Weimer <fweimer@redhat.com>
36065 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
36067 (ptmalloc_init): Do not set or use check_action.
36068 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
36069 call to malloc_printerr. Remove return statement.
36070 (free_check): Likewise. Remove arena unlock.
36071 (top_check): Update comment. Adjust call to malloc_printerr.
36072 Remove heap repair code.
36073 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
36074 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
36075 (sysmalloc): Adjust call to malloc_printerr.
36076 (munmap_chunk, __libc_realloc): Likewise. Remove return
36078 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
36079 Remove errout label and corresponding gotos.
36080 (_int_free): Likewise. Remove arena unlock.
36081 (do_set_mallopt_check): Do not set check_action.
36082 (malloc_printerr): Adjust parameter list. Do not mark arena as
36084 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
36086 * manual/probes.texi (Memory Allocation Probes): Remove
36087 memory_mallopt_check_action.
36089 2017-08-30 Steve Ellcey <sellcey@cavium.com>
36091 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
36092 Use pointer to uint64_t instead of long int for sp.
36094 2017-08-30 Florian Weimer <fweimer@redhat.com>
36097 * malloc/malloc.c (malloc_printerr): Always terminate the process,
36098 without printing a backtrace. Do not leak any information in the
36100 * manual/memory.texi (Heap Consistency Checking): Update.
36101 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
36103 2017-08-30 Florian Weimer <fweimer@redhat.com>
36105 Do not scale NPTL tests with available number of CPUs.
36106 * nptl/tst-cond16.c (count): Set to constant value of 8.
36107 * nptl/tst-cond18.c (count): Likewise.
36109 2017-08-29 Joseph Myers <joseph@codesourcery.com>
36112 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
36113 Define to take a second argument that is a macro that
36114 concatentates a suffix, not the suffix itself.
36115 (__CONCAT_d): New macro.
36116 (__CONCAT_f): Likewise.
36117 (__CONCAT_l): Likewise.
36119 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
36121 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
36124 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36125 Aurelien Jarno <aurelien@aurel32.net>
36126 Maciej W. Rozycki <macro@imgtec.com>
36129 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
36130 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
36131 `mips16-syscall6' and `mips16-syscall7'.
36132 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
36133 (CFLAGS-mips16-syscall7.c): Remove.
36134 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
36135 Remove `__mips16_syscall5', `__mips16_syscall6' and
36136 `__mips16_syscall7'.
36137 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
36138 (__mips16_syscall0): Rename `__mips16_syscall_return' to
36139 `__mips_syscall_return'.
36140 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
36141 (__mips16_syscall1): Likewise.
36142 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
36143 (__mips16_syscall2): Likewise.
36144 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
36145 (__mips16_syscall3): Likewise.
36146 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
36147 (__mips16_syscall4): Likewise.
36148 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
36150 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
36152 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
36154 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
36155 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
36156 `__mips16_syscall5'. Remove prototype.
36157 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
36158 `__mips16_syscall6'. Remove prototype.
36159 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
36160 `__mips16_syscall7'. Remove prototype.
36161 (__nomips16, __mips16_syscall_return): Move to...
36162 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
36163 (__nomips16, __mips_syscall_return): ... here.
36164 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
36165 `__mips16_syscall_return' to `__mips_syscall_return'.
36166 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
36167 `internal_syscall##nr'.
36168 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
36169 `internal_syscall##nr'.
36170 (FORCE_FRAME_POINTER): Remove.
36171 (__mips_syscall5): New prototype.
36172 (internal_syscall5): Rewrite to call `__mips_syscall5'.
36173 (__mips_syscall6): New prototype.
36174 (internal_syscall6): Rewrite to call `__mips_syscall6'.
36175 (__mips_syscall7): New prototype.
36176 (internal_syscall7): Rewrite to call `__mips_syscall7'.
36177 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
36178 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
36179 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
36180 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
36181 (sysdep_routines): Add libc-do-syscall.
36182 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
36183 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
36185 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36188 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
36189 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
36190 (advise_stack_range): New function.
36191 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
36192 stack non required to advise_stack_range at allocatestack.c
36194 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
36196 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
36198 2017-08-29 Florian Weimer <fweimer@redhat.com>
36201 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
36202 __end_fct. Mangle __end_fct after setting it to NULL.
36203 * iconv/Makefile (tests): Add tst-gconv-init-failure.
36204 (modules-names, modules-names-tests): Add
36205 tst-gconv-init-failure-mod.
36206 (gconv-modules): New target.
36207 (tst-gconv-init-failure-mod.so): Link against libsupport.
36208 (tst-gconv-init-failure): Depend on gconv-modules,
36209 tst-gconv-init-failure-mod.so.
36210 * iconv/tst-gconv-init-failure-mod.c: New file.
36211 * iconv/tst-gconv-init-failure.c: Likewise.
36212 * iconv/test-gconv-modules: Likewise.
36214 2017-08-29 Florian Weimer <fweimer@redhat.com>
36217 * iconv/gconv_db.c (free_derivation): Remove redundant
36219 (gen_steps): Unconditionally mangle __btowc_fct after
36221 (increment_counter): Likewise. Do not call init_fct for internal
36224 2017-08-29 Joseph Myers <joseph@codesourcery.com>
36227 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
36228 (_MSUF_): Remove macro.
36229 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
36231 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
36232 (__REDIRFROM_X): New macro.
36233 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
36235 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
36236 (__REDIRTO_X): Likewise.
36237 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
36239 (__MATH_REDIRCALL_2): Likewise.
36240 (__MATH_REDIRCALL_INTERNAL): Likewise.
36241 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
36242 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
36243 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
36244 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
36245 * math/test-finite-macros.c: New file.
36246 * math/Makefile (tests): Add test-finite-macros.
36247 (CFLAGS-test-finite-macros.c): New variable.
36249 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
36250 Jeff Law <law@redhat.com>
36253 Mangle NULL pointers in iconv/gconv.
36254 * iconv/gconv_cache.c (find_module): Demangle init_fct before
36255 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
36256 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
36257 is non-NULL before demangling the end_fct. Check for NULL
36258 end_fct after demangling.
36259 (__gconv_release_step): Demangle the end_fct before checking
36260 it for NULL. Remove assert on __shlibc_handle != NULL.
36261 (gen_steps): Don't check btowc_fct for NULL before mangling.
36262 Demangle init_fct before checking for NULL.
36263 (increment_counter): Likewise.
36264 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
36265 end_fct for NULL before mangling.
36266 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
36269 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
36272 * locale/iso-639.def: add Morisyen.
36274 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36277 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
36278 (iszero): New C++ implementation that does not use
36279 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
36280 signaling nans are enabled, since __builtin_types_compatible_p
36281 is a C-only feature.
36282 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
36283 defined, include ieee754_float128.h for access to the union and
36284 member ieee854_float128.ieee.
36285 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
36286 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
36287 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36288 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
36289 options of test-math-zero on powerpc64le.
36291 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
36293 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
36294 Change double to float.
36296 2017-08-28 Joseph Myers <joseph@codesourcery.com>
36298 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
36300 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
36301 conditional code; define contents only for [LIBM_SVID_COMPAT].
36303 2017-08-28 Florian Weimer <fweimer@redhat.com>
36305 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
36306 (abi-lp64_be-options): Remove.
36307 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
36308 (abi-hard-options): Likewise.
36309 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
36310 (abi-o32_hard-options, abi-o32_soft_2008-options)
36311 (abi-o32_hard_2008-options, abi-n32_soft-options)
36312 (abi-n32_hard-options, abi-n32_soft_2008-options)
36313 (abi-n32_hard_2008-options, abi-n64_soft-options)
36314 (abi-n64_hard-options, abi-n64_soft_2008-options)
36315 (abi-n64_hard_2008-options): Likewise.
36316 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
36317 (abi-64-v1-options, abi-64-v2-options): Likewise.
36318 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
36319 (abi-64-options): Likewise.
36320 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
36321 (abi-64-options): Likewise.
36322 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
36323 (abi-64-options): Likewise.
36324 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
36325 (abi-64-options, abi-x32-options): Likewise.
36327 2017-08-28 Florian Weimer <fweimer@redhat.com>
36329 Store supported list of SYS_* system calls in the source tree.
36330 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
36331 (bits/syscall.h): Generate from list file.
36332 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
36333 [$(subdir) = misc] (tests): Add tst-syscall-list.
36334 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
36335 [$(subdir) = misc] (tst-syscall-list-macros.list)
36336 [$(subdir) = misc] (tst-syscall-list-nr.list)
36337 (tst-syscall-list-sys.list): Helper targets for new
36338 tst-syscall-list test.
36339 [$(subdir) = misc] (tst-syscall-list.out): Run test script
36340 tst-syscall-list.sh.
36341 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
36342 target. Do not include bits/syscall.d.
36343 [$(subdir) = misc] (generated): Do not update.
36344 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
36345 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
36346 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
36347 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
36349 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
36351 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
36352 (tst-cxa_atexit, tst-on_exit): Likewise.
36353 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
36354 tst-cxa_atexit, and tst-on_exit.
36355 * stdlib/tst-atexit-common.c: New file.
36356 * stdlib/tst-atexit.c: New file.
36357 * stdlib/tst-at_quick_exit.c: New file.
36358 * stdlib/tst-cxa_atexit.c: New file.
36359 * stdlib/tst-on_exit.c: New file.
36361 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
36363 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
36364 * mach/stack_chk_fail_local.c: New file.
36365 * hurd/stack_chk_fail_local.c: New file.
36366 * mach/Machrules ($(interface-library)-routines): Add
36367 stack_chk_fail_local.
36368 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
36369 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
36370 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
36371 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
36372 * hurd/Makefile (CFLAGS-hurdstartup.o,
36373 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
36375 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
36377 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
36378 (index_cpu_*, index_arch_*): Removed.
36380 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
36382 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
36383 Use uint64_t instead of unsigned long.
36385 2017-08-25 Joseph Myers <joseph@codesourcery.com>
36387 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
36388 [__HAVE_DISTINCT_FLOAT128].
36390 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
36391 of <bits/math-finite.h>.
36392 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
36393 inclusion of <bits/math-finite.h>.
36394 * math/bits/math-finite.h (__REDIRTO_X): Do not define
36395 conditionally on [__MATH_DECLARING_LDOUBLE && defined
36396 __NO_LONG_DOUBLE_MATH].
36397 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
36398 (__MATH_REDIRCALL_2): Likewise.
36399 (__MATH_REDIRCALL_INTERNAL): Likewise.
36400 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
36401 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
36402 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
36404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
36406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
36408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
36410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
36412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
36414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
36416 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36417 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36418 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36419 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
36421 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
36422 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
36423 w_sqrtf_compat-ppc32.
36425 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36427 * math/math.h [defined __cplusplus] (issignaling): In the long
36428 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
36429 is not defined. Call __issignaling, otherwise.
36431 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36433 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
36434 syscall definitions and replace __builtin_expect with __glibc_likely.
36435 * sysdeps/unix/syscall-template.S: Update comment about cancellable
36437 (SYSCALL_CANCELLABLE): Removedefinition
36438 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
36440 (PSEUDO_END): Likewise.
36441 [IS_IN (libpthread)] (CENABLE): Likewise.
36442 [IS_IN (libpthread)] (CDISABLE): Likewise.
36443 [IS_IN (libc)] (CENABLE): Likewise.
36444 [IS_IN (libc)] (CENABLE): Likewise.
36445 [IS_IN (librt)] (CDISABLE): Likewise.
36446 [IS_IN (librt)] (CDISABLE): Likewise.
36447 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36448 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
36450 (PSEUDO_END): Likewise.
36451 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
36452 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
36453 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36454 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36455 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36456 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36457 (CENABLE): Likewise.
36458 (CDISABLE): Likewise.
36459 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36460 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
36462 (PSEUDO_END): Likewise.
36463 [IS_IN (libpthread)] (CENABLE): Likewise.
36464 [IS_IN (libpthread)] (CDISABLE): Likewise.
36465 [IS_IN (libc)] (CENABLE): Likewise.
36466 [IS_IN (libc)] (CENABLE): Likewise.
36467 [IS_IN (librt)] (CDISABLE): Likewise.
36468 [IS_IN (librt)] (CDISABLE): Likewise.
36469 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36470 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
36472 (PSEUDO_END): Likewise.
36473 [IS_IN (libpthread)] (CENABLE): Likewise.
36474 [IS_IN (libpthread)] (CDISABLE): Likewise.
36475 [IS_IN (libc)] (CENABLE): Likewise.
36476 [IS_IN (libc)] (CENABLE): Likewise.
36477 [IS_IN (librt)] (CDISABLE): Likewise.
36478 [IS_IN (librt)] (CDISABLE): Likewise.
36479 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36480 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
36482 (PSEUDO_END): Likewise.
36483 [IS_IN (libpthread)] (CENABLE): Likewise.
36484 [IS_IN (libpthread)] (CDISABLE): Likewise.
36485 [IS_IN (libc)] (CENABLE): Likewise.
36486 [IS_IN (libc)] (CENABLE): Likewise.
36487 [IS_IN (librt)] (CDISABLE): Likewise.
36488 [IS_IN (librt)] (CDISABLE): Likewise.
36489 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36490 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
36492 (PSEUDO_END): Likewise.
36493 [IS_IN (libpthread)] (CENABLE): Likewise.
36494 [IS_IN (libpthread)] (CDISABLE): Likewise.
36495 [IS_IN (libc)] (CENABLE): Likewise.
36496 [IS_IN (libc)] (CENABLE): Likewise.
36497 [IS_IN (librt)] (CDISABLE): Likewise.
36498 [IS_IN (librt)] (CDISABLE): Likewise.
36499 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36500 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
36502 (PSEUDO_END): Likewise.
36503 [IS_IN (libpthread)] (CENABLE): Likewise.
36504 [IS_IN (libpthread)] (CDISABLE): Likewise.
36505 [IS_IN (libc)] (CENABLE): Likewise.
36506 [IS_IN (libc)] (CENABLE): Likewise.
36507 [IS_IN (librt)] (CDISABLE): Likewise.
36508 [IS_IN (librt)] (CDISABLE): Likewise.
36509 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36510 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
36512 (PSEUDO_END): Likewise.
36513 [IS_IN (libpthread)] (CENABLE): Likewise.
36514 [IS_IN (libpthread)] (CDISABLE): Likewise.
36515 [IS_IN (libc)] (CENABLE): Likewise.
36516 [IS_IN (libc)] (CENABLE): Likewise.
36517 [IS_IN (librt)] (CDISABLE): Likewise.
36518 [IS_IN (librt)] (CDISABLE): Likewise.
36519 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36520 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
36522 (PSEUDO_END): Likewise.
36523 [IS_IN (libpthread)] (CENABLE): Likewise.
36524 [IS_IN (libpthread)] (CDISABLE): Likewise.
36525 [IS_IN (libc)] (CENABLE): Likewise.
36526 [IS_IN (libc)] (CENABLE): Likewise.
36527 [IS_IN (librt)] (CDISABLE): Likewise.
36528 [IS_IN (librt)] (CDISABLE): Likewise.
36529 (SINGLE_THREAD_P): Likewise.
36530 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
36532 (PSEUDO_END): Likewise.
36533 [IS_IN (libpthread)] (CENABLE): Likewise.
36534 [IS_IN (libpthread)] (CDISABLE): Likewise.
36535 [IS_IN (libc)] (CENABLE): Likewise.
36536 [IS_IN (libc)] (CENABLE): Likewise.
36537 [IS_IN (librt)] (CDISABLE): Likewise.
36538 [IS_IN (librt)] (CDISABLE): Likewise.
36539 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36540 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
36542 (PSEUDO_END): Likewise.
36543 [IS_IN (libpthread)] (CENABLE): Likewise.
36544 [IS_IN (libpthread)] (CDISABLE): Likewise.
36545 [IS_IN (libc)] (CENABLE): Likewise.
36546 [IS_IN (libc)] (CENABLE): Likewise.
36547 [IS_IN (librt)] (CDISABLE): Likewise.
36548 [IS_IN (librt)] (CDISABLE): Likewise.
36549 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36550 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
36551 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36552 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
36553 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
36555 (PSEUDO_END): Likewise.
36556 [IS_IN (libpthread)] (CENABLE): Likewise.
36557 [IS_IN (libpthread)] (CDISABLE): Likewise.
36558 [IS_IN (libc)] (CENABLE): Likewise.
36559 [IS_IN (libc)] (CENABLE): Likewise.
36560 [IS_IN (librt)] (CDISABLE): Likewise.
36561 [IS_IN (librt)] (CDISABLE): Likewise.
36562 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36563 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
36565 (PSEUDO_END): Likewise.
36566 [IS_IN (libpthread)] (CENABLE): Likewise.
36567 [IS_IN (libpthread)] (CDISABLE): Likewise.
36568 [IS_IN (libc)] (CENABLE): Likewise.
36569 [IS_IN (libc)] (CENABLE): Likewise.
36570 [IS_IN (librt)] (CDISABLE): Likewise.
36571 [IS_IN (librt)] (CDISABLE): Likewise.
36572 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36573 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
36575 (PSEUDO_END): Likewise.
36576 [IS_IN (libpthread)] (CENABLE): Likewise.
36577 [IS_IN (libpthread)] (CDISABLE): Likewise.
36578 [IS_IN (libc)] (CENABLE): Likewise.
36579 [IS_IN (libc)] (CENABLE): Likewise.
36580 [IS_IN (librt)] (CDISABLE): Likewise.
36581 [IS_IN (librt)] (CDISABLE): Likewise.
36582 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
36584 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36585 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
36586 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
36588 (PSEUDO_END): Likewise.
36589 [IS_IN (libpthread)] (CENABLE): Likewise.
36590 [IS_IN (libpthread)] (CDISABLE): Likewise.
36591 [IS_IN (libc)] (CENABLE): Likewise.
36592 [IS_IN (libc)] (CENABLE): Likewise.
36593 [IS_IN (librt)] (CDISABLE): Likewise.
36594 [IS_IN (librt)] (CDISABLE): Likewise.
36595 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36596 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36598 (PSEUDO_END): Likewise.
36599 [IS_IN (libpthread)] (CENABLE): Likewise.
36600 [IS_IN (libpthread)] (CDISABLE): Likewise.
36601 [IS_IN (libc)] (CENABLE): Likewise.
36602 [IS_IN (libc)] (CENABLE): Likewise.
36603 [IS_IN (librt)] (CDISABLE): Likewise.
36604 [IS_IN (librt)] (CDISABLE): Likewise.
36605 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36607 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36609 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36611 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36613 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36615 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36618 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36619 middle and outer with size_t instead of int. Repleace %d and
36620 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36621 "MAX (outer, nchars - 64)" to support unsigned outer and
36622 nchars. Also exit loop when outer == 0.
36624 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36626 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36627 * include/signal.h (__sigsuspend_nocancel): Likewise.
36628 * include/time.h (__nanosleep_nocancel): Likewise.
36629 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36630 * login/utmp_file.c: Include non cancellable syscall header.
36631 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36634 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36636 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36637 .byte sequences with AVX512F instructions.
36638 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36639 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36640 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36641 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36643 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36646 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36647 Steve Ellcey <sellcey@cavium.com>
36649 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36650 Use PTR_REG macro in cmp instruction.
36652 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36654 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36655 Change the return type of the ifunc resolver to match the return
36656 type of the target function.
36658 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36660 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36661 (preadv64): Likewise.
36662 (pwrite64(: Likewise.
36663 (pwritev64): Likewise.
36665 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36666 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36667 (LOAD_ARGS_0): Likewise.
36668 (LOAD_ARGS_1): Likewise.
36669 (LOAD_ARGS_2): Likewise.
36670 (LOAD_ARGS_3): Likewise.
36671 (LOAD_ARGS_4): Likewise.
36672 (LOAD_ARGS_5): Likewise.
36673 (LOAD_ARGS_6): Likewise.
36674 (LOAD_REGS_0): Likewise.
36675 (LOAD_REGS_1): Likewise.
36676 (LOAD_REGS_2): Likewise.
36677 (LOAD_REGS_3): Likewise.
36678 (LOAD_REGS_4): Likewise.
36679 (LOAD_REGS_5): Likewise.
36680 (LOAD_REGS_6): Likewise.
36681 (ASM_ARGS_0): Likewise.
36682 (ASM_ARGS_1): Likewise.
36683 (ASM_ARGS_2): Likewise.
36684 (ASM_ARGS_3): Likewise.
36685 (ASM_ARGS_4): Likewise.
36686 (ASM_ARGS_5): Likewise.
36687 (ASM_ARGS_6): Likewise.
36688 (LOAD_ARGS_TYPES_1): Likewise.
36689 (LOAD_ARGS_TYPES_2): Likewise.
36690 (LOAD_ARGS_TYPES_3): Likewise.
36691 (LOAD_ARGS_TYPES_4): Likewise.
36692 (LOAD_ARGS_TYPES_5): Likewise.
36693 (LOAD_ARGS_TYPES_6): Likewise.
36694 (LOAD_REGS_TYPES_1): Likewise.
36695 (LOAD_REGS_TYPES_2): Likewise.
36696 (LOAD_REGS_TYPES_3): Likewise.
36697 (LOAD_REGS_TYPES_4): Likewise.
36698 (LOAD_REGS_TYPES_5): Likewise.
36699 (LOAD_REGS_TYPES_6): Likewise.
36700 (TYPEFY): New define.
36701 (ARGIFY): Likewise.
36702 (internal_syscall0): Likewise.
36703 (internal_syscall1): Likewise.
36704 (internal_syscall2): Likewise.
36705 (internal_syscall3): Likewise.
36706 (internal_syscall4): Likewise.
36707 (internal_syscall5): Likewise.
36708 (internal_syscall6): Likewise.
36709 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36710 (INTERNAL_SYSCALL_NCS): Remove define.
36711 (internal_syscall1): Add define.
36713 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36715 * math/w_remainder_compat.c: Remove duplicate inclusion of
36716 math-svid-compat.h.
36717 * math/w_remainderf_compat.c: Likewise.
36718 * math/w_remainderl_compat.c: Likewise.
36720 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36724 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36727 * math/tgmath.h (__floating_type): Simplify definitions.
36728 (__real_integer_type): New macro.
36729 (__complex_integer_type): Likewise.
36730 (__expr_is_real): Likewise.
36731 (__tgmath_real_type_sub): Update comment to describe handling of
36733 (__tgmath_complex_type_sub): New macro.
36734 (__tgmath_complex_type): Likewise.
36735 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36736 (__TGMATH_CF128): Use __expr_is_real.
36737 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36739 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36740 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36741 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36744 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36746 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36748 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36750 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36753 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36754 nanosleep_not_cancel with __nanosleep_nocancel.
36755 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36756 (__nanosleep_nocancel): New macro.
36757 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36759 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36761 (__nanosleep_nocancel): New prototype.
36763 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36764 pause_not_cancel with __pause_nocancel.
36765 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36766 (__pause_nocancel): New macro.
36767 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36769 (__pause_nocancel): New prototype.
36770 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36772 2017-08-22 Martin Sebor <msebor@redhat.com>
36774 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36775 to return a pointer to the same type as the target function.
36777 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36781 * include/printf.h (__printf_fphex): Add attribute_hidden.
36782 (__guess_grouping): New prototype.
36783 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36784 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36785 libc_hidden_proto and libc_hidden_def.
36786 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36787 (__vstrfmon_l): Remove the third argument passed to
36790 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36792 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36793 definition for issignaling that does not rely on __MATH_TG,
36794 since __MATH_TG uses __builtin_types_compatible_p, which is only
36795 available in C mode.
36796 (CFLAGS-test-math-issignaling.cc): New variable.
36797 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36798 * math/test-math-issignaling.cc: New test for C++ implementation
36799 of type-generic issignaling.
36800 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36801 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36802 options of test-math-issignaling on powerpc64le.
36804 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36806 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36808 (hidden_proto): Likewise.
36809 (hidden_tls_proto): Likewise.
36810 (__hidden_proto): Likewise.
36812 2017-08-22 Florian Weimer <fweimer@redhat.com>
36814 math: Statically link tests of internal functionality.
36815 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36817 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36818 (gmp-objs): Remove assignment.
36819 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36821 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36824 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36826 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36828 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36831 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36832 variable definitions above inclusion of ../Rules.
36834 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36836 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36837 case calling __builtin_unreachable.
36839 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36841 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36842 __waitpid_nocancel.
36843 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36844 (__waitpid_nocancel): New macro.
36845 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36847 (__waitpid_nocancel): Replace macro with a function.
36848 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36851 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36853 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36854 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36856 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36857 __writev_nocancel_nostatus.
36858 (write_call_graph): Likewise.
36859 (write_bb_counts): Likewise.
36860 * resolv/herror.c (herror): Likewise.
36861 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36863 (__writev_nocancel_nostatus): New macro.
36864 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36866 (__writev_nocancel_nostatus): New function.
36868 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36871 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36873 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36875 (hidden_proto): Likewise.
36876 (hidden_tls_proto): Likewise.
36877 (__hidden_proto): Likewise.
36880 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36881 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36890 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36891 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36892 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36893 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36894 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36895 GLIBC_2.0 sqrtl symbol.
36897 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36898 [__USE_MISC] (_LIB_VERSION): Likewise.
36899 [__USE_MISC] (struct exception): Likewise.
36900 [__USE_MISC] (matherr): Likewise.
36901 [__USE_MISC] (DOMAIN): Likewise.
36902 [__USE_MISC] (SING): Likewise.
36903 [__USE_MISC] (OVERFLOW): Likewise.
36904 [__USE_MISC] (UNDERFLOW): Likewise.
36905 [__USE_MISC] (TLOSS): Likewise.
36906 [__USE_MISC] (PLOSS): Likewise.
36907 [__USE_MISC] (HUGE): Likewise.
36908 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36909 * math/math-svid-compat.h: New file.
36910 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36912 * include/math.h [!_ISOMAC] (__matherr): Remove.
36913 * manual/arith.texi (FP Exceptions): Do not document matherr.
36914 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36915 (tests-internal): New variable.
36916 (install-lib): Do not add libieee.a.
36917 (non-lib.a): Likewise.
36918 (extra-objs): Do not add libieee.a and ieee-math.o.
36919 (CPPFLAGS-s_lib_version.c): Remove variable.
36920 ($(objpfx)libieee.a): Remove rule.
36921 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36922 * math/ieee-math.c: Remove.
36923 * math/libm-test-support.c (matherr): Remove.
36924 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36925 and license notices. Include <math-svid-compat.h> and
36927 (matherr): Undefine as macro. Use compat_symbol_reference.
36928 (_LIB_VERSION): Likewise.
36929 * math/test-matherr-2.c: New file.
36930 * math/test-matherr-3.c: Likewise.
36931 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36933 (__kernel_standard_f): Likewise.
36934 (__kernel_standard_l): Likewise.
36935 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36936 <math_private.h>. Include <math-svid-compat.h>.
36937 (_LIB_VERSION): Undefine as macro.
36938 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36939 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36940 [LIBM_SVID_COMPAT], use compat_symbol.
36941 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36942 <math_private.h>. Include <math-svid-compat.h>.
36943 (matherr): Undefine as macro.
36944 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36946 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36947 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36948 compat_symbol_reference.
36949 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36950 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36951 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36952 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36953 (MATHERR_D): Remove declaration.
36954 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36955 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36956 [LIBM_BUILD] (pmatherrf): Likewise.
36957 [LIBM_BUILD] (pmatherr): Likewise.
36958 [LIBM_BUILD] (pmatherrl): Likewise.
36959 (DOMAIN): Likewise.
36961 (OVERFLOW): Likewise.
36962 (UNDERFLOW): Likewise.
36965 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36966 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36968 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36969 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36971 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36972 * math/w_acos_compat.c: Likewise.
36973 * math/w_acosf_compat.c: Likewise.
36974 * math/w_acosh_compat.c: Likewise.
36975 * math/w_acoshf_compat.c: Likewise.
36976 * math/w_acoshl_compat.c: Likewise.
36977 * math/w_acosl_compat.c: Likewise.
36978 * math/w_asin_compat.c: Likewise.
36979 * math/w_asinf_compat.c: Likewise.
36980 * math/w_asinl_compat.c: Likewise.
36981 * math/w_atan2_compat.c: Likewise.
36982 * math/w_atan2f_compat.c: Likewise.
36983 * math/w_atan2l_compat.c: Likewise.
36984 * math/w_atanh_compat.c: Likewise.
36985 * math/w_atanhf_compat.c: Likewise.
36986 * math/w_atanhl_compat.c: Likewise.
36987 * math/w_cosh_compat.c: Likewise.
36988 * math/w_coshf_compat.c: Likewise.
36989 * math/w_coshl_compat.c: Likewise.
36990 * math/w_exp10_compat.c: Likewise.
36991 * math/w_exp10f_compat.c: Likewise.
36992 * math/w_exp10l_compat.c: Likewise.
36993 * math/w_exp2_compat.c: Likewise.
36994 * math/w_exp2f_compat.c: Likewise.
36995 * math/w_exp2l_compat.c: Likewise.
36996 * math/w_fmod_compat.c: Likewise.
36997 * math/w_fmodf_compat.c: Likewise.
36998 * math/w_fmodl_compat.c: Likewise.
36999 * math/w_hypot_compat.c: Likewise.
37000 * math/w_hypotf_compat.c: Likewise.
37001 * math/w_hypotl_compat.c: Likewise.
37002 * math/w_j0_compat.c: Likewise.
37003 * math/w_j0f_compat.c: Likewise.
37004 * math/w_j0l_compat.c: Likewise.
37005 * math/w_j1_compat.c: Likewise.
37006 * math/w_j1f_compat.c: Likewise.
37007 * math/w_j1l_compat.c: Likewise.
37008 * math/w_jn_compat.c: Likewise.
37009 * math/w_jnf_compat.c: Likewise.
37010 * math/w_jnl_compat.c: Likewise.
37011 * math/w_lgamma_main.c: Likewise.
37012 * math/w_lgamma_r_compat.c: Likewise.
37013 * math/w_lgammaf_main.c: Likewise.
37014 * math/w_lgammaf_r_compat.c: Likewise.
37015 * math/w_lgammal_main.c: Likewise.
37016 * math/w_lgammal_r_compat.c: Likewise.
37017 * math/w_log10_compat.c: Likewise.
37018 * math/w_log10f_compat.c: Likewise.
37019 * math/w_log10l_compat.c: Likewise.
37020 * math/w_log2_compat.c: Likewise.
37021 * math/w_log2f_compat.c: Likewise.
37022 * math/w_log2l_compat.c: Likewise.
37023 * math/w_log_compat.c: Likewise.
37024 * math/w_logf_compat.c: Likewise.
37025 * math/w_logl_compat.c: Likewise.
37026 * math/w_pow_compat.c: Likewise.
37027 * math/w_powf_compat.c: Likewise.
37028 * math/w_powl_compat.c: Likewise.
37029 * math/w_remainder_compat.c: Likewise.
37030 * math/w_remainderf_compat.c: Likewise.
37031 * math/w_remainderl_compat.c: Likewise.
37032 * math/w_scalb_compat.c: Likewise.
37033 * math/w_scalbf_compat.c: Likewise.
37034 * math/w_scalbl_compat.c: Likewise.
37035 * math/w_sinh_compat.c: Likewise.
37036 * math/w_sinhf_compat.c: Likewise.
37037 * math/w_sinhl_compat.c: Likewise.
37038 * math/w_sqrt_compat.c: Likewise.
37039 * math/w_sqrtf_compat.c: Likewise.
37040 * math/w_sqrtl_compat.c: Likewise.
37041 * math/w_tgamma_compat.c: Likewise.
37042 * math/w_tgammaf_compat.c: Likewise.
37043 * math/w_tgammal_compat.c: Likewise.
37044 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
37045 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
37046 * sysdeps/ieee754/k_standard.c: Likewise.
37047 * sysdeps/ieee754/k_standardf.c: Likewise.
37048 * sysdeps/ieee754/k_standardl.c: Likewise.
37049 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
37050 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
37051 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
37052 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
37053 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
37054 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
37055 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
37056 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
37057 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
37058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
37060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
37062 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
37063 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
37064 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
37065 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
37067 2017-08-21 Florian Weimer <fweimer@redhat.com>
37070 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
37071 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
37072 Move before inclusion of ../Rules.
37074 2017-08-21 Florian Weimer <fweimer@redhat.com>
37077 * assert/assert.h (assert): Use static_cast (bool) for C++.
37078 Use the ternary operator in the warning branch for GNU C.
37079 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
37080 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
37081 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
37082 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
37083 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
37085 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37088 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37089 (__syscall_clock_gettime): Add attribute_hidden.
37090 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
37091 (__start_context): Likewise.
37093 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37095 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
37097 (hidden_proto): Likewise.
37098 (hidden_tls_proto): Likewise.
37099 (__hidden_proto): Likewise.
37101 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37103 * include/libc-symbols.h (attribute_hidden): Enable hidden
37104 visibility in libc.a compiled with PIE.
37106 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37109 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
37110 Add attribute_hidden.
37112 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37115 * Makerules (all-nonlib): Add $(others-extras).
37116 * catgets/Makefile (others-extras): New.
37117 * elf/Makefile (others-extras): Likewise.
37118 * nss/Makefile (others-extras): Likewise.
37120 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37123 * csu/libc-start.c (__libc_multiple_libcs): Removed.
37124 * elf/dl-open.c: Include <libc-internal.h>.
37125 (__libc_multiple_libcs): Removed.
37126 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
37128 * include/libc-internal.h (__libc_multiple_libcs): New.
37129 * misc/sbrk.c: Include <libc-internal.h>.
37130 (__libc_multiple_libcs): Removed.
37132 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37135 * grp/initgroups.c (__nss_group_database): Removed.
37136 (__nss_initgroups_database): Likewise.
37137 * nscd/gai.c (__nss_hosts_database): Likewise.
37138 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
37139 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
37140 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
37141 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
37142 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
37143 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
37145 * nss/nsswitch.c (__nss_database_custom): Define only if
37146 USE_NSCD is defined.
37147 (__nss_configure_lookup): Use __nss_database_custom only if
37148 USE_NSCD is defined.
37149 * nss/nsswitch.h (__nss_database_custom): Declare only if
37150 USE_NSCD is defined. Add attribute_hidden.
37151 (__nss_setent): Add attribute_hidden.
37152 (__nss_endent): Likewise.
37153 (__nss_getent_r): Likewise.
37154 (__nss_getent): Likewise.
37155 (DEFINE_DATABASE): Declare __nss_##arg##_database.
37157 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37160 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
37161 libc_hidden_proto and libc_hidden_def.
37163 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37166 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
37167 Add libc_hidden_proto.
37168 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
37169 Add libc_hidden_def.
37171 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37174 * gmon/Makefile (routines): Remove bb_init_func and
37176 (elide-routines.os): Removed.
37177 * gmon/bb_exit_func.c: Likewise.
37178 * gmon/bb_init_func.c: Likewise.
37179 * include/sys/gmon.h (__bb): Likewise.
37180 (__bb_init_func): Likewise.
37181 (__bb_exit_func): Likewise.
37182 * sysdeps/alpha/bb_init_func.S: Likewise.
37184 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37186 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
37187 * include/setjmp.h (____longjmp_chk): Here. Add
37190 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
37193 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
37195 (__strspn_sse2): Likewise.
37197 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37199 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
37200 (close_not_cancel_no_status): Likewise.
37201 (__close_nocancel): New macro.
37202 (__close_nocancel_nostatus): Likewise.
37203 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
37205 (close_not_cancel): Likewise.
37206 (close_not_cancel_no_status): Likewise.
37207 (__close_nocancel): New prototype.
37208 (__close_nocancel_nostatus): New function.
37209 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
37210 * catgets/open_catalog.c (__open_catalog): Replace
37211 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
37212 * gmon/gmon.c (write_gmon): Likewise.
37213 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37214 * intl/loadmsgcat.c (close): Likewise.
37215 * io/ftw.c (open_dir_stream): Likewise.
37216 (ftw_startup): Likewise.
37217 * libio/fileops.c (_IO_file_open): Likewise.
37218 (_IO_file_close_mmap): Likewise.
37219 (_IO_file_close): Likewise.
37220 * libio/iopopen.c (_IO_dup2): Likewise.
37221 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37222 * locale/loadlocale.c (_nl_load_locale): Likewise.
37223 * login/utmp_file.c (pututline_file): Likewise.
37224 (endutent_file): Likewise.
37225 * misc/daemon.c (daemon): Likewise.
37226 * nscd/nscd_getai.c (__nscd_getai): Likewise.
37227 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37228 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
37229 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
37230 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37231 * nscd/nscd_helper.c (open_socket): Likewise.
37232 (__nscd_open_socket): Likewise.
37233 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
37234 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
37235 (__nscd_innetgr): Likewise.
37236 * nss/nss_db/db-open.c (internal_setent): Likewise.
37237 * resolv/res-close.c (__res_iclose): Likewise.
37238 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
37239 * sysdeps/posix/closedir.c (__closedir): Likewise.
37240 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
37241 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37242 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
37243 (opendir_tail): Likewise.
37244 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37245 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
37246 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37247 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37248 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37249 (gethostid): Likewise.
37250 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37251 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37253 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37254 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
37255 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37256 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37258 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
37259 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
37260 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37262 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
37263 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37265 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37267 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
37268 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37269 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37272 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
37273 (openat_not_cancel_3): Likewise.
37274 (openat64_not_cancel_3): Likewise).
37275 (openat_not_cancel_3): Likewise).
37276 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
37278 (openat_not_cancel_3): Likewise.
37279 (openat64_not_cancel): Likewise.
37280 (openat64_not_cancel_3): Likewise.
37281 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
37282 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
37283 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
37284 __open{64}_nocancel.
37285 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
37286 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37287 * sysdeps/posix/opendir.c (__opendirat): Likewise.
37289 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37292 * include/argz.h (__argz_create_sep): New function prototype.
37293 (__argz_append): Likewise.
37294 (__argz_add): Likewise.
37295 (__argz_add_sep): Likewise.
37296 (__argz_delete): Likewise.
37297 (__argz_insert): Likewise.
37298 (__argz_replace): Likewise.
37299 * string/argz.h (__argz_create_sep): Removed.
37300 (__argz_append): Likewise.
37301 (__argz_add): Likewise.
37302 (__argz_add_sep): Likewise.
37303 (__argz_delete): Likewise.
37304 (__argz_insert): Likewise.
37305 (__argz_replace): Likewise.
37307 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37309 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
37310 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
37311 (GNU_PROPERTY_STACK_SIZE): Likewie.
37312 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
37313 (GNU_PROPERTY_LOPROC): Likewise.
37314 (GNU_PROPERTY_HIPROC): Likewise.
37315 (GNU_PROPERTY_LOUSER): Likewise.
37316 (GNU_PROPERTY_HIUSER): Likewise.
37317 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
37318 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
37319 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
37320 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
37321 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
37322 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
37323 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
37324 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
37325 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
37326 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
37327 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
37328 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
37329 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
37330 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
37331 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
37332 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
37333 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
37334 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
37335 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
37336 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
37337 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
37338 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
37339 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
37341 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37343 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
37346 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37349 * math/math.h (isinf): Check if in C or C++ mode before using
37350 __builtin_types_compatible_p, since this is a C mode feature.
37352 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37354 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
37355 (__write_nocancel): New macro.
37356 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
37357 Rewrite as a function prototype.
37358 (write_not_cancel): Remove macro.
37359 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
37360 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
37361 (write_gmon): Likewise.
37362 * libio/fileops.c (_IO_new_file_write): Likewise.
37363 * login/utmp_file.c (pututline_file): Likewise.
37364 (updwtmp_file): Likewise.
37365 * stdio-common/psiginfo.c (psiginfo): Likewise.
37366 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37367 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37368 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37370 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37373 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
37374 (__read_nocancel): New macro.
37375 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37377 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
37379 (__read_nocancel): New prototype.
37380 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
37381 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
37382 with __read_nocancel.
37383 * intl/loadmsgcat.c (read): Likewise.
37384 * libio/fileops.c (_IO_file_read): Likewise.
37385 * locale/loadlocale.c (_nl_load_locale): Likewise.
37386 * login/utmp_file.c (getutent_r_file): Likewise.
37387 (internal_getut_r): Likewise.
37388 (getutline_r_file): Likewise.
37389 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
37390 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
37391 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37392 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37394 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
37395 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37396 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37398 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37400 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37402 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37404 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37406 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37409 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
37410 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
37413 2017-08-17 DJ Delorie <dj@redhat.com>
37415 * bug17079.c: Update to new test harness.
37416 * test-digits-dots.c: Likewise.
37417 * test-netdb.c: Likewise.
37418 * tst-field.c: Likewise.
37419 * tst-nss-getpwent.c: Likewise.
37420 * tst-nss-static.c: Likewise.
37421 * tst-nss-test1.c: Likewise.
37422 * tst-nss-test2.c: Likewise.
37423 * tst-nss-test3.c: Likewise.
37424 * tst-nss-test4.c: Likewise.
37425 * tst-nss-test5.c: Likewise.
37427 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37429 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
37430 (open_not_cancel_2): Likewise.
37431 (open_nocancel): New macro.
37432 (open64_nocancel): Likewise.
37433 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
37434 (open_not_cancel_2): Likewise.
37435 (__open_nocancel): New prototype.
37436 (__open64_nocancel): Likewise.
37437 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37439 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
37440 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
37441 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
37442 with __open_nocancel.
37443 * csu/check_fds.c (check_one_fd): Likewise.
37444 * gmon/gmon.c (write_gmon): Likewise.
37445 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
37446 * intl/loadmsgcat.c (open): Likewise.
37447 * libio/fileops.c (_IO_file_open): Likewise.
37448 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37449 * locale/loadlocale.c (_nl_load_locale): Likewise.
37450 * login/utmp_file.c (setutent_file): Likewise.
37451 * misc/daemon.c (daemon): Likewise.
37452 * nss/nss_db/db-open.c (internal_setent): Likewise.
37453 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
37454 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
37455 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
37456 (__opendir): Likewise.
37457 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37458 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
37459 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37460 (gethostid): Likewise.
37461 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37462 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37464 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37465 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
37466 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37467 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37469 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37471 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37473 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37475 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37477 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37479 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
37480 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37482 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
37484 * benchtests/bench-skeleton.c (main): Add support for
37485 latency benchmarking.
37486 * benchtests/scripts/bench.py: Add support for latency benchmarking.
37488 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
37490 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
37491 the startup object.
37493 2017-08-17 Florian Weimer <fweimer@redhat.com>
37495 * include/sys/socket.h (__opensock): Remove internal_function.
37496 * socket/opensock.c (__opensock): Likewise.
37497 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
37499 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37502 * signal/bits/types/__sigval_t.h: New file.
37503 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
37504 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
37505 and define sigval_t using __sigval_t.
37506 * include/bits/types/__sigval_t.h: New file.
37507 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
37508 instead of <bits/types/__sigval_t.h>.
37509 (struct sigevent): Use __sigval_t instead of sigval_t.
37510 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
37511 instead of <bits/types/__sigval_t.h>.
37512 (siginfo_t): Use __sigval_t instead of sigval_t.
37513 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
37514 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37515 (struct sigevent): Use __sigval_t instead of sigval_t.
37516 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
37517 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37518 (siginfo_t): Use __sigval_t instead of sigval_t.
37519 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
37521 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37523 * NEWS: Remove "[Add new features here]" for 2.27.
37525 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37527 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
37530 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37532 * NEWS: Mention x86-64 FMA optimization.
37534 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37537 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37539 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
37540 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
37541 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
37543 2017-08-16 Andreas Schwab <schwab@suse.de>
37547 * elf/ldd.bash.in: Never run file directly.
37549 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
37552 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
37553 (L(SP_INF_0)): Likewise.
37555 2017-08-15 Florian Weimer <fweimer@redhat.com>
37557 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
37560 2017-08-15 Florian Weimer <fweimer@redhat.com>
37562 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
37563 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
37564 BROKEN_THREAD_SIGNALS code.
37565 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
37566 request_list): Remove caller_pid member used for
37567 BROKEN_THREAD_SIGNALS.
37568 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
37569 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
37570 Remove BROKEN_THREAD_SIGNALS support.
37571 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
37572 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
37574 2017-08-15 Florian Weimer <fweimer@redhat.com>
37576 * gmon/Makefile (tests): Add tst-gmon.
37577 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
37579 (tests-special): Add tst-gmon-prof.out.
37580 (tst-gmon.out): Depend on clean-tst-gmon-data.
37581 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
37582 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
37583 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
37585 * aclocal.m4 (GPROF): Set and substitute.
37586 * config.amke.in (GPROF): Set.
37587 * configure: Regenerate.
37589 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
37591 * elf/elf.h A (NT_PPC_TAR): New macro.
37592 (NT_PPC_PPR): Likewise.
37593 (NT_PPC_DSCR): Likewise.
37594 (NT_PPC_EBB): Likewise.
37595 (NT_PPC_PMU): Likewise.
37596 (NT_PPC_TM_CGPR): Likewise.
37597 (NT_PPC_TM_CFPR): Likewise.
37598 (NT_PPC_TM_CVMX): Likewise.
37599 (NT_PPC_TM_CVSX): Likewise.
37600 (NT_PPC_TM_SPR): Likewise.
37601 (NT_PPC_TM_CTAR): Likewise.
37602 (NT_PPC_TM_CPPR): Likewise.
37603 (NT_PPC_TM_CDSCR): Likewise.
37605 2017-08-15 Florian Weimer <fweimer@redhat.com>
37607 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37608 regparm (2) instead of internal_function.
37609 (_MCOUNT_DECL): Adjust.
37611 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37613 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37614 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37616 2017-08-14 Joseph Myers <joseph@codesourcery.com>
37618 * conform/data/sys/wait.h-data (si_value): Do not expect for
37621 2017-08-14 Florian Weimer <fweimer@redhat.com>
37624 NSS: Create stubs for accidentally exported lookup functions.
37625 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37626 Remove declaration.
37627 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37628 (ether_hostton): Call __nss_ethers_lookup2 instead.
37629 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37630 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37631 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37632 (setup): Call __nss_netgroup_lookup2 instead.
37633 * nss/Makefile (routines): Add compat-lookup.
37634 * nss/Versions (GLIBC_2.27): Add symbol version.
37635 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37636 (DB_COMPAT_FCT): Remove.
37637 * nss/compat-lookup.c: New file.
37638 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37639 from databases.def.
37640 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37641 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37642 (netname2user): Call __nss_publickey_lookup2 instead.
37643 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37644 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37647 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37648 Sergei Trofimovich <slyfox@inbox.ru>
37651 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37652 Rename to MMAP2_PAGE_UNIT.
37653 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37654 __OFF_T_MATCHES_OFF64_T is not defined.
37655 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37657 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37658 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37660 2017-08-14 Florian Weimer <fweimer@redhat.com>
37662 i386: Do not set internal_function.
37663 * config.h.in (USE_REGPARMS, internal_function): Remove.
37664 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37665 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37667 2017-08-14 Florian Weimer <fweimer@redhat.com>
37669 * elf/dl-init.c (_dl_init): Remove internal_function.
37670 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37671 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37673 2017-08-14 Florian Weimer <fweimer@redhat.com>
37675 * elf/rtld.c (_dl_start): Remove internal_function.
37676 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37679 2017-08-14 Florian Weimer <fweimer@redhat.com>
37681 * elf/dl-fini.c (_dl_fini): Remove internal_function
37682 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37684 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37686 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
37687 (bit_cpu_SHSTK): Likewise.
37688 (index_cpu_IBT): Likewise.
37689 (index_cpu_SHSTK): Likewise.
37690 (reg_IBT): Likewise.
37691 (reg_SHSTK): Likewise.
37692 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37693 Handle index_cpu_IBT and index_cpu_SHSTK.
37695 2017-08-14 Mike FABIAN <mfabian@redhat.com>
37698 * po/fr.po: Fix spelling mistake.
37700 2017-08-13 Florian Weimer <fweimer@redhat.com>
37702 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37703 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37704 (_dl_catch_error, _dl_receive_error): Likewise.
37705 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37706 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37707 (_dl_deallocate_tls): Likewise.
37708 * include/dlfcn.h (_dl_addr): Likewise.
37709 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37710 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37711 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37714 2017-08-13 Florian Weimer <fweimer@redhat.com>
37716 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37717 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37719 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37721 2017-08-13 Florian Weimer <fweimer@redhat.com>
37723 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37725 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37726 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37727 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37728 internal_function from _dl_make_stack_executable_hook member.
37729 (_dl_make_stack_executable): Remove internal_function.
37730 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37732 * sysdeps/unix/sysv/linux/dl-execstack.c
37733 (_dl_make_stack_executable): Likewise.
37735 2017-08-13 Florian Weimer <fweimer@redhat.com>
37737 * sysdeps/unix/sysv/linux/netlinkaccess.h
37738 (__netlink_assert_response): Remove internal_function.
37739 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37740 (__netlink_assert_response): Likewise.
37742 2017-08-13 Florian Weimer <fweimer@redhat.com>
37744 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37746 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37748 2017-08-13 Florian Weimer <fweimer@redhat.com>
37750 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37752 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37753 * inet/netgroup.h (__internal_setnetgrent)
37754 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37755 * inet/getnetgrent_r.c (__internal_setnetgrent)
37756 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37757 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37758 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37759 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37760 * nss/nsswitch.h (db_lookup_function): Likewise.
37762 2017-08-13 Florian Weimer <fweimer@redhat.com>
37764 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37765 Remove internal_function.
37766 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37767 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37768 message argument on the stack.
37769 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37772 2017-08-12 Mike FABIAN <mfabian@redhat.com>
37774 Adapt test case data to the changes in the thousands
37778 * localedata/tst-langinfo.sh: Adapt test case data.
37779 * stdlib/tst-strfmon_l.c: Likewise.
37780 * stdlib/tst-strtod4.c: Likewise.
37781 * stdlib/tst-strtod5i.c: Likewise.
37783 2017-08-11 Florian Weimer <fweimer@redhat.com>
37786 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37787 Suppress pedantic warning resulting from statement expression.
37788 (__ASSERT_FUNCTION): Add missing __extension__.
37790 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37792 * benchtests/bench-memmove-large.c: Print output in JSON
37794 * benchtests/bench-memmove.c: Likewise.
37796 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37797 * benchtests/bench-memchr.c (do_one_test): Likewise.
37798 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37799 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37800 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37801 * benchtests/bench-memmove.c (do_one_test): Likewise.
37802 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37803 * benchtests/bench-memset.c (do_one_test): Likewise.
37804 * benchtests/bench-string.h (test_init): Remove memsets.
37806 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37809 (Computing the Width of an Integer Data Type): Rename section to
37810 "Width of an Integer Type". Remove inaccurate statement regarding
37811 lack of C language facilities for determining width of integer
37812 types, and reorder content to improve flow and context of
37815 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37817 * lang.texi (va_copy): Change standard from ISO to C99.
37818 (__va_copy): Add standard and header annotation.
37819 Update description for clarity of origins and current use.
37821 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37824 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37825 xssqrtqp requires operands to be in Vector Registers
37826 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37827 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37828 (__ieee754_sqrtf128): Likewise.
37830 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37832 * sysdeps/aarch64/memcmp.S (memcmp):
37833 Rewrite of optimized memcmp.
37835 2017-08-10 Florian Weimer <fweimer@redhat.com>
37837 Introduce ld.so exceptions.
37838 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37839 (_dl_exception_create, _dl_exception_create_format)
37840 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37841 (_dl_catch_exception): Declare.
37842 (_dl_catch_error): Update comment.
37843 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37844 errstring, malloced members with exception member.
37845 (_dl_out_of_memory): Remove.
37846 (fatal_error): New function, extracted from _dl_signal_error.
37847 (_dl_signal_exception, _dl_signal_cexception): New functions.
37848 (_dl_signal_error): Call _dl_exception_create to allocate an
37850 (_dl_catch_exception): New function, based on _dl_catch_error.
37851 (_dl_catch_error): Implement using _dl_catch_exception.
37852 * elf/dl-exception.c: New file.
37853 * elf/Makefile (dl-routines): Add dl-exception.
37854 (elide-routines.os): Likewise.
37855 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37856 _dl_exception_create_format, _dl_exception_free.
37857 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37858 _dl_signal_exception.
37859 * elf/dl-lookup.c (make_string): Remove.
37860 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37861 _dl_signal_cexception, _dl_exception_free.
37862 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37863 _dl_signal_exception.
37864 * elf/dl-sym.c (do_sym): Likewise.
37865 * elf/dl-version.c (make_string): Remove.
37866 (match_symbol): Use _dl_exception_create_format,
37867 _dl_signal_cexception, _dl_exception_free.
37868 (_dl_check_map_versions): Likewise.
37869 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37870 _dl_catch_exception.
37871 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37872 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37873 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37874 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37875 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37876 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37877 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37878 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37880 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37887 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37888 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37889 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37891 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37893 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37895 2017-08-10 Florian Weimer <fweimer@redhat.com>
37897 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37898 attribute_hidden, internal_function.
37899 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37902 2017-08-10 Florian Weimer <fweimer@redhat.com>
37904 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37905 function which calls __builtin_unreachable.
37907 2017-08-10 Mike FABIAN <mfabian@redhat.com>
37909 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37910 Indian monetary formatting
37911 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37914 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37916 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37917 Fix typo in comment.
37920 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37921 PTRACE_SEIZE_DEVEL): Remove.
37922 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37923 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37924 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37925 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37926 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37928 2017-08-09 Joseph Myers <joseph@codesourcery.com>
37930 * posix/bits/types.h (__qaddr_t): Remove.
37933 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37934 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37936 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37937 (ucontext_t): Use __ctx with uc_flags.
37938 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37939 (__ctxt): Likewise.
37940 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37942 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37943 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37945 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37946 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37948 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37950 (ucontext_t): Use __ctx with uc_flags.
37951 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37952 (ucontext_t): Use __ctx with uc_flags.
37953 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37954 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37955 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37956 (ucontext_t): Use __ctx with uc_flags.
37957 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37958 undefine further down.
37959 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37961 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37962 undefine further down.
37963 (ucontext_t): Use __ctx with uc_flags.
37964 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37965 undefine further down.
37966 (ucontext_t): Use __ctx with uc_flags.
37967 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37968 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37969 Rename uc_pad to __glibc_reserved1.
37970 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37971 undefine further down.
37972 (ucontext_t): Use __ctx with uc_flags.
37973 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37975 (ucontext_t): Use __ctx with uc_flags.
37976 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37977 __ctx with uc_flags.
37978 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37979 (ucontext_t): Use __ctx with uc_flags.
37980 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37981 __ctx with uc_flags.
37983 2017-08-09 Florian Weimer <fweimer@redhat.com>
37986 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37987 before early return.
37989 2017-08-09 Andreas Schwab <schwab@suse.de>
37992 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37996 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37997 tst-compat-forwarder.
37998 (modules-names): Add tst-compat-forwarder-mod.
37999 ($(objpfx)tst-compat-forwarder): Depend on
38000 $(objpfx)tst-compat-forwarder-mod.so.
38001 * nptl/tst-compat-forwarder.c: New file.
38002 * nptl/tst-compat-forwarder-mod.c: New file.
38004 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
38006 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
38009 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
38010 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
38012 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
38014 (__libc_ifunc_impl_list): Add __memcpy_falkor.
38015 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
38016 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
38017 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
38019 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
38022 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38025 * manual/setjmp.texi (getcontex): Document uc_stack value
38026 compatibility differences.
38028 2017-08-08 Joseph Myers <joseph@codesourcery.com>
38030 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
38031 (old_malloc_hook): Likewise.
38032 (old_memalign_hook): Likewise.
38033 (old_realloc_hook): Likewise.
38034 (struct hdr): Likewise.
38036 (freehook): Likewise.
38037 (mallochook): Likewise.
38038 (memalignhook): Likewise.
38039 (reallochook): Likewise.
38040 (mprobe): Likewise.
38041 * malloc/mtrace.c (mallwatch): Likewise.
38042 (tr_old_free_hook): Likewise.
38043 (tr_old_malloc_hook): Likewise.
38044 (tr_old_realloc_hook): Likewise.
38045 (tr_old_memalign_hook): Likewise.
38046 (tr_where): Likewise.
38047 (lock_and_info): Likewise.
38048 (tr_freehook): Likewise.
38049 (tr_mallochook): Likewise.
38050 (tr_reallochook): Likewise.
38051 (tr_memalignhook): Likewise.
38052 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
38053 * misc/mmap.c (__mmap): Likewise.
38054 * misc/mmap64.c (__mmap64): Likewise.
38055 * misc/mprotect.c (__mprotect): Likewise.
38056 * misc/msync.c (msync): Likewise.
38057 * misc/munmap.c (__munmap): Likewise.
38058 * posix/posix_madvise.c (posix_madvise): Likewise.
38059 * socket/send.c (__send): Likewise.
38060 * socket/sendto.c (__sendto): Likewise.
38061 * socket/setsockopt.c (__setsockopt): Likewise.
38062 * string/memcmp.c (__ptr_t): Remove macro.
38063 (MEMCMP): Use void * instead of ptr_t.
38064 * string/memrchr.c (__ptr_t): Remove macro.
38065 (__memrchr): Use void * instead of ptr_t.
38066 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
38067 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
38068 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
38069 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
38070 * sysdeps/mach/msync.c (msync): Likewise.
38071 * sysdeps/mach/munmap.c (__munmap): Likewise.
38072 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
38074 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
38075 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
38076 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
38077 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
38078 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
38079 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38080 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
38081 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
38083 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38084 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
38085 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
38086 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
38087 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
38088 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
38089 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
38090 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
38091 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
38093 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
38094 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
38095 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
38096 (MEMCMP): Use void * instead of ptr_t.
38097 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
38098 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
38100 2017-08-08 Florian Weimer <fweimer@redhat.com>
38102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
38105 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
38108 * csu/libc-tls.c: Include <startup.h> first.
38109 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
38110 * elf/dl-tunables.c: Include <startup.h> first.
38111 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
38112 * sysdeps/generic/startup.h: New file.
38113 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
38114 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
38115 (I386_USE_SYSENTER): New. Defined to 0.
38117 2017-08-08 Andreas Schwab <schwab@suse.de>
38120 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
38121 * nptl/pt-system.c (system): Likewise.
38123 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38126 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
38128 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
38129 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
38130 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
38131 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
38132 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
38133 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
38134 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
38136 2017-08-07 Joseph Myers <joseph@codesourcery.com>
38139 * bits/sigaction.h (struct sigaction): Define sa_handler and
38140 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
38141 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38142 [__USE_XOPEN_EXTENDED].
38143 (SA_RESTART): Likewise.
38144 (SA_NODEFER): Likewise.
38145 (SA_RESETHAND): Likewise.
38146 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
38147 (struct sigaction): Define sa_handler and sa_sigaction using union
38148 also for [__USE_XOPEN_EXTENDED].
38149 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38150 [__USE_XOPEN_EXTENDED].
38151 (SA_RESTART): Likewise.
38152 (SA_NODEFER): Likewise.
38153 (SA_RESETHAND): Likewise.
38154 * sysdeps/unix/sysv/linux/bits/sigaction.h
38155 (struct sigaction): Define sa_handler and sa_sigaction using union
38156 also for [__USE_XOPEN_EXTENDED].
38157 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38158 [__USE_XOPEN_EXTENDED].
38159 (SA_RESTART): Likewise.
38160 (SA_NODEFER): Likewise.
38161 (SA_RESETHAND): Likewise.
38162 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
38163 (struct sigaction): Define sa_handler and sa_sigaction using union
38164 also for [__USE_XOPEN_EXTENDED].
38165 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38166 [__USE_XOPEN_EXTENDED].
38167 (SA_RESTART): Likewise.
38168 (SA_NODEFER): Likewise.
38169 (SA_RESETHAND): Likewise.
38170 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
38171 (struct sigaction): Define sa_handler and sa_sigaction using union
38172 also for [__USE_XOPEN_EXTENDED].
38173 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38174 [__USE_XOPEN_EXTENDED].
38175 (SA_RESTART): Likewise.
38176 (SA_NODEFER): Likewise.
38177 (SA_RESETHAND): Likewise.
38178 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
38179 (struct sigaction): Define sa_handler and sa_sigaction using union
38180 also for [__USE_XOPEN_EXTENDED].
38181 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38182 [__USE_XOPEN_EXTENDED].
38183 (SA_RESTART): Likewise.
38184 (SA_NODEFER): Likewise.
38185 (SA_RESETHAND): Likewise.
38186 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38187 (struct sigaction): Define sa_handler and sa_sigaction using union
38188 also for [__USE_XOPEN_EXTENDED].
38189 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38190 [__USE_XOPEN_EXTENDED].
38191 (SA_RESTART): Likewise.
38192 (SA_NODEFER): Likewise.
38193 (SA_RESETHAND): Likewise.
38194 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38195 (struct sigaction): Define sa_handler and sa_sigaction using union
38196 also for [__USE_XOPEN_EXTENDED].
38197 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38198 [__USE_XOPEN_EXTENDED].
38199 (SA_RESTART): Likewise.
38200 (SA_NODEFER): Likewise. Define directly rather than as alias.
38201 (SA_RESETHAND): Likewise.
38202 (SA_INTERRUPT): Define only for [__USE_MISC].
38203 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
38204 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
38206 (SA_STACK): Define only for [__USE_MISC].
38207 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
38208 (struct sigaction): Define sa_handler and sa_sigaction using union
38209 also for [__USE_XOPEN_EXTENDED].
38210 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38211 [__USE_XOPEN_EXTENDED].
38212 (SA_RESTART): Likewise.
38213 (SA_NODEFER): Likewise.
38214 (SA_RESETHAND): Likewise.
38215 (SA_NOPTRACE): Define only for [__USE_MISC].
38217 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
38218 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
38219 (struct catalog_info): Likewise.
38220 * inet/htontest.c (lo): Likewise.
38222 * inet/inet_lnaof.c (inet_lnaof): Likewise.
38223 * inet/inet_net.c (inet_network): Likewise.
38224 * inet/inet_netof.c (inet_netof): Likewise.
38225 * inet/rcmd.c (__ivaliduser): Likewise.
38226 (iruserok): Likewise.
38227 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
38228 * locale/programs/locale-spec.c (locale_special): Likewise.
38229 * nis/nis_findserv.c (struct findserv_req): Likewise.
38230 (__nis_findfastest_with_timeout): Likewise.
38231 * nss/test-netdb.c (test_network): Likewise.
38232 * resolv/inet_neta.c (inet_neta): Likewise.
38233 * resolv/ns_date.c (ns_datetosecs): Likewise.
38234 (SECS_PER_DAY): Likewise.
38235 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
38237 * resolv/res_comp.c (__putlong): Likewise.
38238 (__putshort): Likewise.
38239 (_getlong): Likewise.
38240 (_getshort): Likewise.
38241 * resolv/res_debug.c (p_time): Likewise.
38242 (precsize_ntoa): Likewise.
38243 (precsize_aton): Likewise.
38244 (latlon2ul): Likewise.
38245 (loc_aton): Likewise.
38246 (loc_ntoa): Likewise.
38247 * resolv/res_hconf.c (struct netaddr): Likewise.
38248 (_res_hconf_reorder_addrs): Likewise.
38249 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
38250 (clnttcp_control): Likewise.
38251 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38252 (clntudp_control): Likewise.
38253 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
38254 (clntunix_control): Likewise.
38255 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
38256 * sunrpc/rpc/auth.h (union des_block): Likewise.
38257 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
38258 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
38259 (xdrrec_create): Likewise.
38260 (xdrrec_endofrecord): Likewise.
38261 (flush_out): Likewise.
38262 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
38263 (xdrstdio_putlong): Likewise.
38264 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
38267 * misc/sys/cdefs.h (__long_double_t): Remove.
38268 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
38269 instead of __long_double_t,
38270 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
38272 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
38274 * benchtests/scripts/compare_strings.py: Avoid display error when
38275 running on a text terminal.
38277 * benchtests/scripts/compare_strings.py (main): Add an
38278 optional -base option.
38279 (process_results): New argument base_func.
38281 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
38283 * benchtests/bench-memcpy-large.c (test_name): Likewise.
38284 * benchtests/bench-memcpy-random.c (test_name): Likewise.
38286 2017-08-07 Andreas Schwab <schwab@suse.de>
38288 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
38289 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38290 * intl/Makefile ($(objpfx)tst-gettext.out)
38291 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
38292 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
38293 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38294 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38295 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
38296 * posix/Makefile ($(objpfx)globtest.out)
38297 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
38298 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
38299 ($(objpfx)tst-printf.out): Likewise.
38300 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
38301 ($(objpfx)tst-setcontext3.out): Likewise.
38303 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
38305 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38306 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
38307 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
38308 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
38309 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
38311 (CFLAGS-doasin-fma.c): New.
38312 (CFLAGS-dosincos-fma.c): Likewise.
38313 (CFLAGS-e_asin-fma.c): Likewise.
38314 (CFLAGS-e_atan2-fma.c): Likewise.
38315 (CFLAGS-e_exp-fma.c): Likewise.
38316 (CFLAGS-e_log-fma.c): Likewise.
38317 (CFLAGS-e_pow-fma.c): Likewise.
38318 (CFLAGS-halfulp-fma.c): Likewise.
38319 (CFLAGS-mpa-fma.c): Likewise.
38320 (CFLAGS-mpatan-fma.c): Likewise.
38321 (CFLAGS-mpatan2-fma.c): Likewise.
38322 (CFLAGS-mpexp-fma.c): Likewise.
38323 (CFLAGS-mplog-fma.c): Likewise.
38324 (CFLAGS-mpsqrt-fma.c): Likewise.
38325 (CFLAGS-mptan-fma.c): Likewise.
38326 (CFLAGS-s_atan-fma.c): Likewise.
38327 (CFLAGS-sincos32-fma.c): Likewise.
38328 (CFLAGS-slowexp-fma.c): Likewise.
38329 (CFLAGS-slowpow-fma.c): Likewise.
38330 (CFLAGS-s_sin-fma.c): Likewise.
38331 (CFLAGS-s_tan-fma.c): Likewise.
38332 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
38333 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
38334 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
38335 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
38336 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
38337 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
38338 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
38339 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
38340 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
38341 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
38342 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
38343 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
38344 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
38345 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
38346 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
38347 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
38348 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
38349 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
38350 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
38351 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
38352 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
38353 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
38354 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
38355 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
38356 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38357 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38358 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38359 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
38360 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38361 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38362 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38364 2017-08-04 Joseph Myers <joseph@codesourcery.com>
38366 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
38367 (min_of_type_f): New macro.
38368 (min_of_type_): Likewise.
38369 (min_of_type_l): Likewise.
38370 (min_of_type_f128): Likewise.
38371 (min_of_type): Define using __MATH_TG and taking an expression
38373 (math_check_force_underflow): Pass expression instead of type to
38375 (math_check_force_underflow_nonneg): Likewise.
38377 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38379 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
38380 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
38381 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
38383 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38386 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
38387 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
38388 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
38389 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
38390 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
38391 memcpy_chk-nonshared, mempcpy_chk-nonshared,
38392 memmove_chk-nonshared and memset_chk-nonshared
38393 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
38394 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
38395 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
38396 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
38397 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
38398 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
38399 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
38400 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
38401 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
38402 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
38403 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
38404 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
38405 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
38406 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
38407 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
38408 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
38409 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
38410 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
38411 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
38412 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
38413 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
38414 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
38415 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
38416 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
38417 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
38418 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
38419 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
38420 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
38421 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
38422 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
38423 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
38424 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
38425 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
38426 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38427 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38428 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
38429 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
38430 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
38431 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
38432 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
38433 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
38434 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
38435 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
38436 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
38437 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
38438 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
38439 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
38440 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
38441 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
38442 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
38443 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
38444 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
38445 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
38446 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
38447 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
38448 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
38449 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
38450 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
38451 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
38452 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
38453 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
38454 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
38455 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
38456 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
38457 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
38458 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
38459 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
38460 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
38461 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
38462 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
38463 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
38464 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38465 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38466 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38467 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38468 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38469 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38470 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38471 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38472 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38473 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38474 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38475 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38476 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38477 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38478 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38479 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38480 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38481 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38482 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38483 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38484 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38485 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38486 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38487 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38488 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38489 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38490 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38491 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38492 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38493 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38494 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38495 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38496 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38497 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38498 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38499 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38500 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38502 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38504 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
38505 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
38506 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
38507 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
38508 svml_d_log2_core-sse2, svml_d_log4_core-sse,
38509 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
38510 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
38511 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
38512 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
38513 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
38514 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
38515 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
38516 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
38517 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
38518 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
38519 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
38520 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
38521 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
38522 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
38523 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
38524 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
38525 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
38526 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
38527 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
38528 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
38529 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
38530 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
38531 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
38532 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
38533 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
38534 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
38535 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
38536 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
38537 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
38538 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
38539 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
38540 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
38541 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
38542 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
38543 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
38544 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
38545 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
38546 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
38547 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
38548 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
38549 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
38550 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
38551 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
38552 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
38553 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
38554 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
38555 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
38556 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
38557 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
38558 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
38559 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
38560 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
38561 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
38562 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
38564 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
38565 Don't include <sysdep.h> nor <init-arch.h>.
38566 (_ZGVbN2v_cos): Removed.
38567 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
38569 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
38570 Don't include <sysdep.h> nor <init-arch.h>.
38571 (_ZGVdN4v_cos): Removed.
38572 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
38574 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
38575 Don't include <sysdep.h> nor <init-arch.h>.
38576 (_ZGVeN8v_cos): Removed.
38577 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
38579 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
38580 Don't include <sysdep.h> nor <init-arch.h>.
38581 (_ZGVbN2v_exp): Removed.
38582 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
38584 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
38585 Don't include <sysdep.h> nor <init-arch.h>.
38586 (_ZGVdN4v_exp): Removed.
38587 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
38589 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
38590 Don't include <sysdep.h> nor <init-arch.h>.
38591 (_ZGVeN8v_exp): Removed.
38592 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
38594 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
38595 Don't include <sysdep.h> nor <init-arch.h>.
38596 (_ZGVbN2v_log): Removed.
38597 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38599 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38600 Don't include <sysdep.h> nor <init-arch.h>.
38601 (_ZGVdN4v_log): Removed.
38602 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38604 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38605 Don't include <sysdep.h> nor <init-arch.h>.
38606 (_ZGVeN8v_log): Removed.
38607 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38609 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38610 Don't include <sysdep.h> nor <init-arch.h>.
38611 (_ZGVbN2vv_pow): Removed.
38612 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38614 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38615 Don't include <sysdep.h> nor <init-arch.h>.
38616 (_ZGVdN4vv_pow): Removed.
38617 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38619 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38620 Don't include <sysdep.h> nor <init-arch.h>.
38621 (_ZGVeN8vv_pow): Removed.
38622 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38624 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38625 Don't include <sysdep.h> nor <init-arch.h>.
38626 (_ZGVbN2v_sin): Removed.
38627 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38629 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38630 Don't include <sysdep.h> nor <init-arch.h>.
38631 (_ZGVbN4v_sin): Removed.
38632 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38634 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38635 Don't include <sysdep.h> nor <init-arch.h>.
38636 (_ZGVbN8v_sin): Removed.
38637 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38639 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38640 Don't include <sysdep.h> nor <init-arch.h>.
38641 (_ZGVbN2vvv_sincos): Removed.
38642 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38644 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38645 Don't include <sysdep.h> nor <init-arch.h>.
38646 (_ZGVdN4vvv_sincos): Removed.
38647 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38649 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38650 Don't include <sysdep.h> nor <init-arch.h>.
38651 (_ZGVeN8vvv_sincos): Removed.
38652 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38654 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38655 Don't include <sysdep.h> nor <init-arch.h>.
38656 (_ZGVeN16v_cosf): Removed.
38657 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38659 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38660 Don't include <sysdep.h> nor <init-arch.h>.
38661 (_ZGVbN4v_cosf): Removed.
38662 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38664 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38665 Don't include <sysdep.h> nor <init-arch.h>.
38666 (_ZGVdN8v_cosf): Removed.
38667 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38669 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38670 Don't include <sysdep.h> nor <init-arch.h>.
38671 (_ZGVeN16v_expf): Removed.
38672 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38674 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38675 Don't include <sysdep.h> nor <init-arch.h>.
38676 (_ZGVbN4v_expf): Removed.
38677 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38679 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38680 Don't include <sysdep.h> nor <init-arch.h>.
38681 (_ZGVdN8v_expf): Removed.
38682 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38684 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38685 Don't include <sysdep.h> nor <init-arch.h>.
38686 (_ZGVeN16v_logf): Removed.
38687 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38689 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38690 Don't include <sysdep.h> nor <init-arch.h>.
38691 (_ZGVbN4v_logf): Removed.
38692 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38694 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38695 Don't include <sysdep.h> nor <init-arch.h>.
38696 (_ZGVdN8v_logf): Removed.
38697 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38699 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38700 Don't include <sysdep.h> nor <init-arch.h>.
38701 (_ZGVeN16vv_powf): Removed.
38702 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38704 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38705 Don't include <sysdep.h> nor <init-arch.h>.
38706 (_ZGVbN4vv_powf): Removed.
38707 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38709 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38710 Don't include <sysdep.h> nor <init-arch.h>.
38711 (_ZGVdN8vv_powf): Removed.
38712 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38714 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38715 Don't include <sysdep.h> nor <init-arch.h>.
38716 (_ZGVeN16vvv_sincosf): Removed.
38717 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38719 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38720 Don't include <sysdep.h> nor <init-arch.h>.
38721 (_ZGVbN4vvv_sincosf): Removed.
38722 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38724 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38725 Don't include <sysdep.h> nor <init-arch.h>.
38726 (_ZGVdN8vvv_sincosf): Removed.
38727 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38729 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38730 Don't include <sysdep.h> nor <init-arch.h>.
38731 (_ZGVeN16v_sinf): Removed.
38732 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38734 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38735 Don't include <sysdep.h> nor <init-arch.h>.
38736 (_ZGVbN4v_sinf): Removed.
38737 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38739 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38740 Don't include <sysdep.h> nor <init-arch.h>.
38741 (_ZGVdN8v_sinf): Removed.
38743 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38745 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38746 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38747 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38748 s_rint-sse4_1 and s_rintf-sse4_1.
38749 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38750 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38751 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38752 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38753 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38754 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38755 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38756 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38757 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38758 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38759 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38760 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38762 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38763 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38764 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38765 (__ceilf): Removed.
38766 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38767 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38768 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38769 (__floor): Removed.
38770 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38771 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38772 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38773 (__floorf): Removed.
38774 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38775 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38776 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38777 (__nearbyint): Removed.
38778 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38779 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38780 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38781 (__nearbyintf): Removed.
38782 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38783 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38784 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38786 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38787 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38788 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38789 (__rintf): Removed.
38791 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38793 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38794 SHARED. Avoid dynamic relocation against main in static PIE.
38796 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38799 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38800 (LDFLAGS-tst-prelink): Likewise.
38802 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38804 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38805 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38806 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38807 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38808 (INTERNAL_SYSCALL_NCS): Likewise.
38809 (LOADARGS_1): Likewise.
38810 (LOADARGS_5): Likewise.
38811 (RESTOREARGS_1): Likewise.
38812 (RESTOREARGS_5): Likewise.
38814 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38816 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38817 (MEMPCPY_SYMBOL): Likewise.
38818 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38819 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38820 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38822 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38823 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38825 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38826 (__hidden_ver1): Don't use in libc.a.
38827 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38828 (__mempcpy): Don't create a weak alias in libc.a.
38829 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38831 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38832 (__hidden_ver1): Don't use in libc.a.
38834 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38836 * config.make.in (have-insert): New.
38837 * configure.ac (libc_cv_insert): New. Set to yes if linker
38838 supports INSERT in linker script.
38839 (AC_SUBST(libc_cv_insert): New.
38840 * configure: Regenerated.
38841 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38842 if $(have-insert) == yes.
38844 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38846 * elf/Makefile (tests): Add vismain only if
38847 $(have-protected-data) == yes.
38848 (tests-pie): Likewise.
38850 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38853 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38854 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38856 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38859 * sysdeps/i386/i586/memset.S
38860 (__memset_zero_constant_len_parameter): Removed.
38861 * sysdeps/i386/i686/memset.S
38862 (__memset_zero_constant_len_parameter): Likewise.
38863 * sysdeps/i386/i686/multiarch/memset_chk.S
38864 (__memset_zero_constant_len_parameter): Likewise.
38865 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38868 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38870 * stdlib/getentropy.c (getentropy): Change return type to int.
38872 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38874 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38876 2017-08-03 Joseph Myers <joseph@codesourcery.com>
38878 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38880 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38881 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38883 (ieee_float_shape_type): Likewise.
38884 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38885 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38886 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38887 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38888 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38889 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38890 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38891 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38892 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38894 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38895 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38896 (__ieee754_yn): Likewise.
38897 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38898 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38899 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38901 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38902 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38903 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38904 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38905 (__erfc): Likewise.
38906 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38907 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38908 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38909 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38910 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38911 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38913 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38914 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38915 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38916 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38917 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38918 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38919 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38920 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38921 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38922 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38923 (__issignaling): Likewise.
38924 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38925 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38926 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38928 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38929 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38930 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38931 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38933 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38935 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38936 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38937 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38938 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38939 (__erfcf): Likewise.
38940 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38941 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38942 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38943 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38945 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38946 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38948 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38949 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38950 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38951 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38952 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38953 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38954 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38955 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38957 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38959 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38961 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38962 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38964 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38966 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38967 (__ieee754_ynl): Likewise.
38968 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38969 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38971 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38973 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38974 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38975 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38977 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38978 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38979 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38980 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38981 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38982 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38983 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38984 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38986 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38987 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38988 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38990 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38991 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38992 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38993 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38994 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38995 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38997 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38999 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39001 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39003 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
39004 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39005 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39006 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
39007 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
39008 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
39009 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
39011 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39013 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39014 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39016 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
39017 (__ieee754_remainderl): Likewise.
39018 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39019 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39020 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39021 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39023 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39024 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39026 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39027 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
39028 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
39029 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
39030 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
39031 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39033 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
39034 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
39035 (__ieee754_y0l): Likewise.
39038 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39039 (__ieee754_y1l): Likewise.
39042 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
39043 (__ieee754_ynl): Likewise.
39044 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
39045 (__ieee754_lgammal_r): Likewise.
39046 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
39048 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
39049 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
39050 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
39051 (__erfcl): Likewise.
39052 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
39053 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
39055 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
39056 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
39057 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
39058 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
39059 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
39060 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39061 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39063 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
39064 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39065 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
39066 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
39067 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39069 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
39070 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
39072 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
39073 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
39074 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
39075 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39076 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
39078 2017-08-03 Florian Weimer <fweimer@redhat.com>
39081 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
39082 on memory allocation failure.
39084 2017-08-03 Alan Modra <amodra@gmail.com>
39086 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
39087 tst-tlsopt-powerpc.c with function name change and no test harness.
39088 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
39089 Call tls_get_addr_opt_test.
39090 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
39091 (modules-names): Add mod-tlsopt-powerpc.
39092 (mod-tlsopt-powerpc.so-no-z-defs): Define.
39093 (tst-tlsopt-powerpc): Depend on .so.
39094 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
39095 define. Expand use in TLS_GD and TLS_LD.
39097 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39099 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
39101 * sysdeps/posix/shm_open.c: Include <pthread.h>.
39103 2017-08-02 Joseph Myers <joseph@codesourcery.com>
39106 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
39107 comparing size with that of double.
39108 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
39109 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
39110 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
39111 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
39112 (__TGMATH_BINARY_REAL_IMAG): Likewise.
39113 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
39114 unsigned __int128 types.
39116 2017-08-02 Steve Ellcey <sellcey@cavium.com>
39118 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
39119 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
39120 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
39121 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
39122 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
39124 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
39126 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
39128 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
39130 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
39132 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
39133 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39134 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39135 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39136 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39137 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39138 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39140 2017-08-02 Joseph Myers <joseph@codesourcery.com>
39143 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
39144 bit-field expressions passed to sizeof or typeof.
39145 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
39146 (__TGMATH_F128): Likewise.
39147 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
39148 (__TGMATH_CF128): Likewise.
39149 (__TGMATH_UNARY_REAL_ONLY): Likewise.
39150 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
39151 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
39152 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
39153 (__TGMATH_BINARY_REAL_ONLY): Likewise.
39154 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
39155 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
39156 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
39157 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
39158 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
39159 (__TGMATH_UNARY_REAL_IMAG): Likewise.
39160 (__TGMATH_UNARY_IMAG): Likewise.
39161 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
39162 (__TGMATH_BINARY_REAL_IMAG): Likewise.
39163 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
39165 (define_vars_for_type): Handle bit_field type specially.
39166 (Tests.__init__): Declare structure with bit-field element.
39168 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
39171 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
39172 (MEMCPY_CHK): Define only if SHARED is defined.
39173 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
39175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
39178 See ChangeLog.18 for earlier changes.