1 2019-10-10 Andreas Schwab <schwab@suse.de>
3 * elf/dl-load.c (open_verify): Remove dead code.
5 2019-10-10 Dmitry V. Levin <ldv@altlinux.org>
7 * sysdeps/unix/sysv/linux/syscall-names.list: Fix typos in comment,
8 reformat the affected paragraph.
10 2019-10-10 Ćukasz Majewski <lukma@denx.de>
12 * include/time.h (__clock_settime64):
13 Add __clock_settime alias according to __TIMESIZE define
14 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime):
15 Refactor this function to be used only on 32 bit machines as a
16 wrapper on __clock_settime64.
17 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime64): Add
18 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime64):
19 Use clock_settime64 kernel syscall (available from 5.1+ Linux)
21 2019-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23 * include/spawn.h (__posix_spawn_file_actions_addopen): New
25 * posix/spawn_faction_addopen.c (posix_spawn_file_actions_addopen):
27 * posix/wordexp.c (create_environment, free_environment): New
29 (exec_comm_child, exec_comm): Use posix_spawn instead of fork+exec.
30 * posix/wordexp-test.c: Use libsupport.
32 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
33 Add small optimization for older kernel to avoid issuing
34 __NR_getdents64 on each call and replace scratch_buffer usage with
35 a static allocated buffer.
37 2019-10-09 Florian Weimer <fweimer@redhat.com>
39 * config.h.in (HAVE_GCC_GOTDATA): Remove.
40 * sysdeps/sparc/configure.ac: Remove checks for HAVE_GCC_GOTDATA
41 and PI_STATIC_AND_HIDDEN. Always define PI_STATIC_AND_HIDDEN.
42 * sysdeps/sparc/configure: Regenerate.
44 2019-10-09 Petr Vorel <pvorel@suse.cz>
46 * include/dirent.h (__getdents64): Update comment.
48 2019-10-08 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
50 * Makefile: Fix locale dependency for a couple of tests.
51 ($(objpfx)tst-strftime2.out): New rule.
52 ($(objpfx)tst-strftime3.out): Likewise.
54 2019-10-08 Florian Weimer <fweimer@redhat.com>
56 * posix/tst-wordexp-nocmd.c (do_test): Fix diagnostics output.
58 2019-10-08 Florian Weimer <fweimer@redhat.com>
60 * posix/Makefile (tests): Add tst-wordexp-nocmd.
61 * posix/wordexp-test.c (__app_register_atfork): Remove function.
62 (registered_forks): Remove variable.
63 (register_fork): Remove function.
64 (test_case): Remove WRDE_NOCMD tests.
65 (main): Do not set up fork tracking. Remove integer overflow in
67 (testit): Do not check for unexpected forks.
68 * posix/tst-wordexp-nocmd.c: New file containing the tests removed
69 from posix/wordexp-test.c.
71 2019-10-07 Florian Weimer <fweimer@redhat.com>
73 nptl: Move pthread_attr_setschedparam implementation into libc.
74 * nptl/Makefile (routines): Add pthread_attr_setschedparam.
75 (libpthread-routines): Remove pthread_attr_setschedparam.
76 * nptl/Versions (libpthread GLIBC_2.0): Remove
77 pthread_attr_setschedparam.
78 * nptl/forward.c (pthread_attr_setschedparam): Remove definition.
79 * nptl/nptl-init.c (pthread_functions): Remove initializer for
80 ptr_pthread_attr_setschedparam.
81 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
82 Remove ptr_pthread_attr_setschedparam member.
83 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
84 Remove pthread_attr_setschedparam.
85 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
87 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
89 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
91 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
93 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
95 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
97 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
99 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
100 (GLIBC_2.4): Likewise.
101 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
102 (GLIBC_2.0): Likewise.
103 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
104 (GLIBC_2.18): Likewise.
105 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
106 (GLIBC_2.18): Likewise.
107 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
108 (GLIBC_2.0): Likewise.
109 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
110 (GLIBC_2.0): Likewise.
111 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
114 (GLIBC_2.0): Likewise.
115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
116 (GLIBC_2.3): Likewise.
117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
118 (GLIBC_2.17): Likewise.
119 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
120 (GLIBC_2.27): Likewise.
121 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
122 (GLIBC_2.0): Likewise.
123 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
124 (GLIBC_2.2): Likewise.
125 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
127 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
129 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
130 (GLIBC_2.0): Likewise.
131 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
132 (GLIBC_2.2): Likewise.
133 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
134 (GLIBC_2.2.5): Likewise.
135 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
136 (GLIBC_2.16): Likewise.
138 2019-10-07 Florian Weimer <fweimer@redhat.com>
140 riscv: Remove support for variable page sizes.
141 * sysdeps/unix/sysv/linux/riscv/Makefile [$(subdir) == elf]
142 (sysdep_routines): Do not add dl-static.
143 * sysdeps/unix/sysv/linux/riscv/dl-static.c: Remove file.
144 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
146 2019-10-07 Florian Weimer <fweimer@redhat.com>
148 nptl: Move pthread_attr_getschedparam implementation into libc.
149 * nptl/Makefile (routines): Add pthread_attr_getschedparam.
150 (libpthread-routines): Remove pthread_attr_getschedparam.
151 * nptl/Versions (libpthread GLIBC_2.0): Remove
152 pthread_attr_getschedparam.
153 * nptl/forward.c (pthread_attr_getschedparam): Remove definition.
154 * nptl/nptl-init.c (pthread_functions): Remove initializer for
155 ptr_pthread_attr_getschedparam.
156 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
157 Remove ptr_pthread_attr_getschedparam member.
158 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
159 Remove pthread_attr_getschedparam.
160 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
162 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
164 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
166 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
168 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
170 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
172 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
174 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
175 (GLIBC_2.4): Likewise.
176 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
177 (GLIBC_2.0): Likewise.
178 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
179 (GLIBC_2.18): Likewise.
180 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
181 (GLIBC_2.18): Likewise.
182 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
183 (GLIBC_2.0): Likewise.
184 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
185 (GLIBC_2.0): Likewise.
186 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
189 (GLIBC_2.0): Likewise.
190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
191 (GLIBC_2.3): Likewise.
192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
193 (GLIBC_2.17): Likewise.
194 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
195 (GLIBC_2.27): Likewise.
196 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
197 (GLIBC_2.0): Likewise.
198 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
199 (GLIBC_2.2): Likewise.
200 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
202 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
204 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
205 (GLIBC_2.0): Likewise.
206 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
207 (GLIBC_2.2): Likewise.
208 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
209 (GLIBC_2.2.5): Likewise.
210 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
211 (GLIBC_2.16): Likewise.
213 2019-10-04 Florian Weimer <fweimer@redhat.com>
216 * elf/dl-load.c (_dl_map_object_from_fd): Only assign TLS modid if
217 the link map will be returned to the caller.
218 * elf/Makefile [$(have-fpie) && $(build-shared)] (tests, tests-pie):
219 Add tst-dlopen-aout-pie.
220 (tst-tst-dlopen-aout-no-pie): Set.
221 (CFLAGS-tst-dlopen-aout-pie.c): Build with -fpie.
222 (tst-dlopen-aout-pie): Link with -ldl -lpthread.
223 * elf/tst-dlopen-aout-pie.c: New file.
225 2019-10-04 Florian Weimer <fweimer@redhat.com>
228 * elf/dl-load.c (_dl_map_object_from_fd): Do not use the file ID
229 when loading the executable as part of an explicit loader
232 2019-10-04 Florian Weimer <fweimer@redhat.com>
234 nptl: Move pthread_attr_setinheritsched implementation into libc.
235 * nptl/Makefile (routines): Add pthread_attr_setinheritsched.
236 (libpthread-routines): Remove pthread_attr_setinheritsched.
237 * nptl/Versions (libpthread GLIBC_2.0): Remove
238 pthread_attr_setinheritsched.
239 * nptl/forward.c (pthread_attr_setinheritsched): Remove definition.
240 * nptl/nptl-init.c (pthread_functions): Remove initializer for
241 ptr_pthread_attr_setinheritsched.
242 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
243 Remove ptr_pthread_attr_setinheritsched member.
244 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
245 Remove pthread_attr_setinheritsched.
246 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
248 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
250 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
252 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
254 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
256 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
258 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
260 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
261 (GLIBC_2.4): Likewise.
262 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
263 (GLIBC_2.0): Likewise.
264 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
265 (GLIBC_2.18): Likewise.
266 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
267 (GLIBC_2.18): Likewise.
268 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
269 (GLIBC_2.0): Likewise.
270 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
271 (GLIBC_2.0): Likewise.
272 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
275 (GLIBC_2.0): Likewise.
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
277 (GLIBC_2.3): Likewise.
278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
279 (GLIBC_2.17): Likewise.
280 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
281 (GLIBC_2.27): Likewise.
282 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
283 (GLIBC_2.0): Likewise.
284 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
285 (GLIBC_2.2): Likewise.
286 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
288 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
290 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
291 (GLIBC_2.0): Likewise.
292 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
293 (GLIBC_2.2): Likewise.
294 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
295 (GLIBC_2.2.5): Likewise.
296 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
297 (GLIBC_2.16): Likewise.
299 2019-10-02 Joseph Myers <joseph@codesourcery.com>
301 * sunrpc/clnt_udp.c: Include <libc-diag.h>.
302 (clntudp_call): Disable -Wmaybe-uninitialized around declaration
305 2019-10-02 Alistair Francis <alistair.francis@wdc.com>
307 * string/endian.h: Restore the __USE_MISC conditionals.
309 2019-10-02 Joseph Myers <joseph@codesourcery.com>
311 * string/tester.c: Ignore -Warray-bounds and
312 -Wmemset-transposed-args at top level.
313 [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict and -Wstringop-overflow=
315 [__GNUC_PREREQ (8, 0)]: Ignore -Wstringop-truncation at top level.
316 (test_stpncpy): Do not ignore warnings here.
317 (test_strncat): Likewise.
318 (test_strncpy): Likewise.
319 (test_memset): Likewise.
321 2019-10-02 Ćukasz Majewski <lukma@denx.de>
322 * include/time.h: Add #include <bits/types/struct_timeval.h>
324 2019-10-02 Paul A. Clarke <pc@us.ibm.com>
326 * sysdeps/powerpc/fpu/fenv_private.h:
327 (__TEST_AND_BEGIN_NON_STOP): New.
328 (__TEST_AND_END_NON_STOP): New.
329 (libc_feholdexcept_setround_ppc): Use __TEST_AND_BEGIN_NON_STOP.
330 (__libc_femergeenv_ppc): Use __TEST_AND_BEGIN_NON_STOP and
331 __TEST_AND_END_NON_STOP.
332 (libc_feholdsetround_noex_ppc_ctx): Use __TEST_AND_END_NON_STOP.
334 2019-10-02 Arjun Shankar <arjun@redhat.com>
336 debugglibc.sh: Implement program arguments
337 * Makefile (debugglibc): Change variable definition.
339 2019-10-01 Alistair Francis <alistair.francis@wdc.com>
341 * time/bits/types/struct_timespec.h: Add padding for the timespec if
344 2019-10-01 Zack Weinberg <zackw@panix.com>
345 Alistair Francis <alistair.francis@wdc.com>
347 * string/endian.h: Unconditionally define LITTLE_ENDIAN,
348 BIG_ENDIAN, PDP_ENDIAN, and BYTE_ORDER. Condition byteswapping
349 macros only on !__ASSEMBLER__. Move the definitions of
350 __BIG_ENDIAN, __LITTLE_ENDIAN, __PDP_ENDIAN, __FLOAT_WORD_ORDER,
351 and __LONG_LONG_PAIR to...
352 * string/bits/endian.h: ...this new file, which includes
353 the renamed header bits/endianness.h for the definition of
354 __BYTE_ORDER and possibly __FLOAT_WORD_ORDER.
356 * string/Makefile: Install bits/endianness.h.
357 * include/bits/endian.h: New wrapper.
359 * bits/endian.h: Rename to bits/endianness.h.
360 Add multiple-include guard. Rewrite the comment explaining what
361 the machine-specific variants of this file should do.
363 * sysdeps/unix/sysv/linux/ia64/bits/endian.h:
364 Move to sysdeps/ia64.
366 * sysdeps/aarch64/bits/endian.h
367 * sysdeps/alpha/bits/endian.h
368 * sysdeps/arm/bits/endian.h
369 * sysdeps/csky/bits/endian.h
370 * sysdeps/hppa/bits/endian.h
371 * sysdeps/ia64/bits/endian.h
372 * sysdeps/m68k/bits/endian.h
373 * sysdeps/microblaze/bits/endian.h
374 * sysdeps/mips/bits/endian.h
375 * sysdeps/nios2/bits/endian.h
376 * sysdeps/powerpc/bits/endian.h
377 * sysdeps/riscv/bits/endian.h
378 * sysdeps/s390/bits/endian.h
379 * sysdeps/sh/bits/endian.h
380 * sysdeps/sparc/bits/endian.h
381 * sysdeps/x86/bits/endian.h:
382 Rename to endianness.h; canonicalize form of file; remove
383 redundant definitions of __FLOAT_WORD_ORDER.
385 * sysdeps/powerpc/bits/endianness.h: Remove logic to check for
389 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
390 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
391 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h
392 * sysdeps/ia64/ieee754.h
393 * sysdeps/ieee754/ieee754.h
394 * sysdeps/ieee754/ldbl-128/ieee754.h
395 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
396 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
397 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
398 * sysdeps/mips/ieee754/ieee754.h
399 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
400 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
401 * sysdeps/nptl/pthread.h
402 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h
403 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
404 * sysdeps/sparc/sparc32/ieee754.h
405 * sysdeps/unix/sysv/linux/generic/bits/stat.h
406 * sysdeps/unix/sysv/linux/generic/bits/statfs.h
407 * sysdeps/unix/sysv/linux/sys/acct.h
408 * wctype/bits/wctype-wchar.h:
409 Include bits/endian.h, not endian.h.
411 * sysdeps/unix/sysv/linux/hppa/pthread.h: Donât include endian.h.
413 * sysdeps/mips/ieee754/ieee754.h: Use __LDBL_MANT_DIG__
414 in ifdefs, instead of LDBL_MANT_DIG. Only include float.h
415 when __LDBL_MANT_DIG__ is not predefined, in which case
416 define __LDBL_MANT_DIG__ to equal LDBL_MANT_DIG.
418 2019-09-17 Mike FABIAN <mfabian@redhat.com>
420 * localedata/locales/az_AZ: Make lang_name agree with CLDR
421 * localedata/locales/be_BY@latin: Make lang_name agree with langtable
422 * localedata/locales/ber_DZ: Make language, country_name, lang_name agree with langtable
423 * localedata/locales/ber_MA: Add country_name from langtable, make language, lang_name agree with langtable
424 * localedata/locales/bhb_IN: Add country_name from langtable, make lang_name agree with langtable
425 * localedata/locales/bho_IN: Add country_name from langtable
426 * localedata/locales/chr_US: Make country_name agree with CLDR
427 * localedata/locales/crh_UA: Make lang_name agree with langtable
428 * localedata/locales/csb_PL: Add country_name from langtable
429 * localedata/locales/doi_IN: Add country_name from langtable
430 * localedata/locales/dv_MV: Add country_name from langtable
431 * localedata/locales/eo: Fix capitalisation of lang_name, agree with CLDR
432 * localedata/locales/hak_TW: Make lang_name agree with langtable
433 * localedata/locales/hif_FJ: Make lang_name agree with langtable
434 * localedata/locales/hne_IN: Add country_name from langtable
435 * localedata/locales/ia_FR: Fix capitalisation of lang_name, agree with CLDR
436 * localedata/locales/id_ID: Make lang_name agree with CLDR
437 * localedata/locales/ig_NG: Make country_name, lang_name agree with CLDR
438 * localedata/locales/kab_DZ: Make country_name agree with CLDR
439 * localedata/locales/ks_IN: Make country_name agree with CLDR
440 * localedata/locales/ku_TR: Make country_name, lang_name agree with CLDR
441 * localedata/locales/mag_IN: Add country_name from langtable
442 * localedata/locales/mfe_MU: Make country_name agree with CLDR
443 * localedata/locales/mhr_RU: Add lang_name from langtable
444 * localedata/locales/mi_NZ: Make lang_name agree with CLDR
445 * localedata/locales/ms_MY: Make lang_name agree with CLDR
446 * localedata/locales/nan_TW: Make lang_name agree with langtable
447 * localedata/locales/nan_TW@latin: Make lang_name agree with langtable
448 * localedata/locales/nds_DE: Make lang_name agree with langtable
449 * localedata/locales/nds_NL: Make lang_name agree with langtable
450 * localedata/locales/nhn_MX: Add country_name from langtable, make lang_name agree with langtable
451 * localedata/locales/niu_NU: Add country_name, lang_name from langtable
452 * localedata/locales/niu_NZ: Add lang_name from langtable
453 * localedata/locales/nr_ZA: Fix capitalisation of lang_name from langtable
454 * localedata/locales/oc_FR: Fix capitalisation of lang_name from langtable
455 * localedata/locales/or_IN: Fix spelling of language from langtable
456 * localedata/locales/pa_PK: Make country_name agree with CLDR
457 * localedata/locales/ps_AF: Make country_name agree with CLDR
458 * localedata/locales/quz_PE: Make language, lang_name agree with langtable
459 * localedata/locales/raj_IN: Make country_name, lang_name agree with langtable
460 * localedata/locales/rw_RW: Make country_name agree with CLDR
461 * localedata/locales/sah_RU: Make langauge, country_name, lang_name agree with CLDR
462 * localedata/locales/sat_IN: Make country_name, lang_name agree with langtable
463 * localedata/locales/sc_IT: Fix capitalisaton of lang_name according to langtable
464 * localedata/locales/sd_IN: Make country_name, lang_name agree with CLDR
465 * localedata/locales/sd_IN@devanagari: Make lang_name agree with langtable
466 * localedata/locales/shn_MM: Make country_name agree with langtable
467 * localedata/locales/shs_CA: Make language, lang_name agree with langtable
468 * localedata/locales/sm_WS: Make country_name agree with langtable
469 * localedata/locales/ss_ZA: Fix capitalisation of lang_name from langtable
470 * localedata/locales/szl_PL: Add country_name from langtable
471 * localedata/locales/te_IN: Fix country_name from CLDR
472 * localedata/locales/tg_TJ: Add lang_name from CLDR
473 * localedata/locales/the_NP: Add country_name, lang_name from langtable
474 * localedata/locales/tk_TM: Make lang_name agree with CLDR
475 * localedata/locales/tl_PH: Add lang_name from langtable
476 * localedata/locales/to_TO: Make lang_name agree with CLDR
477 * localedata/locales/tpi_PG: Make country_name, lang_name agree with langtable
478 * localedata/locales/tt_RU@iqtelif: Add country_name, lang_name from langtable
479 * localedata/locales/ug_CN: Add lang_name from CLDR
480 * localedata/locales/unm_US: Add lang_name from langtable
481 * localedata/locales/wa_BE: Fix capitalisation of lang_name from langtable
482 * localedata/locales/wo_SN: Add lang_name from CLDR
483 * localedata/locales/xh_ZA: Fix capitalisation of country_name, lang_name from CLDR
484 * localedata/locales/yo_NG: Make country_name agree with CLDR
485 * localedata/locales/yuw_PG: Make langauge, lang_name agree with langtable
486 * localedata/locales/zh_HK: Add lang_name from langtable
487 * localedata/locales/zh_SG: Add lang_name from langtable
489 2019-09-30 Joseph Myers <joseph@codesourcery.com>
491 * scripts/build-many-glibcs.py (Context.checkout): Default
492 binutils version to 2.33 branch.
494 2019-10-01 Lukasz Majewski <lukma@denx.de>
496 * include/time.h (valid_timeval_to_timespec64): Add.
497 * include/time.h (valid_timespec_to_timespec64): Likewise.
498 * include/time.h (valid_timespec64_to_timespec): Likewise.
499 * include/time.h (valid_timespec64_to_timeval): Likewise.
501 2019-09-30 Joseph Myers <joseph@codesourcery.com>
503 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
504 (MAP_SYNC): New macro.
505 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
506 (MAP_SYNC): Likewise.
507 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
508 kernel version number to 5.3.
510 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
512 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): Rename to
514 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
515 rename of fesetenv_mode to fegetenv_control.
516 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
517 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
518 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Likewise.
519 (libc_feholdsetround_noex_ppc_ctx): Likewise.
521 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
523 * sysdeps/powerpc/fpu/fenv_private.h
524 (libc_feholdsetround_noex_ppc_ctx): Call fesetenv_mode instead
525 of fesetenv_register.
527 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
529 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status): Rename to
531 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
532 rename of fegetenv_status to fegetenv_control.
533 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
534 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
535 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Likewise.
536 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
537 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
539 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
541 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline): Use
542 'mffscrn' instruction on POWER9.
543 (__fesetround_inline_nocheck): Likewise.
545 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
547 * sysdeps/powerpc/fpu/fenv_libc.h (FPSCR_EXCEPTIONS_MASK): New.
548 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Optimize
549 to write FPSCR control only, if exceptions have not changed.
551 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
553 * sysdeps/powerpc/fpu/fenv_libc.h:
554 (__TEST_AND_ENTER_NON_STOP): New.
555 (__TEST_AND_EXIT_NON_STOP): New.
556 * sysdeps/powerpc/fpu/fenv_private.h
557 (_FPU_ALL_TRAPS): Delete, replace with FPSCR_ENABLES_MASK.
558 (_FPU_MASK_RN): Delete.
559 (_FPU_MASK_NOT_RN_NI): Delete.
560 (_FPU_MASK_TRAPS_RN): Delete, replace with ~FPSCR_CONTROL_MASK.
561 (_FPU_MASK_FRAC_INEX_RET_CC): Delete, replace with ~FPSCR_STATUS_MASK.
562 (__libc_feholdbits_ppc): Delete, move code into
563 libc_feholdexcept_setround_ppc.
564 (libc_feholdexcept_ppc): Delete.
565 (libc_fesetround_ppc): Delete.
566 (libc_fetestexcept_ppc): Delete.
567 (libc_feholdsetround_ppc): Delete.
568 (__libc_femergeenv_ppc): Use __TEST_AND_ENTER/EXIT_NON_STOP.
569 (libc_feholdsetround_noex_ppc_ctx): Likewise.
570 (libc_feupdateenv_test_ppc): Use FPSCR defines.
571 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
572 __TEST_AND_ENTER_NON_STOP.
573 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
574 * sysdeps/powerpc/fpu/feholdexcpt.c (__feholdexcept): Likewise.
575 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
576 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
577 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
578 (_FPU_MASK_ALL): Delete.
580 2019-09-27 Joseph Myers <joseph@codesourcery.com>
582 * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
584 2019-09-26 Lukasz Majewski <lukma@denx.de>
586 * include/time.h: Add struct __timespec64 definition
588 2019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
590 * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
593 2019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
595 * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
596 * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
598 * sysdeps/unix/sysv/linux/Makefile
599 (CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
600 CFLAGS-tst-sigcontext-get_pc.c.
602 2019-09-24 Alistair Francis <alistair.francis@wdc.com>
604 * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
606 2019-09-24 Andreas Schwab <schwab@suse.de>
608 * sysdeps/unix/sysv/linux/arm/sysdep.h
609 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
610 not "__vdso_gettimeofday".
611 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
612 "__vdso_clock_gettime".
613 * sysdeps/unix/sysv/linux/mips/sysdep.h
614 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
615 not "__vdso_gettimeofday".
616 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
617 "__vdso_clock_gettime".
619 2019-09-19 Paul A. Clarke <pc@us.ibm.com>
621 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
623 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
624 Do not clear enable bits, remove obsolete code, use
626 (libc_feresetround_ppc): Remove obsolete code, use
629 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
631 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
633 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
635 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
636 (_HP_TIMING_S390_H): Define.
638 2019-09-18 Joseph Myers <joseph@codesourcery.com>
640 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
642 (clone3): New syscall.
643 (pidfd_open): Likewise.
645 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
648 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
650 * sysdeps/s390/hp-timing.h: New file.
652 2019-09-18 Joseph Myers <joseph@codesourcery.com>
654 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
656 (CLONE_VM): New macro.
657 (CLONE_VFORK): Likewise.
659 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
661 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
662 Rearrange subprocesses.
663 (pldd_process): New function.
664 * support/Makefile (libsupport-routines): Add support_ptrace.
665 * support/xptrace.h: New file.
666 * support/support_ptrace.c: Likewise.
668 2019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
670 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
672 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
673 (INTERNAL_VSYSCALL_CALL): Remove.
674 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
675 (INTERNAL_VSYSCALL_CALL): Likewise.
676 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
677 (INTERNAL_VSYSCALL_CALL): Likewise.
678 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
681 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
683 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
684 (__get_timebase_freq): Remove use of
685 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
686 (get_timebase_freq_fallback): New symbol.
687 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
688 HAVE_GETTIMEOFDAY_VSYSCALL.
689 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
691 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
694 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
696 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
697 * .../sysv/linux/powerpc/powerpc64/sysdep.h
698 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
699 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
700 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
702 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
703 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
704 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
706 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
707 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
708 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
709 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
710 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
711 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
712 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
713 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
714 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
715 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
716 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
717 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
718 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
719 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
720 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
721 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
722 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
723 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
725 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
726 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
727 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
728 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
729 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
730 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
731 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
732 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
733 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
734 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
735 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
736 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
737 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
738 HAVE_GETCPU_VSYSCALL): Likewise.
739 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
740 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
741 HAVE_GETCPU_VSYSCALL): Likewise.
742 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
743 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
744 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
745 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
746 HAVE_GETCPU_VSYSCALL): Likewise.
747 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
748 invalid names if architecture does not define them.
749 (get_vdso_mangle_symbol): New symbol.
750 * sysdeps/unix/sysv/linux/init-first.c: New file.
751 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
752 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
753 clock_gettime, clock_getres, getcpu, time): Remove declaration.
754 (__libc_vdso_platform_setup_arch): Likewise and use
755 get_vdso_mangle_symbol to setup vDSO symbols.
756 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
758 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
759 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
762 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
763 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
764 Use get_vdso_symbol instead of _dl_vdso_vsym.
765 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
766 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
767 (__lookup_riscv_flush_icache): Likewise.
768 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
770 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
771 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
772 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
773 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
774 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
775 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
776 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
777 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
778 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
779 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
780 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
781 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
783 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
785 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
787 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
789 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
793 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
794 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
796 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
797 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
798 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
799 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
801 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
803 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
804 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
805 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
806 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
807 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
808 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
809 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
810 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
811 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
812 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
813 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
814 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
815 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
816 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
817 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
818 (get_vdso_symbol): New function.
820 2019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
822 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
823 position of string null termination.
825 2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
828 * sysdeps/unix/alpha/getegid.S: Move to ...
829 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
830 * sysdeps/unix/alpha/geteuid.S: Move to ...
831 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
832 * sysdeps/unix/alpha/getppid.S: Move to ...
833 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
835 2019-09-09 Paul Eggert <eggert@cs.ucla.edu>
837 Fix http: URL in 'configure'
838 * configure.ac: Add URL to AC_INIT so that it generates an
839 https: URL instead of an http: URL.
840 * configure: Regenerate.
842 Regenerate charmap-kw.h, locfile-kw.h
843 This propagates the recent http->https URL changes.
844 Since I used gperf 3.1 to regenerate, this is also a minor
845 internal-to-localedef API change.
846 URL problem reported by Joseph Myers in:
847 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
848 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
849 Regenerate with gperf 3.1.
850 * locale/programs/linereader.h (kw_hash_fct_t):
851 * locale/programs/repertoire.c (repertoiremap_hash):
852 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
854 2019-09-05 Florian Weimer <fweimer@redhat.com>
857 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
858 (_nl_category_names_get): New function.
859 * intl/dcigettext.c (category_to_name): Call it.
860 * locale/findlocale.c (_nl_find_locale): Likewise.
861 * intl/loadlocale.c (_nl_load_locale): Likewise.
862 * locale/newlocale.c (__newlocale): Likewise.
863 * locale/setlocale.c (_nl_category_names): Adjust definition.
864 (_nl_category_name_idxs): Likewise.
865 (new_composite_name): Call _nl_category_names_get.
866 (setlocale): Likewise.
868 2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
870 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
871 const attribute with pure attribute.
873 2019-09-04 Lukasz Majewski <lukma@denx.de>
875 * sysdeps/unix/sysv/linux/kernel-features.h
876 (__ASSUME_TIME64_SYSCALLS): New macro.
878 2019-09-04 Zack Weinberg <zackw@panix.com>
881 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
882 * rt/clock_getres.c: Move to time/clock_getres.c.
883 * rt/clock_gettime.c: Move to time/clock_gettime.c.
884 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
885 * rt/clock_settime.c: Move to time/clock_settime.c.
886 * rt/tst-clock.c: Move to time/tst-clock.c.
887 * rt/tst-clock2.c: Move to time/tst-clock2.c.
888 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
889 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
890 * rt/clock-compat.c: Delete file.
892 * time/clock_getcpuclockid.c
893 * time/clock_getres.c
894 * time/clock_gettime.c
895 * time/clock_nanosleep.c
896 * time/clock_settime.c
897 * sysdeps/posix/clock_getres.c
898 * sysdeps/unix/clock_gettime.c
899 * sysdeps/unix/clock_nanosleep.c
900 * sysdeps/unix/clock_settime.c
901 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
902 * sysdeps/unix/sysv/linux/clock_getres.c
903 * sysdeps/unix/sysv/linux/clock_gettime.c
904 * sysdeps/unix/sysv/linux/clock_nanosleep.c
905 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
906 defined by this file with default symbol version GLIBC_2_17,
907 and optionally a compatibility alias at symbol version GLIBC_2_2.
908 * include/time.h: Remove internal prototypes for clock_getres,
909 clock_nanosleep, and clock_getcpuclockid.
911 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
912 Remove unused function realtime_gettime.
914 * rt/Makefile (clock-routines, routines): Remove variable.
915 (librt-routines): Remove clock-compat.
916 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
918 * time/Makefile (routines): Add clock_getres, clock_gettime,
919 clock_settime, clock_getcpuclockid, and clock_nanosleep.
920 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
923 * rt/Versions (libc): Remove entire stanza.
924 (librt GLIBC_2.2): Remove all clock_* functions.
925 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
926 Add clock_getres, clock_gettime, clock_settime,
927 clock_getcpuclockid, and clock_nanosleep.
928 (libc GLIBC_PRIVATE): Add __clock_gettime.
930 * sysdeps/mach/hurd/i386/librt.abilist
931 * sysdeps/unix/sysv/linux/alpha/librt.abilist
932 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
933 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
934 * sysdeps/unix/sysv/linux/hppa/librt.abilist
935 * sysdeps/unix/sysv/linux/i386/librt.abilist
936 * sysdeps/unix/sysv/linux/ia64/librt.abilist
937 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
938 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
939 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
940 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
941 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
942 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
945 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
946 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
947 * sysdeps/unix/sysv/linux/sh/librt.abilist
948 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
949 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
950 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
951 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
952 Remove entries for clock_getres, clock_gettime, clock_settime,
953 clock_getcpuclockid, and clock_nanosleep.
955 * sysdeps/mach/hurd/i386/libc.abilist
956 * sysdeps/unix/sysv/linux/alpha/libc.abilist
957 * sysdeps/unix/sysv/linux/arm/libc.abilist
958 * sysdeps/unix/sysv/linux/hppa/libc.abilist
959 * sysdeps/unix/sysv/linux/i386/libc.abilist
960 * sysdeps/unix/sysv/linux/ia64/libc.abilist
961 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
962 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
963 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
964 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
965 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
966 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
970 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
971 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
972 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
973 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
974 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
975 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
976 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
977 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
978 Add another set of entries for clock_getres, clock_gettime,
979 clock_settime, clock_getcpuclockid, and clock_nanosleep at
980 whatever version GLIBC_2.2 maps to.
982 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
984 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
986 2019-09-03 Florian Weimer <fweimer@redhat.com>
989 * locale/programs/charmap.h (struct charseq): Turn bytes into a
990 flexible array member.
991 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
994 2019-09-02 Florian Weimer <fweimer@redhat.com>
996 * misc/tst-mntent-autofs.c: New file.
997 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
999 2019-09-02 Ian Kent <ikent@redhat.com>
1001 Use autofs "ignore" mount hint in getmntent_r/getmntent.
1002 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
1004 (__getmntent_r): Call it. Filter out autofs entries with an
1005 "ignore" mount option.
1007 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
1009 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
1010 (generic_memcpy): Include generic C memcpy.
1011 * benchtests/bench-memmove.c (simple_memmove): Remove.
1012 (generic_memmove): Include generic C memmove.
1013 * benchtests/bench-memset.c (simple_memset): Remove.
1014 (generic_memset): Include generic C memset.
1015 * benchtests/bench-memset-large.c (simple_memset): Remove.
1016 (generic_memset): Include generic C memset.
1017 * benchtests/bench-memset-walk.c (simple_memset): Remove.
1018 (generic_memset): Include generic C memset.
1019 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
1020 * string/memset.c (MEMSET): Likewise.
1021 * sysdeps/x86_64/memcopy.h: Remove empty file.
1023 2019-08-30 Florian Weimer <fweimer@redhat.com>
1025 nptl: Move pthread_attr_getinheritsched implementation into libc.
1026 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
1027 (libpthread-routines): Remove pthread_attr_getinheritsched.
1028 * nptl/Versions (libpthread GLIBC_2.0): Remove
1029 pthread_attr_getinheritsched.
1030 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
1031 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1032 ptr_pthread_attr_getinheritsched.
1033 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1034 Remove ptr_pthread_attr_getinheritsched member.
1035 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1036 Remove pthread_attr_getinheritsched.
1037 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1039 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
1041 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
1043 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1045 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1047 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1049 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1051 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1052 (GLIBC_2.4): Likewise.
1053 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1054 (GLIBC_2.0): Likewise.
1055 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
1056 (GLIBC_2.18): Likewise.
1057 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
1058 (GLIBC_2.18): Likewise.
1059 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1060 (GLIBC_2.0): Likewise.
1061 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1062 (GLIBC_2.0): Likewise.
1063 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1066 (GLIBC_2.0): Likewise.
1067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1068 (GLIBC_2.3): Likewise.
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1070 (GLIBC_2.17): Likewise.
1071 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1072 (GLIBC_2.27): Likewise.
1073 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1074 (GLIBC_2.0): Likewise.
1075 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1076 (GLIBC_2.2): Likewise.
1077 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
1079 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
1081 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1082 (GLIBC_2.0): Likewise.
1083 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1084 (GLIBC_2.2): Likewise.
1085 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1086 (GLIBC_2.2.5): Likewise.
1087 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1088 (GLIBC_2.16): Likewise.
1090 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1092 * sysdeps/mach/hurd/getcwd.c
1093 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
1094 slash if we got an unknown root directory. (__getcwd): Do not fail with
1095 EGRATUITOUS if we got an unknown root directory.
1096 * hurd/hurdselect.c (SELECT_ERROR): New macro.
1098 - Add `error' field to `d' structures array.
1099 - If a poll descriptor is bogus, set EBADF, but continue with a zero
1101 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
1102 EBADF there is any bit set above _hurd_dtablesize.
1103 - Do not request io_select on bogus descriptors (SELECT_ERROR).
1104 - On io_select request error, record the error.
1105 - On io_select bogus reply, use EIO error code.
1106 - On io_select bogus or error reply, record the error.
1107 - Do not destroy reply port for bogus FDs.
1108 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
1109 EBADF case, or else POLLERR.
1110 - On error, make select simulated readiness.
1113 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
1116 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
1117 unlocks SS and returns to the saved PC.
1118 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
1119 thread stack instead of the saved PC.
1121 2019-08-30 Richard Braun <rbraun@sceen.net>
1123 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
1125 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
1126 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
1127 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
1129 (_hurd_select): Replace the call to __io_select with either
1130 __io_select_request or __io_select_timeout_request, depending on the
1131 timeout. Count the number of ready descriptors (replies for which at
1132 least one type bit is set). Implement the timeout locally when there is
1135 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
1137 * elf/dl-addr.c (determine_info): Calculate the symbol index
1138 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
1139 * elf/dl-lookup.c (do_lookup_x): Ditto.
1140 (_dl_setup_hash): Initialize MIPS xhash translation table.
1141 * elf/elf.h (SHT_MIPS_XHASH): New define.
1142 (DT_MIPS_XHASH): New define.
1143 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
1145 (ELF_MACHINE_HASH_SYMIDX): Ditto.
1146 (ELF_MACHINE_XHASH_SETUP): Ditto.
1147 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
1149 (ELF_MACHINE_HASH_SYMIDX): Ditto.
1150 (ELF_MACHINE_XHASH_SETUP): Ditto.
1151 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
1152 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
1154 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
1156 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1158 * sysdeps/sh/preconfigure.ac: New file.
1159 * sysdeps/sh/preconfigure: Regenerate.
1160 * sysdeps/sh/be/sh3/Implies: New file.
1161 * sysdeps/sh/be/sh4/Implies: Likewise.
1162 * sysdeps/sh/le/sh3/Implies: Likewise.
1163 * sysdeps/sh/le/sh4/Implies: Likewise.
1164 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
1165 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
1166 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
1167 sysdeps/unix/sysv/linux/sh/le/*.abilist.
1168 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
1170 * sysdeps/microblaze/preconfigure.ac: New file.
1171 * sysdeps/microblaze/preconfigure: Regenerate.
1172 * sysdeps/microblaze/be/implies: New file.
1173 * sysdeps/microblaze/le/implies: Likewise.
1174 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
1175 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
1176 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
1177 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
1178 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
1180 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
1181 * sysdeps/arm/preconfigure: Regenerate.
1182 * sysdeps/arm/be/Implies: New file.
1183 * sysdeps/arm/be/armv6/Implies: Likewise.
1184 * sysdeps/arm/be/armv6t2/Implies: Likewise.
1185 * sysdeps/arm/be/armv7/Implies: Likewise.
1186 * sysdeps/arm/le/Implies: Likewise.
1187 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
1188 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
1189 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
1190 sysdeps/unix/sysv/linux/arm/le/*.abilist.
1191 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
1193 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
1195 Fix posix/tst-regex by using UTF-8 and own test input
1196 Problem reported by Stefan Liebler in:
1197 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
1198 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
1199 (do_test, test_expr): Adjust to the fact that this source file,
1200 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
1201 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
1202 so that it is now UTF-8.
1204 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
1206 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
1207 (fegetenv_status): Generate 'mffsl' unconditionally.
1209 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
1211 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
1213 (_FPU_MASK_ALL): Delete.
1215 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
1217 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
1218 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
1220 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
1221 with simpler required steps, set fewer FPSCR bits if possible.
1223 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
1225 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
1226 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
1227 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
1228 weight access to FPSCR; remove unnecessary second FPSCR read and
1230 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1231 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
1232 access to FPSCR; Use macros in fenv_libc.h in favor of local.
1234 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
1236 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
1237 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
1238 (fenv_exceptions_to_reg): New.
1239 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
1240 operation with call to fenv_exceptions_to_reg().
1241 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1243 2019-08-28 Florian Weimer <fweimer@redhat.com>
1245 * misc/mntent.c (struct mntent_buffer): Define.
1246 (mntent_buffer): Adjust type to void *.
1247 (allocate): Adjust for allocate_once.
1248 (deallocate): New function.
1249 (getmntent): Call allocate_once.
1251 2019-08-28 Florian Weimer <fweimer@redhat.com>
1253 nptl: Move pthread_attr_setdetachstate implementation into libc.
1254 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
1255 (libpthread-routines): Remove pthread_attr_setdetachstate.
1256 * nptl/Versions (libpthread GLIBC_2.0): Remove
1257 pthread_attr_setdetachstate.
1258 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
1259 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1260 ptr_pthread_attr_setdetachstate.
1261 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1262 Remove ptr_pthread_attr_setdetachstate member.
1263 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1264 Remove pthread_attr_setdetachstate.
1265 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1267 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1269 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1271 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1273 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1275 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1277 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1278 (GLIBC_2.4): Likewise.
1279 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1280 (GLIBC_2.0): Likewise.
1281 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1282 (GLIBC_2.18): Likewise.
1283 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1284 (GLIBC_2.0): Likewise.
1285 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1286 (GLIBC_2.0): Likewise.
1287 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1290 (GLIBC_2.0): Likewise.
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1292 (GLIBC_2.3): Likewise.
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1294 (GLIBC_2.17): Likewise.
1295 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1296 (GLIBC_2.27): Likewise.
1297 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1298 (GLIBC_2.0): Likewise.
1299 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1300 (GLIBC_2.2): Likewise.
1301 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1303 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1304 (GLIBC_2.0): Likewise.
1305 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1306 (GLIBC_2.2): Likewise.
1307 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1308 (GLIBC_2.2.5): Likewise.
1309 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1310 (GLIBC_2.16): Likewise.
1312 2019-08-28 Florian Weimer <fweimer@redhat.com>
1315 * login/Makefile (tests): Add tst-pututxline-lockfail.
1316 (tst-pututxline-lockfail): Link with -lpthread.
1317 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
1318 (__libc_getutid_r): Adjust.
1319 (__libc_pututline): Likewise. Check for file_offset == -1.
1320 * login/tst-pututxline-lockfail.c: New file.
1322 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
1324 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
1325 * posix/tst-regex.input: New file.
1327 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
1330 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
1332 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
1333 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
1334 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
1335 * sysdeps/mips/tst-undefined-weak.c: Likewise.
1336 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
1337 Increment highest valid ABIVERSION value.
1339 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1341 * sysdeps/unix/sysv/linux/mips/Makefile
1342 (test-xfail-check-execstack):
1343 Move under mips-has-gnustack != yes.
1344 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
1345 Apply -Wa,-execstack if mips-force-execstack == yes.
1346 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1347 * sysdeps/unix/sysv/linux/mips/configure.ac
1348 (mips-force-execstack): New var.
1349 Set to yes for hard-float builds with minimum_kernel < 4.8.0
1350 or minimum_kernel not set at all.
1351 (mips-has-gnustack): New var.
1352 Use value of libc_cv_as_noexecstack
1353 if mips-force-execstack != yes, otherwise set to no.
1355 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1356 Florian Weimer <fweimer@redhat.com>
1358 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
1359 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1360 Make a compat_symbol.
1361 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
1362 (__profil_counter_global): Likewise.
1364 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
1365 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
1367 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
1368 sigcontext_get_pc and return aligned cast to uintptr_t.
1369 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
1370 * sysdeps/posix/profil.c (profil_count): Change PC argument to
1372 (__profil): Use SA_SIGINFO.
1373 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
1375 (__sprofil): Use SA_SIGINFO.
1376 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
1377 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
1378 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1379 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
1380 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
1381 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
1382 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
1383 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
1384 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
1385 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
1386 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
1387 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
1388 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
1389 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
1390 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
1391 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
1392 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
1393 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
1394 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
1395 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
1396 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
1397 GET_PC, __sigaction, sigaction): Remove defines.
1398 (sigcontext_get_pc): New function.
1399 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1400 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1401 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1402 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
1403 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1404 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
1405 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
1406 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
1407 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
1408 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
1409 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
1410 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1411 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
1412 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
1413 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1414 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1415 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
1416 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
1417 Handle CTX argument as ucontext_t.
1418 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1420 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
1421 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1422 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1423 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
1424 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
1425 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1426 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1427 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1428 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
1429 tst-sigcontextinfo-get_pc.
1430 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
1431 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
1433 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1435 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
1438 2019-08-23 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
1441 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
1442 * localedata/locales/ug_CN (first_weekday): Likewise.
1443 * localedata/locales/zh_CN (first_weekday): Likewise.
1445 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
1447 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
1448 field name in mcontext_t struct.
1450 2019-08-22 Joseph Myers <joseph@codesourcery.com>
1452 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
1453 unsupported with libidn2 before 2.0.5.
1454 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
1456 * manual/time.texi (strftime): Document %Ob and %OB as C2X
1459 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
1461 Remove dead regex code
1462 * posix/regex_internal.c (re_node_set_insert):
1463 Remove unnecessary assignment. Reported by Tim RĂŒhsen in:
1464 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
1466 Fix bad pointer / leak in regex code
1467 This was found by Coverity (CID 1484201). [BZ#24844]
1468 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
1469 pointer and/or memory leak when storage is exhausted.
1471 2019-08-21 Zack Weinberg <zackw@panix.com>
1473 * misc/syslog.c (__vsyslog_internal)
1474 * time/getdate.c (__getdate_r)
1475 * time/tst_wcsftime.c (main):
1476 Use return value of time, not its argument.
1478 * string/strfry.c (strfry)
1479 * sysdeps/mach/sleep.c (__sleep):
1480 Remove unnecessary casts of NULL in calls to time.
1482 2019-08-21 Joseph Myers <joseph@codesourcery.com>
1484 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
1485 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
1486 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
1487 (__TGMATH_2_NARROW_F): Likewise.
1488 (__TGMATH_2_NARROW_D): New macro.
1489 (__TGMATH_2_NARROW_F16): Likewise.
1490 (__TGMATH_2_NARROW_F32): Likewise.
1491 (__TGMATH_2_NARROW_F64): Likewise.
1492 (__TGMATH_2_NARROW_F32X): Likewise.
1493 (__TGMATH_2_NARROW_F64X): Likewise.
1494 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
1495 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
1496 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
1497 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
1498 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
1499 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
1500 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
1501 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
1502 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
1503 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
1504 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
1505 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
1506 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
1507 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
1509 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
1511 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
1513 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
1515 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
1517 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
1519 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
1521 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
1523 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1524 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
1525 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1526 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
1527 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1528 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
1529 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1530 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
1531 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
1533 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
1535 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
1537 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
1539 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1540 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
1541 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1542 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
1543 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1544 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
1545 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1546 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
1547 * math/gen-tgmath-tests.py (Type): Add members
1548 non_standard_real_argument_types_list, long_double_type,
1549 complex_float64_type and float32x_ext_type.
1550 (Type.__init__): Set the new members.
1551 (Type.floating_type): Add new argument floatn.
1552 (Type.real_floating_type): Likewise.
1553 (Type.can_combine_types): Likewise.
1554 (Type.combine_types): Likewise.
1555 (Type.init_types): Create internal Float32x_ext type.
1556 (Tests.__init__): Define Float32x_ext in generated C code.
1557 (Tests.add_tests): Handle narrowing functions.
1558 (Tests.add_all_tests): Likewise.
1559 (Tests.tests_text): Allow variation in mant_dig for narrowing
1560 functions with compilers before GCC 8.
1561 * math/Makefile (tgmath3-narrow-types): New variable.
1562 (tgmath3-narrow-macros): Likewise.
1563 (tgmath3-macros): Add $(tgmath3-narrow-macros).
1565 2019-08-20 Andreas Schwab <schwab@suse.de>
1567 * sysdeps/i386/fpu/libm-test-ulps: Update.
1569 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1571 * nscd/nscd.conf: Add warning and comment about shared option.
1573 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1575 * nss/nsswitch.conf: Expand comments, and simplify defaults.
1576 * manual/nss.texi (NSS Basics): List all known databases.
1577 (Services in the NSS configuration): Mention automount.
1579 2019-08-19 Florian Weimer <fweimer@redhat.com>
1581 Do not print backtraces on fatal errors.
1582 * debug/fortify_fail.c (__libc_argv): Remove declaration.
1583 (__fortify_fail_abort): Remove definition.
1584 (__fortify_fail): Call __libc_message directly.
1585 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
1586 (__stack_chk_fail): Call __fortify_fail instead of
1587 __fortify_fail_abort.
1588 * include/stdio.h (__fortify_fail_abort): Remove declaration.
1589 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
1591 (__libc_message): Do not handle do_backtrace. Do not call
1593 (__libc_fatal): Do not pass do_backtrace to __libc_message.
1594 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
1595 (before_abort): Remove definitions.
1597 2019-08-16 Florian Weimer <fweimer@redhat.com>
1599 nptl: Move pthread_attr_getdetachstate implementation into libc.
1600 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
1601 (libpthread-routines): Remove pthread_attr_getdetachstate.
1602 * nptl/Versions (libpthread GLIBC_2.0): Remove
1603 pthread_attr_getdetachstate.
1604 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
1605 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1606 ptr_pthread_attr_getdetachstate.
1607 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1608 Remove ptr_pthread_attr_getdetachstate member.
1609 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1610 Remove pthread_attr_getdetachstate.
1611 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1613 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1615 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1617 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1619 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1621 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1623 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1624 (GLIBC_2.4): Likewise.
1625 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1626 (GLIBC_2.0): Likewise.
1627 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1628 (GLIBC_2.18): Likewise.
1629 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1630 (GLIBC_2.0): Likewise.
1631 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1632 (GLIBC_2.0): Likewise.
1633 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1636 (GLIBC_2.0): Likewise.
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1638 (GLIBC_2.3): Likewise.
1639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1640 (GLIBC_2.17): Likewise.
1641 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1642 (GLIBC_2.27): Likewise.
1643 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1644 (GLIBC_2.0): Likewise.
1645 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1646 (GLIBC_2.2): Likewise.
1647 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1649 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1650 (GLIBC_2.0): Likewise.
1651 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1652 (GLIBC_2.2): Likewise.
1653 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1654 (GLIBC_2.2.5): Likewise.
1655 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1656 (GLIBC_2.16): Likewise.
1658 2019-08-16 Joseph Myers <joseph@codesourcery.com>
1660 * math/libm-test-compat_totalorder.inc (do_test)
1661 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1662 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1663 * math/libm-test-compat_totalordermag.inc (do_test)
1664 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1666 2019-08-15 Florian Weimer <fweimer@redhat.com>
1668 nptl: Move pthread_attr_init implementation into libc.
1669 * nptl/Makefile (routines): Add pthread_attr_init.
1670 (libpthread-routines): Remove pthread_attr_init.
1671 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1672 (libpthread GLIBC_2.0): Likewise.
1673 * nptl/pthread_attr_init.c: Check for libc compat version instead
1674 of libpthread compat version.
1675 * nptl/forward.c (__pthread_attr_init_2_0)
1676 (__pthread_attr_init_2_1): Remove definitions.
1677 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1678 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1679 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1680 Remove members ptr___pthread_attr_init_2_0,
1681 ptr___pthread_attr_init_2_1.
1682 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1683 Remove pthread_attr_init.
1684 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1686 (GLIBC_2.1): Likewise.
1687 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1689 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1691 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1693 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1695 (GLIBC_2.1): Likewise.
1696 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1698 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1699 (GLIBC_2.4): Likewise.
1700 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1701 (GLIBC_2.0): Likewise.
1702 (GLIBC_2.1): Likewise.
1703 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1704 (GLIBC_2.18): Likewise.
1705 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1706 (GLIBC_2.0): Likewise.
1707 (GLIBC_2.1): Likewise.
1708 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1709 (GLIBC_2.0): Likewise.
1710 (GLIBC_2.1): Likewise.
1711 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1714 (GLIBC_2.0): Likewise.
1715 (GLIBC_2.1): Likewise.
1716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1717 (GLIBC_2.3): Likewise.
1718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1719 (GLIBC_2.17): Likewise.
1720 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1721 (GLIBC_2.27): Likewise.
1722 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1723 (GLIBC_2.0): Likewise.
1724 (GLIBC_2.1): Likewise.
1725 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1726 (GLIBC_2.2): Likewise.
1727 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1729 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1730 (GLIBC_2.0): Likewise.
1731 (GLIBC_2.1): Likewise.
1732 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1733 (GLIBC_2.2): Likewise.
1734 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1735 (GLIBC_2.2.5): Likewise.
1736 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1737 (GLIBC_2.16): Likewise.
1739 2019-08-15 Florian Weimer <fweimer@redhat.com>
1742 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1743 new object in __RTLD_OPENEXEC mode (except for the origin).
1744 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1745 check for the error message.
1746 (do_test): Call it. Add check using relative path.
1747 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1748 (tst-dlopen-aout-container): Link with libpthread.
1749 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1751 2019-08-15 Joseph Myers <joseph@codesourcery.com>
1753 * math/bits/mathcalls.h
1754 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1755 (totalorder): Take pointer arguments.
1756 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1757 (totalordermag): Likewise.
1758 * manual/arith.texi (totalorder): Likewise.
1759 (totalorderf): Likewise.
1760 (totalorderl): Likewise.
1761 (totalorderfN): Likewise.
1762 (totalorderfNx): Likewise.
1763 (totalordermag): Likewise.
1764 (totalordermagf): Likewise.
1765 (totalordermagl): Likewise.
1766 (totalordermagfN): Likewise.
1767 (totalordermagfNx): Likewise.
1768 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1769 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1770 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1771 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1772 totalorderl, totalordermag, totalordermagf, totalordermagl,
1773 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1774 totalordermagf64, totalordermagf32x, totalorderf64x,
1775 totalordermagf64x, totalorderf128 and totalordermagf128.
1776 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1777 and compat_totalordermag.
1778 (libm-test-funcs-compat): New variable.
1779 (libm-tests-compat): Likewise.
1780 (tests): Do not include compat tests.
1781 (tests-internal): Add compat tests.
1782 ($(foreach t,$(libm-tests-base),
1783 $(objpfx)$(t)-compat_totalorder.o)): Depend
1784 on $(objpfx)libm-test-totalorder.c.
1785 ($(foreach t,$(libm-tests-base),
1786 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1787 $(objpfx)libm-test-totalordermag.c.
1788 (tgmath3-macros): Remove totalorder and totalordermag.
1789 * math/libm-test-compat_totalorder.inc: New file.
1790 * math/libm-test-compat_totalordermag.inc: Likewise.
1791 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1792 (RUN_TEST_fpfp_b): New macro.
1793 (RUN_TEST_LOOP_fpfp_b): Likewise.
1794 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1796 (totalorder_test): Condition on [!COMPAT_TEST].
1797 (do_test): Likewise.
1798 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1800 (totalordermag_test): Condition on [!COMPAT_TEST].
1801 (do_test): Likewise.
1802 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1803 totalorder and totalordermag.
1804 * math/test-tgmath.c (NCALLS): Change to 132.
1805 (F(compile_test)): Do not call totalorder or totalordermag.
1806 (F(totalorder)): Remove.
1807 (F(totalordermag)): Likewise.
1808 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1809 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1810 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1812 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1813 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1814 [!_ISOMAC] (TEST_ALIGN): Likewise.
1815 [!_ISOMAC] (TEST_OFFSET): Likewise.
1816 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1817 and <first-versions.h>.
1818 (__totalorder): Take pointer arguments. Add symbol versions and
1820 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1821 <shlib-compat.h> and <first-versions.h>.
1822 (__totalordermag): Take pointer arguments. Add symbol versions
1824 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1825 <shlib-compat.h> and <first-versions.h>.
1826 (__totalorder): Take pointer arguments. Add symbol versions and
1828 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1829 <shlib-compat.h> and <first-versions.h>.
1830 (__totalordermag): Take pointer arguments. Add symbol versions
1832 * sysdeps/ieee754/float128/float128_private.h
1833 (__totalorder_compatl): New macro.
1834 (__totalordermag_compatl): Likewise.
1835 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1836 and <first-versions.h>.
1837 (__totalorderf): Take pointer arguments. Add symbol versions and
1839 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1840 <shlib-compat.h> and <first-versions.h>.
1841 (__totalordermagf): Take pointer arguments. Add symbol versions
1843 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1844 <shlib-compat.h> and <first-versions.h>.
1845 (__totalorderl): Take pointer arguments. Add symbol versions and
1847 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1848 <shlib-compat.h> and <first-versions.h>.
1849 (__totalordermagl): Take pointer arguments. Add symbol versions
1851 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1853 (__totalorderl): Take pointer arguments. Add symbol versions and
1855 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1857 (__totalordermagl): Take pointer arguments. Add symbol versions
1859 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1860 <shlib-compat.h> and <first-versions.h>.
1861 (__totalorderl): Take pointer arguments. Add symbol versions and
1863 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1864 <shlib-compat.h> and <first-versions.h>.
1865 (__totalordermagl): Take pointer arguments. Add symbol versions
1867 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1869 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1871 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1872 (do_test): Update calls to totalorderl and totalordermagl.
1873 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1874 Update calls to totalorderl and totalordermagl.
1875 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1876 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1877 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1878 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1879 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1880 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1881 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1882 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1883 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1884 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1885 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1886 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1887 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1888 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1897 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1898 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1899 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1900 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1901 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1902 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1903 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1904 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1906 2019-08-15 Florian Weimer <fweimer@redhat.com>
1909 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1910 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1911 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1913 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1914 __attribute_nonstring__ to ut_id.
1915 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1918 2019-08-15 Florian Weimer <fweimer@redhat.com>
1921 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1922 (file_locking_unlock): Likewise.
1924 2019-08-15 Florian Weimer <fweimer@redhat.com>
1927 login: Disarm timer after utmp lock acquisition.
1928 * login/utmp_file.c (struct file_locking): Remove.
1929 (try_file_lock): Adjust.
1930 (file_lock_restore): Remove function.
1931 (__libc_getutent_r): .
1932 (internal_getut_r): Likewise.
1933 (__libc_getutline_r): Likewise.
1934 (__libc_pututline): Likewise.
1935 (__libc_updwtmp): Likewise.
1937 2019-08-15 Florian Weimer <fweimer@redhat.com>
1939 nptl: Remove pthread_self compatibility symbol from libpthread.
1940 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1942 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1943 * nptl/compat-pthread_self.c: Remove file.
1944 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1945 Remove pthread_self.
1946 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1948 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1950 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1952 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1954 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1956 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1957 (GLIBC_2.4): Likewise.
1958 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1959 (GLIBC_2.0): Likewise.
1960 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1961 (GLIBC_2.18): Likewise.
1962 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1963 (GLIBC_2.0): Likewise.
1964 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1965 (GLIBC_2.0): Likewise.
1966 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1969 (GLIBC_2.0): Likewise.
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1971 (GLIBC_2.3): Likewise.
1972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1973 (GLIBC_2.17): Likewise.
1974 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1975 (GLIBC_2.0): Likewise.
1976 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1977 (GLIBC_2.2): Likewise.
1978 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1980 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1981 (GLIBC_2.0): Likewise.
1982 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1983 (GLIBC_2.2): Likewise.
1984 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1985 (GLIBC_2.2.5): Likewise.
1986 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1987 (GLIBC_2.16): Likewise.
1989 2019-08-15 Florian Weimer <fweimer@redhat.com>
1991 nptl: Move pthread_attr_destroy implementation into libc.
1992 * nptl/Makefile (routines): Add pthread_attr_destroy.
1993 (libpthread-routines): Remove pthread_attr_destroy.
1994 * nptl/Versions (libpthread GLIBC_2.0): Remove
1995 pthread_attr_destroy.
1996 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1997 libc compat version instead of libpthread compat version.
1998 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1999 * nptl/nptl-init.c (pthread_functions): Remove initializer for
2000 ptr_pthread_attr_destroy.
2001 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
2002 Remove ptr_pthread_attr_destroy member.
2003 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2004 Remove pthread_attr_destroy.
2005 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2007 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2009 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
2011 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2013 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2015 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2017 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2018 (GLIBC_2.4): Likewise.
2019 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2020 (GLIBC_2.0): Likewise.
2021 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2022 (GLIBC_2.18): Likewise.
2023 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2024 (GLIBC_2.0): Likewise.
2025 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2026 (GLIBC_2.0): Likewise.
2027 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
2029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2030 (GLIBC_2.0): Likewise.
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2032 (GLIBC_2.3): Likewise.
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2034 (GLIBC_2.17): Likewise.
2035 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2036 (GLIBC_2.27): Likewise.
2037 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2038 (GLIBC_2.0): Likewise.
2039 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2040 (GLIBC_2.2): Likewise.
2041 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2043 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2044 (GLIBC_2.0): Likewise.
2045 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2046 (GLIBC_2.2): Likewise.
2047 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2048 (GLIBC_2.2.5): Likewise.
2049 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2050 (GLIBC_2.16): Likewise.
2052 2019-08-15 Andreas Schwab <schwab@suse.de>
2054 * sysdeps/i386/fpu/libm-test-ulps: Update.
2056 2019-08-15 Florian Weimer <fweimer@redhat.com>
2058 * malloc/Makefile (tests): Only add tst-mxfast for
2060 * malloc/tst-mxfast.c: Fix copyright year.
2061 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
2064 2019-08-15 Florian Weimer <fweimer@redhat.com>
2066 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
2068 * login/Makefile (tests): Add tst-updwtmpx.
2069 * login/tst-updwtmpx.c: New file.
2071 2019-08-15 Florian Weimer <fweimer@redhat.com>
2073 nptl: Move pthread_equal implementation into libc.
2074 * nptl/Makefile (routines): Add pthread_equal.
2075 * nptl/forward.c (pthread_equal): Remove definition.
2076 * nptl/nptl-init.c (pthread_functions): Remove initializer for
2078 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
2079 Remove ptr_pthread_equal member.
2080 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2081 Remove pthread_equal.
2082 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2084 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2086 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
2088 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2090 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2092 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2094 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2095 (GLIBC_2.4): Likewise.
2096 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2097 (GLIBC_2.0): Likewise.
2098 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2099 (GLIBC_2.18): Likewise.
2100 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2101 (GLIBC_2.0): Likewise.
2102 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2103 (GLIBC_2.0): Likewise.
2104 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2107 (GLIBC_2.0): Likewise.
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2109 (GLIBC_2.3): Likewise.
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2111 (GLIBC_2.17): Likewise.
2112 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2113 (GLIBC_2.27): Likewise.
2114 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2115 (GLIBC_2.0): Likewise.
2116 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2117 (GLIBC_2.2): Likewise.
2118 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2120 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2121 (GLIBC_2.0): Likewise.
2122 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2123 (GLIBC_2.2): Likewise.
2124 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2125 (GLIBC_2.2.5): Likewise.
2126 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2127 (GLIBC_2.16): Likewise.
2129 2019-08-14 Florian Weimer <fweimer@redhat.com>
2131 * support/support_descriptors.c: Include <support/descriptors.h>.
2133 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
2135 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
2136 Disable DC ZVA code if this macro is defined as zero.
2137 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
2138 Change to zero to disable using DC ZVA.
2140 2019-08-13 Joseph Myers <joseph@codesourcery.com>
2142 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
2144 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
2145 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
2146 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
2147 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
2150 2019-08-13 Florian Weimer <fweimer@redhat.com>
2152 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
2154 (struct file_locking): New.
2155 (try_file_lock, file_unlock, file_lock_restore): New functions.
2156 (__libc_getutent_r): Use the new functions.
2157 (internal_getut_r): Likewise.
2158 (__libc_getutline_r): Likewise.
2159 (__libc_pututline): Likewise.
2160 (__libc_updwtmp): Likewise.
2162 2019-08-13 Joseph Myers <joseph@codesourcery.com>
2164 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
2166 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
2167 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
2168 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
2169 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2170 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2171 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2172 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2174 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2175 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2176 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2178 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2180 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2182 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2184 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2186 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2188 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2190 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
2191 (IEC_60559_BFP_EXT)]: Likewise.
2192 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2194 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2196 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2198 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2200 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2202 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2204 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2206 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2208 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2209 Likewise, except for totalorder, totalordermag, getpayload,
2210 setpayload and setpayloadsig.
2211 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
2212 except for totalorder and totalordermag.
2214 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
2216 (strndup): Likewise.
2218 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
2219 Undefine and define to 1 if [_GNU_SOURCE].
2220 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
2221 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
2222 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
2223 (__USE_ISOC99): Likewise.
2224 (__USE_ISOC95): Likewise.
2225 * manual/creature.texi (_ISOC2X_SOURCE): Document.
2227 2019-08-13 Florian Weimer <fweimer@redhat.com>
2229 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
2231 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
2232 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
2233 * login/getutmpx.c (getutmpx): Likewise.
2234 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
2236 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
2237 _HAVE_UT_TV are always true.
2238 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
2239 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
2240 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
2241 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
2243 (internal_getut_r): _HAVE_UT_TYPE is always true.
2244 (__libc_pututline): Likewise.
2245 * login/programs/utmpdump.c (print_entry): Assume that
2246 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
2247 _HAVE_UT_TV are always true.
2248 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
2249 _HAVE_UT_ID are always true.
2250 * sysdeps/gnu/bits/utmp.h: Move to ...
2251 * bits/utmp.h: ... here, replacing the old file.
2253 2019-08-12 Florian Weimer <fweimer@redhat.com>
2255 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
2256 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
2258 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
2259 (do_test): Open the executable using an absolute path. Print
2260 error message to standard output.
2262 2019-08-09 DJ Delorie <dj@redhat.com>
2264 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
2265 * manual/tunables.texi: Document it.
2266 * malloc/malloc.c (do_set_mxfast): New.
2267 (__libc_mallopt): Call it.
2268 * malloc/arena.c: Add mxfast tunable.
2269 * malloc/tst-mxfast.c: New.
2270 * malloc/Makefile: Add it.
2272 2019-08-08 Niklas HambĂŒchen <mail@nh2.me>
2273 Carlos O'Donell <carlos@redhat.com>
2276 * malloc/malloc.c (__malloc_info): Account for top chunk.
2278 2019-08-07 Joseph Myers <joseph@codesourcery.com>
2280 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2281 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
2283 2019-08-06 Joseph Myers <joseph@codesourcery.com>
2285 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
2287 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2289 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
2291 2019-08-05 Joseph Myers <joseph@codesourcery.com>
2293 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
2296 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2299 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
2301 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
2303 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
2305 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
2307 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2308 (ALWAYS_USE_VSYSCALL): Likewise.
2309 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2310 (ALWAYS_USE_VSYSCALL): Likewise.
2311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2312 (ALWAYS_USE_VSYSCALL): Likewise.
2313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2314 (ALWAYS_USE_VSYSCALL): Likewise.
2315 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
2317 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2318 (ALWAYS_USE_VSYSCALL): Likewise.
2319 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2320 (ALWAYS_USE_VSYSCALL): Likewise.
2321 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
2323 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
2325 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
2326 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
2327 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
2328 USE_VSYSCALL): Remove defitions.
2331 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
2332 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
2333 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
2337 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
2338 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
2339 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2340 (ALWAYS_USE_VSYSCALL): Define.
2341 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2342 (ALWAYS_USE_VSYSCALL): Likewise.
2345 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
2346 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
2347 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
2350 * sysdeps/sh/libm-test-ulps: Update.
2352 2019-08-05 Florian Weimer <fweimer@redhat.com>
2355 * login/uptmp-private.h (struct ufuncs): Remove definition.
2356 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
2357 (__libc_utmp_jump_table): Remove declarations.
2358 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
2359 (__libc_getutline_r, __libc_pututline, __libc_endutent)
2360 (__libc_updwtmp): Declare.
2361 * login/getutent_r.c (__libc_utmp_unknown_functions)
2362 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
2363 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
2364 (endutent_unknown): Remove definitions.
2365 (__setutent): Call __libc_setutent.
2366 (__getutent_r): Call __libc_getutent_r.
2367 (__pututline): Call __libc_pututline.
2368 (__endutent): Call __libc_endutent.
2369 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
2370 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
2371 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
2372 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
2373 (__libc_setutent): Rename from stetutent_file. Drop static.
2374 (maybe_setutent): New function.
2375 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
2376 Check for initialization.
2377 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
2378 Check for initialization.
2379 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
2380 Check for initialization.
2381 (__libc_pututline): Rename from pututline_file. Drop static.
2382 Check for initialization.
2383 (__libc_endutent): Rename from endutent_file. Drop static. Check
2385 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
2386 * login/utmpname.c (__utmpname): Call __libc_endutent.
2387 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
2388 __libc_getutlien_r, __libc_endutent.
2389 * manual/users.texi (Who Logged In, Manipulating the Database):
2392 2019-08-05 Alexandra HĂĄjkovĂĄ <ahajkova@redhat.com>
2394 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
2396 2019-08-02 Joseph Myers <joseph@codesourcery.com>
2398 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
2400 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
2401 kernel version number to 5.2.
2403 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
2405 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
2406 mnemonics and set .machine power8.
2407 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2408 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
2409 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2410 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2411 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2412 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2413 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2414 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2415 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2416 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2418 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2420 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2422 2019-08-01 Florian Weimer <fweimer@redhat.com>
2425 * malloc/malloc.c (__malloc_info): Remove unwanted leading
2428 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2431 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
2434 2019-08-01 Carlos O'Donell <carlos@redhat.com>
2436 * version.h (RELEASE): Set to "stable".
2437 (VERSION): Set to "2.30".
2438 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
2440 * manual/install.texi: Update component versions.
2441 * INSTALL: Regenerate.
2444 2019-07-31 Carlos O'Donell <carlos@redhat.com>
2446 * po/be.po: Update translations.
2447 * po/bg.po: Likewise.
2448 * po/ca.po: Likewise.
2449 * po/cs.po: Likewise.
2450 * po/da.po: Likewise.
2451 * po/de.po: Likewise.
2452 * po/el.po: Likewise.
2453 * po/eo.po: Likewise.
2454 * po/es.po: Likewise.
2455 * po/fi.po: Likewise.
2456 * po/fr.po: Likewise.
2457 * po/gl.po: Likewise.
2458 * po/hr.po: Likewise.
2459 * po/hu.po: Likewise.
2460 * po/ia.po: Likewise.
2461 * po/id.po: Likewise.
2462 * po/it.po: Likewise.
2463 * po/ja.po: Likewise.
2464 * po/ko.po: Likewise.
2465 * po/lt.po: Likewise.
2466 * po/nb.po: Likewise.
2467 * po/nl.po: Likewise.
2468 * po/pl.po: Likewise.
2469 * po/pt_BR.po: Likewise.
2470 * po/ru.po: Likewise.
2471 * po/rw.po: Likewise.
2472 * po/sk.po: Likewise.
2473 * po/sl.po: Likewise.
2474 * po/sv.po: Likewise.
2475 * po/tr.po: Likewise.
2476 * po/uk.po: Likewise.
2477 * po/vi.po: Likewise.
2478 * po/zh_CN.po: Likewise.
2479 * po/zh_TW.po: Likewise.
2481 2019-07-31 Florian Weimer <fweimer@redhat.com>
2485 iconv, libio: Revert reference counting changes.
2486 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
2487 free the steps array.
2488 * libio/Makefile (tests): Remove tst-wfile-gconv.
2489 (tests-container): Do not add tst-wfile-ascii.
2490 (tst-wfile-gconv-ENV): Do not set.
2491 (generated): Do not add tst-wfile-gconv.mtrace,
2492 tst-wfile-gconv.check.
2493 [($run-built-tests)] (tests-special): Do not add
2494 tst-wfile-gconv-mem.out.
2495 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
2496 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
2497 instead of __wcsmbs_clone_conv.
2498 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
2499 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
2501 2019-07-30 Joseph Myers <joseph@codesourcery.com>
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2504 (__CONTEXT_FUNC_NAME): Restore setting of r31.
2506 2019-07-30 Florian Weimer <fweimer@redhat.com>
2508 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
2509 type to uintptr_t. Update comment.
2510 (check_stack_top): Adjust.
2512 2019-07-29 Florian Weimer <fweimer@redhat.com>
2514 Linux: Move declaration of getdents64 to <dirent.h>.
2515 * bits/dirent_ext.h: New file.
2516 * dirent/Makefile (headers): Add bits/dirent_ext.h.
2517 * dirent/dirent.h: Include <bits/dirent_ext.h>.
2518 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
2519 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
2521 * manual/filesys.texi (Low-level Directory Access): Update header
2524 2019-07-29 DJ Delorie <dj@redhat.com>
2525 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2528 * Makeconfig (all-subdirs): Improved source comments.
2529 * Makefile (testroot.pristine/install.stamp): Pass
2530 subdirs='$(sorted-subdirs)' to make install.
2532 2019-07-25 Florian Weimer <fweimer@redhat.com>
2535 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
2536 counter before freeing array.
2538 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
2541 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
2543 * sysdeps/x86_64/configure: Regenerated.
2544 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
2545 to -mprefer-vector-width=128 if supported.
2547 2019-07-24 Florian Weimer <fweimer@redhat.com>
2549 * scripts/build-many-glibcs.py (Context.checkout): Default to
2552 2019-07-24 Florian Weimer <fweimer@redhat.com>
2555 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
2556 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
2557 (sysdep_headers): Add bits/socket-constants.h.
2558 (tests-special): Add tst-socket-consts.out.
2559 (tst-socket-consts.out): New target.
2560 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
2561 around <asm/unistd.h>.
2562 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
2563 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
2565 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
2566 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
2567 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
2568 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
2569 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
2570 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
2572 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
2574 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2577 * Makefile (testroot.pristine/install.stamp): Pass
2578 subdirs='$(all-subdirs)' to make install.
2580 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
2581 the same arguments used in all tests.
2583 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2585 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
2587 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
2590 * locale/C-translit.h.in: Add Cyrillic transliteration.
2592 2019-07-19 Florian Weimer <fweimer@redhat.com>
2594 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
2596 (fsconfig): Add system call name.
2597 (fsmount): Likewise.
2600 (move_mount): Likewise.
2601 (open_tree): Likewise.
2603 2019-07-18 Carlos O'Donell <carlos@redhat.com>
2605 * po/libc.pot: Regenerate.
2607 2019-07-18 Mike Crowe <mac@mcrowe.com>
2609 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
2610 functions recently added to sysdeps/nptl/pthread.h:
2611 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
2612 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
2614 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
2615 pthread_cond_clockwait forwarding functions. There are no internal
2616 users, so it is unnecessary to expose these functions in libc.so.
2617 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2618 unnecessary ptr___pthread_cond_clockwait member.
2619 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2622 2019-07-17 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
2625 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2626 begin with an uppercase letter now.
2628 (mon): Update from CLDR, reword February from "Kudo" to
2629 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2630 and August from "Liiqen" to "Leqeeni".
2631 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2632 April from "Agda Baxisso" to "Agda Baxis" and August from
2633 "Leqeeni" to "Liiqen".
2634 * localedata/locales/aa_ER@saaho (mon): Likewise.
2635 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2636 abbreviated February from "Kud" to "Nah".
2637 (mon): Update from CLDR, reword February from "Kudo" to
2638 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2640 2019-07-17 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
2643 * localedata/locales/nl_BE (LC_NAME): Replace with âcopy "nl_NL"â.
2645 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
2648 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2649 name_mrs, name_miss, and name_ms.
2650 * localedata/locales/nl_NL (LC_NAME): Likewise.
2652 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2655 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2656 * localedata/locales/en_IE (first_weekday): Likewise.
2658 2019-07-12 Mike Crowe <mac@mcrowe.com>
2660 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2661 that is only useful if futex_supports_exact_relative_timeouts ()
2663 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2665 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2666 timeouts potentially being imprecise since it's no longer true.
2667 Remove declaration of futex_supports_exact_relative_timeouts.
2668 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2669 of futex_supports_exact_relative_timeouts.
2671 * NEWS: Mention recently-added pthread_cond_clockwait,
2672 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2673 sem_clockwait functions.
2675 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2676 works like pthread_mutex_timedlock but takes a clockid parameter to
2677 measure the abstime parameter against.
2678 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2679 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2680 * nptl/pthread_mutex_timedlock.c
2681 (__pthread_mutex_clocklock_common): Rename from
2682 __pthread_mutex_timedlock and add clockid parameter. Pass this
2683 parameter to lll_clocklock and lll_clocklock_elision in place of
2684 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2685 LIBC_PROBE and validate clockid parameter before calling
2686 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2687 implementation to add LIBC_PROBE and calls
2688 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2690 * nptl/Makefile: Add tst-mutex11.c.
2691 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2692 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2693 clockid parameters to pthread_mutex_clocklock.
2694 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2695 clockid parameter to indicate which clock to be used. Call
2696 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2697 (do_test): Call do_test_clock to separately test
2698 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2699 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2700 * nptl/tst-mutex9.c: Likewise.
2701 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2702 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2704 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2706 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2708 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2710 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2712 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2714 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2716 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2717 (GLIBC_2.30): Likewise.
2718 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2719 (GLIBC_2.30): Likewise.
2720 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2721 (GLIBC_2.30): Likewise.
2722 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2723 (GLIBC_2.30): Likewise.
2724 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2725 (GLIBC_2.30): Likewise.
2726 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2729 (GLIBC_2.30): Likewise.
2730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2731 (GLIBC_2.30): Likewise.
2732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2733 (GLIBC_2.30): Likewise.
2734 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2735 (GLIBC_2.30): Likewise.
2736 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2737 (GLIBC_2.30): Likewise.
2738 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2739 (GLIBC_2.30): Likewise.
2740 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2742 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2743 (GLIBC_2.30): Likewise.
2744 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2745 (GLIBC_2.30): Likewise.
2746 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2747 (GLIBC_2.30): Likewise.
2748 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2749 (GLIBC_2.30): Likewise.
2751 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2752 parameter to indicate the clock that the abstime parameter should
2753 be measured against in preparation for adding
2754 pthread_mutex_clocklock.
2755 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2756 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2757 from __lll_timedlock and add clockid parameter.
2758 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2760 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2761 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2762 rather than __gettimeofday so that clockid can be used. This means
2763 that conversion from struct timeval is no longer required.
2764 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2766 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2767 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2768 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2769 from lll_timedlock_elision, add clockid parameter and use
2770 meaningful names for other parameters. (__pthread_mutex_timedlock):
2771 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2772 lll_clocklock_elision.
2773 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2774 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2775 clockid parameter. (__lll_clocklock_elision): Rename from
2776 __lll_timedlock_elision and add clockid parameter.
2777 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2778 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2779 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2780 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2781 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2782 (LLL_LOCK): Likewise.
2783 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2784 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2786 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2787 pthread_rwlock_clockwrlock which behave like
2788 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2789 respectively, except they always measure abstime against the
2790 supplied clockid. The functions currently support CLOCK_REALTIME
2791 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2793 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2794 pthread_wrlock_clockwrlock.
2795 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2796 pthread_rwlock_clockwrlock.c.
2797 * nptl/pthread_rwlock_clockrdlock.c: Implement
2798 pthread_rwlock_clockrdlock.
2799 * nptl/pthread_rwlock_clockwrlock.c: Implement
2800 pthread_rwlock_clockwrlock.
2801 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2802 clockid parameter and verify that it indicates a supported clock on
2803 entry so that we fail even if it doesn't end up being used. Pass
2804 that clock on to futex_abstimed_wait when necessary.
2805 (__pthread_rwlock_wrlock_full): Likewise.
2806 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2807 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2808 be used because there's no timeout.
2809 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2810 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2811 be used because there is no timeout.
2812 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2813 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2815 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2816 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2818 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2819 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2820 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2821 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2822 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2823 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2824 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2825 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2826 (GLIBC_2.30): Likewise.
2827 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2828 (GLIBC_2.30): Likewise.
2829 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2830 (GLIBC_2.30): Likewise.
2831 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2832 (GLIBC_2.30): Likewise.
2833 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2834 (GLIBC_2.30): Likewise.
2835 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2837 (GLIBC_2.30): Likewise.
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2839 (GLIBC_2.30): Likewise.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2841 (GLIBC_2.30): Likewise.
2842 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2843 (GLIBC_2.30): Likewise.
2844 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2845 (GLIBC_2.30): Likewise.
2846 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2847 (GLIBC_2.30): Likewise.
2848 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2849 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2850 (GLIBC_2.30): Likewise.
2851 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2852 (GLIBC_2.30): Likewise.
2853 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2854 (GLIBC_2.30): Likewise.
2855 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2856 (GLIBC_2.30): Likewise.
2857 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2858 pthread_rwlock_clockwrlock timeout tests to match the existing
2859 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2860 * nptl/tst-rwlock14.c (do_test): Likewise.
2861 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2862 ancillary output throughout. (tf): Accept thread_args structure so
2863 that rwlock, a clockid and function name can be passed to the
2864 thread. (do_test_clock): Rename from do_test. Accept clockid
2865 parameter to specify test clock. Use the magic clockid value of
2866 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2867 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2868 specified clockid to pthread_rwlock_clockrdlock and
2869 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2870 (do_test): Call do_test_clock to test each clockid in turn.
2871 * nptl/tst-rwlock7.c: Likewise.
2872 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2873 thread_args structure so that the (now int) thread number, the
2874 clockid and the function name can be passed to the thread.
2875 (do_test_clock): Renamed from do_test. Pass the necessary
2876 thread_args when creating the reader and writer threads. Use
2877 xpthread_create and xpthread_join.
2878 (do_test): Call do_test_clock to test each clockid in turn.
2879 * manual/threads.texi: Add documentation for
2880 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2882 nptl: pthread_rwlock: Move timeout validation into _full functions
2883 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2884 Check validity of abstime parameter.
2885 (__pthread_rwlock_rwlock_full): Likewise.
2886 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2887 Remove check for validity of abstime parameter.
2888 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2891 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2892 like pthread_cond_timedwait except it always measures abstime
2893 against the supplied clockid.
2894 * nptl/Makefile: Add tst-cond26 and tst-cond27
2895 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2896 * sysdeps/nptl/pthread.h: Likewise
2897 * nptl/forward.c: Add __pthread_cond_clockwait
2898 * nptl/forward.c: Likewise
2899 * nptl/pthreadP.h: Likewise
2900 * sysdeps/nptl/pthread-functions.h: Likewise
2901 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2902 clockid parameter and comment describing why we don't need to check
2903 its value. Use that value when calling
2904 futex_abstimed_wait_cancelable rather than reading the clock from
2905 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2906 (__pthread_cond_timedwait): Read clock from flags and pass it to
2907 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2908 function with weak alias from pthread_cond_clockwait.
2909 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2910 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2911 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2912 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2913 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2914 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2915 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2916 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2917 (GLIBC_2.30): Likewise.
2918 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2919 (GLIBC_2.30): Likewise.
2920 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2921 (GLIBC_2.30): Likewise.
2922 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2923 (GLIBC_2.30): Likewise.
2924 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2925 (GLIBC_2.30): Likewise.
2926 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2928 (GLIBC_2.30): Likewise.
2929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2930 (GLIBC_2.30): Likewise.
2931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2932 (GLIBC_2.30): Likewise.
2933 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2934 (GLIBC_2.30): Likewise.
2935 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2936 (GLIBC_2.30): Likewise.
2937 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2938 (GLIBC_2.30): Likewise.
2939 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2940 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2941 (GLIBC_2.30): Likewise.
2942 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2943 (GLIBC_2.30): Likewise.
2944 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2945 (GLIBC_2.30): Likewise.
2946 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2947 (GLIBC_2.30): Likewise.
2948 * nptl/tst-cond11.c (run_test): Support testing
2949 pthread_cond_clockwait too by using a special magic
2950 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2951 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2952 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2953 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2954 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2955 clocks to pthread_cond_clockwait.
2956 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2957 struct timespec and pthread_cond_clockwait.
2958 * manual/threads.texi: Document pthread_cond_clockwait.
2960 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2961 sem_timedwait, but measures abstime against the specified clock.
2962 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2963 clockid parameters to indicate the clock which abstime should be
2965 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2966 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2967 __new_sem_wait_slow.
2968 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2970 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2971 sem_clockwait.c to match those used for sem_timedwait.c.
2972 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2973 * nptl/Versions (GLIBC_2.30): Likewise.
2974 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2975 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2976 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2977 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2978 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2979 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2980 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2981 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2982 (GLIBC_2.30): Likewise.
2983 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2984 (GLIBC_2.30): Likewise.
2985 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2986 (GLIBC_2.30): Likewise.
2987 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2988 (GLIBC_2.30): Likewise.
2989 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2990 (GLIBC_2.30): Likewise.
2991 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2993 (GLIBC_2.30): Likewise.
2994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2995 (GLIBC_2.30): Likewise.
2996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2997 (GLIBC_2.30): Likewise.
2998 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2999 (GLIBC_2.30): Likewise.
3000 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
3001 (GLIBC_2.30): Likewise.
3002 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
3003 (GLIBC_2.30): Likewise.
3004 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
3005 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
3006 (GLIBC_2.30): Likewise.
3007 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
3008 (GLIBC_2.30): Likewise.
3009 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
3010 (GLIBC_2.30): Likewise.
3011 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
3012 (GLIBC_2.30): Likewise.
3013 * nptl/tst-sem17.c: Add new test for passing invalid clock to
3015 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
3016 tests to also test sem_clockwait.
3017 * manual/threads.texi: Document sem_clockwait.
3019 nptl: Add clockid parameter to futex timed wait calls
3020 * sysdeps/nptl/lowlevellock-futex.h,
3021 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
3022 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
3023 takes a clockid rather than a special clockbit.
3024 * sysdeps/nptl/lowlevellock-futex.h: Add
3025 lll_futex_supported_clockid so that client functions can check
3026 whether their clockid parameter is valid even if they don't
3027 ultimately end up calling lll_futex_clock_wait_bitset.
3028 * sysdeps/nptl/futex-internal.h,
3029 sysdeps/unix/sysv/linux/futex-internal.h
3030 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
3031 clockid_t parameter to indicate which clock the absolute time
3032 passed should be measured against. Pass that clockid onto
3033 lll_futex_clock_wait_bitset. Add invalid clock as reason for
3035 * sysdeps/nptl/futex-internal.h,
3036 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
3037 futex_abstimed_supported_clockid so that client functions can check
3038 whether their clockid parameter is valid even if they don't
3039 ultimately end up calling futex_abstimed_wait.
3040 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
3041 code to calculate relative timeout for
3042 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
3043 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
3044 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
3045 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
3046 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
3047 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3048 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
3050 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3053 * posix/tst-mmap-offset.c: Mention BZ #24699.
3054 (do_test_bz21270): Rename to do_test_large_offset and use
3055 mmap64_maximum_offset to check for maximum expected offset value.
3056 * sysdeps/generic/mmap_info.h: New file.
3057 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
3058 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
3061 2019-07-10 DJ Delorie <dj@redhat.com>
3062 Sergei Trofimovich <slyfox@inbox.ru>
3066 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
3068 * nss/tst-nss-db-endgrent.c: New.
3069 * nss/tst-nss-db-endgrent.root: New.
3070 * nss/tst-nss-db-endpwent.c: New.
3071 * nss/tst-nss-db-endpwent.root: New.
3072 * nss/Makefile: Add new tests.
3073 * support/links-dso-program-c.c: Add selinux dependency.
3074 * support/links-dso-program.cc: Add selinux dependency.
3075 * support/Makefile: Build those with -lselinux if enabled.
3077 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
3079 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
3080 DT_AARCH64_VARIANT_PCS check.
3081 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
3082 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
3085 2019-07-10 Andreas Schwab <schwab@suse.de>
3088 * malloc/malloc.h (__malloc_check_init): Don't declare.
3089 * include/malloc.h (__malloc_check_init): Likewise.
3090 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
3091 * manual/memory.texi (__malloc_check_init): Don't mention it.
3093 2019-07-10 Mao Han <han_mao@c-sky.com>
3095 * locale/Makefile: Fix tst-locale-locpath arguments passing.
3097 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
3099 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
3100 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
3102 2019-07-08 DJ Delorie <dj@redhat.com>
3105 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
3106 * io/tst-ftw-lnk.c: New test.
3107 * io/Makefile: Run it.
3109 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3111 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
3112 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
3113 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
3114 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
3115 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
3116 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
3117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
3118 Adjust implementation path.
3119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
3120 Adjust implementation path.
3121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
3122 Adjust implementation path.
3123 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3124 (libm-sysdep_routines): Add s_log* objects.
3125 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
3126 CFLAGS-s_logb-power7.c): New fule.
3127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
3129 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
3131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
3133 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
3135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
3136 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
3137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
3139 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
3141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
3143 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
3145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
3146 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
3147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
3149 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
3151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
3153 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
3155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
3156 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
3157 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
3158 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
3159 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3160 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3162 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
3163 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
3164 powerpc32 integer 0 converting to -0.
3166 * benchtests/Makefile (bench-math): Add logb.
3167 * benchtests/logb-inputs: New file.
3168 * benchtests/logbf-inputs: New file.
3170 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
3171 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
3172 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
3173 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
3174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3178 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
3179 sysdep_routines): Add s_modf* objects.
3180 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
3181 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
3182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
3184 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
3186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
3188 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
3190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
3191 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
3192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
3194 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
3196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
3197 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
3199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
3200 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
3202 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
3203 twoM500, twoM600, two60factor, pdnum): Remove.
3204 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
3205 (__ieee754_hypot): Replace static variables with inline definition,
3206 remove ununsed branches.
3207 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3208 (libm-sysdep_routines): Remove e_hypot-* objects.
3209 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
3210 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
3212 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
3213 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
3214 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
3215 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
3216 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
3218 * benchtests/Makefile (bench-math): Add hypot.
3219 * benchtests/hypot-inputs: New file.
3221 2019-07-08 Vincent Chen <vincentc@andestech.com>
3223 * sysdeps/unix/sysv/linux/dl-vdso.h
3224 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
3226 2019-07-04 Andreas Schwab <schwab@suse.de>
3229 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
3231 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3233 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
3234 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
3235 * sysdeps/aarch64/sys/ifunc.h: New file.
3236 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
3237 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
3239 2019-07-01 Florian Weimer <fweimer@redhat.com>
3242 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
3243 Replace __vfork with __libpthread_version_placeholder for
3245 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
3246 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
3248 * nptl/pt-vfork.c: Remove file.
3249 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
3250 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
3251 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3252 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3253 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
3254 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
3255 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
3256 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
3257 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
3258 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
3259 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
3260 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
3261 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
3262 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
3263 Remove vfork, __vfork.
3264 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
3266 (GLIBC_2.1.2): Replace __vfork with
3267 __libpthread_version_placeholder.
3268 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
3269 Remove vfork, __vfork.
3270 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
3272 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
3274 (GLIBC_2.1.2): Replace __vfork with
3275 __libpthread_version_placeholder.
3276 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
3278 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
3279 (GLIBC_2.4): Remove vfork, __vfork.
3280 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
3281 (GLIBC_2.0): Remove vfork.
3282 (GLIBC_2.1.2): Replace __vfork with
3283 __libpthread_version_placeholder.
3284 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
3285 (GLIBC_2.18): Remove vfork, __vfork.
3286 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
3287 (GLIBC_2.0): Remove vfork.
3288 (GLIBC_2.2): Remove __vfork.
3289 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
3290 (GLIBC_2.2): Remove vfork, __vfork.
3291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
3292 (GLIBC_2.0): Remove vfork.
3293 (GLIBC_2.1.2): Replace __vfork with
3294 __libpthread_version_placeholder.
3295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
3296 (GLIBC_2.3): Remove vfork, __vfork.
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
3298 (GLIBC_2.17): Likewise.
3299 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
3300 (GLIBC_2.0): Remove vfork.
3301 (GLIBC_2.1.2): Replace __vfork with
3302 __libpthread_version_placeholder.
3303 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
3304 (GLIBC_2.2): Remove vfork, __vfork.
3305 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
3307 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
3308 (GLIBC_2.0): Remove vfork.
3309 (GLIBC_2.1.2): Replace __vfork with
3310 __libpthread_version_placeholder.
3311 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
3312 (GLIBC_2.2): Remove vfork, __vfork.
3313 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
3314 (GLIBC_2.2.5): Likewise.
3315 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
3316 (GLIBC_2.16): Likewise.
3317 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
3318 Remove __errno_location.
3320 2019-07-02 Florian Weimer <fweimer@redhat.com>
3323 * malloc/Depend: Add nptl and htl, due to potential indirect
3324 libpthread dependency of memusagestat.
3326 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
3328 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
3331 2019-07-01 Florian Weimer <fweimer@redhat.com>
3333 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
3334 variant for arm-linux-gnueabi.
3336 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
3339 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
3341 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
3342 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
3343 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
3344 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
3345 and tst-cet-legacy-mod-6c.
3346 (CFLAGS-tst-cet-legacy-5a.c): New.
3347 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
3348 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
3349 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
3350 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
3351 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
3352 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
3353 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
3354 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
3355 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
3356 ($(objpfx)tst-cet-legacy-5a): Likewise.
3357 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
3358 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
3359 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
3360 ($(objpfx)tst-cet-legacy-5b): Likewise.
3361 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
3362 (tst-cet-legacy-5b-ENV): Likewise.
3363 ($(objpfx)tst-cet-legacy-6a): Likewise.
3364 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
3365 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
3366 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
3367 ($(objpfx)tst-cet-legacy-6b): Likewise.
3368 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
3369 (tst-cet-legacy-6b-ENV): Likewise.
3370 * sysdeps/x86/tst-cet-legacy-5.c: New file.
3371 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
3372 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
3373 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
3374 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
3375 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
3376 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
3377 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
3378 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
3379 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
3380 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
3381 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
3382 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
3383 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
3385 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
3387 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
3388 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
3389 (__fegetround_ISA300) New.
3390 (__fegetround_ISA2) New.
3391 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
3392 (_FPU_MFFS): Move implementation...
3394 (_FPU_MFFSL): Move implementation....
3395 (_FPU_GET_RC_ISA300): Here. New.
3396 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
3397 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
3398 (fegetenv_status): New.
3399 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
3400 instead of fegetenv_register().
3401 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
3403 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
3405 * benchtests/bench-math-inlines.c: Increase iterations.
3406 * benchtests/bench-memcmp.c: Likewise.
3407 * benchtests/bench-rawmemchr.c: Likewise.
3408 * benchtests/bench-strcmp.c: Likewise.
3409 * benchtests/bench-strcpy_chk.c: Likewise.
3410 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
3411 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
3412 (INNER_LOOP_ITERS_SMALL): Likewise.
3413 * benchtests/bench-strncat.c: Increase iterations.
3414 * benchtests/bench-strncmp.c: Increase iterations.
3415 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
3416 * benchtests/bench-strrchr.c: Increase iterations.
3417 * benchtests/bench-strstr.c: Keep iterations unchanged.
3418 * benchtests/bench-strtod.c: Increase iterations.
3420 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3422 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
3423 with INNER_LOOP_ITERS_LARGE.
3424 * benchtests/bench-memchr.c: Likewise.
3425 * benchtests/bench-rawmemchr.c: Likewise.
3426 * benchtests/bench-strcat.c: Likewise.
3427 * benchtests/bench-strchr.c: Likewise.
3428 * benchtests/bench-string.h: Likewise.
3429 * benchtests/bench-strlen.c: Likewise.
3430 * benchtests/bench-strncpy.c: Likewise.
3431 * benchtests/bench-strnlen.c: Likewise.
3433 2019-06-28 Florian Weimer <fweimer@redhat.com>
3435 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
3436 Use mmap instead of malloc. malloc with M_PERTURB writes to the
3437 entire allocated memory range.
3439 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
3441 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
3442 (prepare_version_base): New helper inline function.
3443 (prepare_version): New macro replacing PREPARE_VERSION.
3444 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
3446 2019-06-28 Florian Weimer <fweimer@redhat.com>
3449 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
3450 mismatch in a versioned symbol reference.
3451 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
3452 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
3453 tst-sonamemove-dlopen.
3454 (module-names): Add tst-sonamemove-linkmod1,
3455 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
3456 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
3457 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
3458 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
3459 (tst-sonamemove-runmod1.so): Link against
3460 tst-sonamemove-runmod2.so.
3461 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
3462 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
3463 tst-sonamemove-runmod2.so.
3464 (tst-sonamemove-dlopen): Link with -ldl.
3465 (tst-sonamemove-dlopen.out): Likewise.
3466 * elf/tst-sonamemove-link.c: New file.
3467 * elf/tst-sonamemove-dlopen.c: Likewise.
3468 * elf/tst-sonamemove-linkmod1.c: Likewise.
3469 * elf/tst-sonamemove-linkmod1.map: Likewise.
3470 * elf/tst-sonamemove-runmod1.c: Likewise.
3471 * elf/tst-sonamemove-runmod1.map: Likewise.
3472 * elf/tst-sonamemove-runmod2.c: Likewise.
3473 * elf/tst-sonamemove-runmod2.map: Likewise.
3475 2019-06-28 Florian Weimer <fweimer@redhat.com>
3477 * support/xdlfcn.h (xdlvsym): Declare function.
3478 * support/xdlfcn.c (xdlvsym): Define funciton.
3480 2019-06-28 Florian Weimer <fweimer@redhat.com>
3483 io: Remove the copy_file_range emulation.
3484 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
3485 not define and call copy_file_range_compat.
3486 * io/Makefile (tests-static, tests-internal): Do not add
3487 tst-copy_file_range-compat.
3488 * io/copy_file_range-compat.c: Remove file.
3489 * io/copy_file_range.c (copy_file_range): Define as stub.
3490 * io/tst-copy_file_range-compat.c: Remove file.
3491 * io/tst-copy_file_range.c (xdevfile): Remove variable.
3492 (typical_sizes): Update comment. Remove 16K sizes.
3493 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
3495 (find_maximum_offset, pipe_as_source, pipe_as_destination)
3496 (delayed_write_failure_beginning, delayed_write_failure_end)
3497 (cross_device_failure, enospc_failure_1, enospc_failure)
3498 (oappend_failure): Remove functions.
3499 (tests): Adjust test case list.
3500 (do_test): Remove file system search code. Check for ENOSYS from
3501 copy_file_range. Do not free xdevfile.
3502 * manual/llio.texi (Copying File Data): Document ENOSYS error from
3503 copy_file_range. Do not document the EXDEV error, which future
3504 kernels may not report. Update the wording to reflect that
3505 further errors are possible.
3506 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3507 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
3509 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3510 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3512 * sysdeps/unix/sysv/linux/kernel-features.h
3513 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
3515 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3516 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
3518 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3519 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3522 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3524 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
3525 used as a mask for the mode argument of __vfprintf_internal.
3526 * stdio-common/printf-parse.h (printf_arg): New union member:
3528 * stdio-common/vfprintf-internal.c
3529 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
3530 (PARSE_FLOAT_VA_ARG): Likewise.
3531 (SETUP_FLOAT128_INFO): Likewise.
3532 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
3533 SETUP_FLOAT128_INFO.
3534 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
3535 floating-point value to the new union member, pa_float128.
3536 (printf_positional): Zero-initialize args_value[cnt] with memset.
3538 2019-06-27 Florian Weimer <fweimer@redhat.com>
3541 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
3542 buffer size if necessary.
3543 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3545 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
3547 (large_buffer_checks): Likewise.
3548 (do_test): Call large_buffer_checks.
3550 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
3552 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
3553 * sysdeps/x86/dl-lookupcfg.h: Here.
3554 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
3556 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3559 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
3560 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
3562 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3563 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3564 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
3565 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3566 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
3568 * sysdeps/powerpc/powerpc32/fpu/Makefile
3569 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
3570 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
3571 and fctidz optimization.
3572 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
3573 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
3574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3575 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
3576 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
3577 CFLAGS-s_lround-power5+.c): New rule.
3578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
3580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
3582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
3584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
3586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
3588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3598 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3599 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
3600 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3601 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
3602 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3603 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3604 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
3606 2019-06-26 Vincent Chen <vincentc@andestech.com>
3608 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
3609 specific system calls, fp_udfiex_crtl and udftrap.
3611 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3613 * nptl/tst-eintr1.c (tf1): Add return statement.
3614 (do_test): Remove unused th variable.
3616 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3618 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3619 Return error if get_character fails.
3621 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
3623 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3625 2019-06-24 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
3628 * localedata/locales/szl_PL (day): Use the correct Unicode
3629 sequences instead of non-ASCII characters.
3631 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3634 * localedata/locales/szl_PL (abday): Spelling corrections.
3638 (alt_mon): This, then apply spelling corrections.
3639 (mon): New entry, month names in the genitive case.
3641 2019-06-21 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
3644 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3645 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3646 (thousands_sep): Likewise.
3647 (grouping): Set to 3;3.
3649 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
3651 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3652 PREPARE_VERSION_KNOWN.
3653 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3654 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3656 (VDSO_HASH_LINUX_2_6_39): Likewise.
3657 (VDSO_NAME_LINUX_4_9): Likewise.
3658 (VDSO_HASH_LINUX_4_9): Likewise.
3659 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3660 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3661 (_libc_vdso_platform_setup): Likewise.
3662 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3663 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3665 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3668 2019-06-20 Mike Crowe <mac@mcrowe.com>
3670 * nptl/eintr.c: Use libsupport.
3671 * nptl/tst-eintr1.c: Likewise.
3672 * nptl/tst-eintr2.c: Likewise.
3673 * nptl/tst-eintr3.c: Likewise.
3674 * nptl/tst-eintr4.c: Likewise.
3675 * nptl/tst-eintr5.c: Likewise.
3676 * nptl/tst-mutex-errorcheck.c: Likewise.
3677 * nptl/tst-mutex5.c: Likewise.
3679 * support/test-driver.h: Add verbose_printf macro.
3681 * support/xtime.h: Add xclock_now() helper function.
3683 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3684 Florian Weimer <fweimer@redhat.com>
3687 * libio/genops.c (_IO_unbuffer_all)
3688 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3689 buffers and access _IO_FILE_complete members of legacy libio streams.
3690 * libio/tst-bz24228.c: New file.
3691 * libio/tst-bz24228.map: Likewise.
3692 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3693 [build-shared] (generated): Add tst-bz24228.mtrace and
3695 [run-built-tests && build-shared] (tests-special): Add
3696 $(objpfx)tst-bz24228-mem.out.
3697 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3698 ($(objpfx)tst-bz24228-mem.out): New rule.
3700 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
3702 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3703 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3704 (__FPU_MFFSL): Likewise.
3705 (_FPU_SETCW): Likewise.
3707 2019-06-19 Stan Shebs <stanshebs@google.com>
3708 Raoni Fassina Firmino <raoni@linux.ibm.com>
3711 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3712 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3713 static-linking version.
3714 * sysdeps/unix/sysv/linux/powerpc/Makefile
3715 (tests-static): Add test-gettimebasefreq-static.
3717 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3720 2019-06-19 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
3723 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3724 between the currency symbol and the minus sign).
3725 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3727 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
3730 * string/test-strcasestr.c (check_result): Add NULL check.
3731 * nss/tst-field.c (check_rewrite): Likewise.
3732 * benchtests/bench-strstr.c (do_one_test): Likewise.
3733 * string/test-strstr.c (check_result): Likewise.
3734 * argp/argp-test.c (popt): Increase size of buf to 12.
3735 * benchtests/bench-malloc-simple.c (bench):
3736 Do not initialize tests array out of bounds.
3738 2019-06-19 Florian Weimer <fweimer@redhat.com>
3741 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3744 2019-06-18 Florian Weimer <fweimer@redhat.com>
3747 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3748 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3749 fail when called from dlopen.
3750 * elf/Makefile [have-fpie && build-shared] (tests): Add
3752 (tst-dlopen-pie): Link with -ldl.
3753 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3754 * elf/tst-dlopen-pie.c (do_test): New file.
3756 2019-06-17 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
3759 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3760 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3761 between the currency symbol and the minus sign).
3762 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3763 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3765 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3767 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3768 sysdep-rtld-routines): Remove rules.
3769 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3770 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3771 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3772 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3773 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3774 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3775 vDSO path for SHARED.
3776 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3777 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3778 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3779 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3780 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3781 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3783 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3784 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3785 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3786 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3787 CFLAGS-s_llround-power5+.c): New rule.
3788 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3790 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3792 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3794 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3796 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3799 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3801 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3803 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3804 * sysdeps/powerpc/powerpc64/fpu/Makefile
3805 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3806 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3807 (libm-sysdep_routines): Remove s_llround-* objects.
3808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3818 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3819 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3820 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3821 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3822 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3823 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3824 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3825 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3826 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3827 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3828 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3829 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3830 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3831 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3833 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3834 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3835 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3836 * sysdeps/powerpc/powerpc32/fpu/Makefile
3837 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3838 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3840 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3841 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3842 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3844 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3845 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3846 CFLAGS-s_lrint-ppc32.c): New rule.
3847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3857 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3858 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3859 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3860 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3872 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3873 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3875 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3876 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3878 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3880 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3883 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3885 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3887 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3888 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3889 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3890 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3891 (libm-sysdep_routines): Remove s_llrint-* objects.
3892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3897 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3898 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3899 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3900 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3901 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3902 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3903 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3904 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3905 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3907 2019-06-14 Florian Weimer <fweimer@redhat.com>
3909 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3910 argument to __glibc_has_include to inhibit macro expansion.
3912 2019-06-14 Florian Weimer <fweimer@redhat.com>
3914 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3915 function-like macro, so that __has_include can inhibit expansion
3918 2019-06-13 Joseph Myers <joseph@codesourcery.com>
3920 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3924 Allow memset in libc.so.
3926 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3928 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3929 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3930 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3931 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3932 symbols at load time.
3933 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3935 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3937 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3938 (DT_AARCH64_VARIANT_PCS): Define.
3940 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3943 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3953 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3954 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3955 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3956 Remove s_finite* objects.
3957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3963 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3964 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3965 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3966 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3968 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3969 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3972 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3982 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3983 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3985 Remove s_isinf* and s_isinf* objects.
3986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3992 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3993 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3994 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3995 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3997 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3998 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
4000 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
4001 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
4002 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4004 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
4006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
4008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
4010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
4012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
4014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
4015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
4017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
4019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
4020 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4021 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
4022 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4023 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
4024 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4025 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
4026 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
4027 Remove s_isnan-* and s_isnanf-* objects.
4028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
4029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
4030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
4032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
4033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
4034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
4035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
4037 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4038 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4039 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4040 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4041 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4042 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
4043 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4044 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
4046 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
4047 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
4049 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
4050 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
4051 CFLAGS-bench-isfinite.c): New rule.
4052 * benchtests/isnan-input: New file.
4053 * benchtests/isinf-input: New file.
4054 * benchtests/isfinite-input: New file.
4056 * sysdeps/powerpc/fpu/s_copysign.c: New file.
4057 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
4058 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
4059 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
4060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4061 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
4063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
4065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
4067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
4071 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4072 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
4073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
4074 Remove s_copysign-power6 s_copysign-ppc64.
4075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
4077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
4079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
4081 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4082 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
4083 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4084 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
4086 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
4087 round_to_integer_float, round_mode): Add RINT handling.
4088 (reset_fenv_mode): New symbol.
4089 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
4090 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
4091 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
4092 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4093 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4094 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4096 2019-06-12 Florian Weimer <fweimer@redhat.com>
4099 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
4100 * libio/freopen.c (freopen): Use it.
4102 2019-06-12 Florian Weimer <fweimer@redhat.com>
4104 Linux: Deprecate sysctl.
4105 * include/sysctl.h (__sysctl): Remove declaration.
4106 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
4108 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
4109 (sysctl): Add deprecation attribute.
4110 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
4111 directly, to avoid the deprecation warning. Do not include
4113 (__sysctl): Remove hidden alias.
4115 2019-06-12 Florian Weimer <fweimer@redhat.com>
4117 Linux: Use kernel headers for statx definitions if available.
4118 * include/bits/statx-generic.h: New file.
4119 * include/bits/types/struct_statx.h: Likewise.
4120 * include/bits/types/struct_statx_timestamp.h: Likewise.
4121 * io/Makefile (headers): Add bits/statx-generic.h.
4122 * io/bits/statx-generic.h: New file. Partly copied from
4124 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
4125 define original_statx.
4126 * io/bits/types/struct_statx.h: Likewise.
4127 * io/bits/types/struct_statx_timestamp.h: Likewise.
4128 (statx_generic): Use original_statx.
4129 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
4130 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
4132 2019-06-12 Florian Weimer <fweimer@redhat.com>
4134 * misc/sys/cdefs.h (__glibc_has_include): Define.
4136 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
4138 * string/memmem.c (__memmem): Rewrite to improve performance.
4140 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
4142 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
4144 (two_way_long_needle): Block inlining.
4145 * string/strstr.c (strstr2): Add new function.
4146 (strstr3): Likewise.
4147 (STRSTR): Completely rewrite strstr to improve performance.
4149 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
4151 * benchtests/bench-strstr.c (test_hard_needle): New function.
4153 2019-06-10 Joseph Myers <joseph@codesourcery.com>
4155 * malloc/tst-calloc.c: Include <libc-diag.h>.
4156 (null_test): Ignore -Wunused-result around calls to calloc.
4157 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
4158 (do_test): Ignore -Wunused-result around call to malloc.
4160 2019-06-07 Florian Weimer <fweimer@redhat.com>
4162 Linux: Add getdents64 system call.
4163 * include/dirnent.h (getdents): Add comment and change buffer
4164 argument type to void *.
4165 (getdents64): Likewise. Add hidden prototype.
4166 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
4168 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
4170 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
4171 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
4172 argument type to void *.
4173 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
4174 Add hidden definition and getdents64 alias.
4175 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
4177 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
4178 * manual/filesys.texi (Accessing Directories): Add Low-level
4179 Directory Access node reference.
4180 (Opening a Directory): Cross-reference it.
4181 (Low-level Directory Access): New node.
4182 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4184 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4186 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4187 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4189 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4191 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4193 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4195 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4197 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4199 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4201 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4202 (GLIBC_2.30): Likewise.
4203 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4204 (GLIBC_2.30): Likewise.
4205 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4206 (GLIBC_2.30): Likewise.
4207 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4208 (GLIBC_2.30): Likewise.
4209 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4212 (GLIBC_2.30): Likewise.
4213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4214 (GLIBC_2.30): Likewise.
4215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4216 (GLIBC_2.30): Likewise.
4217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4218 (GLIBC_2.30): Likewise.
4219 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4221 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4223 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4225 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4226 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4228 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4230 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4232 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4235 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
4237 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
4241 (_FPU_GETCW): Use __FPU_MFFS().
4242 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
4244 2019-06-06 Florian Weimer <fweimer@redhat.com>
4246 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
4247 internal GCC preprocessor identifier __has_include__.
4249 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
4251 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
4252 with call to equivalent function.
4254 2019-06-04 Florian Weimer <fweimer@redhat.com>
4256 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
4257 (do_release_shlib): Adjust for __twalk_r.
4258 (__gconv_release_shlib): Call __twalk_r.
4260 2019-06-04 Andreas Schwab <schwab@suse.de>
4263 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
4264 no irreversible characters occurred.
4265 * iconv/gconv_simple.c (internal_ucs4_loop)
4266 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
4267 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4268 (ucs4_internal_loop_single, internal_ucs4le_loop)
4269 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
4270 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4271 (ucs4le_internal_loop_single): Add const to outend.
4272 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
4273 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
4274 * iconv/Makefile (tests): Add tst-iconv7.
4275 * iconv/tst-iconv7.c: New file.
4277 2019-06-03 Joseph Myers <joseph@codesourcery.com>
4279 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
4281 2019-06-01 Florian Weimer <fweimer@redhat.com>
4283 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
4284 * sysdeps/unix/sysv/linux/arm/Makefile
4285 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
4286 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
4287 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
4288 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
4289 compatibility symbols.
4291 2019-05-31 Florian Weimer <fweimer@redhat.com>
4293 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
4294 system calls for the arm architecture: breakpoint, get_tls,
4295 set_tls, usr26, usr32.
4297 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
4299 * sysdeps/powerpc/Makefile
4300 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
4301 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
4302 Declare '.machine power7' to get support for ldbrx.
4303 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
4304 directive based on the directory of the file.
4305 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
4306 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
4307 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
4308 '.machine' directive.
4309 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
4310 (VADDUQM_V7_V8): Remove.
4311 (__STRCASECMP): Replace macros with actual instructions.
4312 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
4313 '.machine' directive.
4314 (VCLZD_V8_v7): Remove.
4315 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
4317 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4319 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
4321 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
4323 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4325 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4327 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
4328 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
4329 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
4330 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
4331 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
4332 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4334 2019-05-28 mansayk <6688000@gmail.com>
4337 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
4339 2019-05-28 mansayk <6688000@gmail.com>
4342 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
4343 (abmon): Likewise, but remove the trailing dots.
4345 2019-05-28 Joseph Myers <joseph@codesourcery.com>
4347 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
4349 2019-05-27 Florian Weimer <fweimer@redhat.com>
4351 * nptl/nptl-init.c: Add comment.
4353 2019-05-24 Florian Weimer <fweimer@redhat.com>
4355 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
4356 struct in_addr/struct in6_addr alignment.
4358 2019-05-23 Joseph Myers <joseph@codesourcery.com>
4360 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4361 (F_SEAL_FUTURE_WRITE): New macro.
4363 2019-05-23 Alexandra HĂĄjkovĂĄ <ahajkova@redhat.com>
4365 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
4366 * elf/tst-ldconfig-bad-aux-cache.c: New file.
4367 * elf/tst-ldconfig_aux-cache.root: New directory.
4368 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
4369 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
4370 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
4372 2019-05-22 Zack Weinberg <zackw@panix.com>
4374 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
4376 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
4377 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
4379 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
4380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
4381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
4384 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
4385 Issue an #error if used with a compiler in SPE-float mode.
4386 * sysdeps/powerpc/powerpc32/__longjmp_common.S
4387 * sysdeps/powerpc/powerpc32/setjmp_common.S
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
4390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
4391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
4392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4394 Remove code to preserve SPE register state.
4396 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4397 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4398 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
4399 Remove __SPE__ ifndefs.
4401 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
4403 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
4404 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
4405 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
4406 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
4407 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
4408 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
4409 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
4410 (INNER_LOOP_ITERS_MEDIUM): New define.
4411 (INNER_LOOP_ITERS_SMALL): New define.
4412 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
4413 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
4414 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
4415 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
4416 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
4418 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4420 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
4422 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
4423 (SEMTIMEDOP_IPC_ARGS): Likewise.
4425 2019-05-21 Florian Weimer <fweimer@redhat.com>
4428 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
4429 before updating __counter field and release it afterwards. Add
4431 * iconv/gconv.h (struct __gconv_step): Mention synchronization
4432 requirement for __counter member.
4434 2019-05-21 Florian Weimer <fweimer@redhat.com>
4437 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
4438 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
4439 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
4440 instead of __gconv_release_step.
4441 * libio/Makefile (tests): Add tst-wfile-gconv.
4442 (tests-container): Add tst-wfile-ascii.
4443 (tst-wfile-gconv-ENV): Enable mtrace.
4444 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
4445 (tests-special): Add tst-wfile-gconv-mem.out.
4446 (tst-wfile-gconv.out): Depend on locales.
4447 (tst-wfile-gconv-mem.out): Add mtrace rule.
4448 * libio/tst-wfile-ascii.c: New file.
4449 * libio/tst-wfile-gconv.c: Likewise.
4451 2019-05-20 Florian Weimer <fweimer@redhat.com>
4454 libio: Remove codecvt vtable.
4455 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
4457 * libio/iofgetpos.c (_IO_new_fgetpos): Call
4458 __libio_codecvt_encoding.
4459 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
4460 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4461 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
4462 * libio/iofwide.c (__libio_codecvt): Remove variable.
4463 (_IO_fwide): Do not copy __libio_codecvt.
4464 (__libio_codecvt_out): Rename from do_out and export.
4465 (do_unshift): Remove function.
4466 (__libio_codecvt_in): Rename from do_in and export.
4467 (__libio_codecvt_encoding): Rename from do_encoding and export.
4468 (do_always_noconv): Remove function.
4469 (__libio_codecvt_length): Rename from do_length and export.
4470 (do_max_length): Remove function.
4471 * libio/libio.h (enum __codecvt_result): Remove definition; moved
4473 (struct _IO_codecvt): Remove fields __codecvt_destr,
4474 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
4475 __codecvt_do_encoding, __codecvt_do_always_noconv,
4476 __codecvt_do_length, __codecvt_do_max_length.
4477 * libio/libioP.h (enum __codecvt_result): Define; moved from
4479 (__libio_codecvt_out, __libio_codecvt_in)
4480 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
4482 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
4483 (_IO_wfile_underflow): Call __libio_codecvt_in.
4484 (_IO_wfile_underflow): Likewise.
4485 (_IO_wfile_underflow_mmap): Likewise.
4486 (_IO_wfile_sync): Call __libio_codecvt_encoding,
4487 __libio_codecvt_length.
4488 (adjust_wide_data): Call __libio_codecvt_encoding,
4490 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
4491 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
4492 __libio_codecvt_length.
4494 2019-05-20 Florian Weimer <fweimer@redhat.com>
4496 * support/support.h (support_sbindir_prefix): Declare.
4497 (support_install_rootsbindir): Update comment.
4498 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
4499 * support/support_paths.c (support_sbindir_prefix): Define.
4501 2019-05-20 Mike Crowe <mac@mcrowe.com>
4503 * support/timespec.c: Add backslash to correct newline in failure
4506 * support/timespec.h: Correct confusing comment.
4508 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4510 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
4512 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
4513 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
4514 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
4515 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
4518 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
4521 2019-05-20 Joseph Myers <joseph@codesourcery.com>
4523 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
4524 (NT_ARM_PACG_KEYS): Likewise.
4526 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
4528 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
4529 (tcache_put): Remove redundant assert.
4530 (tcache_get): Remove redundant asserts.
4531 (__libc_malloc): Check tcache count is not zero.
4532 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
4534 2019-05-17 Florian Weimer <fweimer@redhat.com>
4536 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
4538 2019-05-16 Joseph Myers <joseph@codesourcery.com>
4540 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4541 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
4543 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
4545 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4546 (__ASSUME_STATX): Likewise.
4548 2019-05-16 Florian Weimer <fweimer@redhat.com>
4550 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
4552 (LINE_PARSER): Do not map IPv4 addresses.
4553 (internal_nis_gethostent_r): Remove flags argument. Adjust call
4555 (_nss_nis_gethostent_r): Always pass AF_INET to
4556 internal_nis_gethostent_r.
4557 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4559 (_nss_nis_gethostbyname2_r): Adjust call to
4560 internal_nis_gethostent_r.
4561 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
4562 call to internal_nis_gethostent_r.
4563 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
4565 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
4566 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
4567 Remove flags argument. Do not map IPv4 addresses.
4568 (internal_nisplus_gethostent_r): Adjust call to
4569 _nss_nisplus_parse_hostent.
4570 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4571 to _nss_nisplus_parse_hostent.
4572 (_nss_nisplus_gethostbyname2_r): Adjust call to
4573 internal_gethostbyname2_r.
4574 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
4575 Adjust call to internal_gethostbyname2_r.
4576 (_nss_nisplus_gethostbyaddr_r): Adjust call to
4577 _nss_nisplus_parse_hostent.
4578 (_nss_nisplus_gethostbyname4_r): Adjust call to
4579 internal_gethostbyname2_r.
4581 2019-05-16 Florian Weimer <fweimer@redhat.com>
4583 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4585 (LINE_PARSER): Remove address mapping.
4586 (EXTRA_ARGS_VALUE): Remove flags argument.
4587 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
4588 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
4589 gethostbyname3_multi.
4590 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
4591 _nss_files_gethostbyname3_r.
4592 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
4594 2019-05-16 Florian Weimer <fweimer@redhat.com>
4596 * support/support_test_compare_blob.c (report_blob): Report
4597 incorrect NULL blobs.
4599 2019-05-15 Mark Wielaard <mark@klomp.org>
4602 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
4603 __libc_once_get (once) and static_buf == NULL.
4604 (__dlerror): Check we have a valid key, set result to static_buf
4607 2019-05-15 Andreas Schwab <schwab@suse.de>
4610 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
4611 __codecvt_do_length.
4612 * libio/Makefile (tests): Add tst-wfile-sync.
4613 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
4614 * libio/tst-wfile-sync.c: New file.
4615 * libio/tst-wfile-sync.input: New file.
4617 2019-05-15 Florian Weimer <fweimer@redhat.com>
4619 nss: Turn __nss_database_lookup into a compatibility symbol.
4620 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4621 __nss_database_lookup.
4622 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4623 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4624 __nss_database_lookup.
4625 (__nss_next): Move to âŠ
4626 * nss/compat-lookup.c (nss_next): ⊠here. Change it to fail
4628 (__nss_database_lookup): New function.
4629 * nss/Versions (GLIBC_2.0): Update comment.
4630 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4631 * grp/initgroups.c (internal_getgrouplist): Call
4632 __nss_database_lookup2 instead of __nss_database_lookup.
4633 * nscd/aicache.c (addhstaiX): Likewise.
4634 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4635 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4636 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4637 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4638 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4640 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4641 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4644 2019-05-15 Alexandra HĂĄjkovĂĄ <ahajkova@redhat.com>
4646 * support/support.h (support_install_rootsbindir): New variable.
4647 * support/support_paths.c: Likewise.
4648 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4650 2019-05-15 Florian Weimer <fweimer@redhat.com>
4652 * iconv/gconv.h (__gconv_transliterate): Move declaration âŠ
4653 * iconv/gconv_int.h (__gconv_transliterate): ⊠here.
4654 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4655 * iconv/skeleton.c: Likewise.
4657 2019-05-14 Florian Weimer <fweimer@redhat.com>
4659 Linux: Add the tgkill function.
4660 * bits/signal_ext.h: New file.
4661 * manual/signal.texi (Signaling Another Process): Document tgkill.
4662 * signal/Makefile (headers): Add bits/signal_ext.h.
4663 * signal/signal.h: Include <bits/signal_ext.h>.
4664 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4665 (tst-tgkill): Link with libpthread.
4666 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4667 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4668 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4669 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4671 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4672 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4673 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4674 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4675 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4676 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4677 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4678 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4679 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4680 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4681 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4683 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4684 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4685 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4694 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4695 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4696 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4697 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4698 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4699 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4700 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4701 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4703 2019-05-14 Carlos O'Donell <carlos@redhat.com>
4705 * manual/search.texi (Tree Search Function): Adjust twalk_r
4708 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4711 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4714 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4715 * support/support.h (support_bindir_prefix): New variable.
4716 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4718 * config.make.in (bindir): New variable.
4720 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4721 (lll_trylock): Call __lll_trylock.
4722 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4723 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4724 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4725 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4726 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4727 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4728 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4729 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4730 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4731 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4732 lowlevellock-futex.h.
4734 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4735 initialization for LLL_LOCK_INITIALIZER different than 0.
4736 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4737 Assume LLL_LOCK_INITIALIZER being 0.
4738 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4739 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4741 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4742 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4744 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4745 Optimize futex call and add systemtap probe.
4747 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4748 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4749 __libc_disable_asynccancel, __librt_enable_asynccancel,
4750 __libc_disable_asynccancel, __librt_enable_asynccancel,
4751 __librt_disable_asynccancel): Move to ...
4752 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4753 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4754 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4755 * sysdeps/generic/single-thread.h: New file.
4756 * sysdeps/unix/sysdep.h: Include single-thread.h.
4757 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4758 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4760 2019-05-08 Mike FABIAN <mfabian@redhat.com>
4763 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4764 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4766 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4767 * localedata/unicode-gen/PropList.txt: Likewise.
4768 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4769 * localedata/charmaps/UTF-8: Regenerate.
4770 * localedata/locales/i18n_ctype: Likewise.
4771 * localedata/locales/tr_TR: Likewise.
4772 * localedata/locales/translit_circle: Likewise.
4773 * localedata/locales/translit_cjk_compat: Likewise.
4774 * localedata/locales/translit_combining: Likewise.
4775 * localedata/locales/translit_compat: Likewise.
4776 * localedata/locales/translit_font: Likewise.
4777 * localedata/locales/translit_fraction: Likewise.
4779 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4782 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4783 (do_set_tcache_count): Only update if count is small enough.
4784 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4786 2019-05-10 Florian Weimer <fweimer@redhat.com>
4788 * nptl/sem_close.c (struct walk_closure): Define.
4789 (walker): Adjust for __twalk_r.
4790 (sem_close): Call __twalk_r.
4792 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4794 * support/timespec.c (test_timespec_before_impl,
4795 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4798 2019-05-09 Mike Crowe <mac@mcrowe.com>
4800 * nptl/tst-abstime.c: Use libsupport.
4802 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4803 small bug where only tv.tv_usec was checked which could cause an
4804 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4807 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4810 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4811 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4813 * nptl/tst-cond11.c: Use libsupport.
4815 * support/timespec.h: New file. Provide timespec helper functions
4816 along with macros in the style of those in check.h.
4817 * support/timespec.c: New file. Implement check functions declared
4818 in support/timespec.h.
4819 * support/timespec-add.c: New file from gnulib containing
4820 timespec_add implementation that handles overflow.
4821 * support/timespec-sub.c: New file from gnulib containing
4822 timespec_sub implementation that handles overflow.
4823 * support/README: Mention timespec.h.
4825 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4828 * nptl/Makefile: Move tst-eintr1 to xtests.
4830 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4832 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4834 (round_mode): Add definition for TRUNC.
4835 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4836 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4837 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4838 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4839 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4841 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4843 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4845 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4847 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4849 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4851 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4853 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4855 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4856 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4857 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4858 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4859 s_truncf-power5+, and s_truncf-ppc64.
4860 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4861 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4863 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4865 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4866 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4868 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4871 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4872 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4873 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4874 s_truncf-power5+, and s_truncf-ppc64.
4875 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4877 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4878 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4880 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4881 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4882 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4883 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4884 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4886 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4888 (round_mode): Add definition for ROUND.
4889 (round_to_integer_float): Likewise.
4890 * sysdeps/powerpc/fpu/s_round.c: New file.
4891 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4892 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4893 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4894 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4896 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4898 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4900 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4902 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4904 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4906 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4908 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4910 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4911 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4912 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4913 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4914 s_roundf-power5+, and s_roundf-ppc64.
4915 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4916 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4918 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4920 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4921 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4923 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4926 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4927 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4928 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4929 s_roundf-power5+, and s_roundf-ppc64.
4930 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4932 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4933 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4935 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4936 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4937 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4938 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4939 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4941 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4943 (round_mode): Add definition for FLOOR.
4944 * sysdeps/powerpc/fpu/s_floor.c: New file.
4945 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4946 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4947 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4964 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4965 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4966 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4967 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4968 s_floorf-power5+, and s_floorf-ppc64.
4969 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4970 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4972 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4974 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4975 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4977 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4980 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4981 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4982 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4983 s_floorf-power5+, and s_floorf-ppc64.
4984 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4992 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4993 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4994 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4995 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4997 2019-05-08 Mike Crowe <mac@mcrowe.com>
4999 * support/xclock_gettime.c (xclock_gettime): New file. Provide
5000 clock_gettime wrapper for use in tests that fails the test rather
5001 than returning failure.
5003 * support/xtime.h: New file to declare xclock_gettime.
5005 * support/Makefile: Add xclock_gettime.c.
5007 * support/README: Mention xtime.h.
5009 2019-05-08 Florian Weimer <fweimer@redhat.com>
5011 malloc/tst-mallocfork2: Use process-shared barriers.
5012 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
5013 (signal_count, sigusr1_sender_pid): Remove.
5014 (iterations): Define constant.
5015 (shared): New variable.
5016 (sigusr1_received): Update comment.
5017 (sigusr1_handler): Do not send SIGSTOP to the sender process.
5018 (signal_sender): Optional use barriers to avoid sending signals
5019 during irrelevant times.
5020 (do_it): Initialize variable shared. Use xfork for error
5021 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
5022 the iteration count, independent of signal delivery. Check for
5023 deadlocks in fork. Introduce barriers for reducing signal
5024 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
5025 replaced by the barriers. Count signals during fork/free/malloc
5027 * malloc/Makefile (tst-mallocfork): Link with libpthread.
5029 2019-05-07 Joseph Myers <joseph@codesourcery.com>
5031 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5033 (clock_adjtime64) New syscall.
5034 (clock_getres_time64) Likewise.
5035 (clock_gettime64) Likewise.
5036 (clock_nanosleep_time64) Likewise.
5037 (clock_settime64) Likewise.
5038 (futex_time64) Likewise.
5039 (io_pgetevents_time64) Likewise.
5040 (io_uring_enter) Likewise.
5041 (io_uring_register) Likewise.
5042 (io_uring_setup) Likewise.
5043 (mq_timedreceive_time64) Likewise.
5044 (mq_timedsend_time64) Likewise.
5045 (pidfd_send_signal) Likewise.
5046 (ppoll_time64) Likewise.
5047 (pselect6_time64) Likewise.
5048 (recvmmsg_time64) Likewise.
5049 (rt_sigtimedwait_time64) Likewise.
5050 (sched_rr_get_interval_time64) Likewise.
5051 (semtimedop_time64) Likewise.
5052 (timer_gettime64) Likewise.
5053 (timer_settime64) Likewise.
5054 (timerfd_gettime64) Likewise.
5055 (timerfd_settime64) Likewise.
5056 (utimensat_time64) Likewise.
5058 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
5059 version to 9 branch.
5061 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5063 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
5064 __memmove_thunderx2 to the list of implementations
5065 * sysdeps/aarch64/multiarch/memmove.c: Likewise
5066 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
5067 (__memmove_thunderx2): Rewritten using SIMD ld/st
5068 (__memcpy_thunderx2): Fixed handling overlapping cases.
5069 Used ldp/stp instead of ldr/str if possible. Made loops
5072 2019-05-03 Florian Weimer <fweimer@redhat.com>
5074 * misc/tst-tsearch.c (walk_tree): Add more error checking.
5076 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5079 * elf/tst-pldd.c (in_str_list): New function.
5080 (do_test): Add default names for ld and libc as one option.
5082 2019-05-02 Florian Weimer <fweimer@redhat.com>
5084 misc: Add twalk_r function.
5085 * include/search.h (__twalk_r): Declare.
5086 * manual/examples/twalk.c: New file.
5087 * manual/search.texi (Tree Search Function): Document twalk_r.
5088 * misc/Versions (2.30): Export twalk_r.
5089 (GLIBC_PRIVATE): Export __twalk_r.
5090 * misc/search.h [__USE_GNU] (twalk_r): Declare.
5091 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
5092 (twalk_r): Add weak alias.
5093 * misc/tst-tsearch.c (struct walk_trace_element): Define.
5094 (walk_trace): New variable.
5095 (struct twalk_with_twalk_r_closure): Define.
5096 (twalk_with_twalk_r_action): New function.
5097 (twalk_with_twalk_r): Likewise.
5098 (walk_action): Call walk_trace_add.
5099 (walk_tree_with): Rename from walk_tree. Add walk argument.
5100 (walk_tree): New function.
5101 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
5102 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
5104 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
5106 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
5107 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
5108 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
5109 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
5110 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
5111 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
5113 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
5115 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
5117 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5118 (GLIBC_2.30): Likewise.
5119 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5120 (GLIBC_2.30): Likewise.
5121 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5122 (GLIBC_2.30): Likewise.
5123 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5124 (GLIBC_2.30): Likewise.
5125 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
5127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5128 (GLIBC_2.30): Likewise.
5129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5130 (GLIBC_2.30): Likewise.
5131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
5132 (GLIBC_2.30): Likewise.
5133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
5134 (GLIBC_2.30): Likewise.
5135 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
5137 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
5139 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
5141 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
5142 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
5144 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
5146 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
5148 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
5151 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
5153 Make mktime etc. compatible with __time64_t
5154 Keep these functions compatible with Gnulib while adding
5155 __time64_t support. The basic idea is to move private API
5156 declarations from include/time.h to time/mktime-internal.h, since
5157 the former file cannot easily be shared with Gnulib whereas the
5159 Also, do some other minor cleanup while in the neighborhood.
5160 * include/time.h: Include stdbool.h, time/mktime-internal.h.
5161 (__mktime_internal): Move this prototype to time/mktime-internal.h,
5162 since Gnulib needs it.
5163 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
5164 Move these macros to time/mktime-internal.h, since Gnulib needs them.
5165 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
5166 (in_time_t_range): New static function.
5167 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
5168 so that glibc users are not tempted to use __time64_t.
5169 * time/mktime-internal.h: Rewrite so that it does both glibc
5170 and Gnulib work. Include time.h if not _LIBC.
5171 (mktime_offset_t) [!_LIBC]: Define for gnulib.
5172 (__time64_t): New type or macro, moved here from
5174 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
5175 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
5176 from include/time.h.
5177 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
5178 New macros, taken from GNulib.
5179 (__mktime_internal): New prototype, moved here from include/time.h.
5180 * time/mktime.c (mktime_min, mktime_max, convert_time)
5181 (ranged_convert, __mktime_internal, __mktime64):
5182 * time/timegm.c (__timegm64):
5183 Use __time64_t, not time_t.
5184 * time/mktime.c: Stop worrying about whether time_t is floating-point.
5185 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
5187 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
5188 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
5189 for libc_hidden_def.
5191 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
5193 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
5195 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
5198 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
5199 from `-Wmaybe-uninitialized'.
5200 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
5202 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5204 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
5206 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
5207 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
5208 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
5209 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
5210 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5212 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
5213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
5217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
5221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
5223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
5225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
5227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
5229 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
5230 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
5231 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
5232 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
5234 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
5236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
5237 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
5238 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
5240 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
5242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
5243 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
5245 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5246 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
5247 s_ceilf-power5+, and s_ceilf-ppc64.
5248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
5250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
5251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
5252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
5253 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
5254 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
5255 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
5256 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
5258 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
5259 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
5260 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
5262 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
5264 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
5265 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
5266 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
5267 (sem_getvalue): Likewise.
5269 2019-04-26 Florian Weimer <fweimer@redhat.com>
5271 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
5272 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
5274 2019-04-26 Florian Weimer <fweimer@redhat.com>
5276 Makeconfig: Move -Wl,-rpath-link options before library references.
5277 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
5278 (link-libc): Remove $(link-libc-rpath-link).
5280 2019-04-25 Florian Weimer <fweimer@redhat.com>
5282 * Makeconfig (+link-pie-before-libc): Remove $(CC).
5283 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
5284 (+link-static-before-libc): Remove $(CC).
5285 (+link-static, +link-static-tests): Add $(CC).
5286 (+link-before-libc): Remove $(CC).
5287 (+link, +link-pie, +link-pie-printers): Add $(CC).
5289 2019-04-26 Florian Weimer <fweimer@redhat.com>
5291 * Makeconfig (+link-pie-before-libc): Remove $(CC).
5292 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
5293 (+link-static-before-libc): Remove $(CC).
5294 (+link-static, +link-static-tests): Add $(CC).
5295 (+link-before-libc): Remove $(CC).
5296 (+link, +link-pie, +link-pie-printers): Add $(CC).
5298 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
5301 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
5303 2019-04-25 Florian Weimer <fweimer@redhat.com>
5305 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
5306 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
5307 (bench-link-targets): New variable.
5308 ($(binaries-bench) âŠ): Use it. Set LDFLAGS accordingly.
5310 2019-04-25 Florian Weimer <fweimer@redhat.com>
5312 Also enable BIND_NOW for programs if --enable-bind-now.
5313 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
5314 (+link-pie): Use $(link-extra-flags).
5315 (+link-static): Likewise.
5316 [! $(build-pie-default)] (+link): Likewise.
5317 * manual/install.texi (Configuring and compiling): Update
5318 --enable-bind-now description.
5319 * INSTALL: Regenerated.
5321 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
5323 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
5324 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
5326 2019-04-24 Mike Frysinger <vapier@gentoo.org>
5329 * malloc/Makefile (others): Add memusagestat.
5330 ($(objpfx)memusagestat): Delete rule.
5331 (LDLIBS-memusagestat): New variable.
5333 2019-04-24 Florian Weimer <fweimer@redhat.com>
5335 * locale/Makefile (tests-special): Guard setting by
5336 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
5337 to run while cross-compiling.
5339 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5342 * elf/Makefile (tests-container): Add tst-pldd.
5343 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
5344 (E(find_maps)): Avoid use alloca, use default read file operations
5345 instead of explicit LFS names, and fix infinite loop.
5346 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
5347 (get_process_info): Use _Static_assert instead of assert, use default
5348 directory operations instead of explicit LFS names, and free some
5350 * elf/tst-pldd.c: New file.
5352 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
5354 * malloc/arena.c (do_set_mallopt_check): Removed.
5356 2019-04-23 Florian Weimer <fweimer@redhat.com>
5358 locale: Add LOCPATH diagnostics to the locale program.
5359 * locale/programs/locale.c (setlocale_failed): New variable.
5360 (try_setlocale): New function.
5361 (quote_string): Likewise.
5362 (setlocale_diagnostics): Likewise.
5363 (main): Call try_setlocale instead of setlocale. Call
5364 setlocale_diagnostics.
5365 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
5366 (tst-locale-locpath.out): New target.
5367 * locale/tst-locale-locpath.sh: New file.
5369 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5371 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
5374 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5377 * malloc/hooks.c (malloc_check, realloc_check): Use
5378 __builtin_add_overflow on overflow check and adapt to
5379 checked_request2size change.
5380 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
5381 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
5382 allocation size to PTRDIFF_MAX.
5383 (REQUEST_OUT_OF_RANGE): Remove macro.
5384 (checked_request2size): Change to inline function and limit maximum
5385 requested size to PTRDIFF_MAX.
5386 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
5387 maximum allocation size to PTRDIFF_MAX.
5388 (_mid_memalign): Use _int_memalign call for overflow check.
5389 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
5390 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
5391 limit maximum requested size to PTRDIFF_MAX.
5392 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
5393 valloc, pvalloc): Add __attribute_alloc_size__.
5394 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
5395 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
5396 larger than PTRDIFF_MAX.
5397 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
5398 around tests of malloc with negative sizes.
5399 * malloc/tst-posix_memalign.c (do_test): Likewise.
5400 * malloc/tst-pvalloc.c (do_test): Likewise.
5401 * malloc/tst-valloc.c (do_test): Likewise.
5402 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
5403 with resulting size allocation larger than PTRDIFF_MAX with
5404 reallocarray_nowarn.
5405 (reallocarray_nowarn): New function.
5406 * NEWS: Mention the malloc function semantic change.
5408 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5410 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
5411 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
5413 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
5414 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
5415 * sysdeps/powerpc/fpu/s_fma.c: New file.
5416 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
5418 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
5419 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
5421 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
5422 the magic flag store.
5423 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5425 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
5427 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
5428 Remove rt_sigreturn call.
5430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5431 Remove rt_sigreturn call.
5432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
5435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5437 * support/Makefile (libsupport-routines): Add support_subprocess,
5438 xposix_spawn, xposix_spawn_file_actions_addclose, and
5439 xposix_spawn_file_actions_adddup2.
5440 (tst-support_capture_subprocess-ARGS): New rule.
5441 * support/capture_subprocess.h (support_capture_subprogram): New
5443 * support/support_capture_subprocess.c (support_capture_subprocess):
5444 Refactor to use support_subprocess and support_capture_poll.
5445 (support_capture_subprogram): New function.
5446 * support/tst-support_capture_subprocess.c (write_mode_to_str,
5447 str_to_write_mode, test_common, parse_int, handle_restart,
5448 do_subprocess, do_subprogram, do_multiple_tests): New functions.
5449 (do_test): Add support_capture_subprogram tests.
5450 * support/subprocess.h: New file.
5451 * support/support_subprocess.c: Likewise.
5452 * support/xposix_spawn.c: Likewise.
5453 * support/xposix_spawn_file_actions_addclose.c: Likewise.
5454 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
5455 * support/xspawn.h: Likewise.
5457 2019-04-17 Mike Gerow <gerow@google.com>
5459 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
5462 2019-04-11 Florian Weimer <fweimer@redhat.com>
5464 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
5465 domain with empty string.
5466 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5468 2019-04-11 Florian Weimer <fweimer@redhat.com>
5470 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
5472 (alloc_buffer_next): Change return type to non-const. Update
5475 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
5477 * manual/time.texi (Formatting Calendar Time): Add missing percent
5478 sign to conversion specifier.
5480 2019-04-09 Carlos O'Donell <carlos@redhat.com>
5481 Kwok Cheung Yeung <kcy@codesourcery.com>
5484 * malloc/mtrace.c: Define prototypes for all hooks.
5485 (set_default_hooks): New function.
5486 (set_trace_hooks): Likewise.
5487 (save_default_hooks): Likewise.
5488 (tr_freehook): Use new s*_hooks functions.
5489 (tr_mallochook): Likewise.
5490 (tr_reallochook): Likewise.
5491 (tr_memalignhook): Likewise.
5493 (muntrace): Likewise.
5495 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5497 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
5498 (generic_stpcpy): New function.
5499 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
5500 (generic_stpncpy): New function.
5501 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
5502 (generic_strcat): New function.
5503 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
5504 (generic_strcpy): New function.
5505 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
5506 (STUPID_STRNCAT): Remove function.
5507 (generic_strncat): New function.
5508 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
5509 (STUPID_STRNCPY): Remove function.
5510 (generic_strncpy): New function.
5511 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
5512 (generic_strnlen): New function.
5513 (memchr_strnlen): New function.
5514 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
5515 (memchr_strlen): Likewise.
5517 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5519 * benchtests/bench-strstr.c (input): Add realistic input text.
5520 (stupid_strstr): Remove function.
5521 (basic_strstr): Add function.
5522 (twoway_strstr): Add function.
5523 (do_one_test): Add result checking.
5524 (do_test): Use new input text. Remove accidental early matches.
5525 (test_main): Improve range of tests, reduce unaligned cases.
5527 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5529 * benchtests/bench-memmem.c (simple_memmem): Remove function.
5530 (basic_memmem): Add function.
5531 (twoway_memmem): Add function.
5533 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5535 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
5536 * benchtests/bench-malloc-thread.c: Likewise.
5537 * benchtests/bench-skeleton.c: Likewise.
5538 * benchtests/bench-strtod.c: Likewise.
5539 * benchtests/bench-timing.h: Likewise.
5541 2019-04-08 Florian Weimer <fweimer@redhat.com>
5543 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
5545 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
5546 RES_INSECURE2 security checks.
5547 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
5548 RES_INSECURE2 handling.
5550 2019-04-08 Florian Weimer <fweimer@redhat.com>
5552 resolv: Remove support for RES_USE_INET6 and the inet6 option.
5553 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
5554 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
5556 * resolv/Makefile (tests): Remove tst-res_use_inet6.
5557 (tests-internal): Update justification for tst-resolv-res_init,
5558 tst-resolv-res_init-thread.
5559 (tst-res_use_inet6): Remove target.
5560 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
5561 * resolv/res_debug.c (p_option): Remove "inet6" support.
5562 * resolv/res_init.c (res_setoptions): Likewise.
5563 * resolv/res_use_inet6.h: Remove file.
5564 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
5566 (res_use_inet6): Always return false.
5567 * resolv/resolv.h (RES_USE_INET6): Remove definition.
5568 * resolv/resolv_context.h: Adjust file comment.
5569 (struct resolv_context): Update comment on __next field.
5570 (__resolv_context_put): Update comment.
5571 * resolv/tst-res_use_inet6.c: Remove file.
5572 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
5574 (test_cases): Adjust test case.
5575 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
5576 (thread_byname2_af_inet6): Use old byname_inet6 code.
5577 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
5578 (gai): Remove do_inet6 argument.
5579 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
5580 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
5581 (thread_gai_unspec_inet6): Remove functions.
5582 (do_test): Adjust thread_funcs.
5583 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
5585 (gaih_inet): Do not disable RES_USE_INET6 flag.
5587 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5589 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
5590 and remove redundant code.
5592 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5594 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
5596 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
5597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
5599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
5601 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
5603 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5604 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
5605 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
5606 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
5607 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5608 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
5609 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5610 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
5612 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
5613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5614 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5615 Remove wcsrchr optimizations.
5616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5618 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5621 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5623 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5624 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5626 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5628 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5631 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5632 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5633 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5634 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5635 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5637 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5639 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5641 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5642 Remove wcschr optimizations.
5643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5645 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5648 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5650 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5651 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5653 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5655 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5657 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5658 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5659 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5660 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5661 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5662 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5663 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5664 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5666 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5668 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5669 Remove wcscpy optimizations.
5670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5672 * include/loop_unroll.h: New file.
5673 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5674 besides generic implementation.
5676 2019-04-03 DJ Delorie <dj@redhat.com>
5678 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5679 snprintf truncating output.
5681 2019-04-02 DJ Delorie <dj@redhat.com>
5683 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5686 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5689 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5691 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5692 (mkreftable): Add rules for the new Japanese era and the new dates.
5694 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5695 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
5697 * time/tst-strftime2.c (date_t): Explicitly define the type.
5698 (dates): Use natural month and year numbers to express a date.
5699 (is_before): New function to compare dates.
5700 (mkreftable): Minor improvements to simplify maintenance.
5701 (do_test): Reflect the changes in dates array.
5704 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5705 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5706 * time/tst-strftime2.c (locales): Likewise.
5707 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5708 2010-04-01, and 2011-04-01.
5709 (mkreftable): Add rules for the new locales and the new dates.
5711 2019-04-01 Carlos O'Donell <carlos@redhat.com>
5713 * localedata/locales/ja_JP: Add comments to era entries.
5715 2019-04-01 DJ Delorie <dj@redhat.com>
5718 * time/strptime_l.c (%Ey): Fix fencepost error.
5719 * time/tst-strftime3.c: New.
5720 * time/Makefile (tests): Add tst-strftime3.
5722 2019-04-01 UroĆĄ Bizjak <ubizjak@gmail.com>
5724 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5725 conditional branch to DIVBYZERO. Fix unwind info.
5726 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5727 excb after conditional branch to $powerof2. Add missing unop
5728 instructions and .align directives and reorder instructions to
5731 2019-04-01 Richard Henderson <rth@twiddle.net>
5733 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5735 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5738 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
5740 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5741 $libc_cv_riscv_float_abi in `test' invocation.
5742 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5744 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
5746 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5748 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5750 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5751 (_GET_SI_FPSCR): Likewise.
5752 (_SET_SI_FPSCR): Likewise.
5754 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5756 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5758 (signbit): Use builtin for clang 3.3.
5759 (isinf): Use builtin for clang 3.7.
5761 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5763 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5765 2019-03-25 Andreas K. HĂŒttel <dilfridge@gentoo.org>
5767 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5770 2019-03-25 Mike Crowe <mac@mcrowe.com>
5772 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5773 pthread_rwlock_timedrdlock with calls to
5774 pthread_rwlock_timedwrlock to ensure that the latter is tested
5775 too. Use new function name in diagnostic messages too.
5777 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5778 (do_test) Use libsupport test macros rather than hand-coded
5779 conditionals and error messages. Ensure that sem_init returns zero
5780 rather than not -1. Use <support/test-driver.c> rather than
5783 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5784 test macros rather than hand-coded conditionals and error messages.
5785 Use <support/test-driver.c> rather than test-skeleton.c.
5787 2019-03-25 Joseph Myers <joseph@codesourcery.com>
5789 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5791 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5792 (NT_MIPS_MSA): Likewise.
5794 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5796 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5797 * benchtests/README: Update description.
5798 * benchtests/bench-timing.h: Default to hp-timing.
5799 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5800 HP_TIMING_PRINT): Remove.
5801 (HP_TIMING_NOW): Add generic implementation.
5802 (hp_timing_t): Change to uint64_t.
5804 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5806 * nptl/descr.h: Likewise.
5807 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5808 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5809 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5810 Abstract hp-timing usage with RTLD_* macros.
5811 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5812 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5813 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5814 HP_TIMING_NONAVAIL): Likewise.
5815 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5817 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5818 HP_SMALL_TIMING_AVAIL): Likewise.
5819 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5820 HP_SMALL_TIMING_AVAIL): Likewise.
5821 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5822 HP_SMALL_TIMING_AVAIL): Likewise.
5823 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5824 HP_SMALL_TIMING_AVAIL): Likewise.
5825 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5827 * sysdeps/generic/hp-timing-common.h: Update comment with
5828 HP_TIMING_AVAIL removal.
5830 * include/random-bits.h: New file.
5831 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5832 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5834 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5835 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5838 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5839 * rt/Makefile (clock-routines): Remove get_clockfreq.
5840 * rt/get_clockfreq.c: Remove file.
5841 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5842 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5843 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5844 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5845 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5847 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5848 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5849 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5850 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5851 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5853 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5854 pthread_clock_settime.
5855 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5856 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5857 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5858 * elf/rtld.c (_dl_start_final): Likewise.
5859 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5860 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5862 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5863 (_dl_cpuclock_offset): Remove.
5864 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5865 cpuclock_offset_ununsed.
5866 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5867 cpuclock_offset set.
5868 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5869 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5870 * nptl/pthread_clock_gettime.c: Remove file.
5871 * nptl/pthread_clock_settime.c: Likewise.
5872 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5873 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5874 and CLOCK_PROCESS_CPUTIME_ID support.
5875 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5876 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5877 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5878 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5879 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5881 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5883 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5885 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5886 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5887 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5889 * sysdeps/s390/memmem-arch13.S: New file.
5890 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5891 if it is only used as fallback.
5892 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5893 * sysdeps/s390/multiarch/ifunc-impl-list.c
5894 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5896 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5898 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5899 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5900 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5902 * sysdeps/s390/multiarch/ifunc-impl-list.c
5903 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5904 * sysdeps/s390/strstr-arch13.S: New file.
5905 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5906 if it is only used as fallback.
5907 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5909 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5911 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5912 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5913 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5914 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5916 * sysdeps/s390/multiarch/ifunc-impl-list.c
5917 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5918 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5919 S390_IS_ARCH13_MIE3): New defines.
5921 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5923 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5924 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5925 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5926 * sysdeps/s390/configure: Regenerated.
5928 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5930 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5931 Add vxe2, vxp, dflt, sort flags.
5932 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5933 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5935 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5936 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5937 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5938 HWCAP_S390_DFLT): Define.
5940 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5943 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5944 of compiler warning.
5945 * locale/programs/ld-collate.c (collate_output): Likewise.
5947 2019-03-21 DJ Delorie <dj@redhat.com>
5950 * iconv/iconvconfig.c (write_output): Replace floating point math
5951 with integer math to avoid imprecise results.
5952 * locale/programs/ld-collate.c (collate_output): Likewise.
5954 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
5956 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5957 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5959 2019-03-20 mansayk <6688000@gmail.com>
5962 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5963 (abday): Likewise, but remove the trailing dots.
5965 2019-03-19 Joseph Myers <joseph@codesourcery.com>
5967 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5969 (HWCAP_PACA): Likewise.
5970 (HWCAP_PACG): Likewise.
5971 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5973 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5975 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5977 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5980 2019-03-15 Joseph Myers <joseph@codesourcery.com>
5982 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5984 (old_getpagesize): New syscall.
5986 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5989 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5990 * localedata/locales/cmn_TW (era): Likewise.
5991 * localedata/locales/hak_TW (era): Likewise.
5992 * localedata/locales/lzh_TW (era): Likewise.
5993 * localedata/locales/nan_TW (era): Likewise.
5995 2019-03-14 Adam Maris <amaris@redhat.com>
5997 * malloc/malloc.c (_int_malloc): Check for large bin list
5998 corruption when inserting unsorted chunk.
6000 2019-03-14 Florian Weimer <fweimer@redhat.com>
6002 Remove obsolete, never-implemented XSI STREAMS declarations.
6003 * manual/terminal.texi (Allocation): Remove portability note and
6005 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
6007 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
6008 * sysdeps/unix/inet/Subdirs (streams): Remove.
6009 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
6010 (conformtest-headers-UNIX98): Likewise.
6011 (conformtest-headers-XOPEN2K): Likewise.
6012 (conformtest-headers-POSIX2008): Likewise.
6013 * posix/compat-streams.c: New file.
6014 * posix/Makefile (routines): Add it.
6015 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
6016 getpmsg, isastream, putmsg, putpmsg.
6017 (GLIBC_2.30): New section.
6018 * bits/stropts.h: Remove file.
6019 * bits/xtitypes.h: Likewise.
6020 * conform/data/stropts.h-data: Likewise.
6021 * include/stropts.h: Likewise.
6022 * include/sys/stropts.h: Likewise.
6023 * include/xtitypes.h: Likewise.
6024 * streams/Makefile: Likewise.
6025 * streams/fattach.c: Likewise.
6026 * streams/fdetach.c: Likewise.
6027 * streams/getmsg.c: Likewise.
6028 * streams/getpmsg.c: Likewise.
6029 * streams/isastream.c: Likewise.
6030 * streams/putmsg.c: Likewise.
6031 * streams/putpmsg.c: Likewise.
6032 * streams/stropts.h: Likewise.
6033 * streams/sys/stropts.h: Likewise.
6034 * sysdeps/ia64/bits/xtitypes.h: Likewise.
6035 * sysdeps/s390/bits/xtitypes.h: Likewise.
6036 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
6037 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
6038 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
6039 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
6040 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
6041 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
6042 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
6043 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
6044 * sysdeps/x86/bits/xtitypes.h: Likewise.
6046 2019-03-14 Florian Weimer <fweimer@redhat.com>
6048 * nss/tst-nss-files-alias-truncated.c (do_test): Load
6050 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
6051 but not with libnss_files.
6052 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
6054 2019-03-14 Zack Weinberg <zackw@panix.com>
6056 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
6057 Specify encoding="utf-8" when opening headers to check.
6059 2019-03-13 Joseph Myers <joseph@codesourcery.com>
6061 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6063 (Context.checkout_tar): Handle variable major version for Linux
6066 2019-03-13 Florian Weimer <fweimer@redhat.com>
6069 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
6071 2019-03-13 Zack Weinberg <zackw@panix.com>
6073 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
6075 * include/inttypes.h: Adjust to match.
6076 * include/stdint.h: New wrapper.
6078 2019-03-13 Zack Weinberg <zackw@panix.com>
6080 * scripts/check-obsolete-constructs.py: New test script.
6081 * scripts/check-installed-headers.sh: Remove tests for
6082 obsolete typedefs, superseded by check-obsolete-constructs.py.
6083 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
6084 as a special test. Update commentary.
6085 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
6086 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
6088 * posix/sys/types.h (__u_intN_t): Remove.
6089 (u_int8_t): Typedef using __uint8_t.
6090 (u_int16_t): Typedef using __uint16_t.
6091 (u_int32_t): Typedef using __uint32_t.
6092 (u_int64_t): Typedef using __uint64_t.
6094 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
6096 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
6098 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
6099 Ignore types other than AT_HWCAP.
6100 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
6101 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
6103 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
6104 in the case of falling back to generic output mechanism.
6105 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
6108 2019-03-12 Florian Weimer <fweimer@redhat.com>
6110 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
6112 2019-03-12 Florian Weimer <fweimer@redhat.com>
6115 resolv: Enable full ICMP errors for UDP DNS sockets
6116 * resolv/res_enable_icmp.c: New file.
6117 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
6118 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
6119 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
6122 2019-03-11 Mao Han <han_mao@c-sky.com>
6124 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
6125 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
6127 2019-03-11 Mao Han <han_mao@c-sky.com>
6129 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
6130 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6131 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6133 2019-03-11 Mao Han <han_mao@c-sky.com>
6135 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
6137 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
6140 2019-03-11 Mao Han <han_mao@c-sky.com>
6142 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
6143 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
6146 2019-03-08 Mike FABIAN <mfabian@redhat.com>
6149 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
6150 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
6152 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
6153 * localedata/unicode-gen/PropList.txt: Likewise.
6154 * localedata/unicode-gen/UnicodeData.txt: Likewise.
6155 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
6156 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
6157 * localedata/charmaps/UTF-8: Regenerate.
6158 * localedata/locales/i18n_ctype: Likewise.
6159 * localedata/locales/tr_TR: Likewise.
6160 * localedata/locales/translit_circle: Likewise.
6161 * localedata/locales/translit_cjk_compat: Likewise.
6162 * localedata/locales/translit_combining: Likewise.
6163 * localedata/locales/translit_compat: Likewise.
6164 * localedata/locales/translit_font: Likewise.
6165 * localedata/locales/translit_fraction: Likewise.
6167 2019-03-07 Joseph Myers <joseph@codesourcery.com>
6169 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
6170 than after operators.
6171 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
6172 (setitimer_locked): Likewise.
6173 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
6174 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
6175 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
6176 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
6177 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
6178 (PPC_CPU_SUPPORTED): Likewise.
6179 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
6180 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
6181 (stat_overflow): Likewise.
6182 (statfs_overflow): Likewise.
6183 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
6184 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
6185 (eq_ttyname_r): Likewise.
6186 (run_chroot_tests): Likewise.
6188 2019-03-07 Florian Weimer <fweimer@redhat.com>
6190 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
6193 2019-03-07 Martin Liska <mliska@suse.cz>
6195 * math/Makefile: Change location where math-vector-fortran.h is
6197 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
6198 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
6199 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
6200 * scripts/check-installed-headers.sh: Skip Fortran header files.
6201 * scripts/check-wrapper-headers.py: Likewise.
6203 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6205 * nptl/nptl-init.c (__have_futex_clock_realtime,
6206 __have_futex_clock_realtime): Remove definition.
6207 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
6208 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
6209 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
6210 __ASSUME_FUTEX_CLOCK_REALTIME support.
6211 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
6212 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6213 * sysdeps/unix/sysv/linux/kernel-features.h
6214 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
6215 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
6218 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6220 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
6221 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
6222 __GI___wcscpy and wcscpy.
6224 2019-03-04 Florian Weimer <fweimer@redhat.com>
6226 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
6228 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
6231 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
6233 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
6234 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6236 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
6239 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
6240 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
6242 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6244 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
6246 (do_test): Likewise.
6247 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6248 (do_test_call_varg): Likewise.
6249 (do_test_call_rarg): Likewise.
6250 * sysdeps/ieee754/ldbl-opt/Makefile
6251 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
6253 ($(objpfx)tst-nldbl-warn.c): New rule.
6254 ($(objpfx)tst-nldbl-error.c): Likewise.
6255 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
6258 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6261 * include/bits/error-ldbl.h: New file.
6262 * include/error.h: Include stdarg.h. Declare internal functions
6263 __error_internal and __error_at_line_internal.
6264 * misc/Makefile (headers): Add bits/error-ldbl.h.
6265 * misc/bits/error-ldbl.h: New file.
6266 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
6267 avoid the inclusion of bits/error.h.
6268 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
6269 and __nldbl_error_at_line.
6270 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
6271 (__nldbl_error, __ndlbl_error_at_line): New functions.
6272 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
6273 Redirect error and error_at_line.
6274 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6283 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6284 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6285 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6287 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6290 * include/bits/err-ldbl.h: New file.
6291 * include/err.h: Add prototypes for the internal functions:
6292 __vwarnx_internal and __vwarn_internal.
6293 * misc/Makefile (headers): Add bits/err-ldbl.h.
6294 * misc/bits/err-ldbl.h: New file.
6295 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
6296 defined, i.e.: when -mlong-double-64 is in use.
6297 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
6298 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
6299 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
6300 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
6301 (VA_CALL): New macro.
6302 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
6303 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
6305 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
6306 declare prototypes for the new functions.
6307 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
6308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6316 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6317 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6318 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6320 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6322 * sysdeps/ieee754/ldbl-opt/Makefile
6323 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
6324 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
6325 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
6327 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6330 * argp/Makefile (headers): Add bits/argp-ldbl.h.
6331 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
6332 * argp/bits/argp-ldbl.h: New file.
6333 * include/argp.h: Include stdarg.h. Add prototypes for internal
6334 functions: __argp_error_internal and __argp_failure_internal.
6335 * include/bits/argp-ldbl.h: New file.
6336 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
6337 __nldbl_argp_error and __nldbl_argp_failure.
6338 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
6339 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
6340 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
6341 Redirect argp_error and argp_failure calls.
6342 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
6343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6351 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6352 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6353 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6355 2019-03-01 Florian Weimer <fweimer@redhat.com>
6358 * elf/tst-big-note-lib.S: Create a syntactically valid note.
6359 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
6360 code, to avoid creating an ABI tag note.
6361 (modules-names-nobuild): Add tst-big-note-lib.
6363 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
6365 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
6366 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
6368 2019-03-01 Florian Weimer <fweimer@redhat.com>
6371 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6372 (__netlink_assert_response): Add additional missing newlines.
6374 2019-02-28 Joseph Myers <joseph@codesourcery.com>
6376 * sysdeps/powerpc/powerpc32/dl-machine.c
6377 (__elf_machine_fixup_plt): Use space before '('.
6378 (__process_machine_rela): Likewise.
6379 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
6381 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
6383 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
6385 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
6386 (pattern): Likewise.
6388 (check_result): Likewise.
6389 (check_excepts): Likewise.
6390 (check_op): Likewise.
6391 (fail_xr): Likewise.
6392 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
6393 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
6395 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
6398 (__makecontext): Likewise.
6399 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
6402 2019-02-28 Florian Weimer <fweimer@redhat.com>
6405 elf: Add test with a local IFUNC resolver.
6406 * elf/ifuncmain9.c: New file.
6407 * elf/ifuncmain9pic.c: Likewise.
6408 * elf/ifuncmain9picstatic.c: Likewise.
6409 * elf/ifuncmain9pie.c: Likewise.
6410 * elf/ifuncmain9static.c: Likewise.
6411 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
6412 ifuncmain9static, ifuncmain9picstatic.
6413 * elf/Makefile [multi-arch && build-shared] (tests-internal):
6414 Add ifuncmain9, ifuncmain9pic.
6415 * elf/Makefile [multi-arch && build-shared && have-fpie]
6416 (ifunc-pie-tests): Add ifuncmain9pie.
6417 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
6418 (CFLAGS-ifuncmain9picstatic.c): Likewise.
6419 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
6421 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
6423 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
6424 * configure: Regenerated.
6425 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
6427 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6429 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
6430 symbol as __wcspcy instead of wcscpy.
6432 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6434 * include/stdio.h (__renameat2): New hidden prototype.
6435 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
6436 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
6437 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
6438 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
6440 2019-02-27 Joseph Myers <joseph@codesourcery.com>
6442 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
6445 * benchtests/bench-strcpy.c (do_test): Use space before '('.
6446 * benchtests/bench-string.h (cmdline_process_function): Likewise.
6447 * benchtests/bench-strlen.c (do_test): Likewise.
6448 (test_main): Likewise.
6449 * catgets/gencat.c (read_old): Likewise.
6450 * elf/cache.c (load_aux_cache): Likewise.
6451 * iconvdata/bug-iconv8.c (do_test): Likewise.
6452 * math/test-tgmath-ret.c (do_test): Likewise.
6453 * nis/nis_call.c (rec_dirsearch): Likewise.
6454 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6455 * nptl/tst-audit-threads.c (do_test): Likewise.
6456 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
6457 * nss/nss_test1.c (init): Likewise.
6458 * nss/test-netdb.c (test_hosts): Likewise.
6459 * posix/execvpe.c (maybe_script_execute): Likewise.
6460 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
6461 * stdio-common/tst-printf.c (do_test): Likewise.
6462 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
6463 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
6464 * stdlib/qsort.c (STACK_SIZE): Likewise.
6465 * stdlib/test-canon.c (do_test): Likewise.
6466 * stdlib/tst-swapcontext1.c (do_test): Likewise.
6467 * string/memcmp.c (OPSIZ): Likewise.
6468 * string/test-strcpy.c (do_test): Likewise.
6469 (do_random_tests): Likewise.
6470 * string/test-strlen.c (do_test): Likewise.
6471 (test_main): Likewise.
6472 * string/test-strrchr.c (do_test): Likewise.
6473 (do_random_tests): Likewise.
6474 * string/tester.c (test_memrchr): Likewise.
6475 (test_memchr): Likewise.
6476 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
6477 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
6478 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
6479 (read_encoded_value_with_base): Likewise.
6480 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
6481 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
6482 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
6483 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6484 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
6485 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
6487 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
6489 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
6490 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
6491 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
6493 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
6495 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
6497 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6499 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
6500 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
6501 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6502 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
6503 * time/test_time.c (main): Likewise.
6505 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6507 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
6509 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
6512 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
6515 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6517 * include/wchar.h (__wcscpy): New prototype.
6518 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
6519 (__wcscpy): Route internal symbol to generic implementation.
6520 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
6521 Add internal __wcscpy alias.
6522 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
6523 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
6524 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
6525 * wcsmbs/wcscpy.c (wcscpy): Add
6526 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
6527 use generic implementation.
6528 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
6530 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
6533 * sysdeps/m68k/wcpcpy.c: Remove file.
6534 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6536 2019-02-26 Joseph Myers <joseph@codesourcery.com>
6538 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
6539 than after operators.
6540 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6541 * sysdeps/mach/hurd/getcwd.c
6542 (__hurd_canonicalize_directory_name_internal): Likewise.
6543 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
6544 (pthread_mutex_consistent): Likewise.
6545 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
6547 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
6548 (__pthread_mutex_transfer_np): Likewise.
6549 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
6550 (__pthread_mutex_unlock): Likewise.
6551 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
6552 (mtx_owned_p): Likewise.
6553 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
6554 (pthread_mutexattr_getrobust): Likewise.
6555 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
6556 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6558 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6559 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
6560 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
6561 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
6562 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6563 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6564 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
6566 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
6568 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
6569 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
6570 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
6571 (____longjmp_chk): Likewise.
6572 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
6574 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6575 (INTERNAL_SYSCALL): Likewise.
6576 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6577 (INTERNAL_SYSCALL): Likewise.
6578 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6579 (__get_clockfreq_via_cpuinfo): Likewise.
6581 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
6583 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
6584 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
6585 (WORD_COPY_BWD): Likewise.
6586 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6587 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6589 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
6590 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
6592 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
6594 2019-02-25 Joseph Myers <joseph@codesourcery.com>
6596 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
6597 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
6598 rather than after operators.
6599 * elf/cache.c (print_cache): Likewise.
6600 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
6601 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
6602 * hurd/hurdinit.c (_hurd_setproc): Likewise.
6603 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
6604 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
6605 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
6606 (reauth_proc): Likewise.
6607 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
6608 (__file_name_split_at): Likewise.
6609 (__directory_name_split_at): Likewise.
6610 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6611 * hurd/port2fd.c (_hurd_port2fd): Likewise.
6612 * iconv/gconv_dl.c (do_print): Likewise.
6613 * inet/netinet/in.h (struct sockaddr_in): Likewise.
6614 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
6615 * locale/setlocale.c (new_composite_name): Likewise.
6616 * malloc/memusagestat.c (main): Likewise.
6617 * misc/fstab.c (fstab_convert): Likewise.
6618 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6620 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6621 (getgrent_next_file): Likewise.
6622 (internal_getgrnam_r): Likewise.
6623 (internal_getgrgid_r): Likewise.
6624 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6626 (internal_getgrent_r): Likewise.
6627 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6628 (getpwent_next_nss): Likewise.
6629 (getpwent_next_file): Likewise.
6630 (internal_getpwnam_r): Likewise.
6631 (internal_getpwuid_r): Likewise.
6632 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6634 (getspent_next_nss): Likewise.
6635 (internal_getspnam_r): Likewise.
6636 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6637 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6638 * string/strchr.c (STRCHR): Likewise.
6639 * string/strchrnul.c (STRCHRNUL): Likewise.
6640 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6641 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6642 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6643 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6644 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6646 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6647 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6648 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6649 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6650 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6651 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6652 (open_file): Likewise.
6653 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6654 (pthread_mutexattr_setprotocol): Likewise.
6655 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6656 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6657 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6658 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6659 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6661 (elf_machine_rela): Likewise.
6662 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6663 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6664 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6665 * sysdeps/posix/rename.c (rename): Likewise.
6666 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6667 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6668 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6669 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6670 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6671 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6672 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6674 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6676 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6677 * time/tzfile.c (__tzfile_compute): Likewise.
6679 2019-02-22 Joseph Myers <joseph@codesourcery.com>
6681 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6682 rather than after operators.
6683 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6684 * crypt/md5.c (md5_finish_ctx): Likewise.
6685 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6686 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6687 * elf/cache.c (load_aux_cache): Likewise.
6688 * elf/dl-load.c (open_verify): Likewise.
6689 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6690 * elf/readelflib.c (process_elf_file): Likewise.
6691 * elf/rtld.c (dl_main): Likewise.
6692 * elf/sprof.c (generate_call_graph): Likewise.
6693 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6694 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6695 * hurd/dtable.c (reauth_dtable): Likewise.
6696 * hurd/getdport.c (__getdport): Likewise.
6697 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6698 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6699 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6701 * hurd/hurdioctl.c (fioctl): Likewise.
6702 * hurd/hurdselect.c (_hurd_select): Likewise.
6703 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6704 (STOPSIGS): Likewise.
6705 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6706 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6707 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6708 * hurd/msgportdemux.c (msgport_server): Likewise.
6709 * hurd/setauth.c (_hurd_setauth): Likewise.
6710 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6711 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6712 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6713 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6714 * login/tst-utmp.c (do_check): Likewise.
6715 (simulate_login): Likewise.
6716 * mach/lowlevellock.h (lll_lock): Likewise.
6717 (lll_trylock): Likewise.
6718 * math/test-fenv.c (ALL_EXC): Likewise.
6719 * math/test-fenvinline.c (ALL_EXC): Likewise.
6720 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6721 * nis/nis_call.c (__do_niscall3): Likewise.
6722 * nis/nis_callback.c (cb_prog_1): Likewise.
6723 * nis/nis_defaults.c (searchaccess): Likewise.
6724 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6725 * nis/nis_ismember.c (internal_ismember): Likewise.
6726 * nis/nis_local_names.c (nis_local_principal): Likewise.
6727 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6728 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6730 * nis/ypclnt.c (yp_match): Likewise.
6731 (yp_first): Likewise.
6732 (yp_next): Likewise.
6733 (yp_master): Likewise.
6734 (yp_order): Likewise.
6735 * nscd/hstcache.c (cache_addhst): Likewise.
6736 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6737 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6738 (internal_getpwuid_r): Likewise.
6739 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6740 * posix/glob.h (__GLOB_FLAGS): Likewise.
6741 * posix/regcomp.c (peek_token): Likewise.
6742 (peek_token_bracket): Likewise.
6743 (parse_expression): Likewise.
6744 * posix/regexec.c (sift_states_iter_mb): Likewise.
6745 (check_node_accept_bytes): Likewise.
6746 * posix/tst-spawn3.c (do_test): Likewise.
6747 * posix/wordexp-test.c (testit): Likewise.
6748 * posix/wordexp.c (parse_tilde): Likewise.
6749 (exec_comm): Likewise.
6750 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6751 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6752 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6753 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6754 * stdio-common/tst-fileno.c (do_test): Likewise.
6755 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6756 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6757 * stdlib/strtod_l.c (round_and_return): Likewise.
6758 (____STRTOF_INTERNAL): Likewise.
6759 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6760 * string/strcspn.c (STRCSPN): Likewise.
6761 * string/test-memmem.c (simple_memmem): Likewise.
6762 * termios/tcsetattr.c (tcsetattr): Likewise.
6763 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6764 * time/asctime.c (asctime_internal): Likewise.
6765 * time/strptime_l.c (__strptime_internal): Likewise.
6766 * time/sys/time.h (timercmp): Likewise.
6767 * time/tzfile.c (__tzfile_compute): Likewise.
6769 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6772 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
6774 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6776 * argp/argp-help.c (__argp_error_internal): New function,
6777 renamed from __argp_error, but that takes a 'mode_flags'
6778 parameter to control the format of long double parameters.
6779 (__argp_error): Converted into a call __argp_error_internal.
6780 (__argp_failure_internal): New function, renamed from
6781 __argp_failure, but that takes a 'mode_flags' parameter.
6782 (__argp_failure): Converted into a call __argp_failure_internal.
6783 * misc/err.c (__vwarnx_internal): New function, renamed from
6784 vwarnx, but that takes a 'mode_flags' parameter.
6785 (vwarnx): Converted into a call to __vwarnx_internal.
6786 (__vwarn_internal): New function, renamed from vwarn, but that
6787 takes a 'mode_flags' parameter.
6788 (vwarn): Converted into a call to __vwarn_internal.
6789 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6790 call to __vfxprintf with 'mode_flags'.
6791 (__error_internal): New function, renamed from error, but that
6792 takes a 'mode_flags' parameter.
6793 (error): Converted into a call to __error_internal.
6794 (__error_at_line_internal): New function, renamed from
6795 error_at_line, but that takes a 'mode_flags' parameter.
6796 (error_at_line): Converted into a call to
6797 __error_at_line_internal.
6798 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6799 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6802 2019-02-20 Martin Liska <mliska@suse.cz>
6804 * math/Makefile: Install math-vector-fortran.h.
6805 * bits/math-vector-fortran.h: New file.
6806 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6808 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6810 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6811 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6813 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
6815 * nptl/pthread_mutex_trylock.c: Fix comment.
6817 2019-02-19 Carlos O'Donell <carlos@redhat.com>
6819 * nptl/pthread_tryjoin.c: Fix comment.
6821 2019-02-18 Joseph Myers <joseph@codesourcery.com>
6824 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6825 after R_SPARC_H34 case.
6827 2019-02-18 Florian Weimer <fweimer@redhat.com>
6829 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6830 (getanswer): Do not call Dprintf.
6831 (res_gethostbyname2_context): Likewise.
6832 (res_gethostbyaddr_context): Likewise.
6834 2019-02-18 Florian Weimer <fweimer@redhat.com>
6836 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6838 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6840 * libio/stdfiles.c: Update comment.
6841 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6842 set _IO_stdin, _IO_stdout, _IO_stderr.
6843 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6844 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6846 (_IO_deallocate_file): New inline function.
6847 * libio/iolibio.h (_IO_vprintf): Remove definition.
6848 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6849 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6850 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6852 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6853 __builtin_expect. Use _IO_legacy_file.
6855 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
6857 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6858 Initialize ctid with a known value and remove update of ctid
6860 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6861 as assumed current value of ctid_ptr.
6863 2019-02-16 Florian Weimer <fweimer@redhat.com>
6865 Check that non-sysdeps headers have wrapper headers.
6866 * scripts/check-wrapper-headers.py: New file.
6867 * Makefile (tests-special): Add check-wrapper-headers.out.
6868 (check-wrapper-headers.out): New target.
6869 * Rules (tests-special): Add check-wrapper-headers.out.
6870 (check-wrapper-headers.out): New target.
6872 2019-02-16 Florian Weimer <fweimer@redhat.com>
6874 Add missing header wrappers under include/.
6875 * include/ar.h: New file.
6876 * include/bits/mqueue2.h: Likewise.
6877 * include/bits/stdio.h: Likewise.
6878 * include/bits/stdio2.h: Likewise.
6879 * include/fstab.h: Likewise.
6880 * include/fts.h: Likewise.
6881 * include/lastlog.h: Likewise.
6882 * include/netinet/icmp6.h: Likewise.
6883 * include/netinet/igmp.h: Likewise.
6884 * include/netinet/ip6.h: Likewise.
6885 * include/re_comp.h: Likewise.
6886 * include/regexp.h: Likewise.
6887 * include/rpcsvc/bootparam.h: Likewise.
6888 * include/rpcsvc/yp_prot.h: Likewise.
6889 * include/sys/random.h: Likewise.
6890 * include/sys/stropts.h: Likewise.
6891 * include/sys/ttychars.h: Likewise.
6892 * include/sys/vfs.h: Likewise.
6893 * include/wait.h: Likewise.
6895 2019-02-16 Florian Weimer <fweimer@redhat.com>
6897 * nptl_db/proc_service.h: Move to ...
6898 * sysdeps/nptl/proc_service.h: ... here.
6899 * nptl_db/thread_db.h: Move to ...
6900 * sysdeps/nptl/thread_db.h: ... here.
6901 * nptl/descr.h: Include <thread_db.h>.
6903 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6905 * io/Makefile (tests): Add tst-lockf.
6906 * io/lockf.c (lockf): Use __fcntl and only define for
6907 !__OFF_T_MATCHES_OFF64_T.
6908 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6909 __OFF_T_MATCHES_OFF64_T case.
6910 * io/tst-lockf.c: New file.
6911 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6912 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6913 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6914 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6915 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6917 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6918 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6919 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6921 2019-02-15 Florian Weimer <fweimer@redhat.com>
6924 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6925 pd->result after the thread descriptor has been freed.
6927 2019-02-15 Joseph Myers <joseph@codesourcery.com>
6929 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6930 from function return type.
6932 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6934 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6936 * scripts/test_printers_common.py: Set TERM to a known harmless
6939 2019-02-14 Joseph Myers <joseph@codesourcery.com>
6941 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6942 (xdr_u_int): Likewise.
6943 (xdr_enum): Likewise.
6944 (xdr_bytes): Reword fall-through comment.
6945 (xdr_string): Likewise.
6947 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6950 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6951 (tests): Add tst-join8 tst-join9.
6952 * nptl/lll_timedwait_tid.c: Remove file.
6953 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6954 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6955 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6956 * nptl/pthread_join_common.c (timedwait_tid): New function.
6957 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6959 * nptl/tst-join5.c (thread_join): New function.
6960 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6962 * nptl/tst-join8.c: New file.
6963 * nptl/tst-join9.c: Likewise.
6964 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6965 lll_futex_timed_wait_cancel): Add generic macros.
6966 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6968 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6969 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6970 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6971 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6973 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6975 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6976 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6977 (lll_futex_timed_wait_cancel): New macro.
6979 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6981 * benchtests/Makefile: Add malloc-simple benchmark.
6982 * benchtests/bench-malloc-simple.c: New benchmark.
6984 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6986 * benchtests/bench-memmove.c (do_one_test): Remove unused
6989 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6993 2019-01-13 Jim Wilson <jimw@sifive.com>
6996 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6997 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6999 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
7001 * nptl/Makefile (tests): Add tst-unwind-thread.
7002 (CFLAGS-tst-unwind-thread.c): Define.
7003 * nptl/tst-unwind-thread.c: New file.
7004 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
7007 2019-02-13 Joseph Myers <joseph@codesourcery.com>
7009 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
7011 * nis/nis_call.c (__do_niscall3): Likewise.
7013 * catgets/gencat.c (normalize_line): Use braces around empty
7015 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7016 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
7017 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
7018 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
7019 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
7020 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
7021 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
7024 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
7027 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
7029 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
7030 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
7031 * benchtests/bench-strchr.c (stupid_strchr): Remove.
7032 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
7033 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
7034 * benchtests/bench-strlen.c (builtin_strlen): Remove.
7035 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
7036 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
7037 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
7038 * benchtests/bench-strspn.c (stupid_strspn): Remove.
7039 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
7040 * benchtests/bench-bcopy.c: Delete file.
7041 * benchtests/bench-bzero.c: Likewise.
7042 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
7043 (simple_memccpy): Remove.
7044 (generic_memccpy): Add function.
7045 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
7046 * benchtests/bench-memmove.c (simple_bcopy): Remove.
7047 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
7048 (generic_mempcpy): Add new function.
7049 * benchtests/bench-memset.c (simple_bzero): Remove.
7050 (builtin_bzero): Remove.
7051 (builtin_memset): Remove.
7052 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
7053 (generic_rawmemchr): Add new function.
7055 2019-02-12 Florian Weimer <fweimer@redhat.com>
7057 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
7059 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7062 * elf/Makefile (tests): Add tst-audit13.
7063 (modules-names): Add tst-audit13mod1.
7064 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7066 * elf/tst-audit13.c: New file.
7067 * elf/tst-audit13mod1.c: Likewise.
7069 2019-02-12 Florian Weimer <fweimer@redhat.com>
7072 * elf/rtld.c (unload_audit_module): New function.
7073 (report_audit_module_load_error): Likewise.
7074 (load_audit_module): Likewise. Extracted from dl_main. Call
7075 _dl_close if the laversion symbol cannot be found. Use early
7076 returns for error handling. Add malloc error check. Check for a
7077 zero return value from la_version. Remove spurious comment about
7078 static TLS initialization. Remove useless casts.
7079 (notify_audit_modules_of_loaded_object): New function. Extracted
7081 (load_audit_module): Likewise.
7082 (dl_main): Call load_audit_modules.
7084 2019-02-12 Joseph Myers <joseph@codesourcery.com>
7086 * elf/dl-exception.c (_dl_exception_create_format): Add
7087 fall-through comments.
7088 * elf/ldconfig.c (parse_conf_include): Likewise.
7089 * elf/rtld.c (print_statistics): Likewise.
7090 * locale/programs/charmap.c (parse_charmap): Likewise.
7091 * misc/mntent_r.c (__getmntent_r): Likewise.
7092 * posix/wordexp.c (parse_arith): Likewise.
7093 (parse_backtick): Likewise.
7094 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
7095 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7096 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7098 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
7100 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
7101 Use float instead of double.
7103 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7105 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
7107 2019-02-08 Joseph Myers <joseph@codesourcery.com>
7109 * sysdeps/powerpc/bits/mathinline.h: Remove.
7111 2019-02-08 Florian Weimer <fweimer@redhat.com>
7113 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
7114 * math/bits/math-finite.h: Move to ...
7115 * bits/math-finite.h: ... here.
7117 2019-02-08 Florian Weimer <fweimer@redhat.com>
7119 * sysdeps/generic/bits/unistd_ext.h: Move to ...
7120 * bits/unistd_ext.h: here.
7122 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
7125 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
7126 * nss/tst-nss-files-hosts-long.c: New file.
7127 * nss/tst-nss-files-hosts-long.root: New directory.
7128 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
7129 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
7131 2019-02-08 Florian Weimer <fweimer@redhat.com>
7133 * include/bits/unistd_ext.h: Remove file.
7134 * posix/bits/unistd_ext.h: Move to ...
7135 * sysdeps/generic/bits/unistd_ext.h: ... here.
7137 2019-02-08 Florian Weimer <fweimer@redhat.com>
7139 * include/bits/unistd_ext.h: New file.
7141 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
7143 * time/tst-strftime2.c: Use array_length macros instead of magic
7146 2019-02-08 Florian Weimer <fweimer@redhat.com>
7149 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
7151 * nptl/register-atfork.c (__run_fork_handlers): Only perform
7152 locking if the new do_locking argument is true.
7153 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
7154 __run_fork_handlers.
7156 2019-02-08 Florian Weimer <fweimer@redhat.com>
7159 Linux: Add gettid system call wrapper.
7160 * posix/Makefile (headers): Add bits/unistd_ext.h.
7161 * posix/bits/unistd_ext.h: New file.
7162 * posix/unistd.h: Include it.
7163 * manual/process.texi (Process Identification): Document gettid.
7164 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
7165 tst-gettid, tst-gettid-kill.
7166 (tst-gettid): Link with $(shared-thread-library).
7167 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
7168 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
7169 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
7170 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
7171 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
7172 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
7174 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
7176 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
7177 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
7179 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
7181 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
7183 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
7185 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
7187 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
7189 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
7191 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7192 (GLIBC_2.30): Likewise.
7193 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7194 (GLIBC_2.30): Likewise.
7195 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7196 (GLIBC_2.30): Likewise.
7197 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7198 (GLIBC_2.30): Likewise.
7199 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
7201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7202 (GLIBC_2.30): Likewise.
7203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7204 (GLIBC_2.30): Likewise.
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
7206 (GLIBC_2.30): Likewise.
7207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
7208 (GLIBC_2.30): Likewise.
7209 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
7211 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
7213 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
7215 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
7216 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
7218 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
7220 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
7222 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
7224 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
7226 2019-02-08 Florian Weimer <fweimer@redhat.com>
7228 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
7229 compatibility symbols.
7231 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
7234 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7235 Add compiler barriers and comments.
7237 2019-02-07 Florian Weimer <fweimer@redhat.com>
7239 * include/array_length.h (array_length): Do not use a statement
7240 expression and _Static_assert, so that array_length can be used at
7241 file scope and as a constant expression.
7243 2019-02-07 Florian Weimer <fweimer@redhat.com>
7245 * support/xdlfcn.h (xdlmopen): Declare.
7246 * support/xdlmopen.c: New file.
7247 * support/Makefile (libsupport-routines): Add xdlmopen.
7249 2019-02-06 Joseph Myers <joseph@codesourcery.com>
7251 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
7252 before return type, without separate inline.
7253 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
7254 * elf/dl-tunables.h (tunable_is_name): Likewise.
7255 * malloc/malloc.c (do_set_trim_threshold): Likewise.
7256 (do_set_top_pad): Likewise.
7257 (do_set_mmap_threshold): Likewise.
7258 (do_set_mmaps_max): Likewise.
7259 (do_set_mallopt_check): Likewise.
7260 (do_set_perturb_byte): Likewise.
7261 (do_set_arena_test): Likewise.
7262 (do_set_arena_max): Likewise.
7263 (do_set_tcache_max): Likewise.
7264 (do_set_tcache_count): Likewise.
7265 (do_set_tcache_unsorted_limit): Likewise.
7266 * nis/nis_subr.c (count_dots): Likewise.
7267 * nptl/allocatestack.c (advise_stack_range): Likewise.
7268 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
7270 (reduce_sincos): Likewise.
7271 (do_sincos): Likewise.
7272 * sysdeps/unix/sysv/linux/x86/elision-conf.c
7273 (do_set_elision_enable): Likewise.
7274 (TUNABLE_CALLBACK_FNDECL): Likewise.
7276 2019-02-06 Florian Weimer <fweimer@redhat.com>
7278 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
7279 (xdlsym): Use dlerror to detect a NULL symbol.
7281 2019-02-06 Florian Weimer <fweimer@redhat.com>
7283 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
7285 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7287 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
7289 * libio/tst-bz24153.c (wide): Use wide char format specifier.
7291 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
7293 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
7294 __wmemcmp and weak alias to wmemcmp.
7296 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
7299 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
7300 TLS_TCB_AT_TP tls variant.
7301 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
7302 Add alignment checks.
7303 * support/Makefile (libsupport-routines): Add xposix_memalign and
7305 * support/support.h: Add xposix_memalign.
7306 * support/xthread.h: Add xpthread_attr_setstack.
7307 * support/xposix_memalign.c: New File.
7308 * support/xpthread_attr_setstack.c: Likewise.
7310 2019-02-05 Florian Weimer <fweimer@redhat.com>
7313 arm: Use "nr" constraint for Systemtap probes, to avoid the
7314 compiler using memory operands for constants, due to the "o"
7315 alternative in the default "nor" constraint.
7316 * include/stap-probe.h [USE_STAP_PROBE]: Include
7317 <stap-probe-machine.h>
7318 * sysdeps/generic/stap-probe-machine.h: New file.
7319 * sysdeps/arm/stap-probe-machine.h: Likewise.
7321 2019-02-04 Joseph Myers <joseph@codesourcery.com>
7323 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
7324 with 0, not tcache->entries[tc_idx].
7326 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
7329 2019-02-04 Andreas Schwab <schwab@suse.de>
7333 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
7334 looking up collating elements match against (wide) character
7335 sequence instead of name. Correct alignment adjustment.
7336 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
7337 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
7338 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
7339 (LOCALES): Add cs_CZ.ISO-8859-2.
7340 * posix/tst-fnmatch4.c: New file.
7341 * posix/tst-fnmatch5.c: New file.
7342 * include/wchar.h (__wmemcmp): Declare.
7343 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
7344 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7345 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
7346 * sysdeps/s390/wmemcmp.c: Likewise.
7348 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
7352 * NEWS: Updated for CVE-2019-7309.
7353 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
7354 upper 32 bits of RDX register for x32. Use unsigned Jcc
7355 instructions, instead of signed.
7356 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
7357 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
7359 2019-02-04 Florian Weimer <fweimer@redhat.com>
7361 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
7362 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
7363 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
7365 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
7366 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
7367 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
7368 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
7370 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
7372 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
7374 (posix_spawn_file_actions_addopen): Likewise.
7375 (posix_spawn_file_actions_addclose): Likewise.
7376 (posix_spawn_file_actions_adddup2): Likewise.
7377 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
7379 (posix_spawn_file_actions_addfchdir_np): Likewise.
7381 2019-02-04 David Newall <glibc@davidnewall.com>
7383 elf: Implement --preload option for the dynamic linker.
7384 * elf/rtld.c (preloadarg): New variable.
7385 (handle_preload_list): Pass through âwhereâ argument to
7387 (dl_main): Handle "--preload" and add second call to
7388 handle_preload_list.
7389 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
7390 (tst-rtld-preload-OBJS): Set variable.
7391 (tst-rtld-preload.out): New target.
7392 * elf/tst-rtld-preload.sh: New file.
7394 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
7396 * Makefile (testrun.sh): Exit in case of incorrect argument.
7398 2019-02-04 Florian Weimer <fweimer@redhat.com>
7400 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
7403 2019-02-03 Florian Weimer <fweimer@redhat.com>
7405 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
7406 implicit overflow checks.
7408 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
7410 * stdlib/isomac.c: Include <unistd.h>.
7412 2019-02-03 Florian Weimer <fweimer@redhat.com>
7414 * include/time.h (__tzfile_default): Use int, not long int, for
7416 * time/tzfile.c (struct ttinfo): Change type of the offset member
7418 (__tzfile_read): Remove useless cast.
7419 (__tzfile_default): Adjust prototype.
7420 * time/tzset.c (tz_rule): Change type of the offset member to int.
7421 (parse_offset): Change the type of the sign variable to int.
7423 2019-02-03 Florian Weimer <fweimer@redhat.com>
7426 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
7427 * libio/getchar.c (getchar): Likewise.
7428 * libio/getchar_u.c (getchar_unlocked): Likewise.
7429 * libio/getwchar.c (getwchar): Likewise.
7430 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7431 * libio/iogets.c (_IO_gets): Likewise.
7432 * libio/vscanf.c (_IO_vscanf): Likewise.
7433 * libio/vwscanf.c (__vwscanf): Likewise.
7434 * libio/tst-bz24153.c: New file.
7435 * libio/Makefile (tests): Add it.
7437 2019-02-02 Florian Weimer <fweimer@redhat.com>
7440 * manual/resource.texi (Basic Scheduling Functions): Add
7441 portability note. Change process to task throughout the section.
7442 Remove incorrect comment about sched_yield as it affects
7443 tasks/threads, not entire processes.
7444 * sysdeps/unix/sysv/linux/bits/posix_opt.h
7445 (_POSIX_PRIORITY_SCHEDULING): Update comment.
7447 2019-02-01 Joseph Myers <joseph@codesourcery.com>
7449 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
7450 * configure: Regenerated.
7451 * manual/install.texi (Tools for Compilation): Update minimum GCC
7453 * INSTALL: Regenerated.
7455 2019-02-01 Florian Weimer <fweimer@redhat.com>
7457 * support/support_test_compare_string.c
7458 (support_test_compare_string): Use "string" in error message.
7459 * support/tst-test_compare_string.c (do_test): Adjust.
7461 2019-02-01 Florian Weimer <fweimer@redhat.com>
7463 * support/support_format_address_family.c
7464 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
7466 2019-02-01 Florian Weimer <fweimer@redhat.com>
7468 * manual/socket.texi (Internet Address Formats): Clarify the byte
7469 order of struct sockaddr_in, struct sockaddr_in6. Document
7470 sin6_flowinfo and sin6_scope_id.
7472 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
7474 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
7475 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
7476 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
7477 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
7478 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
7479 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
7481 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7483 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
7484 [!MEMCHR](MEMCHR): Set to __memchr.
7485 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7486 Add memchr_generic and memchr_nosimd.
7487 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7488 (__libc_ifunc_impl_list): Add memchr ifuncs.
7489 * sysdeps/aarch64/multiarch/memchr.c: New file.
7490 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
7491 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
7493 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7495 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7497 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7498 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
7499 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
7500 Add IS_EMAG check for ifunc dispatch.
7501 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
7502 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
7504 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7506 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
7507 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7509 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
7512 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
7514 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
7516 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
7518 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
7519 syscall-template file.
7521 2019-01-31 Carlos O'Donell <carlos@redhat.com>
7522 Torvald Riegel <triegel@redhat.com>
7523 Rik Prohaska <prohaska7@gmail.com>
7526 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
7527 tst-rwlock-trywrlock-stall.
7528 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7529 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
7530 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
7531 Set __wrphase_fute to 1 only if we started the write phase.
7532 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
7533 * nptl/tst-rwlock-trywrlock-stall.c: New file.
7534 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
7535 * support/xpthread_rwlock_destroy.c: New file.
7536 * support/xthread.h: Declare xpthread_rwlock_destroy.
7538 2019-02-01 Joseph Myers <joseph@codesourcery.com>
7540 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
7543 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7546 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
7547 * libio/fileops.c (_IO_new_file_underflow): Likewise
7548 * libio/wfileops.c (_IO_wfile_underflow): Likewise
7549 * libio/putchar.c (putchar): Likewise.
7550 * libio/putchar_u.c (putchar_unlocked): Likewise.
7551 * libio/putwchar.c (putchar): Likewise.
7552 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7553 * libio/tst-bz24051.c: New test.
7554 * libio/Makefile (tests): Add tst-bz24051
7556 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
7559 regex: fix read overrun [BZ #24114]
7560 Problem found by AddressSanitizer, reported by Hongxu Chen in:
7561 https://debbugs.gnu.org/34140
7562 * posix/regexec.c (proceed_next_node):
7563 Do not read past end of input buffer.
7565 2019-01-31 Florian Weimer <fweimer@redhat.com>
7568 * nss/nss_files/files-alias.c (get_next_alias): Handle
7569 continuation line without newline at the end.
7570 * nss/tst-nss-files-alias-truncated.c: New file.
7571 * nss/Makefile [$(build-shared)] (tests): Add
7572 tst-nss-files-alias-truncated.
7573 (tst-nss-files-alias-truncated): Link with libnss_files.so.
7574 * support/namespace.h (struct support_chroot_configuration): Add
7576 (struct support_chroot): Add path_aliases member.
7577 * support/support_chroot.c (support_chroot_create): Handle
7579 (support_chroot_free): Free path_aliases.
7581 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
7583 * version.h (RELEASE): Set to "development".
7584 (VERSION): Set to "2.29.9000".
7585 * NEWS: Add section for 2.30.
7587 * version.h (RELEASE): Set to "stable".
7588 (VERSION): Set to "2.29".
7589 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
7591 * NEWS: Add the list of bugs fixed in 2.29.
7592 * manual/contrib.texi: Update contributors list with some more
7594 * manual/install.texi: Update latest versions of packages
7596 * INSTALL: Regenerated.
7598 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
7600 * po/be.po: Update translations.
7601 * po/bg.po: Likewise.
7602 * po/ca.po: Likewise.
7603 * po/cs.po: Likewise.
7604 * po/da.po: Likewise.
7605 * po/de.po: Likewise.
7606 * po/el.po: Likewise.
7607 * po/eo.po: Likewise.
7608 * po/es.po: Likewise.
7609 * po/fi.po: Likewise.
7610 * po/fr.po: Likewise.
7611 * po/gl.po: Likewise.
7612 * po/hr.po: Likewise.
7613 * po/hu.po: Likewise.
7614 * po/ia.po: Likewise.
7615 * po/id.po: Likewise.
7616 * po/it.po: Likewise.
7617 * po/ja.po: Likewise.
7618 * po/ko.po: Likewise.
7619 * po/lt.po: Likewise.
7620 * po/nb.po: Likewise.
7621 * po/nl.po: Likewise.
7622 * po/pl.po: Likewise.
7623 * po/pt_BR.po: Likewise.
7624 * po/ru.po: Likewise.
7625 * po/rw.po: Likewise.
7626 * po/sk.po: Likewise.
7627 * po/sl.po: Likewise.
7628 * po/sv.po: Likewise.
7629 * po/tr.po: Likewise.
7630 * po/uk.po: Likewise.
7631 * po/vi.po: Likewise.
7632 * po/zh_CN.po: Likewise.
7633 * po/zh_TW.po: Likewise.
7635 2019-01-24 UroĆĄ Bizjak <ubizjak@gmail.com>
7638 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7639 of $f3 register on $y_is_neg path.
7641 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7644 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7645 sigaltstack.ss_flags.
7647 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7650 * manual/time.texi (strftime): Document "%Ey".
7651 * time/strftime_l.c (__strftime_internal): Set the default width
7652 padding with zero of "%Ey" to 2.
7655 * manual/time.texi (strftime): Document "%EC" and "%EY".
7656 * time/Makefile (tests): Add tst-strftime2.
7657 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7658 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7659 override padding for "%Ey".
7660 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7661 "%Ey" in the subformat as if decorated with that flag.
7662 * time/tst-strftime2.c: New file.
7664 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7666 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7670 * elf/Makefile (tests): Add tst-audit13.
7671 (modules-names): Add tst-audit13mod1.
7672 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7674 * elf/rtld.c (dl_main): Handle invalid audit module version.
7675 * elf/tst-audit13.c: New file.
7676 * elf/tst-audit13mod1.c: Likewise.
7678 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7680 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7681 returned by __hurd_at_flags.
7682 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7683 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7684 directly instead of __hurd_file_name_lookup.
7686 2019-01-21 Joseph Myers <joseph@codesourcery.com>
7688 * scripts/build-many-glibcs.py (Context.checkout): Default
7689 binutils version to 2.32 branch.
7691 2019-01-21 Florian Weimer <fweimer@redhat.com>
7695 resolv: Reject trailing characters in host names
7696 * include/arpa/inet.h (__inet_aton_exact): Declare.
7697 (inet_aton): Remove hidden prototype. No longer used internally.
7698 * nscd/gai.c (__inet_aton): Do not define.
7699 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7700 * nss/digits_dots.c (__inet_aton): Likewise.
7701 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7702 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7703 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7704 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7705 (tst-resolv-trailing): Likewise.
7706 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7708 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7709 Make static. Add endp parameter.
7710 (__inet_aton_exact): New function.
7711 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7712 (__inet_addr): Call inet_aton_end.
7713 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7714 not just IPv6. Call __inet_aton_exact.
7715 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7716 (tests): Make const. Add additional test cases with trailing
7718 (do_test): Use array_length.
7719 * resolv/tst-inet_aton_exact.c: New file.
7720 * resolv/tst-resolv-trailing.c: Likewise.
7721 * resolv/tst-resolv-nondecimal.c: Likewise.
7722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7724 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7728 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7729 Clear the upper 32 bits of RSI register.
7730 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7731 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7732 and tst-size_t-wcsnlen.
7733 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7734 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7736 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7740 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7741 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7742 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7743 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7744 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7746 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7750 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7751 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7752 * sysdeps/x86_64/strcmp.S: Likewise.
7753 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7754 tst-size_t-strncmp and tst-size_t-wcsncmp.
7755 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7756 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7757 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7759 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7763 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7764 RDX_LP for length. Clear the upper 32 bits of RDX register.
7765 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7766 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7767 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7768 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7770 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7774 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7775 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7776 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7777 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7779 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7783 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7784 length. Clear the upper 32 bits of RDX register.
7785 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7786 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7788 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7790 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7792 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7794 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7798 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7799 length. Clear the upper 32 bits of RDX register.
7800 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7801 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7802 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7804 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7805 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7807 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7811 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7812 upper 32 bits of RDX register.
7813 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7814 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7816 * sysdeps/x86_64/x32/test-size_t.h: New file.
7817 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7818 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7820 2019-01-18 Florian Weimer <fweimer@redhat.com>
7823 resolv: Do not send queries for non-host-names in nss_dns.
7824 * resolv/nss_dns/dns-host.c (check_name): New function.
7825 (_nss_dns_gethostbyname2_r): Use it.
7826 (_nss_dns_gethostbyname_r): Likewise.
7827 (_nss_dns_gethostbyname4_r): Likewise.
7829 2019-01-21 Florian Weimer <fweimer@redhat.com>
7831 * resolv/inet_addr.c: Reformat to GNU style.
7832 (__inet_addr, __inet_aton): Update comment.
7834 2019-01-18 Florian Weimer <fweimer@redhat.com>
7836 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7837 ("malloc: Use current (C11-style) atomics for fastbin access").
7838 This commit introduces a substantial performance regression on
7840 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7841 (REMOVE_FB): Define.
7842 (_int_malloc): Use it and reindent.
7843 (_int_free): Use CAS loop with
7844 catomic_compare_and_exchange_val_rel.
7845 (malloc_consolidate): Use atomic_exchange_acq.
7848 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7850 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7852 (LDFLAGS-tst-minsigstksz-2): Likewise.
7853 (LDFLAGS-tst-minsigstksz-3): Likewise.
7854 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7855 (LDFLAGS-tst-minsigstksz-4): Likewise.
7857 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7859 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7862 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
7864 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7866 2019-01-16 Zack Weinberg <zackw@panix.com>
7868 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7869 (xget_sigstack_location): New test support functions.
7870 * support/xsigstack.c: New file, implementing them.
7871 * support/tst-xsigstack.c: New test for them.
7872 * support/Makefile: Update.
7874 * signal/tst-minsigstksz-1.c
7875 * signal/tst-minsigstksz-2.c
7876 * signal/tst-minsigstksz-3.c
7877 * signal/tst-minsigstksz-3a.c
7878 * signal/tst-minsigstksz-4.c: New tests.
7879 * signal/Makefile: Run them.
7881 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7883 * po/libc.pot: Regenerate.
7885 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7887 * math/libm-test-fma.inc (fma_test_data): Set
7888 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7890 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7892 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7893 (do_test): Changed __vector __int128_t to __vector unsigned int.
7895 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7898 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7899 stpcpy-avx2 and stpncpy-avx2.
7900 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7901 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7902 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7904 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7905 ifunc-strcpy.h}: rename header for a more generic name.
7906 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7907 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7908 AVX unaligned load is fast and vzeroupper is preferred.
7909 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7910 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7911 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7912 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7913 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7914 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7916 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7918 * argp/argp-help.c: Fix typo in comment.
7919 * misc/sys/cdefs.h: Likewise.
7920 * posix/regexec.c (sift_states_iter_mb): Likewise.
7921 * socket/sockatmark.c: Likewise.
7922 * socket/sys/socket.h: Likewise.
7923 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7924 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7925 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7926 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7927 * sysdeps/unix/sockatmark.c: Likewise.
7928 * time/strptime_l.c: Likewise.
7930 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7932 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7933 missing space after the cast of "_NL_CURRENT".
7935 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7937 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7938 ifdef to fix read of VSCR.
7939 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7940 tst-ucontext-ppc64-vscr.c to test list.
7941 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7943 2019-01-10 Andreas K. HĂŒttel <dilfridge@gentoo.org>
7945 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7948 2019-01-09 Jim Wilson <jimw@sifive.com>
7950 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7952 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7954 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7955 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7956 __memcpy_falkor for ares.
7957 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7959 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7962 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7965 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7966 4_FP_W_TYPEs are used for IEEE quad precision.
7967 * soft-fp/extendhftf2.c: Likewise.
7968 * soft-fp/extendsftf2.c: Likewise.
7969 * soft-fp/extendxftf2.c: Likewise.
7970 * soft-fp/trunctfdf2.c: Likewise.
7971 * soft-fp/trunctfhf2.c: Likewise.
7972 * soft-fp/trunctfsf2.c: Likewise.
7973 * soft-fp/trunctfxf2.c: Likewise.
7974 * sysdeps/alpha/ots_cvttx.c: Likewise.
7975 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7976 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7977 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7978 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7979 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7980 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7981 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7982 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7983 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7984 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7985 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7986 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7987 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7988 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7989 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7990 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7991 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7993 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7996 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7997 code with -fmath-errno.
7998 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7999 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
8000 * string/test-strerror-errno.c: New file.
8002 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
8005 * localedata/locales/en_US (date_fmt): Add, set to
8006 "%a %d %b %Y %r %Z".
8008 2019-01-07 Florian Weimer <fweimer@redhat.com>
8011 * manual/arith.texi (Math Error Reporting): Use @code{errno}
8012 instead of @var{errno}.
8013 (Parsing of Integers): Likewise.
8014 (Parsing of Floats): Likewise.
8015 * manual/filesys.texi (Working with Directory Trees): Likewise.
8016 (Temporary Files): Likewise.
8017 * manual/job.texi (Terminal Access Functions): Likewise.
8018 * manual/llio.texi (Synchronizing I/O): Likewise.
8019 * manual/math.texi (SVID Random): Likewise.
8020 * manual/message.texi (The catgets Functions): Likewise.
8021 (Translation with gettext): Likewise.
8022 (Locating gettext catalog): Likewise.
8023 (Charset conversion in gettext): Likewise.
8024 * manual/nss.texi (NSS Module Function Internals): Likewise.
8025 * manual/search.texi (Hash Search Function): Likewise.
8026 * manual/setjmp.texi (System V contexts): Likewise.
8027 * manual/time.texi (Sleeping): Likewise.
8028 * manual/users.texi (Lookup User): Likewise.
8029 (Lookup Group): Likewise.
8031 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8033 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
8036 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
8039 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
8040 __builtin_unreachable for default case in switch.
8041 (__ieee754_yn): Likewise.
8042 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8043 (__ieee754_ynl): Likewise.
8044 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8045 (__ieee754_ynl): Likewise.
8046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8047 (__ieee754_ynl): Likewise.
8049 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
8051 * manual/maint.texi: Use @{ and @}.
8053 2019-01-04 Florian Weimer <fweimer@redhat.com>
8055 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
8057 (do_in_chroot_1): Call it.
8059 Improve error reporting in case it is not possible to create a
8060 collision for the PTY name required by the test.
8062 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8064 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
8065 lll_wait_tid with timeout.
8066 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
8067 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
8068 futex_reltimed_wait_cancelable for cancelabla mode.
8069 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
8070 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
8072 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
8073 * sysdeps/posix/waitid.c (__sigwait): Likewise.
8074 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
8075 SYSCALL_CANCEL_NCS): New macro.
8076 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
8077 (lll_timedwait_tid): Remove macro.
8078 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
8080 (lll_timedwait_tid): Likewise.
8081 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
8083 (lll_timedwait_tid): Likewise.
8084 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
8086 (lll_timedwait_tid): Likewise.
8087 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
8088 Use INTERNAL_SYSCALL_CANCEL.
8089 * sysdeps/unix/sysv/linux/futex-internal.h
8090 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
8091 instead of __pthread_{enable,disable}_asynccancel.
8092 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
8093 (lll_futex_wait_cancel): New macro.
8095 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
8096 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
8098 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
8099 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
8101 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
8102 in backtrace analysis.
8103 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
8105 (tf_send): Likewise.
8107 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
8108 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
8109 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
8110 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
8111 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
8112 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
8113 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
8114 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
8115 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
8116 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
8117 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
8118 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
8120 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
8121 tst-cancel-wrappers.sh.
8122 (generated): Remove tst-cancel-wrappers.out.
8123 (tst-cancel-wrappers.out): Remove rule.
8124 * nptl/tst-cancel-wrappers.sh: Remove file.
8126 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8128 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
8129 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
8132 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8135 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
8136 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
8137 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
8138 close-on-exec reset for adddup2 file action.
8139 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8141 2019-01-03 Zack Weinberg <zackw@panix.com>
8143 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
8144 parameter. Only use deprecated scanf when __USE_GNU is defined
8145 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
8146 than 201103L, whichever is relevant for the language being compiled.
8148 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
8149 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
8150 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
8151 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
8152 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
8156 * libio/iovswscanf.c
8161 * stdio-common/fscanf.c
8162 * stdio-common/scanf.c
8163 * stdio-common/vfscanf.c
8164 * stdio-common/vfwscanf.c
8165 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8166 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
8167 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
8168 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
8169 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
8170 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
8171 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
8172 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
8173 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
8174 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
8175 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
8176 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
8177 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
8178 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
8179 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
8181 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
8182 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
8183 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
8185 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
8186 with a preprocessor macro.
8188 * stdio-common/bug21.c, stdio-common/scanf14.c:
8189 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
8190 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
8191 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
8192 to xscanf, xfscanf, xsscanf.
8194 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
8195 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
8196 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
8197 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
8199 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
8200 override feature selection macros or provide definitions of u_char etc.
8201 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
8202 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
8203 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
8206 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8208 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8209 bits/termios-misc.h.
8210 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
8211 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8212 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8213 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8214 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
8215 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
8217 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
8218 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
8219 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
8220 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
8221 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
8222 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
8224 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
8225 (sysdep_headers): Add termios-misc.h.
8227 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
8228 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8229 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8233 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
8234 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
8235 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
8236 TCSAFLUSH): Move to termios-tcflow.h.
8237 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8238 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8239 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8240 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8242 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8244 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
8245 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
8246 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
8247 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
8248 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
8249 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
8250 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
8251 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
8253 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8254 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8255 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8256 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8260 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
8261 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
8262 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
8263 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
8264 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
8266 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8267 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8268 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8269 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8274 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
8275 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
8276 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
8277 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
8278 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
8279 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
8280 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
8281 __MAX_BAUD): Move to termios-baud.h.
8282 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
8283 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
8284 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8285 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8286 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8288 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8290 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
8291 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
8292 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
8293 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
8294 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
8295 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
8297 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
8298 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
8300 [USE_MISC] (XTABS): Likewise.
8301 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8302 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8303 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8304 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
8306 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
8308 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
8309 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
8310 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
8311 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
8312 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
8313 IUTF8): Move to termios-c_iflag.h.
8314 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8315 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8316 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8317 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8319 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
8321 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
8322 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
8323 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
8324 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
8325 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
8326 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
8327 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
8328 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
8329 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8330 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8331 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8332 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8334 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
8335 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
8336 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
8337 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
8338 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8340 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
8342 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
8344 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
8346 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
8348 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
8350 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
8351 _HAVE_C_OSPEED): Define.
8352 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
8353 _HAVE_C_OSPEED): Likewise.
8354 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
8355 _HAVE_C_OSPEED): Likewise.
8356 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
8357 (cfsetospeed): Check for define value instead of existence.
8358 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
8359 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
8360 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
8361 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
8362 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
8365 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
8367 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
8368 (TIOCSER_TEMT): Likewise.
8369 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
8370 (TEOCSER_TEMT): Likewise.
8372 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
8375 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
8377 2019-01-02 Joseph Myers <joseph@codesourcery.com>
8379 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8381 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8383 * sysdeps/htl/pt-barrierattr-setpshared.c
8384 (pthread_barrierattr_setpshared): Add stub warning.
8385 * sysdeps/htl/pt-condattr-setpshared.c
8386 (pthread_condattr_setpshared): Likewise.
8387 * sysdeps/htl/pt-mutexattr-setpshared.c
8388 (pthread_mutexattr_setpshared): Likewise.
8389 * sysdeps/htl/pt-rwlockattr-setpshared.c
8390 (pthread_rwlockattr_setpshared): Likewise.
8391 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
8392 (pthread_mutexattr_setpshared): Likewise.
8394 2019-01-02 Joseph Myers <joseph@codesourcery.com>
8396 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
8397 constants to match with Linux 4.20.
8399 * sysdeps/mips/mips32/libm-test-ulps: Update.
8400 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8402 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
8405 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
8406 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
8407 than __typeof (...) for the a_ptr variable.
8409 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8411 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
8412 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
8413 * libio/Makefile (tests): Add tst-sprintf-ub and
8415 (CFLAGS-tst-sprintf-ub.c): New variable.
8416 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
8417 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
8418 destination buffer and check for overflows in fortified mode.
8419 * libio/libioP.h (PRINTF_CHK): New macro.
8420 * libio/tst-sprintf-chk-ub.c: New file.
8421 * libio/tst-sprintf-ub.c: Likewise.
8423 2019-01-02 Florian Weimer <fweimer@redhat.com>
8426 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
8429 2019-01-02 Florian Weimer <fweimer@redhat.com>
8431 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
8433 2019-01-01 Joseph Myers <joseph@codesourcery.com>
8435 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
8438 * sysdeps/unix/sysv/linux/netpacket/packet.h
8439 (PACKET_IGNORE_OUTGOING): New macro.
8441 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
8444 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8446 (riscv_flush_icache): New syscall.
8448 * manual/texinfo.tex: Update to version 2018-12-28.17 with
8449 trailing whitespace removed.
8450 * scripts/config.guess: Update to version 2019-01-01.
8451 * scripts/config.sub: Update to version 2019-01-01.
8452 * scripts/move-if-change: Update from gnulib.
8454 * NEWS: Update copyright dates.
8455 * catgets/gencat.c (print_version): Likewise.
8456 * csu/version.c (banner): Likewise.
8457 * debug/catchsegv.sh: Likewise.
8458 * debug/pcprofiledump.c (print_version): Likewise.
8459 * debug/xtrace.sh (do_version): Likewise.
8460 * elf/ldconfig.c (print_version): Likewise.
8461 * elf/ldd.bash.in: Likewise.
8462 * elf/pldd.c (print_version): Likewise.
8463 * elf/sotruss.sh: Likewise.
8464 * elf/sprof.c (print_version): Likewise.
8465 * iconv/iconv_prog.c (print_version): Likewise.
8466 * iconv/iconvconfig.c (print_version): Likewise.
8467 * locale/programs/locale.c (print_version): Likewise.
8468 * locale/programs/localedef.c (print_version): Likewise.
8469 * login/programs/pt_chown.c (print_version): Likewise.
8470 * malloc/memusage.sh (do_version): Likewise.
8471 * malloc/memusagestat.c (print_version): Likewise.
8472 * malloc/mtrace.pl: Likewise.
8473 * manual/libc.texinfo: Likewise.
8474 * nptl/version.c (banner): Likewise.
8475 * nscd/nscd.c (print_version): Likewise.
8476 * nss/getent.c (print_version): Likewise.
8477 * nss/makedb.c (print_version): Likewise.
8478 * posix/getconf.c (main): Likewise.
8479 * scripts/test-installation.pl: Likewise.
8480 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8482 * All files with FSF copyright notices: Update copyright dates
8483 using scripts/update-copyrights.
8484 * locale/programs/charmap-kw.h: Regenerated.
8485 * locale/programs/locfile-kw.h: Likewise.
8487 2018-12-31 Joseph Myers <joseph@codesourcery.com>
8489 * timezone/zdump.c: Update from tzcode 2018i.
8490 * timezone/zic.c: Likewise.
8492 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
8494 regex: improve Gnulib port to AIX
8495 From the glibc point of view, this removes duplicate macro
8496 definitions and is obviously safe.
8497 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
8498 * posix/regex_internal.h:
8499 (__attribute__, __attribute_warn_unused_result__):
8500 Remove; already defined elsewhere.
8502 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
8505 * malloc/malloc.c (_int_realloc): Always call memcpy for the
8506 copying operation. (ncopies had the wrong type, resulting in an
8507 integer wraparound and too few elements being copied.)
8509 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
8512 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
8513 <asm/syscalls.h> exists with __has_include__ before including it.
8515 2018-12-31 Joseph Myers <joseph@codesourcery.com>
8517 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8520 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
8522 * hurd/lookup-retry: Include <unistd.h>.
8523 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
8524 Release it on return. Handle "pid" magical lookup retry.
8526 2018-12-28 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
8529 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
8530 (t_fmt_ampm): Likewise.
8531 * localedata/locales/aa_ER (t_fmt): Likewise.
8532 (t_fmt_ampm): Likewise.
8533 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
8534 (t_fmt_ampm): Likewise.
8535 * localedata/locales/aa_ET (t_fmt): Likewise.
8536 (t_fmt_ampm): Likewise.
8537 * localedata/locales/am_ET (t_fmt): Likewise.
8538 (t_fmt_ampm): Likewise.
8539 * localedata/locales/byn_ER (t_fmt): Likewise.
8540 (t_fmt_ampm): Likewise.
8541 * localedata/locales/om_ET (t_fmt): Likewise.
8542 (t_fmt_ampm): Likewise.
8543 * localedata/locales/sid_ET (t_fmt): Likewise.
8544 (t_fmt_ampm): Likewise.
8545 * localedata/locales/so_DJ (t_fmt): Likewise.
8546 (t_fmt_ampm): Likewise.
8547 * localedata/locales/so_ET (t_fmt): Likewise.
8548 (t_fmt_ampm): Likewise.
8549 * localedata/locales/so_SO (t_fmt): Likewise.
8550 (t_fmt_ampm): Likewise.
8551 * localedata/locales/ti_ER (t_fmt): Likewise.
8552 (t_fmt_ampm): Likewise.
8553 * localedata/locales/ti_ET (t_fmt): Likewise.
8554 (t_fmt_ampm): Likewise.
8555 * localedata/locales/tig_ER (t_fmt): Likewise.
8556 (t_fmt_ampm): Likewise.
8557 * localedata/locales/wal_ET (t_fmt): Likewise.
8558 (t_fmt_ampm): Likewise.
8560 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
8561 * localedata/locales/ar_IN (t_fmt): Likewise.
8562 * localedata/locales/bhb_IN (t_fmt): Likewise.
8563 * localedata/locales/bho_IN (t_fmt): Likewise.
8564 * localedata/locales/bi_VU (t_fmt): Likewise.
8565 * localedata/locales/bn_BD (t_fmt): Likewise.
8566 * localedata/locales/bn_IN (t_fmt): Likewise.
8567 * localedata/locales/brx_IN (t_fmt): Likewise.
8568 * localedata/locales/doi_IN (t_fmt): Likewise.
8569 * localedata/locales/en_HK (t_fmt): Likewise.
8570 (t_fmt_ampm): Likewise.
8571 * localedata/locales/en_IN (t_fmt): Likewise.
8572 * localedata/locales/en_PH (t_fmt): Likewise.
8573 * localedata/locales/gu_IN (t_fmt): Likewise.
8574 * localedata/locales/hi_IN (t_fmt): Likewise.
8575 * localedata/locales/hif_FJ (t_fmt): Likewise.
8576 * localedata/locales/hne_IN (t_fmt): Likewise.
8577 * localedata/locales/kn_IN (t_fmt): Likewise.
8578 * localedata/locales/kok_IN (t_fmt): Likewise.
8579 * localedata/locales/ks_IN (t_fmt): Likewise.
8580 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
8581 * localedata/locales/mag_IN (t_fmt): Likewise.
8582 * localedata/locales/mai_IN (t_fmt): Likewise.
8583 * localedata/locales/mjw_IN (t_fmt): Likewise.
8584 * localedata/locales/ml_IN (t_fmt): Likewise.
8585 * localedata/locales/mni_IN (t_fmt): Likewise.
8586 * localedata/locales/mr_IN (t_fmt): Likewise.
8587 * localedata/locales/ms_MY (t_fmt): Likewise.
8588 * localedata/locales/pa_IN (t_fmt): Likewise.
8589 * localedata/locales/raj_IN (t_fmt): Likewise.
8590 * localedata/locales/sa_IN (t_fmt): Likewise.
8591 * localedata/locales/sat_IN (t_fmt): Likewise.
8592 * localedata/locales/sd_IN (t_fmt): Likewise.
8593 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
8594 * localedata/locales/tcy_IN (t_fmt): Likewise.
8595 * localedata/locales/the_NP (t_fmt): Likewise.
8596 * localedata/locales/to_TO (t_fmt): Likewise.
8597 * localedata/locales/ur_IN (t_fmt): Likewise.
8599 * localedata/locales/hif_FJ (d_t_fmt): Set to
8600 "%A %d %b %Y %I:%M:%S %p".
8601 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
8603 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
8604 * localedata/locales/ar_BH (t_fmt): Likewise.
8605 * localedata/locales/ar_DZ (t_fmt): Likewise.
8606 * localedata/locales/ar_EG (t_fmt): Likewise.
8607 * localedata/locales/ar_IQ (t_fmt): Likewise.
8608 * localedata/locales/ar_JO (t_fmt): Likewise.
8609 * localedata/locales/ar_KW (t_fmt): Likewise.
8610 * localedata/locales/ar_LB (t_fmt): Likewise.
8611 * localedata/locales/ar_LY (t_fmt): Likewise.
8612 * localedata/locales/ar_OM (t_fmt): Likewise.
8613 * localedata/locales/ar_QA (t_fmt): Likewise.
8614 * localedata/locales/ar_SD (t_fmt): Likewise.
8615 * localedata/locales/ar_SS (t_fmt): Likewise.
8616 * localedata/locales/ar_SY (t_fmt): Likewise.
8617 * localedata/locales/ar_TN (t_fmt): Likewise.
8618 * localedata/locales/ar_YE (t_fmt): Likewise.
8620 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8621 (t_fmt_ampm): Likewise.
8622 * localedata/locales/gez_ET (t_fmt): Likewise.
8623 (t_fmt_ampm): Likewise.
8625 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8626 (t_fmt_ampm): Likewise.
8627 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8629 * localedata/locales/zh_HK (t_fmt):
8630 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8632 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8633 because this locale does not use the 12-hour clock.
8634 (t_fmt): Set to "%Z %H:%M:%S".
8635 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8637 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8638 because this locale does not use the 12-hour clock.
8639 (t_fmt): Set to "%H:%M:%S %Z".
8640 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8642 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8643 because this locale does not use the 12-hour clock.
8644 (t_fmt): Set to "%T".
8645 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8646 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8648 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8649 because this locale does not use the 12-hour clock.
8650 (t_fmt): Set to "%H:%M:%S %Z".
8651 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8653 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8654 because this locale does not use the 12-hour clock.
8655 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8656 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8658 2018-12-28 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
8662 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8663 (t_fmt_ampm): Likewise.
8664 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8665 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8666 (d_fmt): Set to "%-d.%-m.%y".
8668 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8670 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8671 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8672 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8674 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8675 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8676 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8678 * support/blob_repeat.c (check_mul_overflow_size_t,
8679 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8681 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8683 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8685 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8687 regex: simplify Gnulib port
8688 This simplifies the code, by removing stuff intended for porting
8689 to Gnulib but no longer needed there.
8690 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8691 uses of libc_hidden_def, weak_alias.
8692 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8693 _Restrict_ except for public-facing headers.
8694 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8695 Remove; already defined elsewhere.
8696 * posix/regex.c, posix/regex_internal.h:
8697 Use __GNUC_PREREQ instead of rolling our own.
8698 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8700 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8702 * benchtests/bench-strlen.c (generic_strlen): New function.
8703 (memchr_strlen): New function.
8705 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8707 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8708 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8709 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8711 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8713 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8715 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8717 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8718 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8719 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8720 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8721 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8722 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8723 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8725 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8728 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8729 PLT reference in libc.so.
8730 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8731 _Q_lltoq and _Q_qtod PLT references in libc.so.
8733 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8735 * benchtests/bench-memchr.c: Cleanup defines.
8736 * benchtests/bench-memcmp.c: Likewise.
8737 * benchtests/bench-memset.c: Likewise.
8738 * benchtests/bench-memset-large.c: Likewise.
8739 * benchtests/bench-memset-walk.c: Likewise.
8740 * benchtests/bench-stpcpy.c: Likewise.
8741 * benchtests/bench-stpncpy.c: Likewise.
8742 * benchtests/bench-strcat.c: Likewise.
8743 * benchtests/bench-strchr.c: Likewise.
8744 * benchtests/bench-strcmp.c: Likewise.
8745 * benchtests/bench-strcpy.c: Likewise.
8746 * benchtests/bench-strcspn.c: Likewise.
8747 * benchtests/bench-string.h: Likewise.
8748 * benchtests/bench-strlen.c: Likewise.
8749 * benchtests/bench-strncat.c: Likewise.
8750 * benchtests/bench-strncmp.c: Likewise.
8751 * benchtests/bench-strncpy.c: Likewise.
8752 * benchtests/bench-strnlen.c: Likewise.
8753 * benchtests/bench-strpbrk.c: Likewise.
8754 * benchtests/bench-strrchr.c: Likewise.
8755 * benchtests/bench-strspn.c: Likewise.
8757 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8759 * stdlib/longlong.h: Update from GCC.
8762 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8763 * configure: Regenerated.
8764 * manual/install.texi (Tools for Compilation): Update minimum GCC
8766 * INSTALL: Regenerated.
8768 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
8770 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8772 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
8774 * malloc/malloc.c (mremap_chunk): Additional checks.
8776 2018-12-21 Mao Han <han_mao@c-sky.com>
8778 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8779 * scripts/build-many-glibcs.py: Add C-SKY targets.
8780 * sysdeps/csky/Implies: New file.
8781 * sysdeps/csky/Makefile: Likewise.
8782 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8783 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8784 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8785 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8786 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8787 * sysdeps/csky/abiv2/memmove.S: Likewise.
8788 * sysdeps/csky/abiv2/memset.S: Likewise.
8789 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8790 * sysdeps/csky/abiv2/start.S: Likewise.
8791 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8792 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8793 * sysdeps/csky/abiv2/strlen.S: Likewise.
8794 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8795 * sysdeps/csky/abort-instr.h: Likewise.
8796 * sysdeps/csky/atomic-machine.h: Likewise.
8797 * sysdeps/csky/bits/endian.h: Likewise.
8798 * sysdeps/csky/bits/fenv.h: Likewise.
8799 * sysdeps/csky/bits/link.h: Likewise.
8800 * sysdeps/csky/bits/setjmp.h: Likewise.
8801 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8802 * sysdeps/csky/bsd-setjmp.S: Likewise.
8803 * sysdeps/csky/configure: Likewise.
8804 * sysdeps/csky/configure.ac: Likewise.
8805 * sysdeps/csky/dl-machine.h: Likewise.
8806 * sysdeps/csky/dl-procinfo.c: Likewise.
8807 * sysdeps/csky/dl-procinfo.h: Likewise.
8808 * sysdeps/csky/dl-sysdep.h: Likewise.
8809 * sysdeps/csky/dl-tls.h: Likewise.
8810 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8811 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8812 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8813 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8814 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8815 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8816 * sysdeps/csky/fpu/fegetround.c: Likewise.
8817 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8818 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8819 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8820 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8821 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8822 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8823 * sysdeps/csky/fpu/fesetround.c: Likewise.
8824 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8825 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8826 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8827 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8828 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8829 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8830 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8831 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8832 * sysdeps/csky/fpu_control.h: Likewise.
8833 * sysdeps/csky/gccframe.h: Likewise.
8834 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8835 * sysdeps/csky/ldsodefs.h: Likewise.
8836 * sysdeps/csky/libc-tls.c: Likewise.
8837 * sysdeps/csky/linkmap.h: Likewise.
8838 * sysdeps/csky/machine-gmon.h: Likewise.
8839 * sysdeps/csky/memusage.h: Likewise.
8840 * sysdeps/csky/nofpu/Implies: Likewise.
8841 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8842 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8843 * sysdeps/csky/nptl/Makefile: Likewise.
8844 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8845 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8846 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8847 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8848 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8849 * sysdeps/csky/nptl/tls.h: Likewise.
8850 * sysdeps/csky/preconfigure: Likewise.
8851 * sysdeps/csky/sfp-machine.h: Likewise.
8852 * sysdeps/csky/sotruss-lib.c: Likewise.
8853 * sysdeps/csky/stackinfo.h: Likewise.
8854 * sysdeps/csky/sysdep.h: Likewise.
8855 * sysdeps/csky/tininess.h: Likewise.
8856 * sysdeps/csky/tst-audit.h: Likewise.
8857 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8858 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8859 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8860 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8861 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8862 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8863 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8864 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8865 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8866 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8867 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8868 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8869 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8870 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8871 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8872 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8873 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8874 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8875 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8876 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8877 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8878 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8879 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8880 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8881 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8882 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8883 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8884 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8885 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8886 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8887 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8888 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8889 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8890 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8891 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8892 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8893 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8894 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8895 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8896 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8897 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8898 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8899 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8900 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8902 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8904 * include/time.h (__difftime64): Add.
8905 * time/difftime.c (subtract): convert to 64-bit time.
8906 * time/difftime.c (__difftime64): Add.
8907 * time/difftime.c (__difftime): Wrap around __difftime64.
8909 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8911 * manual/examples/add.c: Remove redundant "if not".
8912 * manual/examples/argp-ex1.c: Likewise.
8913 * manual/examples/argp-ex2.c: Likewise.
8914 * manual/examples/argp-ex3.c: Likewise.
8915 * manual/examples/argp-ex4.c: Likewise.
8916 * manual/examples/atexit.c: Likewise.
8917 * manual/examples/db.c: Likewise.
8918 * manual/examples/dir.c: Likewise.
8919 * manual/examples/dir2.c: Likewise.
8920 * manual/examples/execinfo.c: Likewise.
8921 * manual/examples/filecli.c: Likewise.
8922 * manual/examples/filesrv.c: Likewise.
8923 * manual/examples/fmtmsgexpl.c: Likewise.
8924 * manual/examples/genpass.c: Likewise.
8925 * manual/examples/inetcli.c: Likewise.
8926 * manual/examples/inetsrv.c: Likewise.
8927 * manual/examples/isockad.c: Likewise.
8928 * manual/examples/longopt.c: Likewise.
8929 * manual/examples/memopen.c: Likewise.
8930 * manual/examples/memstrm.c: Likewise.
8931 * manual/examples/mkdirent.c: Likewise.
8932 * manual/examples/mkfsock.c: Likewise.
8933 * manual/examples/mkisock.c: Likewise.
8934 * manual/examples/mygetpass.c: Likewise.
8935 * manual/examples/pipe.c: Likewise.
8936 * manual/examples/popen.c: Likewise.
8937 * manual/examples/rprintf.c: Likewise.
8938 * manual/examples/search.c: Likewise.
8939 * manual/examples/select.c: Likewise.
8940 * manual/examples/setjmp.c: Likewise.
8941 * manual/examples/sigh1.c: Likewise.
8942 * manual/examples/sigusr.c: Likewise.
8943 * manual/examples/stpcpy.c: Likewise.
8944 * manual/examples/strdupa.c: Likewise.
8945 * manual/examples/strftim.c: Likewise.
8946 * manual/examples/subopt.c: Likewise.
8947 * manual/examples/swapcontext.c: Likewise.
8948 * manual/examples/termios.c: Likewise.
8949 * manual/examples/testopt.c: Likewise.
8950 * manual/examples/testpass.c: Likewise.
8951 * manual/examples/timeval_subtract.c: Likewise.
8953 2018-12-19 Joseph Myers <joseph@codesourcery.com>
8955 * sysdeps/x86/fpu/math_private.h: New file.
8956 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8958 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8963 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8965 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8966 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8967 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8968 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8970 (_dl_show_auxv): Give a special treatment to
8971 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8972 and AT_L3_CACHEGEOMETRY.
8973 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8974 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8975 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8976 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8978 2018-12-19 Andreas Schwab <schwab@suse.de>
8980 * nscd/connections.c (check_use): Don't abort on invalid len.
8982 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8984 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8985 values in the 64bit value cases.
8987 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8993 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8999 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
9002 (__gmtime64_r): Add.
9004 (__gmtime64_r): Add.
9005 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
9011 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
9014 (__localtime64_r): Add.
9016 (__localtime64_r): Add.
9017 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
9019 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9021 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
9022 kernel_sigction definition.
9024 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
9026 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
9028 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
9029 __syscall_rt_sigaction.
9030 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
9031 (kernel_sigaction): Use Linux generic defintion.
9033 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
9034 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
9035 (__syscall_rt_sigaction): Remove implementation.
9036 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
9038 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
9039 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
9040 INTERNAL_SYSCALL): Remove definitions.
9041 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
9042 action and signal set size.
9043 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
9044 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
9046 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9047 James Clarke <jrtc27@jrtc27.com>
9050 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
9051 Define if SA_RESTORER is defined.
9052 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
9053 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
9055 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
9056 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
9058 (HAS_SA_RESTORER): Define.
9059 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
9060 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
9061 (HAS_SA_RESTORER): Define.
9062 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
9063 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
9064 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
9065 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
9066 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9068 2018-12-18 Joseph Myers <joseph@codesourcery.com>
9070 * sysdeps/unix/sysv/linux/kernel-features.h
9071 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
9072 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9073 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
9074 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9075 (__ASSUME_ST_INO_64_BIT): Likewise.
9076 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9077 <kernel-features.h>.
9078 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
9079 Remove conditional code.
9080 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9081 <kernel-features.h>.
9082 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
9083 Remove conditional code.
9084 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
9085 <kernel-features.h>.
9086 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
9087 Remove conditional code.
9088 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
9089 <kernel-features.h>.
9090 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
9091 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
9093 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9095 * sysdeps/s390/multiarch/ifunc-resolve.h
9096 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
9097 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
9098 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
9099 Delete macro definition.
9100 (s390_libc_ifunc_init): Rename to
9101 s390_libc_ifunc_expr_stfle_init.
9102 * sysdeps/s390/bzero: Use
9103 s390_libc_ifunc_expr_stfle_init instead of
9104 s390_libc_ifunc_init.
9105 * sysdeps/s390/memcmp.c: Likewise.
9106 * sysdeps/s390/memcpy.c: Likewise.
9107 * sysdeps/s390/mempcpy.c: Likewise.
9108 * sysdeps/s390/memset.c: Likewise.
9110 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9112 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
9113 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
9115 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9117 * sysdeps/s390/multiarch/Makefile
9118 (sysdep_routines): Remove wmemcmp variants.
9119 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
9120 * sysdeps/s390/multiarch/ifunc-impl-list.c
9121 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
9122 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
9123 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
9124 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
9125 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
9126 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
9127 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
9128 * sysdeps/s390/ifunc-wmemcmp.h: New file.
9130 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9132 * sysdeps/s390/multiarch/Makefile
9133 (sysdep_routines): Remove wmemset variants.
9134 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
9135 * sysdeps/s390/multiarch/ifunc-impl-list.c
9136 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
9137 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
9138 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
9139 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
9140 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
9141 * sysdeps/s390/multiarch/wmemset.c: Move to ...
9142 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
9143 * sysdeps/s390/ifunc-wmemset.h: New file.
9145 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9147 * sysdeps/s390/multiarch/Makefile
9148 (sysdep_routines): Remove wmemchr variants.
9149 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
9150 * sysdeps/s390/multiarch/ifunc-impl-list.c
9151 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
9152 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
9153 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
9154 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
9155 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
9156 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
9157 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
9158 * sysdeps/s390/ifunc-wmemchr.h: New file.
9160 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9162 * sysdeps/s390/multiarch/Makefile
9163 (sysdep_routines): Remove wcscspn variants.
9164 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
9165 * sysdeps/s390/multiarch/ifunc-impl-list.c
9166 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
9167 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
9168 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
9169 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
9170 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
9171 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
9172 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
9173 * sysdeps/s390/ifunc-wcscspn.h: New file.
9175 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9177 * sysdeps/s390/multiarch/Makefile
9178 (sysdep_routines): Remove wcspbrk variants.
9179 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
9180 * sysdeps/s390/multiarch/ifunc-impl-list.c
9181 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
9182 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
9183 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
9184 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
9185 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
9186 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
9187 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
9188 * sysdeps/s390/ifunc-wcspbrk.h: New file.
9190 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9192 * sysdeps/s390/multiarch/Makefile
9193 (sysdep_routines): Remove wcsspn variants.
9194 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
9195 * sysdeps/s390/multiarch/ifunc-impl-list.c
9196 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
9197 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
9198 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
9199 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
9200 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
9201 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
9202 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
9203 * sysdeps/s390/ifunc-wcsspn.h: New file.
9205 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9207 * sysdeps/s390/multiarch/Makefile
9208 (sysdep_routines): Remove wcsrchr variants.
9209 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
9210 * sysdeps/s390/multiarch/ifunc-impl-list.c
9211 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
9212 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
9213 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
9214 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
9215 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
9216 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
9217 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
9218 * sysdeps/s390/ifunc-wcsrchr.h: New file.
9220 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9222 * sysdeps/s390/multiarch/Makefile
9223 (sysdep_routines): Remove wcschrnul variants.
9224 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
9225 * sysdeps/s390/multiarch/ifunc-impl-list.c
9226 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
9227 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
9228 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
9229 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
9230 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
9231 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
9232 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
9233 * sysdeps/s390/ifunc-wcschrnul.h: New file.
9235 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9237 * sysdeps/s390/multiarch/Makefile
9238 (sysdep_routines): Remove wcschr variants.
9239 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
9240 * sysdeps/s390/multiarch/ifunc-impl-list.c
9241 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
9242 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
9243 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
9244 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
9245 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
9246 * sysdeps/s390/multiarch/wcschr.c: Move to ...
9247 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
9248 * sysdeps/s390/ifunc-wcschr.h: New file.
9250 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9252 * sysdeps/s390/multiarch/Makefile
9253 (sysdep_routines): Remove wcsncmp variants.
9254 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
9255 * sysdeps/s390/multiarch/ifunc-impl-list.c
9256 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
9257 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
9258 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
9259 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
9260 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
9261 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
9262 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
9263 * sysdeps/s390/ifunc-wcsncmp.h: New file.
9265 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9267 * sysdeps/s390/multiarch/Makefile
9268 (sysdep_routines): Remove wcscmp variants.
9269 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
9270 * sysdeps/s390/multiarch/ifunc-impl-list.c
9271 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
9272 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
9273 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
9274 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
9275 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
9276 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
9277 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
9278 * sysdeps/s390/ifunc-wcscmp.h: New file.
9280 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9282 * sysdeps/s390/multiarch/Makefile
9283 (sysdep_routines): Remove wcsncat variants.
9284 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
9285 * sysdeps/s390/multiarch/ifunc-impl-list.c
9286 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
9287 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
9288 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
9289 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
9290 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
9291 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
9292 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
9293 * sysdeps/s390/ifunc-wcsncat.h: New file.
9295 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9297 * sysdeps/s390/multiarch/Makefile
9298 (sysdep_routines): Remove wcscat variants.
9299 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
9300 * sysdeps/s390/multiarch/ifunc-impl-list.c
9301 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
9302 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
9303 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
9304 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
9305 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
9306 * sysdeps/s390/multiarch/wcscat.c: Move to ...
9307 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
9308 * sysdeps/s390/ifunc-wcscat.h: New file.
9310 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9312 * sysdeps/s390/multiarch/Makefile
9313 (sysdep_routines): Remove wcpncpy variants.
9314 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
9315 * sysdeps/s390/multiarch/ifunc-impl-list.c
9316 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
9317 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
9318 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
9319 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
9320 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
9321 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
9322 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
9323 * sysdeps/s390/ifunc-wcpncpy.h: New file.
9325 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9327 * sysdeps/s390/multiarch/Makefile
9328 (sysdep_routines): Remove wcsncpy variants.
9329 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
9330 * sysdeps/s390/multiarch/ifunc-impl-list.c
9331 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
9332 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
9333 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
9334 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
9335 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
9336 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
9337 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
9338 * sysdeps/s390/ifunc-wcsncpy.h: New file.
9340 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9342 * sysdeps/s390/multiarch/Makefile
9343 (sysdep_routines): Remove wcpcpy variants.
9344 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
9345 * sysdeps/s390/multiarch/ifunc-impl-list.c
9346 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
9347 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
9348 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
9349 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
9350 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
9351 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
9352 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
9353 * sysdeps/s390/ifunc-wcpcpy.h: New file.
9355 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9357 * sysdeps/s390/multiarch/Makefile
9358 (sysdep_routines): Remove wcscpy variants.
9359 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
9360 * sysdeps/s390/multiarch/ifunc-impl-list.c
9361 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
9362 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
9363 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
9364 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
9365 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
9366 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
9367 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
9368 * sysdeps/s390/ifunc-wcscpy.h: New file.
9370 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9372 * sysdeps/s390/multiarch/Makefile
9373 (sysdep_routines): Remove wcsnlen variants.
9374 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
9375 * sysdeps/s390/multiarch/ifunc-impl-list.c
9376 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
9377 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
9378 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
9379 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
9380 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
9381 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
9382 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
9383 * sysdeps/s390/ifunc-wcsnlen.h: New file.
9385 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9387 * sysdeps/s390/multiarch/Makefile
9388 (sysdep_routines): Remove wcslen variants.
9389 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
9390 * sysdeps/s390/multiarch/ifunc-impl-list.c
9391 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
9392 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
9393 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
9394 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
9395 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
9396 * sysdeps/s390/multiarch/wcslen.c: Move to ...
9397 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
9398 * sysdeps/s390/ifunc-wcslen.h: New file.
9400 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9402 * sysdeps/s390/multiarch/Makefile
9403 (sysdep_routines): Remove memrchr variants.
9404 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
9405 * sysdeps/s390/multiarch/ifunc-impl-list.c
9406 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
9407 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
9408 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
9409 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
9410 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
9411 * sysdeps/s390/multiarch/memrchr.c: Move to ...
9412 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
9413 * sysdeps/s390/ifunc-memrchr.h: New file.
9415 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9417 * sysdeps/s390/multiarch/Makefile
9418 (sysdep_routines): Remove memccpy variants.
9419 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
9420 * sysdeps/s390/multiarch/ifunc-impl-list.c
9421 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
9422 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
9423 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
9424 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
9425 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
9426 * sysdeps/s390/multiarch/memccpy.c: Move to ...
9427 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
9428 * sysdeps/s390/ifunc-memccpy.h: New file.
9430 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9432 * sysdeps/s390/multiarch/Makefile
9433 (sysdep_routines): Remove rawmemchr variants.
9434 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
9435 * sysdeps/s390/multiarch/ifunc-impl-list.c
9436 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
9437 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
9438 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
9439 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
9440 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
9441 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
9442 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
9443 * sysdeps/s390/ifunc-rawmemchr.h: New file.
9445 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9447 * sysdeps/s390/multiarch/Makefile
9448 (sysdep_routines): Remove memchr variants.
9449 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
9450 * sysdeps/s390/multiarch/ifunc-impl-list.c
9451 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
9452 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
9453 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
9454 * sysdeps/s390/multiarch/memchr.c: Move to ...
9455 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
9456 * sysdeps/s390/ifunc-memchr.h: New file.
9457 * sysdeps/s390/s390-64/memchr.S: Move to ...
9458 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
9459 for 31/64bit and ifunc handling.
9460 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
9461 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9462 * sysdeps/s390/s390-32/memchr.S: Likewise.
9464 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9466 * sysdeps/s390/multiarch/Makefile
9467 (sysdep_routines): Remove strcspn variants.
9468 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
9469 * sysdeps/s390/multiarch/ifunc-impl-list.c
9470 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
9471 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
9472 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
9473 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
9474 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
9475 * sysdeps/s390/multiarch/strcspn.c: Move to ...
9476 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
9477 * sysdeps/s390/ifunc-strcspn.h: New file.
9479 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9481 * sysdeps/s390/multiarch/Makefile
9482 (sysdep_routines): Remove strpbrk variants.
9483 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
9484 * sysdeps/s390/multiarch/ifunc-impl-list.c
9485 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
9486 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
9487 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
9488 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
9489 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
9490 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
9491 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
9492 * sysdeps/s390/ifunc-strpbrk.h: New file.
9494 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9496 * sysdeps/s390/multiarch/Makefile
9497 (sysdep_routines): Remove strspn variants.
9498 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
9499 * sysdeps/s390/multiarch/ifunc-impl-list.c
9500 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
9501 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
9502 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
9503 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
9504 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
9505 * sysdeps/s390/multiarch/strspn.c: Move to ...
9506 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
9507 * sysdeps/s390/ifunc-strspn.h: New file.
9509 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9511 * sysdeps/s390/multiarch/Makefile
9512 (sysdep_routines): Remove strrchr variants.
9513 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
9514 * sysdeps/s390/multiarch/ifunc-impl-list.c
9515 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
9516 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
9517 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
9518 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
9519 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
9520 * sysdeps/s390/multiarch/strrchr.c: Move to ...
9521 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
9522 * sysdeps/s390/ifunc-strrchr.h: New file.
9524 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9526 * sysdeps/s390/multiarch/Makefile
9527 (sysdep_routines): Remove strchrnul variants.
9528 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
9529 * sysdeps/s390/multiarch/ifunc-impl-list.c
9530 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
9531 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
9532 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
9533 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
9534 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
9535 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
9536 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
9537 * sysdeps/s390/ifunc-strchrnul.h: New file.
9539 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9541 * sysdeps/s390/multiarch/Makefile
9542 (sysdep_routines): Remove strchr variants.
9543 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
9544 * sysdeps/s390/multiarch/ifunc-impl-list.c
9545 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
9546 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
9547 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
9548 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
9549 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
9550 * sysdeps/s390/multiarch/strchr.c: Move to ...
9551 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
9552 * sysdeps/s390/ifunc-strchr.h: New file.
9554 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9556 * sysdeps/s390/multiarch/Makefile
9557 (sysdep_routines): Remove strncmp variants.
9558 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
9559 * sysdeps/s390/multiarch/ifunc-impl-list.c
9560 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
9561 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
9562 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
9563 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
9564 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
9565 * sysdeps/s390/multiarch/strncmp.c: Move to ...
9566 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
9567 * sysdeps/s390/ifunc-strncmp.h: New file.
9569 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9571 * sysdeps/s390/multiarch/Makefile
9572 (sysdep_routines): Remove strcmp variants.
9573 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
9574 * sysdeps/s390/multiarch/ifunc-impl-list.c
9575 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
9576 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
9577 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
9578 * sysdeps/s390/multiarch/strcmp.c: Move to ...
9579 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
9580 * sysdeps/s390/ifunc-strcmp.h: New file.
9581 * sysdeps/s390/s390-64/strcmp.S: Move to ...
9582 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
9583 for 31/64bit and ifunc handling.
9584 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
9585 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9586 * sysdeps/s390/s390-32/strcmp.S: Likewise.
9588 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9590 * sysdeps/s390/multiarch/Makefile
9591 (sysdep_routines): Remove strncat variants.
9592 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
9593 * sysdeps/s390/multiarch/ifunc-impl-list.c
9594 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
9595 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
9596 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
9597 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
9598 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
9599 * sysdeps/s390/multiarch/strncat.c: Move to ...
9600 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
9601 * sysdeps/s390/ifunc-strncat.h: New file.
9603 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9605 * sysdeps/s390/multiarch/Makefile
9606 (sysdep_routines): Remove strcat variants.
9607 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
9608 * sysdeps/s390/multiarch/ifunc-impl-list.c
9609 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
9610 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
9611 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
9612 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
9613 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
9614 * sysdeps/s390/multiarch/strcat.c: Move to ...
9615 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
9616 * sysdeps/s390/ifunc-strcat.h: New file.
9618 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9620 * sysdeps/s390/multiarch/Makefile
9621 (sysdep_routines): Remove stpncpy variants.
9622 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9623 * sysdeps/s390/multiarch/ifunc-impl-list.c
9624 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9625 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9626 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9627 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9628 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9629 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9630 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9631 * sysdeps/s390/ifunc-stpncpy.h: New file.
9633 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9635 * sysdeps/s390/multiarch/Makefile
9636 (sysdep_routines): Remove strncpy variants.
9637 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9638 * sysdeps/s390/multiarch/ifunc-impl-list.c
9639 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9640 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9641 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9642 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9643 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9644 * sysdeps/s390/ifunc-strncpy.h: New file.
9645 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9646 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9647 and adjust ifunc handling.
9648 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9649 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9650 and adjust ifunc handling.
9651 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9652 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9654 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9656 * sysdeps/s390/multiarch/Makefile
9657 (sysdep_routines): Remove stpcpy variants.
9658 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9659 * sysdeps/s390/multiarch/ifunc-impl-list.c
9660 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9661 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9662 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9663 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9664 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9665 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9666 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9667 * sysdeps/s390/ifunc-stpcpy.h: New file.
9669 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9671 * sysdeps/s390/multiarch/Makefile
9672 (sysdep_routines): Remove strcpy variants.
9673 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9674 * sysdeps/s390/multiarch/ifunc-impl-list.c
9675 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9676 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9677 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9678 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9679 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9680 * sysdeps/s390/ifunc-strcpy.h: New file.
9681 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9682 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9683 for 31/64bit and ifunc handling.
9684 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9685 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9686 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9688 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9690 * sysdeps/s390/multiarch/Makefile
9691 (sysdep_routines): Remove strnlen variants.
9692 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9693 * sysdeps/s390/multiarch/ifunc-impl-list.c
9694 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9695 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9696 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9697 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9698 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9699 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9700 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9701 * sysdeps/s390/ifunc-strnlen.h: New file.
9703 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9705 * sysdeps/s390/multiarch/Makefile
9706 (sysdep_routines): Remove strlen variants.
9707 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9708 * sysdeps/s390/multiarch/ifunc-impl-list.c
9709 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9710 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9711 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9712 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9713 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9714 * sysdeps/s390/multiarch/strlen.c: Move to ...
9715 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9716 * sysdeps/s390/ifunc-strlen.h: New file.
9718 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9720 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9721 * sysdeps/s390/multiarch/ifunc-impl-list.c
9722 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9723 * sysdeps/s390/ifunc-memmem.h: New file.
9724 * sysdeps/s390/memmem.c: Likewise.
9725 * sysdeps/s390/memmem-c.c: Likewise.
9726 * sysdeps/s390/memmem-vx.c: Likewise.
9728 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9730 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9731 * sysdeps/s390/multiarch/ifunc-impl-list.c
9732 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9733 * sysdeps/s390/ifunc-strstr.h: New file.
9734 * sysdeps/s390/strstr.c: Likewise.
9735 * sysdeps/s390/strstr-c.c: Likewise.
9736 * sysdeps/s390/strstr-vx.c: Likewise.
9738 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9740 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9741 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9742 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9743 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9745 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9746 * sysdeps/s390/memmove-c.c: New file.
9747 * sysdeps/s390/memmove.c: Likewise.
9748 * sysdeps/s390/multiarch/ifunc-impl-list.c
9749 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9751 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9753 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9754 * sysdeps/s390/configure.ac: Add check for z13 support.
9755 * sysdeps/s390/configure: Regenerated.
9757 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9759 * sysdeps/s390/memcopy.h: New file.
9761 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9763 * sysdeps/s390/s390-32/bcopy.S: Remove.
9764 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9766 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9768 * sysdeps/s390/ifunc-memcpy.h: New File.
9769 * sysdeps/s390/memcpy.S: Move to ...
9770 * sysdeps/s390/memcpy-z900.S ... here.
9771 Move implementations from memcpy-s390x.s to here.
9772 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9773 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9774 Remove memcpy/mempcpy variants.
9775 * sysdeps/s390/Makefile (sysdep_routines):
9776 Add memcpy/mempcpy variants.
9777 * sysdeps/s390/multiarch/ifunc-impl-list.c
9778 (__libc_ifunc_impl_list): Adjust ifunc variants for
9780 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9782 * sysdeps/s390/memcpy.c: ... here.
9783 Adjust ifunc variants for memcpy.
9784 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9785 * sysdeps/s390/mempcpy.c: ... here.
9786 Adjust ifunc variants for mempcpy.
9787 * sysdeps/s390/mempcpy.S: Delete file.
9789 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9791 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9792 * sysdeps/s390/memcpy.S: ... here.
9793 Adjust to be usable for 31/64bit.
9794 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9795 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9796 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9797 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9798 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9799 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9800 Adjust to be usable for 31/64bit.
9801 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9802 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9803 * sysdeps/s390/multiarch/memcpy.c: ... here.
9804 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9806 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9808 * sysdeps/s390/ifunc-memcmp.h: New File.
9809 * sysdeps/s390/memcmp.S: Move to ...
9810 * sysdeps/s390/memcmp-z900.S ... here.
9811 Move implementations from memcmp-s390x.s to here.
9812 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9813 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9814 Remove memcmp variants.
9815 * sysdeps/s390/Makefile (sysdep_routines):
9816 Add memcmp variants.
9817 * sysdeps/s390/multiarch/ifunc-impl-list.c
9818 (__libc_ifunc_impl_list): Adjust ifunc variants for
9820 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9822 * sysdeps/s390/memcmp.c: ... here.
9823 Adjust ifunc variants for memcmp.
9825 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9827 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9828 * sysdeps/s390/memcmp.S: ... here.
9829 Adjust to be usable for 31/64bit.
9830 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9831 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9832 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9834 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9835 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9836 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9837 Adjust to be usable for 31/64bit.
9838 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9839 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9840 * sysdeps/s390/multiarch/memcmp.c: ... here.
9841 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9843 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9845 * sysdeps/s390/s390-32/bzero.S: Delete file.
9846 * sysdeps/s390/s390-64/bzero.S: Likewise.
9847 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9848 * sysdeps/s390/bzero.c: New file.
9849 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9850 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9851 * sysdeps/s390/multiarch/ifunc-impl-list.c
9852 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9854 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9856 * sysdeps/s390/ifunc-memset.h: New File.
9857 * sysdeps/s390/memset.S: Move to ...
9858 * sysdeps/s390/memset-z900.S ... here.
9859 Move implementations from memset-s390x.s to here.
9860 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9861 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9862 Remove memset variants.
9863 * sysdeps/s390/Makefile (sysdep_routines):
9864 Add memset variants.
9865 * sysdeps/s390/multiarch/ifunc-impl-list.c
9866 (__libc_ifunc_impl_list): Adjust ifunc variants for
9868 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9870 * sysdeps/s390/memset.c: ... here.
9871 Adjust ifunc variants for memset.
9873 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9875 * sysdeps/s390/s390-64/memset.S: Move to ...
9876 * sysdeps/s390/memset.S: ... here.
9877 Adjust to be usable for 31/64bit.
9878 * sysdeps/s390/s390-32/memset.S: Delete File.
9879 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9880 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9882 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9883 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9884 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9885 Adjust to be usable for 31/64bit.
9886 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9887 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9888 * sysdeps/s390/multiarch/memset.c: ... here.
9889 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9891 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9893 * sysdeps/s390/multiarch/ifunc-resolve.h
9894 (s390_libc_ifunc_init, s390_libc_ifunc,
9895 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9897 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9899 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9900 * sysdeps/s390/configure.ac: Add check for z10 support.
9901 * sysdeps/s390/configure: Regenerated.
9903 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9905 * sysdeps/i386/atomic-machine.h: Merged with ...
9906 * sysdeps/x86_64/atomic-machine.h: To ...
9907 * sysdeps/x86/atomic-machine.h: This. New file.
9909 2018-12-18 Florian Weimer <fweimer@redhat.com>
9911 Rewrite locale/gen-translit.pl in Python.
9912 * locale/Makefile (generated): Add C-translit.h.
9913 (before-compile): Add $(objpfx)C-translit.h.
9914 (C-translit.h): Move to $(objpfx). Create target directory.
9915 Build using Python script.
9916 * locale/gen-translit.py: New file.
9917 * locale/gen-translit.pl: Remove file.
9918 * locale/C-translit.h.in: Change comment character to '#' for
9919 easier parsing without a C preprocessor.
9920 * locale/C-translit.h: Remove generated file.
9921 * manual/install.texi (Tools for Compilation): Do not mention
9923 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9924 Remove locale/C-translit.h.
9925 * scripts/update-copyrights: Likewise.
9926 * INSTALL: Regenerate.
9928 2018-12-18 Florian Weimer <fweimer@redhat.com>
9931 * localedata/locales/bi_VU: Remove executable bit from file.
9933 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
9936 (__localtime64): Add.
9937 * manual/maint.texi: Document Y2038 symbol handling.
9939 (__localtime64): Add.
9940 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
9942 2018-12-17 Joseph Myers <joseph@codesourcery.com>
9944 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9947 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9948 to allow extra macros from first or second sources.
9949 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9950 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9951 (tests-special): Add $(objpfx)tst-mman-consts.out.
9952 ($(objpfx)tst-mman-consts.out): New makefile target.
9954 2018-12-17 Mao Han <han_mao@c-sky.com>
9956 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9957 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9958 without stat64 system call support.
9959 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9960 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9961 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9962 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9963 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9964 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9965 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9966 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9967 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9968 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9969 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9971 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9973 regex: fix storage-exhaustion error
9975 * posix/regexec.c (get_subexp):
9976 Do not continue if storage is exhausted.
9978 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
9980 regex: fix heap-use-after-free error
9982 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9983 https://debbugs.gnu.org/32592
9984 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9985 call extend_buffers which reallocates the re_string_t internal buffer.
9986 Local variable 'buf' was not updated in such case, resulting in
9988 * posix/regexec.c (get_subexp): Update 'buf' after call to
9991 2018-12-15 Florian Weimer <fweimer@redhat.com>
9993 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9994 (minimum_stride_size): Use it.
9995 (support_blob_repeat_allocate): Likewise.
9997 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9999 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
10004 2018-12-14 Florian Weimer <fweimer@redhat.com>
10006 * manual/process.texi (Process Creation Concepts): Remove
10007 documentation of process (ID) lifetime. List more process
10008 creation functions. Reference Process Identification section.
10009 (Process Identification): Add information about process ID
10010 lifetime. Describe Linux thread/task IDs.
10011 * manual/signal.texi (Signaling Another Process): Mention that the
10012 signal is always sent to the process.
10014 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10016 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
10017 and tst-ldbl-efgcvt.
10018 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
10019 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
10020 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
10021 (fcvt_tests, output_error, output_r_error, do_test): Use the
10022 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
10023 select the type of floating-point variables and arguments; to
10024 produce extra tests for double and conversion specifiers for
10025 printf; and to set the names of called functions.
10026 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
10027 in tst-efgcvt-template.c.
10028 * misc/tst-ldbl-efgcvt.c: Likewise.
10030 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
10032 * nss/Makefile (tst-nss-test3.out): New rule.
10034 2018-12-13 Joseph Myers <joseph@codesourcery.com>
10036 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
10039 2018-12-13 fanjinke <fanjinke@hygon.cn>
10041 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
10044 2018-12-13 Andreas Schwab <schwab@suse.de>
10047 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
10048 (__pthread_rwlock_rdlock_full): Update expected value for
10049 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
10050 * nptl/tst-rwlock-pwn.c: New file.
10051 * nptl/Makefile (tests): Add tst-rwlock-pwn.
10053 2018-12-12 Joseph Myers <joseph@codesourcery.com>
10055 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
10058 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10060 * benchtests/scripts/compare_bench.py (do_compare): write to
10061 stderr in casestat is not present.
10062 * benchtests/scripts/compare_bench.py (plot_graphs): write to
10063 stderr in case timings field is not present. Also string showing
10064 the output filename goes into the stderr.
10066 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10068 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
10069 and ZeroDivisorError exceptions.
10070 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
10071 argument to loop through user provided statistics.
10072 * benchtests/scripts/compare_bench.py (main): Include the --stats
10075 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10077 * benchtests/scripts/compare_bench.py (compare_runs): Continue
10080 2018-12-12 Florian Weimer <fweimer@redhat.com>
10082 * sysdeps/posix/timespec_get.c: Add missing âany later versionâ
10083 clause to copyright header.
10085 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10088 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
10089 registers saved in the stack frame.
10090 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
10091 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
10093 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10095 * include/bits/monetary-ldbl.h: New file.
10096 * include/bits/printf-ldbl.h: Likewise.
10097 * include/bits/stdio-ldbl.h: Likewise.
10098 * include/bits/stdlib-ldbl.h: Likewise.
10099 * include/bits/syslog-ldbl.h: Likewise.
10100 * include/bits/wchar-ldbl.h: Likewise.
10102 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10104 * libio/libio.h: Remove redirection for _IO_vfprintf.
10106 2018-12-11 Andreas Schwab <schwab@suse.de>
10108 * Makerules: Remove all references to abilist-pattern.
10109 (update-all-abi): Simplify find expression.
10111 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10114 * math/auto-libm-test-in: Add new test case.
10115 * math/auto-libm-test-out-pow: Regenerated.
10116 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
10118 2018-12-10 DJ Delorie <dj@redhat.com>
10121 * support/test-container.c: Move postclean step to before we
10124 2018-12-10 Joseph Myers <joseph@codesourcery.com>
10126 * scripts/gen-as-const.py (main): Handle --python option.
10127 * scripts/gen-py-const.awk: Remove.
10128 * Makerules (py-const-script): Use gen-as-const.py.
10129 ($(py-const)): Likewise.
10130 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
10131 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
10132 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
10133 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
10134 ~PTHREAD_MUTEX_NO_ELISION_NP.
10135 * manual/README.pretty-printers: Update reference to
10138 * scripts/glibcextract.py: New file.
10139 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
10140 or tempfile. Import glibcexctract.
10141 (compute_c_consts): Remove. Moved to glibcextract.py.
10142 (gen_test): Update reference to compute_c_consts.
10144 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
10145 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
10146 * sysdeps/unix/sysv/linux/Makefile
10147 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
10148 Redirect stderr as well as stdout.
10150 2018-12-10 Rafael Ăvila de EspĂndola <rafael@espindo.la>
10153 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
10154 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
10155 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
10156 ALWAYS_USE_VSYSCALL.
10157 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
10158 ALWAYS_USE_VSYSCALL.
10159 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
10160 ALWAYS_USE_VSYSCALL.
10162 2018-12-10 Florian Weimer <fweimer@redhat.com>
10165 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
10166 offset instead of count for clarity. Fix typo in comment.
10167 (__old_getdents64): Keep track of previous offset. Use it to call
10169 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
10170 that d_off is never zero.
10172 2018-12-10 Andreas Schwab <schwab@suse.de>
10174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
10175 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
10176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
10177 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
10178 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
10180 2018-12-10 Joseph Myers <joseph@codesourcery.com>
10182 * timezone/private.h: Update from tzcode 2018g.
10183 * timezone/tzfile.h: Likewise.
10184 * timezone/tzselect.ksh: Likewise.
10185 * timezone/zdump.c: Likewise.
10186 * timezone/zic.c: Likewise.
10188 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10191 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
10192 (do_test): Adjust buffer size and fix format.
10194 2018-12-07 DJ Delorie <dj@redhat.com>
10197 * malloc/tst-tcfree3.c: New.
10198 * malloc/Makefile: Add it.
10200 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
10202 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
10204 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10206 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
10207 used as a mask for the mode argument of __vfscanf_internal and
10208 __vfwscanf_internal.
10209 * stdio-common/vfscanf-internal.c
10210 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
10211 (__strtof128_internal): Define to __wcstof128_internal.
10212 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
10213 __strtof128_internal or __wcstof128_internal when the format of
10214 long double is the same as _Float128.
10216 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
10218 * include/unistd.h (__confstr): Add prototype and hidden prototype.
10219 * posix/confstr.c (confstr): Rename to __confstr.
10220 (__confstr): Add hidden def.
10221 (confstr): Add weak alias for __confstr.
10222 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
10225 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
10227 * NEWS: Mention getcpu.
10228 * include/sched.h (__getcpu): New libc_hidden_proto.
10229 * manual/resource.texi: Document getcpu.
10230 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
10231 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
10232 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
10233 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10234 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10235 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10236 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10237 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10238 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10239 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10240 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10241 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10242 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
10244 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10245 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10246 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
10255 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10256 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10257 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10258 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10259 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10260 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10261 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10262 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10263 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
10264 * sysdeps/unix/sysv/linux/getcpu.c: New file.
10265 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
10268 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10270 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
10272 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
10274 2018-12-07 Florian Weimer <fweimer@redhat.com>
10277 * posix/Makefile (routines): Add spawn_faction_addfchdir.
10278 * posix/Versions (GLIBC_2.29): Export
10279 posix_spawn_file_actions_addfchdir_np.
10280 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
10281 * posix/spawn_faction_destroy.c
10282 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
10283 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
10284 and the field action.fchdir_action.
10285 * posix/tst-spawn-chdir.c (add_chdir): New function.
10286 (do_test): Add do_fchdir loop. Call add_chdir.
10287 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
10288 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10289 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10290 posix_spawn_file_actions_addfchdir_np.
10291 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10293 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10295 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10296 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10298 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10300 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10302 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10304 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10306 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10308 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10309 (GLIBC_2.29): Likewise.
10310 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10311 (GLIBC_2.29): Likewise.
10312 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10313 (GLIBC_2.29): Likewise.
10314 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10315 (GLIBC_2.29): Likewise.
10316 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10319 (GLIBC_2.29): Likewise.
10320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10321 (GLIBC_2.29): Likewise.
10322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10323 (GLIBC_2.29): Likewise.
10324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10325 (GLIBC_2.29): Likewise.
10326 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10328 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10330 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10332 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10333 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10335 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10337 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10339 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10342 2018-12-06 Joseph Myers <joseph@codesourcery.com>
10344 * manual/texinfo.tex: Update to version 2018-09-21.20 with
10345 trailing whitespace removed.
10346 * scripts/config.guess: Update to version 2018-11-28.
10347 * scripts/config.sub: Update to version 2018-11-28.
10348 * scripts/install-sh: Update to version 2018-03-11.20.
10349 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
10350 * scripts/move-if-change: Update to version 2018-03-07 03:47.
10352 2018-12-07 Florian Weimer <fweimer@redhat.com>
10356 * inet/tst-if_index-long.c: New file.
10357 * inet/Makefile (tests): Add tst-if_index-long.
10359 2018-12-07 Florian Weimer <fweimer@redhat.com>
10361 * support/check.h (support_record_failure_is_failed): Declare.
10362 * support/descriptors.h: New file.
10363 * support/support_descriptors.c: Likewise.
10364 * support/tst-support_descriptors.c: Likewise.
10365 * support/support_record_failure.c
10366 (support_record_failure_is_failed): New function.
10367 * support/Makefile (libsupport-routines): Add support_descriptors.
10368 (tests): Add tst-support_descriptors.
10370 2018-12-05 Zack Weinberg <zackw@panix.com>
10371 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10373 * stdio-common/vfprintf-internal.c
10374 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
10375 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
10376 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
10377 and __no_long_double.
10378 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
10379 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
10380 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
10381 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
10382 and __nldbl_*syslog* functions.
10383 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
10384 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
10385 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
10386 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
10387 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
10388 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
10389 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
10390 (__nldbl_vwprintf, __nldbl_wprintf):
10391 Directly call the appropriate __v*printf_internal routine, passing
10392 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
10394 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
10395 (__nldbl___printf_chk, __nldbl___snprintf_chk)
10396 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
10397 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
10398 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
10399 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
10400 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
10401 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
10402 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
10403 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
10404 Likewise, and also pass PRINTF_FORTIFY when appropriate.
10405 (__nldbl_syslog, __nldbl_vsyslog):
10406 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
10407 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
10409 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
10412 2018-12-05 Zack Weinberg <zackw@panix.com>
10413 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10416 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
10417 Moved here from debug/vsprintf_chk.c.
10418 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
10419 and completion logic for the strfile to match exactly what
10420 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
10421 _IO_str_init_static_internal instead of maxlen-1.
10422 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10423 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
10424 __vsprintf_internal.
10426 * debug/vsprintf_chk.c (__vsprintf_chk)
10427 * debug/sprintf_chk.c (__sprintf_chk):
10428 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
10429 'flags' argument is positive, and slen as maxlen. No need to lock
10430 the FILE and/or construct a temporary FILE. Minimize and normalize
10431 header inclusions and variable names. Do not libc_hidden_def anything.
10433 * debug/asprintf_chk.c (__asprintf_chk)
10434 * debug/dprintf_chk.c (__dprintf_chk)
10435 * debug/fprintf_chk.c (__fprintf_chk)
10436 * debug/fwprintf_chk.c (__fwprintf_chk)
10437 * debug/printf_chk.c (__printf_chk)
10438 * debug/snprintf_chk.c (__snprintf_chk)
10439 * debug/swprintf_chk.c (__swprintf_chk)
10440 * debug/vasprintf_chk.c (__vasprintf_chk)
10441 * debug/vdprintf_chk.c (__vdprintf_chk)
10442 * debug/vfprintf_chk.c (__vfprintf_chk)
10443 * debug/vfwprintf_chk.c (__vfwprintf_chk)
10444 * debug/vprintf_chk.c (__vprintf_chk)
10445 * debug/vsnprintf_chk.c (__vsnprintf_chk)
10446 * debug/vswprintf_chk.c (__vswprintf_chk)
10447 * debug/vwprintf_chk.c (__vwprintf_chk)
10448 * debug/wprintf_chk.c (__wprintf_chk):
10449 Directly call the corresponding vxxprintf_internal function, passing
10450 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
10451 the FILE and/or construct a temporary FILE. Minimize and normalize
10452 header inclusions and variable names. Do not libc_hidden_def anything.
10454 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
10455 __obstack_vprintf_internal.
10456 (__obstack_vprintf_chk): Convert into a wrapper that calls
10457 __obstack_vprintf_internal (these two functions already had the
10458 same code) and move to new file...
10459 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
10461 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
10462 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
10463 * debug/Makefile (routines): Add vobprintf_chk.
10465 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10466 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10467 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
10468 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
10469 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
10470 (__nldbl___obstack_vfprintf_chk):
10471 Directly call the corresponding vxxprintf_internal function,
10472 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
10473 duplicate comparison of slen with 0 or maxlen from the corresponding
10474 non-__nldbl function.
10476 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
10477 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
10478 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
10479 Remove libc_hidden_proto.
10481 * stdio-common/vfprintf-internal.c
10482 (__vfprintf_internal, __vfwprintf_internal):
10483 Do not check _IO_FLAGS2_FORTIFY.
10484 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
10485 * libio/libioP.h: Update prototype of __vsprintf_internal and add
10486 a comment explaining why it has the maxlen argument.
10487 (_IO_acquire_lock_clear_flags2_fct): Remove.
10488 (_IO_acquire_lock_clear_flags2): Remove.
10489 (_IO_release_lock): Remove conditional statement which will
10491 (_IO_acquire_lock): Remove variable which is now unused.
10492 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10493 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10495 * stdio-common/Makefile (tests): Add tst-bz11319 and
10496 tst-bz11319-fortify2.
10497 (CFLAGS-tst-bz11319-fortify2.c): New macro.
10498 * stdio-common/tst-bz11319-fortify2.c: New file.
10499 * stdio-common/tst-bz11319.c: Likewise.
10501 2018-12-05 Zack Weinberg <zackw@panix.com>
10502 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10504 * misc/syslog.c: Include libioP.h, not iolibio.h.
10505 (__vsyslog_internal): New function with the former body of
10506 __vsyslog_chk; takes mode_flags argument same as
10507 __v*printf_internal. Call __vfprintf_internal directly.
10509 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
10510 Remove libc_hidden_def.
10511 (__syslog, __syslog_chk): Use __vsyslog_internal.
10512 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
10514 * include/sys/syslog.h: Add multiple inclusion guard.
10515 Add prototype for __vsyslog_internal.
10516 Remove declaration and libc_hidden_proto for __vsyslog_chk.
10518 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
10519 Use __vsyslog_internal.
10521 2018-12-05 Zack Weinberg <zackw@panix.com>
10522 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10524 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
10525 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
10526 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
10528 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
10529 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
10531 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
10532 Include wctype.h here if COMPILE_WPRINTF is defined.
10533 Define __vfprintf_internal or __vfwprintf_internal, depending
10534 on COMPILE_WPRINTF.
10535 Temporarily, on entry to this function, update mode_flags
10536 according to the environmental settings corresponding to
10537 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
10538 Throughout, check mode_flags instead of __ldbl_is_dbl and
10539 _IO_FLAGS2_FORTIFY on the destination FILE.
10540 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
10541 Include vfprintf-internal.c. Don't include wctype.h.
10542 * stdio-common/vfprintf.c: New file. Just define __vfprintf
10543 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
10545 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
10546 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
10548 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
10550 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
10551 and add mode_flags argument; use __vfprintf_internal.
10552 (__vdprintf): New function. Alias vdprintf to this.
10553 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
10554 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
10555 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
10556 (__obstack_printf): Use __obstack_printf_internal.
10557 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
10558 public aliases __vsnprintf and vsnprintf.
10559 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
10561 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
10562 public aliases _IO_vsprintf and vsprintf.
10563 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
10564 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
10565 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
10566 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
10567 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
10569 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
10570 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
10571 * stdio-common/fprintf.c, stdio-common/fxprintf.c
10572 * stdio-common/printf.c: Use __vfprintf_internal.
10574 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
10575 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
10576 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
10578 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
10579 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
10580 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
10581 __vfwprintf_internal.
10583 * libio/libio.h: Remove libc_hidden_proto and declaration for
10585 Remove declaration of _IO_vfwprintf.
10586 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
10588 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
10589 _IO_obstack_printf.
10590 * include/stdio.h: Add prototype for __vasprintf.
10591 (__vsnprintf): Remove declaration, because there are no more
10593 * include/wchar.h (__vfwprintf, __vswprintf): Remove
10594 declaration, because there are no more internal calls.
10596 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
10597 __vsnprintf_internal, instead of _IO_vsnprintf.
10598 * argp/argp-help.c (__argp_error, __argp_failure): Use
10599 __vasprintf_internal, instead of _IO_vasprintf.
10600 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
10601 redefine, because there are no more internal calls.
10603 2018-12-05 Zack Weinberg <zackw@panix.com>
10604 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10606 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
10607 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
10608 Include libio/strfile.h instead of libioP.h.
10609 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
10610 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
10611 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
10612 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
10613 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
10614 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
10615 necessary. Do not set __no_long_double. Normalize variable names.
10616 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
10617 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10618 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10619 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10620 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10621 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10622 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10623 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10624 Do not set __no_long_double. Normalize variable names.
10626 2018-12-05 Zack Weinberg <zackw@panix.com>
10627 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10629 * stdio-common/isoc99_scanf.c
10630 * stdio-common/isoc99_fscanf.c
10631 * stdio-common/isoc99_sscanf.c
10632 * stdio-common/isoc99_vscanf.c
10633 * stdio-common/isoc99_vfscanf.c
10634 * stdio-common/isoc99_vsscanf.c
10635 * wcsmbs/isoc99_wscanf.c
10636 * wcsmbs/isoc99_fwscanf.c
10637 * wcsmbs/isoc99_swscanf.c
10638 * wcsmbs/isoc99_vwscanf.c
10639 * wcsmbs/isoc99_vfwscanf.c
10640 * wcsmbs/isoc99_vswscanf.c:
10641 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10642 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10643 No need to lock and unlock the FILE passed to that function.
10645 * stdio-common/vfscanf-internal.c
10646 (__vfscanf_internal, __vfwscanf_internal):
10647 Don't look at _IO_FLAGS2_SCANF_STD.
10648 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10649 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10650 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10652 2018-12-05 Zack Weinberg <zackw@panix.com>
10653 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10655 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10656 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10657 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10658 * libio/strfile.h: Add multiple inclusion guard.
10659 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10661 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10662 consistency with the other version of this file.
10663 (ldbl_compat_symbol): New macro.
10664 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10667 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10668 Define __vfscanf_internal or __vfwscanf_internal, depending on
10669 COMPILE_WSCANF; don't define any other public symbols.
10670 Remove errval and code to set errp.
10671 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10672 as the mode_flags argument.
10673 (encode_error, conv_error, input_error): Don't set errval.
10674 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10675 Include vfscanf-internal.c.
10676 * stdio-common/vfscanf.c: New file defining the public entry
10677 point vfscanf, which calls __vfscanf_internal.
10678 * stdio-common/vfwscanf.c: New file defining the public entry
10679 point vfwscanf, which calls __vfwscanf_internal.
10681 * stdio-common/iovfscanf.c: New file.
10682 * stdio-common/iovfwscanf.c: Likewise.
10684 * stdio-common/Makefile (routines): Add vfscanf-internal,
10685 vfwscanf-internal, iovfscanf, iovfwscanf.
10686 * stdio-common/Versions: Mention GLIBC_2.29, so that
10687 it can be used in SHLIB_COMPAT expressions.
10688 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10689 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10690 Call __vfscanf_internal, instead of _IO_vfscanf.
10691 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10693 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10696 * libio/iovsscanf.c: Clean up includes, when possible. Use
10697 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10698 __vfscanf_internal or __vfwscanf_internal directly.
10699 * libio/iovswscanf.c: Likewise.
10700 * libio/swscanf.c: Likewise.
10701 * libio/vscanf.c: Likewise.
10702 * libio/vwscanf.c: Likewise.
10703 * libio/wscanf.c: Likewise.
10704 * stdio-common/isoc99_fscanf.c: Likewise.
10705 * stdio-common/isoc99_scanf.c: Likewise.
10706 * stdio-common/isoc99_sscanf.c: Likewise.
10707 * stdio-common/isoc99_vfscanf.c: Likewise.
10708 * stdio-common/isoc99_vscanf.c: Likewise.
10709 * stdio-common/isoc99_vsscanf.c: Likewise.
10710 * stdio-common/scanf.c: Likewise.
10711 * stdio-common/sscanf.c: Likewise.
10712 * wcsmbs/isoc99_fwscanf.c: Likewise.
10713 * wcsmbs/isoc99_swscanf.c: Likewise.
10714 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10715 * wcsmbs/isoc99_vswscanf.c: Likewise.
10716 * wcsmbs/isoc99_vwscanf.c: Likewise.
10717 * wcsmbs/isoc99_wscanf.c: Likewise.
10719 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
10722 (__tz_compute): Replace time_t with __time64_t.
10723 (__tz_convert): Replace time_t* with __time64_t.
10724 (__offtime): Replace time_t* with __time64_t.
10726 (__gmtime_r): Adjust call to __tz_convert.
10727 (gmtime): Likewise.
10729 (__localtime_r): Likewise.
10730 (localtime): Likewise.
10731 * time/offtime.c: Replace time_t with __time64_t.
10732 * time/tzset.c: Likewise.
10734 2018-12-04 Joseph Myers <joseph@codesourcery.com>
10736 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10737 dynamic linker unless [$(run-built-tests) = yes].
10739 2018-12-03 DJ Delorie <dj@delorie.com>
10741 * support/test-container.c (check_for_unshare_hints): New.
10742 (main): Call it if unshare fails. Add support for "su" scriptlet
10745 2018-12-03 Joseph Myers <joseph@codesourcery.com>
10747 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10748 'START' to indicate that start text should be output.
10749 (gen_test): Likewise.
10750 (main): Generate 'START' for first symbol or '--' line, or at end
10751 of input if not previously generated.
10753 2018-12-03 Rafael Ăvila de EspĂndola <rafael@espindo.la>
10756 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10757 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10758 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10759 ALWAYS_USE_VSYSCALL.
10761 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10764 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10767 2018-12-03 Carlos O'Donell <carlos@redhat.com>
10770 * locale/programs/localedef.c: Declare boolean hard_links default true.
10771 (options): Add --no-hard-links option.
10772 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10773 * locale/programs/localedef.h: Declare prototype for hard_links.
10774 * locale/programs/locfile.c (write_locale_data): Don't use hard
10775 links if hard_links is false.
10777 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10779 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10780 cpu_features_basic.
10781 (__cache_sysconf): Likewise.
10782 (init_cacheinfo): Likewise.
10783 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10784 populate COMMON_CPUID_INDEX_80000007 and
10785 COMMON_CPUID_INDEX_80000008.
10786 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10787 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10788 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10789 (init_cpu_features): Use _Static_assert on
10790 index_arch_Fast_Unaligned_Load.
10791 __get_cpuid_registers and __get_arch_feature. Updated for
10792 cpu_features_basic. Set stepping in cpu_features.
10793 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10794 (FEATURE_INDEX_2): New.
10795 (FEATURE_INDEX_MAX): Changed to enum.
10796 (COMMON_CPUID_INDEX_D_ECX_1): New.
10797 (COMMON_CPUID_INDEX_80000007): Likewise.
10798 (COMMON_CPUID_INDEX_80000008): Likewise.
10799 (cpuid_registers): Likewise.
10800 (cpu_features_basic): Likewise.
10801 (CPU_FEATURE_USABLE): Likewise.
10802 (bit_arch_XXX_Usable): Likewise.
10803 (cpu_features): Use cpuid_registers and cpu_features_basic.
10804 (bit_arch_XXX): Reweritten.
10805 (bit_cpu_XXX): Likewise.
10806 (index_cpu_XXX): Likewise.
10807 (reg_XXX): Likewise.
10808 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10810 (CHECK_CPU_FEATURE): New.
10811 (CHECK_CPU_FEATURE_USABLE): Likewise.
10812 (cpu_kinds): Likewise.
10813 (do_test): Print vendor, family, model and stepping. Check
10814 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10815 (TEST_FUNCTION): Removed.
10816 Include <support/test-driver.c> instead of
10817 "../../test-skeleton.c".
10818 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10819 Check POPCNT instead of POPCOUNT.
10820 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10822 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10824 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10825 there is no element in `consts'.
10827 2018-12-01 Florian Weimer <fweimer@redhat.com>
10829 * support/support_capture_subprocess.c
10830 (support_capture_subprocess): Check that pipe descriptors have
10831 expected values. Close original pipe descriptors in subprocess.
10833 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10836 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10837 attr with __pthread_default_barrierattr.
10838 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10839 attr with __pthread_default_condattr.
10840 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10841 attr with __pthread_default_mutexattr.
10842 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10843 attr with __pthread_default_rwlockattr.
10845 2018-12-01 Kemi Wang <kemi.wang@intel.com>
10847 * manual/tunables.texi (POSIX Thread Tunables): New node.
10848 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10849 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10850 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10851 __pthread_tunables_init.
10852 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10853 (max_adaptive_count): Define.
10854 * nptl/pthread_mutex_conf.c: New file.
10855 * nptl/pthread_mutex_conf.h: New file.
10856 * sysdeps/generic/adaptive_spin_count.h: New file.
10857 * sysdeps/nptl/dl-tunables.list: New file.
10858 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10859 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10860 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10863 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10866 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10867 * stdlib/on_exit.c (__on_exit): Likewise.
10868 * stdlib/Makefile (tests): Add tst-bz20544.
10869 * stdlib/tst-bz20544.c: New test.
10871 2018-11-30 Rafael Ăvila de EspĂndola <rafael@espindo.la>
10874 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10875 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10878 2018-11-30 Florian Weimer <fweimer@redhat.com>
10880 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10881 Extend error logging.
10882 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10885 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10887 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10888 __sigismember instead of sigismember.
10889 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10890 cancel_handler): New definitions.
10891 (do_system): Use posix_spawn instead of fork and execl and remove
10893 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10894 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10895 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10896 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10897 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10898 * sysdeps/unix/sysv/linux/system.c: Likewise.
10902 * NEWS: Add new semantic for atfork with popen and system.
10903 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10906 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10909 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10910 modification order when accessing reloc_result->addr.
10911 * include/link.h (reloc_result): Add field init.
10912 * nptl/Makefile (tests): Add tst-audit-threads.
10913 (modules-names): Add tst-audit-threads-mod1 and
10914 tst-audit-threads-mod2.
10915 Add rules to build tst-audit-threads.
10916 * nptl/tst-audit-threads-mod1.c: New file.
10917 * nptl/tst-audit-threads-mod2.c: Likewise.
10918 * nptl/tst-audit-threads.c: Likewise.
10919 * nptl/tst-audit-threads.h: Likewise.
10921 2018-11-30 Joseph Myers <joseph@codesourcery.com>
10923 * scripts/gen-as-const.py: New file.
10924 * scripts/gen-as-const.awk: Remove.
10925 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10927 ($(objpfx)test-as-const-%.c): Likewise.
10929 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10931 * elf/dl-exception.c: Include <_itoa.h>.
10933 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10935 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10936 returned by __f_setlk.
10938 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10939 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10941 * elf/Makefile (tests-internal): Add tst-create_format1.
10942 * elf/dl-exception.c (_dl_exception_create_format): Support
10944 * elf/tst-create_format1.c: New file.
10946 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10948 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10949 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10951 * argp/argp-help.c (__argp_failure): Likewise.
10953 2018-11-29 Mao Han <han_mao@c-sky.com>
10955 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10956 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10957 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10958 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10959 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10960 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10961 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10962 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10963 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10964 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10965 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10966 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10967 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10968 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10969 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10970 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10971 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10972 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10973 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10974 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10975 (R_CKCORE_TLS_TPOFF32): New defines.
10977 2018-11-29 Florian Weimer <fweimer@redhat.com>
10979 * posix/Makefile (before-compile): Remove testcases.h and
10981 (generated): Add testcases.h and ptestcases.h.
10982 (testcases.h, ptestcases.h): Move to $(objpfx).
10983 (runtests.o): Add dependency on testcases.h.
10984 (runptests.o): Add dependency on ptestcases.h.
10985 * posix/testcases.h, posix/ptestcases.h: Remove files.
10986 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10987 not touch posix/testcases.h and posix/ptestcases.h.
10989 2018-11-28 Florian Weimer <fweimer@redhat.com>
10991 support: Add signal support to support_capture_subprocess_check.
10992 * support/capture_subprocess.h (support_capture_subprocess_check):
10993 Adjust comment and rename parameter.
10994 * support/support_capture_subprocess_check.c
10995 (print_actual_status): New function.
10996 (support_capture_subprocess_check): Support negative
10997 status_or_signal. Call print_actual_status.
10998 * support/tst-support_capture_subprocess.c (do_test): Call
10999 support_capture_subprocess_check.
11000 * libio/tst-vtables-common.c (termination_status)
11001 (init_termination_status): Remove.
11002 (check_for_termination): Adjust support_capture_subprocess_check
11004 (do_test): Remove call to init_termination_status.
11006 2018-11-28 Joseph Myers <joseph@codesourcery.com>
11008 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
11009 source directory instead of a copy.
11010 (CommandList.create_copy_dir): Remove.
11012 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
11014 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11016 2018-11-28 Florian Weimer <fweimer@redhat.com>
11018 * support/support.h (support_quote_string): Do not use str
11021 2018-11-27 Joseph Myers <joseph@codesourcery.com>
11023 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
11024 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
11026 2018-11-27 Florian Weimer <fweimer@redhat.com>
11028 * support/support.h (support_quote_string): Declare.
11029 * support/support_quote_string.c: New file.
11030 * support/tst-support_quote_string.c: Likewise.
11031 * support/Makefile (libsupport-routines): Add
11032 support_quote_string.
11033 (tests): Add tst-support_quote_string.
11035 2018-11-27 Florian Weimer <fweimer@redhat.com>
11039 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
11040 descriptor leak in case of ENODEV error.
11042 2018-11-27 Rafael Ăvila de EspĂndola <rafael@espindo.la>
11045 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
11046 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
11047 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
11049 2018-11-26 Carlos O'Donell <carlos@redhat.com>
11051 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
11052 Error for unknown lines.
11054 2018-11-26 Joseph Myers <joseph@codesourcery.com>
11056 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
11057 Touch additional files.
11059 2018-11-26 Florian Weimer <fweimer@redhat.com>
11062 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
11065 2018-11-26 Rafael Ăvila de EspĂndola <rafael@espindo.la>
11068 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
11069 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
11070 SHARED. Include sysdep.h.
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
11072 ALWAYS_USE_VSYSCALL.
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
11074 ALWAYS_USE_VSYSCALL.
11076 2018-11-23 Rafael Ăvila de EspĂndola <rafael@espindo.la>
11079 * nptl/Makefile (tests-static): Add tst-cond11-static.
11081 * nptl/tst-cond11-static.c: New File.
11082 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
11083 tst-affinity-static.
11085 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
11087 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
11088 (USE_VSYSCALL): Likewise.
11089 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
11090 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
11092 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
11094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
11097 2018-11-23 Joseph Myers <joseph@codesourcery.com>
11100 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11101 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
11104 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
11106 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
11107 (tst-cet-legacy-1a-ARGS): New.
11108 ($(objpfx)tst-cet-legacy-1a): New target.
11109 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
11111 2018-11-22 Joseph Myers <joseph@codesourcery.com>
11113 * conform/conformtest.py (CompileSubTest.__init__): Set
11114 self.run_early to False.
11115 (ExecuteSubTest.__init__): Likewise.
11116 (HeaderTests.run): Try running all non-optional, non-XFAILed
11117 compilation tests in a single execution of the compiler.
11119 * conform/conformtest.py (CompileSubTest): New class.
11120 (ExecuteSubTest): Likewise.
11121 (ElementTest.run): Rename to gen_subtests. Append tests to
11122 self.subtests instead of running them.
11123 (ConstantTest.run): Likewise.
11124 (SymbolTest.run): Likewise.
11125 (TypeTest.run): Likewise.
11126 (TagTest.run): Likewise.
11127 (FunctionTest.run): Likewise.
11128 (VariableTest.run): Likewise.
11129 (MacroFunctionTest.run): Likewise.
11130 (MacroStrTest.run): Likewise.
11131 (HeaderTests.handle_test_line): Generate subtests for tests.
11132 (HeaderTests.run): Run subtests for tests.
11134 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11136 * math/Versions (GLIBC_2.29): Add pow.
11137 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
11139 * math/w_pow.c: New file.
11140 * sysdeps/i386/fpu/w_pow.c: New file.
11141 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
11142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
11143 and add necessary aliases.
11144 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
11145 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
11146 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11147 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11148 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11149 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11150 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11151 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11152 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11153 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11154 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11155 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11156 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11157 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11158 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11163 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11164 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11165 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11166 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11167 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11168 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11169 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11170 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
11172 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
11173 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
11174 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
11176 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11178 * math/Versions (GLIBC_2.29): Add log2.
11179 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
11181 * math/w_log2.c: New file.
11182 * sysdeps/i386/fpu/w_log2.c: New file.
11183 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
11184 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
11185 and add necessary aliases.
11186 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
11187 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
11188 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11189 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11190 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11191 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11192 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11193 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11194 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11195 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11196 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11197 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11198 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11199 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11200 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11205 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11206 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11207 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11208 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11209 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11210 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11211 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11213 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11215 * math/Versions (GLIBC_2.29): Add log.
11216 * math/w_log_compat.c (__log_compat): Change to versioned compat
11218 * math/w_log.c: New file.
11219 * sysdeps/i386/fpu/w_log.c: New file.
11220 * sysdeps/ia64/fpu/e_log.S: Update.
11221 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
11222 and add necessary aliases.
11223 * sysdeps/ieee754/dbl-64/w_log.c: New file.
11224 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
11225 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11226 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11227 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11228 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11229 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11230 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11231 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11232 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11233 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11234 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11235 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11236 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11237 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11242 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11243 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11244 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11245 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11246 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11247 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11248 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11249 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
11251 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
11252 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
11253 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
11254 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
11256 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11258 * math/Versions (GLIBC_2.29): Add exp and exp2.
11259 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
11260 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
11261 * math/w_exp_compat.c (__exp_compat): Likewise.
11262 * math/w_exp.c: New file.
11263 * math/w_exp2.c: New file.
11264 * sysdeps/i386/fpu/w_exp.c: New file.
11265 * sysdeps/i386/fpu/w_exp2.c: New file.
11266 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
11267 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
11268 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
11269 and add necessary aliases.
11270 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
11271 and add necessary aliases.
11272 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
11273 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
11274 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
11275 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
11276 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11277 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11278 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11279 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11280 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11281 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11282 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11283 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11284 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11285 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11286 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11287 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11288 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11293 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11294 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11295 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11296 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11297 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11298 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11299 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11300 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
11301 (__ieee754_exp): Rename to __exp.
11302 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
11303 (__ieee754_exp): Rename to __exp.
11304 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
11305 (__ieee754_exp): Rename to __exp.
11306 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
11308 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
11310 2018-11-20 DJ Delorie <dj@redhat.com>
11312 * malloc/malloc.c (tcache_entry): Add key field.
11313 (tcache_put): Set it.
11314 (tcache_get): Likewise.
11315 (_int_free): Check for double free in tcache.
11316 * malloc/tst-tcfree1.c: New.
11317 * malloc/tst-tcfree2.c: New.
11318 * malloc/Makefile: Run the new tests.
11319 * manual/probes.texi: Document memory_tcache_double_free probe.
11321 * dlfcn/dlerror.c (check_free): Prevent double frees.
11323 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
11325 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
11327 2018-11-20 Joseph Myers <joseph@codesourcery.com>
11329 * conform/conformtest.py (ElementTest.run): Use unique identifiers
11330 in tests. Use names for format arguments.
11331 (ConstantTest.run): Likewise.
11332 (SymbolTest.run): Likewise.
11333 (TypeTest.run): Likewise.
11334 (TagTest.run): Likewise.
11335 (FunctionTest.run): Likewise.
11336 (VariableTest.run): Likewise.
11337 (MacroFunctionTest.run): Likewise.
11338 (MacroStrTest.run): Likewise.
11339 (HeaderTests.__init__): Set self.num_tests.
11340 (HeaderTests.handle_test_line): Set test.num. Increment
11343 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11345 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
11346 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
11349 2018-11-19 Mao Han <han_mao@c-sky.com>
11351 * scripts/config.guess: Update to version 2018-08-29.
11352 * scripts/config.sub: Update to version 2018-08-29.
11354 2018-11-19 Florian Weimer <fweimer@redhat.com>
11356 support: Print timestamps in timeout handler.
11357 * support/support_test_main.c (print_timestamp): New function.
11358 (signal_handler): Use it to print the termination time and the
11359 time of the last write to standard output.
11361 2018-11-16 Zack Weinberg <zackw@panix.com>
11362 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11364 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
11365 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
11367 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
11368 and add flags argument. Check flags instead of __ldbl_is_dbl when
11369 deciding whether to set is_long_double.
11370 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
11371 passing zero for flags argument.
11372 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
11374 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
11375 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
11376 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
11377 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
11378 variable names. Remove libc_hidden_def/libc_hidden_proto from
11379 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
11380 longer called from within the library.
11381 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
11382 for __nldbl___vstrfmon_l, declare it explicitly.
11384 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
11386 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11388 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
11390 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
11391 F_SETLK64, F_SETLKW64, respectively.
11392 * sysdeps/mach/hurd/f_setlk.c: New file.
11393 * sysdeps/mach/hurd/f_setlk.h: New file.
11394 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
11396 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
11397 (__libc_fcntl): Move non-flock operations to...
11398 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
11399 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
11401 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
11403 mktime: DEBUG_MKTIME cleanup
11404 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
11405 And itâs no longer needed now that glibc and Gnulib both have
11406 their own testing mechanisms for mktime.
11407 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
11409 mktime: fix non-EOVERFLOW errno handling
11411 mktime was not properly reporting failures when the underlying
11412 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
11413 them like EOVERFLOW failures, and set errno to EOVERFLOW.
11414 The problem could happen on non-glibc platforms, with Gnulib.
11415 * time/mktime.c (guess_time_tm): Remove, replacing with ...
11416 (tm_diff): ... this simpler function, which does not change errno.
11417 All callers changed to deal with errno themselves.
11418 (ranged_convert, __mktime_internal): Return failure immediately if
11419 the underlying function reports any failure other than EOVERFLOW.
11420 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
11423 mktime: fix bug with Y2038 DST transition
11425 * time/mktime.c (ranged_convert): On 32-bit platforms, donât
11426 mishandle a DST transition that jumps over the Y2038 boundary.
11427 No such DST transitions are known so this is only a theoretical
11428 bug, but we might as well do things right.
11430 mktime: make more room for overflow
11432 * time/mktime.c (long_int): Now 4⚯ int, not just 3⚯.
11433 This is so that we can add tm_diff results to a previous guess,
11434 which will be useful in a later patch.
11436 mktime: simplify offset guess
11438 * time/mktime.c (__mktime_internal): Omit excess precision.
11440 mktime: new test for mktime failure
11442 Based on a test suggested by Albert Aribaud in:
11443 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
11444 * time/Makefile (tests): Add bug-mktime4.
11445 * time/bug-mktime4.c: New file.
11447 mktime: fix EOVERFLOW bug
11449 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
11450 Include libc-config.h, not config.h, for __set_errno.
11451 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
11453 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11455 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
11456 __attribute_copy__ to copy attributes from name. Drop static qualifier
11457 to avoid warnings about leaf attribute not having effect on static
11460 2018-11-13 Florian Weimer <fweimer@redhat.com>
11462 * malloc/malloc.c (fastbin_push_entry): New function.
11463 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
11464 (REMOVE_FB): Remove macro.
11465 (_int_malloc): Use fastbin_pop_entry and reindent.
11466 (_int_free): Use fastbin_push_entry.
11467 (malloc_consolidate): Use atomic_exchange_acquire.
11469 2018-11-13 Joseph Myers <joseph@codesourcery.com>
11471 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
11472 alias attribute, not with strong_alias.
11474 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
11475 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
11476 with additional parameter thread.
11477 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
11478 in terms of __hidden_ver2.
11479 (hidden_tls_def): New macro.
11480 (libc_hidden_tls_def): Likewise.
11481 (rtld_hidden_tls_def): Likewise.
11482 (libm_hidden_tls_def): Likewise.
11483 (libmvec_hidden_tls_def): Likewise.
11484 (libresolv_hidden_tls_def): Likewise.
11485 (librt_hidden_tls_def): Likewise.
11486 (libdl_hidden_tls_def): Likewise.
11487 (libnss_files_hidden_tls_def): Likewise.
11488 (libnsl_hidden_tls_def): Likewise.
11489 (libnss_nisplus_hidden_tls_def): Likewise.
11490 (libutil_hidden_tls_def): Likewise.
11491 (libutil_hidden_tls_def): Likweise.
11492 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
11493 libc_hidden_tls_def.
11494 (__sim_disabled_exceptions_thread): Likewise.
11495 (__sim_round_mode_thread): Likewise.
11497 * sysdeps/sparc/sparc-ifunc.h [SHARED]
11498 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
11499 copy attributes from name.
11501 2018-11-12 Joseph Myers <joseph@codesourcery.com>
11503 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
11504 Use __attribute_copy__ to copy attributes from name.
11506 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
11507 with __hidden_ver1 call.
11508 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
11509 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
11510 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
11511 (__cosf): Do not declare here.
11512 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
11513 (__sincosf): Do not declare here.
11514 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
11515 (__sinf): Do not declare here.
11517 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
11518 (__BIG_ENDIAN): Likewise.
11519 (__BYTE_ORDER): Likewise.
11520 (strong_alias): Likewise.
11521 (_strong_alias): Likewise.
11523 2018-11-12 Florian Weimer <fweimer@redhat.com>
11525 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
11526 function. Move after the definition of in_smallbin_range. Do not
11527 use __builtin_expect for paths that lead to a noreturn function.
11528 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
11529 because it is unclear whether this is in fact an unlikely
11531 (_int_malloc, _int_free): Adjust.
11532 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
11534 * malloc/arena.c (heap_trim): Likewise.
11536 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11538 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
11539 it, free it if needed.
11540 (reauthenticate): Test and use ccwdir.
11541 (child_init_port): In non-resetids case, test and use ccwdir.
11542 (child_chdir): New nested function to set ccwdir.
11543 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
11544 * hurd/hurd/port.h (_hurd_port_move): New function.
11545 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
11546 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
11547 * hurd/Versions (_hurd_port_move): Export function.
11548 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
11550 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
11551 of dtablesize for allocating dtable_cloexec.
11553 2018-11-09 Martin Sebor <msebor@redhat.com>
11555 * include/libc-symbols.h (__attribute_copy__): Define macro unless
11556 it's already defined.
11557 (_strong_alias): Use __attribute_copy__.
11558 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
11559 * misc/sys/cdefs.h (__attribute_copy__): New macro.
11560 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
11561 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
11562 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
11563 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
11564 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
11565 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
11566 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
11567 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
11568 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
11569 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
11570 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
11571 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
11572 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
11573 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
11574 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
11575 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
11576 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
11578 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11580 * misc/tst-efgcvt.c: Include support/check.h and
11581 support/test-driver.c. Do not include test-skeleton.c.
11582 (error_count): Remove.
11583 (output_error): Replace increments to error_count with calls to
11584 support_record_failure.
11585 (output_r_error): Likewise.
11586 (special): Likewise.
11587 (do_test): Unconditionally return zero.
11588 (TEST_FUNCTION): Remove.
11590 2018-11-09 Joseph Myers <joseph@codesourcery.com>
11592 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
11594 ($(linknamespace-header-tests)): Likewise.
11596 * conform/conformtest.py: New file.
11597 * conform/conformtest.pl: Remove.
11598 * conform/GlibcConform.pm: Likewise.
11599 * conform/glibcconform.py (KEYWORDS_C90): New constant.
11600 (KEYWORDS_C99): Likewise.
11601 (KEYWORDS): Likewise.
11602 * conform/Makefile ($(conformtest-header-tests)): Use
11603 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11604 option. Use --header instead of --headers.
11605 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
11607 * conform/data/spawn.h-data: Likewise.
11608 * conform/data/fcntl.h-data (openat): Add space after function
11610 * conform/data/wchar.h-data (wcscasecmp): Likewise.
11611 (wcscasecmp_l): Likewise.
11612 * conform/data/termios.h-data (c_cc): Add space after element
11615 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11617 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11618 instead of manually comparing and reporting mismatching strings.
11619 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11620 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11622 2018-11-08 Joseph Myers <joseph@codesourcery.com>
11624 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11625 __ASSUME_SOCKETCALL.
11626 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11627 (__ASSUME_SOCKETCALL): Remove.
11628 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11629 (__ASSUME_SOCKETCALL): Likewise.
11630 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11631 (__ASSUME_SOCKETCALL): Likewise.
11632 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11633 (__ASSUME_SOCKETCALL): Likewise.
11634 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11635 (__ASSUME_SOCKETCALL): Likewise.
11636 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11637 (__ASSUME_SOCKETCALL): Likewise.
11638 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11639 (__ASSUME_SOCKETCALL): Likewise.
11641 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11644 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11645 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11646 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11647 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11648 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11651 2018-11-08 Alexandra HĂĄjkovĂĄ <ahajkova@redhat.com>
11654 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11656 2018-11-07 Joseph Myers <joseph@codesourcery.com>
11659 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11660 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11661 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11662 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11664 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11666 * support/support_test_compare_string.c
11667 (support_test_compare_string): Fix printf format.
11669 2018-11-07 Florian Weimer <fweimer@redhat.com>
11671 Implement TEST_COMPARE_STRING.
11672 * support/check.h (TEST_COMPARE_STRING): Define.
11673 (support_test_compare_string): Declare.
11674 * support/Makefile (libsupport-routines): Add
11675 support_test_compare_string.
11676 (tests): Add tst-test_compare_string.
11677 * support/support_test_compare_string.c: New file.
11678 * support/tst-test_compare_string.c: Likewise.
11680 2018-11-07 Andreas Schwab <schwab@suse.de>
11683 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11684 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11687 2018-11-06 Joseph Myers <joseph@codesourcery.com>
11690 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11691 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11692 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11693 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11696 2018-11-06 Florian Weimer <fweimer@redhat.com>
11699 * posix/Makefile (routines): Add spawn_faction_addchdir.
11700 (tests): Add tst-spawn-chdir.
11701 * posix/Versions (GLIBC_2.29): Add
11702 posix_spawn_file_actions_addchdir_np.
11703 * posix/spawn_faction_addchdir.c: New file.
11704 * posix/spawn_faction_destroy.c
11705 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11706 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11707 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11709 * posix/tst-spawn-chdir.c: New file.
11710 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11711 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11712 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11713 posix_spawn_file_actions_addchdir_np.
11714 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11716 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11718 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11719 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11721 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11723 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11725 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11727 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11729 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11731 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11732 (GLIBC_2.29): Likewise.
11733 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11734 (GLIBC_2.29): Likewise.
11735 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11736 (GLIBC_2.29): Likewise.
11737 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11738 (GLIBC_2.29): Likewise.
11739 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11742 (GLIBC_2.29): Likewise.
11743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11744 (GLIBC_2.29): Likewise.
11745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11746 (GLIBC_2.29): Likewise.
11747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11748 (GLIBC_2.29): Likewise.
11749 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11751 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11753 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11755 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11756 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11758 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11760 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11762 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11765 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11767 * misc/Makefile (tests): Add tst-ldbl-error.
11768 * misc/tst-ldbl-error.c: New file.
11770 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11772 * misc/Makefile (tests): Add tst-ldbl-warn.
11773 * misc/tst-ldbl-warn.c: New file.
11775 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11777 * argp/Makefile (tests): Add tst-ldbl-argp.
11778 * argp/tst-ldbl-argp.c: New file.
11780 2018-11-05 Arjun Shankar <arjun@redhat.com>
11782 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11783 __gconv_path_elem and call __gconv_get_path unconditionally.
11785 2018-11-05 Andreas Schwab <schwab@suse.de>
11788 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11789 creating the first helper thread failed.
11791 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11793 * sysdeps/mach/hurd/msync.c: New file.
11795 2018-11-02 Florian Weimer <fweimer@redhat.com>
11797 * support/shell-container.c (copy_func): Call
11798 support_copy_file_range instead of copy_file_range to support
11799 cross-device copies.
11801 2018-11-02 Florian Weimer <fweimer@redhat.com>
11803 * support/test-container.c: Include <libc-pointer-arith.h> for
11806 2018-11-01 Zong Li <zong@andestech.com>
11808 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11809 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11810 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11811 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11813 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11814 variable to avoid overlap arguments.
11816 2018-11-01 Joseph Myers <joseph@codesourcery.com>
11818 * posix/bug-regex22.c (main): Use puts with distinct error
11819 messages for unexpected success of re_compile_pattern, not printf
11820 with NULL argument to %s.
11822 * stdio-common/bug22.c: Include <libc-diag.h>.
11823 (do_test): Disable -Wformat-overflow= warnings around fprintf
11824 calls outputting more than INT_MAX characters.
11825 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11826 around printf call with NULL %s argument.
11829 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11830 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11832 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11833 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11834 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11835 (__ASSUME_SENDTO_SYSCALL): Likewise.
11836 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11837 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11839 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11840 (__ASSUME_CONNECT_SYSCALL): Likewise.
11841 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11842 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11843 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11845 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11847 [__LINUX_KERNEL_VERSION >= 0x040400]
11848 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11849 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11851 (listen): Likewise.
11852 (setsockopt): Likewise.
11854 2018-11-01 Fredrik Noring <noring@nocrew.org>
11856 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11857 with the ISA override.
11859 2018-10-31 Rafael Ăvila de EspĂndola <rafael@espindo.la>
11861 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11864 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11866 * manual/errno.texi (EIEIO): Document how translators should
11867 translate the error message.
11868 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11869 printing trailing whitespaces refused by git.
11870 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11871 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11872 * hurd/Makefile (user-interfaces): Add pci.
11874 2018-10-30 Joseph Myers <joseph@codesourcery.com>
11876 * conform/linknamespace.py: New file.
11877 * conform/linknamespace.pl: Remove file.
11878 * conform/Makefile ($(linknamespace-header-tests)): Use
11879 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11882 2018-10-30 Florian Weimer <fweimer@redhat.com>
11884 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11887 2018-10-30 Florian Weimer <fweimer@redhat.com>
11889 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11891 2018-10-30 Florian Weimer <fweimer@redhat.com>
11893 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11894 support_blob_repeat.
11896 2018-10-30 Florian Weimer <fweimer@redhat.com>
11898 Avoid spurious test failures in stdlib/test-bz22786.
11899 * support/Makefile (libsupport-routines): Add blob_repeat.
11900 (tests): Add tst-support_blob_repeat.
11901 * support/blob_repeat.h: New file.
11902 * support/blob_repeat.c: Likewise.
11903 * support/tst-support_blob_repeat.c: Likewise.
11904 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11905 support_blob_repeat_allocate.
11907 2018-10-30 Andreas Schwab <schwab@suse.de>
11910 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11911 Don't use tail call.
11912 * elf/tst-unwind-main.c: New file.
11913 * elf/Makefile (tests): Add tst-unwind-main.
11914 (CFLAGS-tst-unwind-main.c): Define.
11916 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
11919 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11920 n_cs_precedes to 0.
11921 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11923 2018-10-29 Joseph Myers <joseph@codesourcery.com>
11925 * conform/glibcconform.py: Do not import shutil.
11926 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11929 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11930 critic_missing for versions before 3.4.
11931 * configure: Regenerated.
11932 * manual/install.texi (Tools for Compilation): Document
11933 requirement for Python to build glibc.
11934 * INSTALL: Regenerated.
11935 * Rules [PYTHON]: Make code unconditional.
11936 * benchtests/Makefile [PYTHON]: Likewise.
11937 * conform/Makefile [PYTHON]: Likewise.
11938 * manual/Makefile [PYTHON]: Likewise.
11939 * math/Makefile [PYTHON]: Likewise.
11941 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11943 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
11944 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
11945 answer to interrupt_operation, return EIEIO instead of EINTR.
11946 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11947 _hurd_intr_rpc_msg_about_to global point to start of controlled
11948 assembly snippet. Make it check canceled flag.
11949 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11950 the _hurd_intr_rpc_msg_about_to point.
11951 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11952 issue, remove cancel flag check.
11954 2018-10-26 Joseph Myers <joseph@codesourcery.com>
11956 * scripts/build-many-glibcs.py: Remove compatibility for missing
11957 os.cpu_count and re.fullmatch.
11959 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11962 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11963 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11964 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11966 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11968 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11971 2018-10-25 Florian Weimer <fweimer@redhat.com>
11975 XFAIL siginfo_t si_band conform test on sparc64.
11976 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11977 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11978 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11979 (conformtest-xfail-conds): Add sparc64-linux.
11980 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11982 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11984 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11986 * elf/elf.h (NT_MIPS_DSP): New macro.
11987 (NT_MIPS_FP_MODE): Likewise.
11989 2018-10-25 Zong Li <zong@andestech.com>
11991 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11992 name by adding the file extension (.so).
11994 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11996 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11997 (test-xfail-ISO11/threads.h/linknamespace,
11998 test-xfail-ISO11/threads.h/conform): Add.
12000 2018-10-24 Joseph Myers <joseph@codesourcery.com>
12002 * math/gen-libm-test.py: Import os.
12003 (ALL_FLOATS_MANUAL): New constant.
12004 (ALL_FLOATS_SUFFIX): Likewise.
12005 (Ulps.all_functions): New function.
12006 (real_all_ulps): Likewise.
12007 (generate_err_table_sub): Likewise.
12008 (generate_err_table): Likewise.
12009 (main): Handle -s and -m options.
12010 * manual/libm-err-tab.pl: Remove.
12011 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
12012 instead of libm-err-tab.pl.
12013 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
12015 * manual/install.texi (Tools for Compilation): Document
12016 requirement for Python to build manual.
12017 * INSTALL: Regenerated.
12019 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
12021 * bits/time64.h: New file.
12022 * include/time.h: Replace internal_time_t with __time64_t.
12023 * posix/bits/types (__time64_t): Add.
12024 * stdlib/Makefile: Add bits/time64.h to includes.
12025 * time/tzfile.c: Replace internal_time_t with __time64_t.
12027 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12029 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
12030 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
12031 __posix_spawn_file_actions_init, __posix_spawnattr_init,
12032 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
12033 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
12035 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
12036 * posix/spawn_faction_addclose.c
12037 (__posix_spawn_file_actions_addclose): Add hidden definition.
12038 * posix/spawn_faction_adddup2.c
12039 (__posix_spawn_file_actions_adddup2): Likewise.
12040 * posix/spawn_faction_destroy.c
12041 (__posix_spawn_file_actions_destroy): Likewise.
12042 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
12044 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
12045 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
12046 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
12048 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
12049 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
12052 2018-10-24 Andreas Schwab <schwab@suse.de>
12055 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
12057 * elf/cache.c (print_cache): Likewise.
12059 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
12061 * bits/timesize.h: New file.
12062 * stdlib/Makefile (headers): Add bits/timesize.h.
12063 * sysdeps/unix/sysv/linux/bits/msq-pad.h
12064 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
12065 * sysdeps/unix/sysv/linux/bits/sem-pad.h
12066 (__SEM_PAD_AFTER_TIME): Likewise.
12067 * sysdeps/unix/sysv/linux/bits/shm-pad.h
12068 (__SHM_PAD_AFTER_TIME): Likewise.
12069 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
12070 (__MSQ_PAD_BEFORE_TIME): Likewise.
12071 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
12072 (__SEM_PAD_BEFORE_TIME): Likewise.
12073 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
12074 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
12075 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
12076 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
12077 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
12078 (__MSQ_PAD_BEFORE_TIME): Likewise.
12079 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
12080 (__SEM_PAD_BEFORE_TIME): Likewise.
12081 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
12082 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
12083 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
12084 (__MSQ_PAD_BEFORE_TIME): Likewise.
12085 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
12086 (__SEM_PAD_BEFORE_TIME): Likewise.
12087 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
12088 (__SHM_PAD_BEFORE_TIME): Likewise.
12089 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
12090 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
12091 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
12093 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
12095 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
12096 USE_RDTSCP is defined.
12097 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
12098 USE_RDTSCP is defined.
12100 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12102 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
12106 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
12107 independently of other flags.
12109 2018-10-23 Florian Weimer <fweimer@redhat.com>
12111 * time/tst-mktime2.c (N_STRINGS): Remove.
12112 (set_timezone): New function.
12113 (spring_forward_gap): Call it. Use FAIL_EXIT1.
12114 (mktime_test1): Report localtime failure and check errno value.
12116 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
12117 (do_test): Remove alarm call. Use set_timezone and array_length.
12119 2018-10-23 Andreas Schwab <schwab@suse.de>
12121 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
12122 (__start_context): Use END instead of PSEUDO_END.
12124 2018-10-22 Joseph Myers <joseph@codesourcery.com>
12126 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12129 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12133 * wcsmbs/c32rtomb.c: New file.
12134 * wcsmbs/mbrtoc32.c: Likewise.
12135 * wcsmbs/tst-c32-state.c: Likewise.
12136 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
12137 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
12138 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
12139 (tests): Add tst-c32-state.
12140 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
12143 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
12145 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
12146 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
12148 2018-10-19 Joseph Myers <joseph@codesourcery.com>
12151 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
12152 pair and return 0 in that case, and use saved character to
12153 interpret following character.
12154 * wcsmbs/tst-c16-surrogate.c: New file.
12155 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
12156 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
12157 Depend on $(gen-locales)
12159 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
12162 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
12163 (struct siginfo_t): Use correct type for si_band.
12165 2018-10-19 Florian Weimer <fweimer@redhat.com>
12168 * resource/bits/types/struct_rusage.h (struct rusage): Update
12169 comment on struct. Remove extraneous field comment.
12171 2018-10-18 David S. Miller <davem@davemloft.net>
12173 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
12174 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
12175 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
12176 sysdep_routines in subdir elf.
12177 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
12178 version for __vdso_clock_gettime.
12179 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
12181 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12182 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12184 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
12186 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
12188 * sysdeps/i386/init-arch.h: Removed.
12189 * sysdeps/i386/i586/init-arch.h: Likewise.
12190 * sysdeps/i386/i686/init-arch.h: Likewise.
12191 * sysdeps/i386/i686/hp-timing.h: Likewise.
12192 * sysdeps/x86_64/hp-timing.h: Likewise.
12193 * sysdeps/i386/isa.h: New file.
12194 * sysdeps/i386/i586/isa.h: Likewise.
12195 * sysdeps/i386/i686/isa.h: Likewise.
12196 * sysdeps/x86_64/isa.h: Likewise.
12197 * sysdeps/x86/hp-timing.h: New file.
12198 * sysdeps/x86/init-arch.h: Include <isa.h>.
12200 2018-10-17 Joseph Myers <joseph@codesourcery.com>
12202 * math/libm-test-pow.inc (pow_test_data): Do not allow
12203 divide-by-zero exception for pow(+/- 0, -Inf).
12205 2018-10-17 Zack Weinberg <zackw@panix.com>
12207 * manual/job.texi (Job Control is Optional): Remove node, as
12208 job control has not been optional in quite some time.
12209 (Job Control): Mention briefly that systems older than
12210 POSIX.1-2001 might not support job control.
12211 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
12212 defined on systems conforming to POSIX.1-2001.
12214 2018-10-17 Arjun Shankar <arjun@redhat.com>
12217 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
12219 * (__gconv_read_conf): Mark function static.
12220 * (once): New static variable.
12221 * (__gconv_load_conf): New function.
12222 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
12223 * iconv/gconv_db.c (once): Remove static variable.
12224 * (__gconv_compare_alias): Use __gconv_load_conf instead of
12226 * (__gconv_find_transform): Likewise.
12227 * iconv/tst-iconv-mt.c: New test.
12228 * iconv/Makefile: Add tst-iconv_mt.
12230 2018-10-17 Joseph Myers <joseph@codesourcery.com>
12232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12234 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
12235 (shmatt_t): Define as __syscall_ulong_t.
12236 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
12237 and [__SHM_PAD_AFTER_TIME].
12238 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
12239 Define shm_segsz and associated padding based on
12240 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
12241 Use __syscall_ulong_t instead of unsigned long int.
12242 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
12244 [__USE_MISC] (struct shm_info): Likewise.
12245 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
12246 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
12247 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
12248 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
12249 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
12250 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
12251 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
12252 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
12253 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12254 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12255 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12259 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
12260 (SHMLBA): Remove macro.
12261 (__getpagesize): Remove function declaration.
12262 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
12264 (SHMLBA): Remove macro.
12265 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
12267 (SHMLBA): Remove macro.
12268 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
12270 (SHMLBA): Remove macro.
12271 (__getpagesize): Remove function declaration.
12272 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
12274 (SHMLBA): Remove macro.
12275 (__getshmlba): Remove function declaration.
12276 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
12277 (SHMLBA): Remove macro.
12278 (__getpagesize): Remove function declaration.
12279 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
12280 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
12281 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12282 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
12283 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
12284 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
12285 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
12286 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
12287 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
12288 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
12290 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
12293 * nptl/tst-mutex10.c: New File.
12294 * nptl/Makefile (tests): Add tst-mutex10.
12295 (tst-mutex10-ENV): New variable.
12296 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
12297 Ensure that elision path is used if elision is available.
12298 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
12300 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
12302 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
12303 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
12304 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
12305 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
12307 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
12308 (__pthread_mutex_cond_lock_adjust): Likewise.
12309 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12311 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
12312 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12313 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12314 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
12316 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12317 Use atomic_load_relaxed and atomic_store_relaxed.
12318 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
12319 Use atomic_store_relaxed.
12321 2018-10-17 Andreas Schwab <schwab@suse.de>
12323 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
12324 * crypt/badsalttest.c (TIMEOUT): Likewise.
12325 * crypt/sha256c-test.c (TIMEOUT): Likewise.
12326 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
12327 * io/test-lfs.c (TIMEOUT): Likewise.
12328 * libio/tst-atime.c (TIMEOUT): Likewise.
12329 * localedata/tst-leaks.c (TIMEOUT): Likewise.
12330 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
12331 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
12332 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
12333 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
12334 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
12335 * nptl/tst-cond11.c (TIMEOUT): Likewise.
12336 * nptl/tst-cond14.c (TIMEOUT): Likewise.
12337 * nptl/tst-cond15.c (TIMEOUT): Likewise.
12338 * nptl/tst-cond24.c (TIMEOUT): Likewise.
12339 * nptl/tst-cond25.c (TIMEOUT): Likewise.
12340 * nptl/tst-kill2.c (TIMEOUT): Likewise.
12341 * nptl/tst-kill3.c (TIMEOUT): Likewise.
12342 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
12343 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
12344 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
12345 * nptl/tst-once2.c (TIMEOUT): Likewise.
12346 * nptl/tst-once3.c (TIMEOUT): Likewise.
12347 * nptl/tst-once4.c (TIMEOUT): Likewise.
12348 * nptl/tst-robust8.c (TIMEOUT): Likewise.
12349 * nptl/tst-robust9.c (TIMEOUT): Likewise.
12350 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
12351 * nptl/tst-sem14.c (TIMEOUT): Likewise.
12352 * nptl/tst-sem6.c (TIMEOUT): Likewise.
12353 * nptl/tst-signal3.c (TIMEOUT): Likewise.
12354 * nptl/tst-spin4.c (TIMEOUT): Likewise.
12355 * nptl/tst-tls3.c (TIMEOUT): Likewise.
12356 * nptl/tst-tls4.c (TIMEOUT): Likewise.
12357 * posix/tst-chmod.c (TIMEOUT): Likewise.
12358 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
12359 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
12360 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
12361 * posix/tst-regex2.c (TIMEOUT): Likewise.
12362 * posix/tst-waitid.c (TIMEOUT): Likewise.
12363 * rt/tst-aio.c (TIMEOUT): Likewise.
12364 * rt/tst-aio10.c (TIMEOUT): Likewise.
12365 * rt/tst-aio4.c (TIMEOUT): Likewise.
12366 * rt/tst-aio5.c (TIMEOUT): Likewise.
12367 * rt/tst-aio6.c (TIMEOUT): Likewise.
12368 * rt/tst-aio64.c (TIMEOUT): Likewise.
12369 * rt/tst-aio7.c (TIMEOUT): Likewise.
12370 * rt/tst-aio9.c (TIMEOUT): Likewise.
12371 * rt/tst-clock.c (TIMEOUT): Likewise.
12372 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
12373 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
12374 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
12375 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
12376 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
12377 * rt/tst-timer4.c (TIMEOUT): Likewise.
12378 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
12379 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
12380 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
12381 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
12382 * time/tst-ftime.c (TIMEOUT): Likewise.
12383 * timezone/tst-tzset.c (TIMEOUT): Likewise.
12385 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
12387 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
12388 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
12391 2018-10-15 Joseph Myers <joseph@codesourcery.com>
12393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12395 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
12396 instead of <bits/wordsize.h>.
12397 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
12398 and [__SEM_PAD_AFTER_TIME].
12399 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
12400 __syscall_ulong_t instead of unsigned long int.
12401 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
12402 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
12403 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
12404 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
12405 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
12406 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
12407 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
12408 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
12409 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12410 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12411 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12413 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
12415 regex: simplify by using intprops.h
12417 * posix/regex_internal.h [_LIBC]: Include intprops.h.
12418 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
12419 intprops.h defines them.
12421 regex: __builtin_expect â __glibc_unlikely
12423 This refactoring was prompted by a problem when the regex code is
12424 used as part of Gnulib and when the builderâs compiler does not grok
12425 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
12426 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
12427 Although this refactoring does not fix the problem directly,
12428 we might as well have Gawk use the now-preferred glibc style for when
12429 __builtin_expect is unavailable.
12430 * posix/regex_internal.h (BE): Remove.
12431 All uses replaced by __glibc_unlikely or __glibc_likely.
12433 2018-10-11 Joseph Myers <joseph@codesourcery.com>
12435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12437 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
12438 instead of <bits/wordsize.h>.
12439 (msgqnum_t): Define as __syscall_ulong_t.
12440 (msglen_t): Likewise.
12441 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
12442 and [__MSQ_PAD_AFTER_TIME].
12443 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
12444 __syscall_ulong_t instead of unsigned long int.
12445 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
12446 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
12447 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
12448 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
12449 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
12450 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
12451 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
12452 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
12453 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12454 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12455 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12457 2018-10-10 Joseph Myers <joseph@codesourcery.com>
12459 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
12460 (struct shmid_ds): Condition padding after time fields on
12461 [__WORDSIZE == 32].
12462 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
12463 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
12464 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12466 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
12467 (struct semid_ds): Condition padding after time fields on
12468 [__WORDSIZE == 32].
12469 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
12470 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
12471 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
12472 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12474 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
12475 (struct msqid_ds): Condition padding after time fields on
12476 [__WORDSIZE == 32].
12477 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
12478 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
12479 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
12480 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12482 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12484 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
12486 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12488 * libio/tst-readline.c (TIMEOUT): Define.
12490 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
12492 mktime fix for Gnulib + coreutils
12494 This fix affects only Gnulib. Problem discovered when
12495 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
12497 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
12498 Do not define since it is not used. Defining an unused static
12499 function prompts a warning from GCC when Coreutils is configured
12500 with --enable-gcc-warnings.
12502 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12504 * benchtests/scripts/compare_bench.py (main): set float type on
12505 threshold argument.
12507 2018-10-08 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
12510 * localedata/locales/kl_GL (mon): Update, the relative case.
12511 (alt_mon): Add, fill with month names in the nominative case.
12512 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
12513 (d_fmt): Set to "%b %d %Y".
12515 2018-10-04 Joseph Myers <joseph@codesourcery.com>
12517 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
12518 <bits/mman-linux.h>.
12519 (PROT_READ): Don't define here.
12520 (PROT_WRITE): Likewise.
12521 (PROT_EXEC): Likewise.
12522 (PROT_NONE): Likewise.
12523 (PROT_GROWSDOWN): Likewise.
12524 (PROT_GROWSUP): Likewise.
12525 (MAP_SHARED): Likewise.
12526 (MAP_PRIVATE): Likewise.
12527 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
12528 [__USE_MISC] (MAP_FILE): Likewise.
12529 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
12530 [__USE_MISC] (MAP_ANON): Likewise.
12531 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
12532 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
12533 (MCL_CURRENT): Likewise.
12534 (MCL_FUTURE): Likewise.
12535 (MCL_ONFAULT): Likewise.
12536 [__USE_MISC] (MADV_NORMAL): Likewise.
12537 [__USE_MISC] (MADV_RANDOM): Likewise.
12538 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
12539 [__USE_MISC] (MADV_WILLNEED): Likewise.
12540 [__USE_MISC] (MADV_DONTNEED): Likewise.
12541 [__USE_MISC] (MADV_FREE): Likewise.
12542 [__USE_MISC] (MADV_REMOVE): Likewise.
12543 [__USE_MISC] (MADV_DONTFORK): Likewise.
12544 [__USE_MISC] (MADV_DOFORK): Likewise.
12545 [__USE_MISC] (MADV_HWPOISON): Likewise.
12546 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
12547 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
12548 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
12549 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
12550 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
12551 (__MAP_ANONYMOUS): New macro.
12552 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
12553 <bits/mman-linux.h> inclusion.
12554 (MAP_FIXED): Likewise.
12555 (MS_SYNC): Likewise.
12556 (MS_ASYNC): Likewise.
12557 (MS_INVALIDATE): Likewise.
12558 [__USE_MISC] (MADV_MERGEABLE): Likewise.
12559 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
12560 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
12561 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
12562 [__USE_MISC] (MADV_DONTDUMP): Likewise.
12563 [__USE_MISC] (MADV_DODUMP): Likewise.
12564 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
12565 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
12568 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
12570 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
12571 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
12572 Add test-nldbl-redirect.
12573 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
12574 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
12575 $(objpfx)libnldbl_nonshared.a.
12577 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
12579 * support/support.h (support_objdir_elf_ldso): New variable.
12580 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
12581 * support/Makefile (CFLAGS-support_paths.c): Add definition
12582 for OBJDIR_ELF_LDSO_PATH.
12583 * support/test-container.c (main): Search for the ld.so
12584 which is also used by the testsuite.
12586 2018-10-02 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
12589 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
12590 should be "sap" rather than "sab".
12591 (day): Fix spelling of Sunday, should be "sapaat" rather than
12594 2018-10-02 Joseph Myers <joseph@codesourcery.com>
12596 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12598 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
12601 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
12602 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
12603 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
12605 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12607 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
12609 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
12611 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
12613 (CFLAGS-elision-unlock.c): Likewise.
12614 (CFLAGS-elision-timed.c): Likewise.
12615 (CFLAGS-elision-trylock.c): Likewise.
12616 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12618 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12621 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12622 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12623 new fd_to_filename interface.
12624 * libio/freopen64.c (freopen64): Likewise.
12625 * libio/tst-memstream.h: New file.
12626 * libio/tst-memstream4.c: Likewise.
12627 * libio/tst-wmemstream4.c: Likewise.
12628 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12629 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12630 and remove internal dynamic allocation.
12632 2018-10-01 Joseph Myers <joseph@codesourcery.com>
12634 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12635 (MREMAP_MAYMOVE): Do not define here.
12636 [__USE_GNU] (MREMAP_FIXED): Likewise.
12637 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12638 (MREMAP_MAYMOVE): Define here instead.
12639 [__USE_GNU] (MREMAP_FIXED): Likewise.
12640 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12641 (MREMAP_MAYMOVE): Remove.
12642 [__USE_GNU] (MREMAP_FIXED): Likewise.
12644 2018-09-28 Joseph Myers <joseph@codesourcery.com>
12646 * math/fromfp.h: Do not include <math_private.h>.
12647 * math/s_cacosh_template.c: Likewise.
12648 * math/s_casin_template.c: Likewise.
12649 * math/s_casinh_template.c: Likewise.
12650 * math/s_ccos_template.c: Likewise.
12651 * math/s_cproj_template.c: Likewise.
12652 * math/s_fdim_template.c: Likewise.
12653 * math/s_fmaxmag_template.c: Likewise.
12654 * math/s_fminmag_template.c: Likewise.
12655 * math/s_iseqsig_template.c: Likewise.
12656 * math/s_ldexp_template.c: Likewise.
12657 * math/s_nextdown_template.c: Likewise.
12658 * math/w_log1p_template.c: Likewise.
12659 * math/w_scalbln_template.c: Likewise.
12660 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12661 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12662 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12663 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12664 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12665 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12666 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12667 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12668 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12669 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12670 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12671 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12672 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12673 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12674 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12675 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12676 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12677 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12678 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12679 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12680 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12681 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12682 * sysdeps/ieee754/k_standardf.c: Likewise.
12683 * sysdeps/ieee754/k_standardl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12685 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12686 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12689 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12690 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12691 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12692 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12693 * sysdeps/ieee754/s_signgam.c: Likewise.
12694 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12695 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12696 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12697 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12698 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12699 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12700 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12701 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12702 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12703 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12704 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12705 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12706 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12707 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12708 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12709 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12710 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12711 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12712 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12713 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12714 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12715 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12716 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12717 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12718 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12719 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12720 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12721 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12722 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12723 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12724 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12725 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12726 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12727 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12728 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12729 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12730 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12732 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12734 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12737 * sysdeps/i386/dl-cet.c: Removed.
12738 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12740 (_dl_runtime_profile_shstk): Likewise.
12741 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12742 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12744 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12747 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12748 do_test_with_invalid_iov): New tests.
12749 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12750 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12751 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12753 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12754 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12755 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12757 2018-09-27 Joseph Myers <joseph@codesourcery.com>
12759 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12760 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12761 (MATH_REDIRECT_BINARY_ARGS): New macro.
12762 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12763 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12764 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12766 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12767 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12768 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12769 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12770 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12771 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12772 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12779 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12780 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12785 * sysdeps/generic/math_private_calls.h
12786 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12787 Do not declare and define as an inline function.
12788 * math/divtc3.c (__divtc3): Use copysign functions instead of
12789 __copysign variants.
12790 * math/multc3.c (__multc3): Likewise.
12791 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12792 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12793 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12794 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12796 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12797 (__ieee754_yn): Likewise.
12798 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12799 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12800 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12801 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12802 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12804 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12805 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12807 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12809 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12811 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12812 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12814 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12815 (__ieee754_ynf): Likewise.
12816 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12817 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12818 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12819 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12821 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12822 (__ieee754_ynl): Likewise.
12823 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12824 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12825 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12827 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12828 (__ieee754_ynl): Likewise.
12829 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12830 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12831 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12832 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12834 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12836 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12837 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12838 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12839 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12840 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12842 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12843 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12844 using MATH_REDIRECT.
12845 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12847 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12850 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12851 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12852 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12853 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12858 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12859 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12860 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12861 (round): Redirect to __round.
12862 (__roundl): Call round instead of __round.
12863 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12865 [_ARCH_PWR5X] (__roundf): Likewise.
12866 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12867 functions instead of __round variants.
12868 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12869 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12871 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12873 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12875 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12876 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12878 (__ieee754_expl): Call roundl instead of __roundl.
12880 2018-09-27 Andreas Schwab <schwab@suse.de>
12883 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12884 (do_test): Make st1 static.
12886 2018-09-26 Andreas Schwab <schwab@suse.de>
12889 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12890 * elf/Makefile (tests): Add tst-unwind-ctor.
12891 (modules-names): Add tst-unwind-ctor-lib.
12892 ($(objpfx)tst-unwind-ctor): Depend on
12893 $(objpfx)tst-unwind-ctor-lib.so.
12895 2018-09-26 Joseph Myers <joseph@codesourcery.com>
12897 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12898 file. Most contents moved from ....
12899 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12900 and include <bits/mman-map-flags-generic.h>.
12901 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12902 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12903 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12904 <bits/mman-map-flags-generic.h>.
12905 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12906 macros defined in <bits/mman-map-flags-generic.h>.
12907 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12908 <bits/mman-map-flags-generic.h>.
12909 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12910 defined in <bits/mman-map-flags-generic.h>.
12912 2018-09-26 Andreas Schwab <schwab@suse.de>
12914 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12917 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12918 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12919 Fangrui Song <maskray@google.com>
12922 * config.make.in (have-textrel_ifunc): New define.
12923 * configure.ac: Add check if linker supports textrel relocation with
12925 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12927 (CFLAGS-tst-ifunc-textrel.c): New rule.
12928 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12929 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12930 * elf/tst-ifunc-textrel.c: New file.
12932 2018-09-25 Joseph Myers <joseph@codesourcery.com>
12934 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12935 <bits/procfs-prregset.h>.
12936 (prgregset_t): Define using __prgregset_t.
12937 (prfpregset_t): Define using __prfpregset_t.
12938 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12939 (sysdep_headers): Add bits/procfs-prregset.h.
12940 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12941 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12942 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12943 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12945 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12946 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12947 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12949 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12950 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12951 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12952 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12953 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12954 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12955 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12956 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12957 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12958 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12959 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12960 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12961 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12962 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12963 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12964 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12965 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12966 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12967 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12968 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12969 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12970 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12971 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12972 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12974 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12975 AArch64 version. Include <bits/procfs.h>.
12976 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12977 (sysdep_headers): Add bits/procfs.h.
12978 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12979 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12980 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12981 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12982 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12983 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12984 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12985 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12986 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12987 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12988 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12989 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12990 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12991 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12992 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12993 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12994 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12996 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12998 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
13001 2018-09-25 Arjun Shankar <arjun@redhat.com>
13003 * iconv/gconv_int.h (__gconv_path_elem): Remove.
13004 (__gconv_max_path_elem_len): Likewise.
13005 (__gconv_nmodules): Likewise.
13006 (__gconv_get_path): Likewise.
13007 (path_elem): Move to ...
13008 * iconv/gconv_conf.c: ... here.
13009 (__gconv_get_path): Mark function static.
13010 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
13011 * iconv/gconv_open.c: ... here.
13013 2018-09-24 Andreas Schwab <schwab@suse.de>
13015 * scripts/haveversions.awk: New file.
13016 * Makerules ($(common-objpfx)Versions.def)
13017 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
13018 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
13020 * Makeconfig ($(common-objpfx)Versions.def)
13021 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
13022 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
13024 ($(common-objpfx)Versions.mk): New rule. Include it.
13025 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
13026 Emit error if build-obsolete-nsl = yes.
13027 * manual/install.texi (Configuring and compiling): Describe
13028 --enable-obsolete-nsl as unavaiable after version 2.28.
13029 * INSTALL: Regenerate.
13031 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13033 * NEWS: Add note about new TLE support on powerpc64le.
13034 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
13035 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
13037 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
13038 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
13039 * sysdeps/powerpc/powerpc32/sysdep.h,
13040 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
13041 ABORT_TRANSACTION): Remove macros.
13042 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13043 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
13044 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
13046 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13047 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
13049 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
13051 2018-09-21 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
13054 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
13055 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
13056 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
13057 which is the same as in it_IT.
13058 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
13059 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
13061 2018-09-20 Joseph Myers <joseph@codesourcery.com>
13063 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13064 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
13065 using MATH_REDIRECT.
13066 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
13068 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13070 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
13071 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13072 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13073 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
13075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
13076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
13077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
13078 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13079 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13080 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
13081 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
13082 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
13083 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
13084 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
13085 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13086 (ceil): Redirect to __ceil.
13087 (floor): Redirect to __floor.
13088 (trunc): Redirect to __trunc.
13089 (__truncl): Call trunc instead of __trunc.
13090 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
13092 [_ARCH_PWR5X] (__truncf): Likewise.
13093 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
13094 trunc functions instead of __trunc variants.
13095 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13097 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13099 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13101 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13104 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
13105 [__i586__ || __pentium__].
13106 [__i486__]: Handle explicitly.
13107 (HAS_CPUID): Define to 1 if above macros are undefined.
13108 (HAS_I586): Likewise.
13109 (HAS_I686): Likewise.
13111 2018-09-20 Florian Weimer <fweimer@redhat.com>
13113 * misc/tst-gethostid.c: New file.
13114 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
13115 (tst-gethostid): Link with -ldl.
13117 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
13119 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
13120 value from gethostbyname_r.
13122 2018-09-19 Carlos O'Donell <carlos@redhat.com>
13124 * stdlib/tst-setcontext9.c (f1): Rename to...
13126 (f1b): New function implementing lower half of f1 in alternate stack.
13128 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
13130 Fix mktime localtime offset confusion
13132 * include/time.h (__mktime_internal): The localtime offset is now
13133 of type long int instead of time_t. This is the longstanding type
13134 in glibc, and it is more than enough to represent difference
13135 between localtime and gmtime even if it is 32 bits and time_t is
13136 64. Changing it now will let us avoid an unnecessary change when
13137 time_t is widened to 64 bits on 32-bit platforms.
13138 * time/mktime-internal.h (mktime_offset_t): Now long int.
13140 Merge mktime, timegm from upstream Gnulib
13141 [BZ #23603][BZ #16346]
13142 This fixes some obscure problems with integer overflow.
13143 Although it looks scary, it is almost all a byte-for-byte copy
13144 from Gnulib, and the Gnulib code has been tested reasonably well.
13145 * include/intprops.h: New file, copied from Gnulib.
13146 * include/verify.h, time/mktime-internal.h:
13147 New tiny files, simplified from Gnulib.
13148 * time/mktime.c: Copy from Gnulib. This has the following changes:
13149 Do not include config.h if DEBUG_MKTIME is nonzero.
13150 Include stdbool.h, intprops.h, verify.h.
13151 Include string.h only if needed.
13152 Include stdlib.h on MS-Windows.
13153 Include mktime-internal.h.
13154 (DEBUG_MKTIME): Default to 0, and simplify later uses.
13155 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
13156 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
13157 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
13158 simplify later conditionals; default the others to zero. Use
13159 these conditionals to express only the code needed on the current
13160 platform. In uses of these conditionals, explicitly spell out how
13161 _LIBC affects things, so itâs easier to review from a glibc
13163 (WRAPV): Remove; no longer needed now that we have
13164 systematic overflow checking.
13165 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
13166 compartmentalize tzset issues. Move system-dependent tzsettish
13167 code here from mktime.
13168 (verify): Remove; now done by verify.h. All uses changed.
13169 (long_int): Use a more-conservative definition, to avoid
13171 (SHR): Remove, replacing with ...
13172 (shr): New function, which means we neednât worry about side
13173 effects in args, and conversion analysis is simpler.
13174 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
13175 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
13176 (time_t_avg, time_t_add_ok): Remove.
13177 (mktime_min, mktime_max): New constants.
13178 (leapyear, isdst_differ): Use bool for booleans.
13179 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
13180 Use long_int, not time_t, for mktime differences.
13181 (long_int_avg): New function, replacing time_t_avg.
13182 INT_ADD_WRAPV replaces time_t_add_ok.
13183 (guess_time_tm): 6th arg is now long_int, not time_t const *.
13185 (convert_time): New function.
13186 (ranged_convert): Use it.
13187 (__mktime_internal): Last arg now points to mktime_offset_t, not
13188 time_t. All uses changed. This is a no-op on glibc, where
13189 mktime_offset_t is always time_t. Use int, not time_t, for UTC
13190 offset guess. Directly check for integer overflow instead of
13191 using a heuristic that works only 99.9...% of the time.
13192 Access *OFFSET only once, to avoid an unlikely race if the
13193 compiler delays a load and if this cascades into a signed integer
13195 (mktime): Move tzsettish code to my_tzset, and move
13196 localtime_offset to within mktime so that it doesnât
13197 need a separate ifdef.
13198 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
13199 instead of localtime.
13200 * time/timegm.c: Copy from Gnulib. This has the following changes:
13201 Include mktime-internal.h.
13202 [!_LIBC]: Include config.h and time.h. Do not include
13203 timegm.h or time_r.h. Make __mktime_internal a macro,
13204 and include mktime-internal.h to get its declaration.
13205 (timegm): Temporary is now mktime_offset_t, not time_t.
13206 This affects only Gnulib.
13208 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
13211 * string/test-strstr.c (pr23637): New function.
13212 (test_main): Add tests with longer needles.
13213 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
13214 * string/strstr.c (AVAILABLE): Likewise.
13216 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
13218 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
13220 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
13222 * NEWS: Mention pow improvements.
13223 * math/Makefile (type-double-routines): Add e_pow_log_data.
13224 * sysdeps/generic/math_private.h (__exp1): Remove.
13225 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
13226 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
13227 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
13229 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
13230 (exp_inline): Remove.
13231 (__ieee754_exp): Only single double input is handled.
13232 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
13233 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
13234 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
13235 (__pow_log_data): Define.
13236 * sysdeps/ieee754/dbl-64/upow.h: Remove.
13237 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
13238 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
13239 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
13241 (CFLAGS-e_pow-fma4.c): Likewise.
13243 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
13245 Simplify tzfile fstat failure code
13247 * time/tzfile.c (__tzfile_read): Simplify slightly.
13249 Fix tzfile low-memory assertion failure
13251 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
13252 when registering time zone abbreviations.
13254 2018-09-18 Joseph Myers <joseph@codesourcery.com>
13256 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
13257 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
13258 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
13259 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
13260 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
13261 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
13262 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
13263 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13264 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13266 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
13268 (__ceill): Call ceil instead of __ceil.
13269 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
13271 (__floorl): Call floor instead of __floor.
13273 2018-09-17 Joseph Myers <joseph@codesourcery.com>
13275 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13276 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
13277 using MATH_REDIRECT.
13278 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
13280 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
13281 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13282 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13283 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
13284 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13285 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13286 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13287 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
13288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
13289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
13290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
13291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
13292 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13293 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
13295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
13296 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
13297 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
13298 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
13300 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
13301 functions instead of __ceil variants.
13302 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13303 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
13305 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
13307 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13308 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
13310 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
13311 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13314 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
13316 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
13317 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
13318 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
13319 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
13320 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
13321 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
13322 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
13323 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
13324 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
13325 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
13326 (ILL_BADIADDR): Remove constant.
13327 (TRAP_BRANCH): Likewise.
13328 (TRAP_HWBKPT): Likewise.
13330 2018-09-14 Joseph Myers <joseph@codesourcery.com>
13333 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
13334 Remove [_MIPS_SIM = _ABIN32] conditional case.
13335 (struct elf_prpsinfo): Likewise.
13338 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
13339 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
13340 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
13342 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
13343 elf_prpsinfo): Likewise.
13344 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
13345 elf_prpsinfo): Likewise.
13346 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
13349 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13350 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
13351 using MATH_REDIRECT.
13352 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
13354 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
13355 * sysdeps/alpha/fpu/s_rint.c: Likewise.
13356 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
13357 * sysdeps/i386/fpu/s_rintl.c: Likewise.
13358 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13359 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13360 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
13361 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13362 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13364 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
13365 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
13366 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
13367 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
13368 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
13369 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13370 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13371 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
13372 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
13373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
13374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
13375 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
13376 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
13377 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
13378 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
13379 * sysdeps/x86_64/fpu/math_private.h: Remove file.
13380 * math/e_scalb.c (invalid_fn): Use rint functions instead of
13382 * math/e_scalbf.c (invalid_fn): Likewise.
13383 * math/e_scalbl.c (invalid_fn): Likewise.
13384 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13386 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13388 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
13389 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
13390 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13392 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13394 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13396 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
13397 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
13399 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13400 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
13402 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13403 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
13404 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13405 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
13406 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13407 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
13408 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13409 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
13410 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13411 && !NO_MATH_REDIRECT] (floor): Likewise.
13412 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
13414 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
13415 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13416 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13417 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
13418 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13419 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13420 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13421 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
13422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
13423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
13424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
13425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
13426 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13427 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13430 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
13431 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
13432 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
13434 [_ARCH_PWR5X] (__floorf): Likewise.
13435 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
13437 [__SSE4_1__] (__floorf): Likewise.
13438 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
13439 instead of __floor variants.
13440 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
13441 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
13442 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
13443 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
13444 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
13445 * math/w_tgamma_compat.c (__tgamma): Likewise.
13446 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
13447 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
13448 * math/w_tgammal_compat.c (__tgammal): Likewise.
13449 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
13450 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13452 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13453 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
13454 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13455 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13457 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13458 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
13460 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13461 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
13463 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13464 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
13466 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13467 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13468 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
13469 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
13470 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
13471 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13473 2018-09-12 Joseph Myers <joseph@codesourcery.com>
13475 * elf/Makefile (modules-names-tests): New variable.
13477 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13479 * NEWS: Mention log2 improvements.
13480 * math/Makefile (type-double-routines): Add e_log2_data.
13481 * sysdeps/i386/fpu/e_log2_data.c: New file.
13482 * sysdeps/ia64/fpu/e_log2_data.c: New file.
13483 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
13484 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
13485 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
13486 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
13487 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
13489 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13491 * NEWS: Mention log improvement.
13492 * math/Makefile (type-double-routines): Add e_log_data.
13493 * sysdeps/i386/fpu/e_log_data.c: New file.
13494 * sysdeps/ia64/fpu/e_log_data.c: New file.
13495 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
13496 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
13497 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
13498 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
13499 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
13500 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
13502 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
13503 Xuepeng Guo <xuepeng.guo@intel.com>
13506 * sysdeps/i386/start.S: Include <sysdep.h>
13507 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
13508 enabled. Add cfi_undefined (eip).
13510 2018-09-11 Joseph Myers <joseph@codesourcery.com>
13512 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
13514 (EXTRACT_WORDS64): Likewise.
13515 (INSERT_WORDS64): Likewise.
13516 (GET_FLOAT_WORD): Likewise.
13517 (SET_FLOAT_WORD): Likewise.
13519 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
13521 (Config.build_gcc): Use --disable-libsanitizer for first GCC
13522 build, but not for second build if --full-gcc. Use
13523 --enable-languages=all for second build if --full-gcc.
13524 (get_parser): Add --full-gcc option.
13525 (main): Update call to Context.
13527 2018-09-10 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
13530 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
13531 Single Quotation Mark).
13532 (thousands_sep): Likewise.
13533 * localedata/locales/it_CH (LC_NUMERIC): Use âcopy "de_CH"â.
13534 * localedata/locales/it_IT (thousands_sep): Use ".".
13535 (grouping): Use "3;3".
13537 2018-09-10 Joseph Myers <joseph@codesourcery.com>
13539 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13540 x86_64 and i686 configs using --enable-obsolete-rpc
13541 --enable-obsolete-nsl.
13543 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13545 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13547 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13549 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
13550 Increment size of new_argv by one.
13552 2018-09-05 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
13555 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
13556 * localedata/locales/ar_IN (d_fmt): Likewise.
13557 * localedata/locales/bhb_IN (d_fmt): Likewise.
13558 * localedata/locales/bho_IN (d_fmt): Likewise.
13559 * localedata/locales/bn_BD (d_fmt): Likewise.
13560 * localedata/locales/bn_IN (d_fmt): Likewise.
13561 * localedata/locales/doi_IN (d_fmt): Likewise.
13562 * localedata/locales/gu_IN (d_fmt): Likewise.
13563 * localedata/locales/hi_IN (d_fmt): Likewise.
13564 * localedata/locales/hne_IN (d_fmt): Likewise.
13565 * localedata/locales/kn_IN (d_fmt): Likewise.
13566 * localedata/locales/mag_IN (d_fmt): Likewise.
13567 * localedata/locales/mai_IN (d_fmt): Likewise.
13568 * localedata/locales/mjw_IN (d_fmt): Likewise.
13569 * localedata/locales/ml_IN (d_fmt): Likewise.
13570 * localedata/locales/mni_IN (d_fmt): Likewise.
13571 * localedata/locales/mr_IN (d_fmt): Likewise.
13572 * localedata/locales/pa_IN (d_fmt): Likewise.
13573 * localedata/locales/raj_IN (d_fmt): Likewise.
13574 * localedata/locales/sat_IN (d_fmt): Likewise.
13575 * localedata/locales/sd_IN (d_fmt): Likewise.
13576 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
13577 * localedata/locales/ta_IN (d_fmt): Likewise.
13578 * localedata/locales/ta_LK (d_fmt): Likewise.
13579 * localedata/locales/tcy_IN (d_fmt): Likewise.
13580 * localedata/locales/ur_IN (d_fmt): Likewise.
13582 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
13583 * localedata/locales/ks_IN (d_fmt): Likewise.
13584 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
13586 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
13587 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
13588 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
13589 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
13591 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
13593 * NEWS: Mention exp and exp2 improvements.
13594 * math/Makefile (libm-support): Remove t_exp.
13595 (type-double-routines): Add math_err and e_exp_data.
13596 * sysdeps/aarch64/libm-test-ulps: Update.
13597 * sysdeps/arm/libm-test-ulps: Update.
13598 * sysdeps/i386/fpu/e_exp_data.c: New file.
13599 * sysdeps/i386/fpu/math_err.c: New file.
13600 * sysdeps/i386/fpu/t_exp.c: Remove.
13601 * sysdeps/ia64/fpu/e_exp_data.c: New file.
13602 * sysdeps/ia64/fpu/math_err.c: New file.
13603 * sysdeps/ia64/fpu/t_exp.c: Remove.
13604 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
13605 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
13606 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
13607 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
13608 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
13609 * sysdeps/ieee754/dbl-64/math_config.h: New file.
13610 * sysdeps/ieee754/dbl-64/math_err.c: New file.
13611 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
13612 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
13613 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
13614 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
13615 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
13616 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
13617 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13621 2018-09-05 Joseph Myers <joseph@codesourcery.com>
13623 * sysdeps/alpha/fpu/math_private.h: Remove.
13625 * sysdeps/generic/math_private.h
13626 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13627 Move this inline function ....
13628 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13629 * include/math.h [!_ISOMAC]: To here....
13631 2018-09-04 Joseph Myers <joseph@codesourcery.com>
13633 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13635 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13636 * include/fenv.h [!_ISOMAC]: ... to here.
13637 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13638 (feraiseexcept): Likewise.
13639 * math/fromfp.h: Do not include <fenv_private.h>.
13640 * math/s_cexp_template.c: Likewise.
13641 * math/s_csin_template.c: Likewise.
13642 * math/s_csinh_template.c: Likewise.
13643 * math/s_ctan_template.c: Likewise.
13644 * math/s_ctanh_template.c: Likewise.
13645 * math/s_iseqsig_template.c: Likewise.
13646 * math/w_acos_compat.c: Likewise.
13647 * math/w_acosf_compat.c: Likewise.
13648 * math/w_acosl_compat.c: Likewise.
13649 * math/w_asin_compat.c: Likewise.
13650 * math/w_asinf_compat.c: Likewise.
13651 * math/w_asinl_compat.c: Likewise.
13652 * math/w_j0_compat.c: Likewise.
13653 * math/w_j0f_compat.c: Likewise.
13654 * math/w_j0l_compat.c: Likewise.
13655 * math/w_j1_compat.c: Likewise.
13656 * math/w_j1f_compat.c: Likewise.
13657 * math/w_j1l_compat.c: Likewise.
13658 * math/w_jn_compat.c: Likewise.
13659 * math/w_jnf_compat.c: Likewise.
13660 * math/w_log10_compat.c: Likewise.
13661 * math/w_log10f_compat.c: Likewise.
13662 * math/w_log10l_compat.c: Likewise.
13663 * math/w_log2_compat.c: Likewise.
13664 * math/w_log2f_compat.c: Likewise.
13665 * math/w_log2l_compat.c: Likewise.
13666 * math/w_log_compat.c: Likewise.
13667 * math/w_logf_compat.c: Likewise.
13668 * math/w_logl_compat.c: Likewise.
13669 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13670 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13671 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13672 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13673 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13674 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13675 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13676 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13677 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13678 * sysdeps/ieee754/k_standardl.c: Likewise.
13679 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13680 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13681 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13682 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13683 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13684 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13685 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13686 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13687 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13688 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13689 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13690 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13691 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13692 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13693 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13694 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13695 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13696 * math/w_ilogb_template.c: Include <fenv.h> instead of
13698 * math/w_llogb_template.c: Likewise.
13699 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13700 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13702 2018-09-03 Joseph Myers <joseph@codesourcery.com>
13704 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13705 * math/fromfp.h: Include <fenv_private.h>.
13706 * math/math-narrow.h: Likewise.
13707 * math/s_cexp_template.c: Likewise.
13708 * math/s_csin_template.c: Likewise.
13709 * math/s_csinh_template.c: Likewise.
13710 * math/s_ctan_template.c: Likewise.
13711 * math/s_ctanh_template.c: Likewise.
13712 * math/s_iseqsig_template.c: Likewise.
13713 * math/w_acos_compat.c: Likewise.
13714 * math/w_acosf_compat.c: Likewise.
13715 * math/w_acosl_compat.c: Likewise.
13716 * math/w_asin_compat.c: Likewise.
13717 * math/w_asinf_compat.c: Likewise.
13718 * math/w_asinl_compat.c: Likewise.
13719 * math/w_ilogb_template.c: Likewise.
13720 * math/w_j0_compat.c: Likewise.
13721 * math/w_j0f_compat.c: Likewise.
13722 * math/w_j0l_compat.c: Likewise.
13723 * math/w_j1_compat.c: Likewise.
13724 * math/w_j1f_compat.c: Likewise.
13725 * math/w_j1l_compat.c: Likewise.
13726 * math/w_jn_compat.c: Likewise.
13727 * math/w_jnf_compat.c: Likewise.
13728 * math/w_llogb_template.c: Likewise.
13729 * math/w_log10_compat.c: Likewise.
13730 * math/w_log10f_compat.c: Likewise.
13731 * math/w_log10l_compat.c: Likewise.
13732 * math/w_log2_compat.c: Likewise.
13733 * math/w_log2f_compat.c: Likewise.
13734 * math/w_log2l_compat.c: Likewise.
13735 * math/w_log_compat.c: Likewise.
13736 * math/w_logf_compat.c: Likewise.
13737 * math/w_logl_compat.c: Likewise.
13738 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13739 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13740 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13741 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13743 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13744 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13745 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13746 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13747 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13749 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13750 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13751 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13752 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13753 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13754 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13755 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13756 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13757 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13758 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13759 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13760 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13761 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13762 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13763 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13764 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13765 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13766 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13767 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13768 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13769 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13770 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13771 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13772 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13773 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13774 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13775 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13776 * sysdeps/ieee754/k_standardl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13802 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13803 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13805 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13807 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13808 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13810 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13812 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13813 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13814 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13815 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13816 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13817 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13818 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13819 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13820 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13821 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13822 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13823 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13824 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13825 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13826 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13827 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13828 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13829 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13830 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13831 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13832 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13833 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13834 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13835 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13836 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13837 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13838 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13839 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13840 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13841 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13842 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13843 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13844 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13845 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13846 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13847 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13849 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13852 * include/stdio.h (__libc_fatal): Mention newline in comment.
13853 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13854 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13855 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13856 * nss/nsswitch.c (__nss_next2): Likewise.
13857 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13858 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13859 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13860 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13861 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13862 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13863 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13864 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13865 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13866 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13867 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13868 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13869 (__netlink_assert_response): Likewise.
13871 2018-08-31 Joseph Myers <joseph@codesourcery.com>
13873 * conform/glibcconform.py: New file.
13874 * conform/list-header-symbols.py: Likewise.
13875 * conform/list-header-symbols.pl: Remove.
13876 * conform/Makefile (tests-special): Only add linknamespace tests
13878 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13880 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13883 * support/Makefile (libsupport-routines): Add
13884 support_copy_file_range and xcopy_file_range.
13885 * support/support.h: Include <sys/types.h>.
13886 (support_copy_file_range): New prototype.
13887 * support/support_copy_file_range.c: New file. Copied and
13888 modified from io/copy_file_range-compat.c.
13889 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13890 instead of copy_file_range.
13891 * support/xcopy_file_range.c: New file.
13892 * support/xunistd.h (xcopy_file_range): New prototype.
13894 2018-08-30 Carlos O'Donell <carlos@redhat.com>
13896 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13897 xpthread_create and xpthread_join.
13899 2018-08-30 Florian Weimer <fweimer@redhat.com>
13901 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13903 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
13905 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13908 2018-08-29 Joseph Myers <joseph@codesourcery.com>
13910 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13911 and minus_oflow as non-finite.
13913 2018-08-28 Joseph Myers <joseph@codesourcery.com>
13915 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13916 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13917 moved to fenv_private.h except for ...
13918 (TOINT_INTRINSICS): Kept in math_private.h.
13919 (roundtoint): Likewise.
13920 (converttoint): Likewise.
13921 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13922 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13923 * sysdeps/arm/math_private.h: Remove.
13924 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13926 * sysdeps/generic/math_private.h: ... this file. Include
13927 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13928 Include <fenv_private.h>. Remove functions and macros moved to
13930 * sysdeps/i386/fpu/math_private.h: Remove.
13931 * sysdeps/mips/math_private.h: Move to ....
13932 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13933 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13934 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13935 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13936 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13937 * sysdeps/powerpc/fpu/math_private.h: Do not include
13939 * sysdeps/riscv/rvf/math_private.h: Move to ....
13940 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13941 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13943 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13944 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13945 * sysdeps/sparc/fpu/math_private.h: Remove.
13946 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13947 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13948 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13950 * sysdeps/x86_64/fpu/math_private.h: Do not include
13951 <sysdeps/i386/fpu/fenv_private.h>.
13953 2018-08-28 Florian Weimer <fweimer@redhat.com>
13956 * posix/tst-regcomp-truncated.c: New file.
13957 * posix/Makefile (tests): Add it.
13958 (tst-regcomp-truncated.out): Depend on generated locales.
13960 2018-08-28 Florian Weimer <fweimer@redhat.com>
13962 * support/test-container.c (main): Treat unshare failure with
13963 EPERM as an unsupported test.
13965 2018-08-28 Florian Weimer <fweimer@redhat.com>
13968 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13969 * nscd/netgroupcache.c
13970 (addgetnetgrentX): Add tofreep parameter. Do not free
13971 heap-allocated buffer.
13972 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13973 (addgetnetgrentX_ignore): New function.
13974 (addgetnetgrent): Call it.
13975 (readdgetnetgrent): Likewise.
13977 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13979 * string/memmem.c: Use memcmp for first match.
13981 2018-08-28 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
13984 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13986 2018-08-27 DJ Delorie <dj@redhat.com>
13988 * support/Makefile (others): Don't list programs explicitly as a
13989 dependency of "others".
13991 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13993 * sysdeps/generic/math-tests-trap-force.h: New file.
13994 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13995 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13996 * sysdeps/powerpc/math-tests.h: Remove file.
13997 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13999 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
14000 Torvald Riegel <triegel@redhat.com>
14003 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
14004 Update r to include the set wake-request flag if waiters are
14005 remaining after spinning.
14007 2018-08-27 Joseph Myers <joseph@codesourcery.com>
14009 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
14011 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
14014 regex: fix uninitialized memory access
14015 I introduced this bug into gnulib in commit
14016 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
14017 eventually it was merged into glibc. The bug was found by
14018 project-repo <bugs@feusi.co> and reported here:
14019 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
14020 Diagnosis and draft fix reported by Assaf Gordon here:
14021 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
14022 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
14023 * posix/regex_internal.c (build_wcs_upper_buffer):
14024 Fix bug when mbrtowc returns 0.
14026 2018-08-24 Carlos O'Donell <carlos@redhat.com>
14028 * po/be.po: Update translation.
14030 2018-08-24 DJ Delorie <dj@delorie.com>
14032 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
14035 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14038 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
14039 create temporary files in source tree.
14041 2018-08-24 Joseph Myers <joseph@codesourcery.com>
14043 * sysdeps/generic/math-tests-trap.h: New file.
14044 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
14045 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
14046 * sysdeps/aarch64/math-tests.h: Remove file.
14047 * sysdeps/arm/math-tests.h: Likewise.
14048 * sysdeps/riscv/math-tests.h: Likewise.
14049 * sysdeps/aarch64/math-tests-trap.h: New file.
14050 * sysdeps/arm/math-tests-trap.h: Likewise.
14051 * sysdeps/riscv/math-tests-trap.h: Likewise.
14053 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
14055 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
14056 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
14057 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
14058 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
14059 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
14060 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
14061 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14062 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
14063 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
14064 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14065 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14066 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14067 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14068 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
14069 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
14070 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
14071 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14072 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14074 2018-08-23 Joseph Myers <joseph@codesourcery.com>
14076 * sysdeps/generic/math-tests-exceptions.h: New file.
14077 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
14078 (EXCEPTION_TESTS_float): Do not define here.
14079 (EXCEPTION_TESTS_double): Likewise.
14080 (EXCEPTION_TESTS_long_double): Likewise.
14081 (EXCEPTION_TESTS_float128): Likewise.
14082 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
14084 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
14085 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
14086 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
14087 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
14088 * sysdeps/mips/math-tests.h: Likewise.
14089 * sysdeps/nios2/math-tests.h: Likewise.
14090 * sysdeps/riscv/math-tests.h [!__riscv_flen]
14091 (EXCEPTION_TESTS_float): Do not define here.
14092 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
14093 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
14094 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
14096 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
14098 * NEWS: Move optimized sinf entry to 2.29.
14100 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
14102 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
14104 2018-08-22 DJ Delorie <dj@redhat.com>
14106 * Makefile (testroot.pristine): New rules to initialize the
14107 test-in-container "testroot".
14108 * Makerules (all-testsuite): Add tests-container.
14109 * Rules (tests-expected): Add tests-container.
14110 (binaries-all-tests): Likewise.
14111 (tests-container): New, run these tests in the testroot container.
14112 * support/Makefile (others): Add *-container, support_paths.c,
14113 xmkdirp, and links-dso-program.
14114 * support/links-dso-program-c.c: New.
14115 * support/links-dso-program.cc: New.
14116 * support/test-container.c: New.
14117 * support/shell-container.c: New.
14118 * support/echo-container.c: New.
14119 * support/true-container.c: New.
14120 * support/xmkdirp.c: New.
14121 * support/xsymlink.c: New.
14122 * support/support_paths.c: New.
14123 * support/support.h: Add support paths prototypes.
14124 * support/xunistd.h: Add xmkdirp () and xsymlink ().
14126 * nss/tst-nss-test3.c: Convert to test-in-container.
14127 * nss/tst-nss-test3.root/: New.
14129 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
14131 regex: port Gnulib code to z/OS POSIX environment
14132 Problem reported by Arnold Robbins in:
14133 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
14134 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
14137 2018-08-22 Joseph Myers <joseph@codesourcery.com>
14139 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
14140 (ROUNDING_TESTS_double): Remove.
14141 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
14142 (ROUNDING_TESTS_double): Remove.
14143 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
14144 (ROUNDING_TESTS_double): Remove.
14145 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
14146 (ROUNDING_TESTS_float): Remove.
14147 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
14148 (ROUNDING_TESTS_float): Remove.
14149 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
14150 (ROUNDING_TESTS_float): Remove.
14151 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
14152 !TEST_MATHVEC here.
14153 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14154 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14156 * sysdeps/generic/math-tests-rounding.h: New file.
14157 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
14158 (ROUNDING_TESTS_float): Do not define here.
14159 (ROUNDING_TESTS_double): Likewise.
14160 (ROUNDING_TESTS_long_double): Likewise.
14161 (ROUNDING_TESTS_float128): Likewise.
14162 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
14163 (ROUNDING_TESTS_double): Undefine before defining.
14164 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
14165 (ROUNDING_TESTS_double): Undefine before defining.
14166 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
14167 (ROUNDING_TESTS_double): Undefine before defining.
14168 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
14169 (ROUNDING_TESTS_float): Undefine before defining.
14170 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
14171 (ROUNDING_TESTS_float): Undefine before defining.
14172 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
14173 (ROUNDING_TESTS_float): Undefine before defining.
14174 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
14175 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
14177 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
14178 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
14179 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
14180 * sysdeps/riscv/math-tests.h [!__riscv_flen]
14181 (ROUNDING_TESTS_float): Do not define here.
14182 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
14183 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
14184 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
14185 (ROUNDING_TESTS_float): Likewise.
14186 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
14187 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
14188 * sysdeps/mips/math-tests.h [__mips_soft_float]
14189 (ROUNDING_TESTS_float): Likewise.
14190 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
14191 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
14192 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
14193 (ROUNDING_TESTS_double): Likewise.
14194 (ROUNDING_TESTS_long_double): Likewise.
14196 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
14198 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
14199 (PF_XDP): New macro.
14200 (AF_XDP): New macro.
14201 (SOL_XDP): New macro.
14203 2018-08-21 Joseph Myers <joseph@codesourcery.com>
14205 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
14206 (TCP_INQ): Likewise.
14207 (TCP_CM_INQ): Likewise.
14208 (TCP_REPAIR_ON): Likewise.
14209 (TCP_REPAIR_OFF): Likewise.
14210 (TCP_REPAIR_OFF_NO_WP): Likewise.
14211 (struct tcp_zerocopy_receive): New type.
14213 2018-08-21 Florian Weimer <fweimer@redhat.com>
14215 * support/support.h (support_descriptor_supports_holes): Declare.
14216 * support/Makefile (libsupport-routines): Add
14217 support_descriptor_supports_holes.
14218 * support/support_descriptor_supports_holes.c: New file.
14219 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
14220 and stop testing if holes are not supported.
14221 * io/test-lfs.c (do_prepare): Likewise.
14222 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
14224 * timezone/tst-tzset.c (create_tz_file): Likewise.
14225 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
14227 (do_prepare): Set it.
14228 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
14230 2018-08-21 Florian Weimer <fweimer@redhat.com>
14233 * Makeconfig (+cflags): Do not sort (and deduplicate).
14235 2018-08-21 Florian Weimer <fweimer@redhat.com>
14237 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
14238 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
14240 2018-08-20 Florian Weimer <fweimer@redhat.com>
14242 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
14243 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
14245 2018-08-20 Joseph Myers <joseph@codesourcery.com>
14247 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
14248 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
14249 and ssi_arch members.
14251 * elf/elf.c (NT_VMCOREDD): New macro.
14252 (AT_MINSIGSTKSZ): Likewise.
14254 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14257 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
14258 s_cosf-ppc64 and s_cosf-power8.
14259 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
14260 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14261 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14262 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
14264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
14265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
14266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
14267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
14268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
14269 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
14270 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
14272 2018-08-17 Florian Weimer <fweimer@redhat.com>
14274 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14276 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
14278 * malloc/malloc.c (_int_malloc): Additional binning code checks.
14280 2018-08-16 Florian Weimer <fweimer@redhat.com>
14282 * configure.ac: Add --with-nonshared-cflags option.
14283 * config.make.in (extra-nonshared-cflags): Set variable.
14284 * Makeconfig (CFLAGS-.oS): Use it.
14285 * manual/install.texi (Configuring and compiling): Document
14286 --with-nonshared-cflags.
14287 * configure: Regenerate.
14288 * INSTALL: Likewise.
14290 2018-08-16 Florian Weimer <fweimer@redhat.com>
14292 * Makeconfig (ASFLAGS): Always append required assembler flags.
14294 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
14296 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
14297 (malloc_consolidate): Likewise.
14299 2018-08-16 Pochang Chen <johnchen902@gmail.com>
14301 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
14303 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
14305 * benchtests/bench-strlen.c (do_test): Allocate buffers before
14308 * benchtests/bench-strlen.c: Print performance numbers in json.
14310 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14312 * sysdeps/powerpc/powerpc64/multiarch/Makefile
14313 (sysdep_routines): Build strcmp-power9 and strncmp-power9
14314 only for little endian.
14315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14316 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
14317 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
14318 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
14319 Add check for little endian.
14320 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
14321 (__strcmp_power9): Add check for little endian.
14322 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
14323 Add check for little endian.
14324 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
14325 (__strncmp_power9): Add check for little endian.
14326 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
14327 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
14328 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
14329 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
14330 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
14332 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14334 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
14335 [!STRLEN](STRLEN): Set to __strlen.
14336 * sysdeps/aarch64/multiarch/strlen.c: New file.
14337 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
14338 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
14339 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
14340 (__libc_ifunc_impl_list): Add strlen.
14341 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
14342 strlen_generic and strlen_asimd.
14344 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
14346 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
14347 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
14348 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14350 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
14352 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
14354 2018-08-14 Florian Weimer <fweimer@redhat.com>
14357 * include/stdio.h (__vfxprintf): Declare.
14358 * stdio-common/fxprintf.c (__vfxprintf): New function.
14359 (__fxprintf): Call it.
14360 * misc/err.c (convert_and_print): Remove function.
14361 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
14362 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
14363 * misc/Makefile (tests): Add tst-warn-wide.
14364 * misc/tst-warn-wide.c: New file.
14366 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
14367 Szabolcs Nagy <szabolcs.nagy@arm.com>
14369 * NEWS: Mention sinf, cosf, sincosf.
14370 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
14371 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
14372 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
14373 constants rather than including generic sincosf.h.
14374 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
14375 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
14376 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
14377 (reduced_cos): Remove.
14378 (sinf_poly): New function.
14379 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
14381 2018-08-14 Florian Weimer <fweimer@redhat.com>
14385 * nss/nss_files/files-alias.c (get_next_alias): During :include:
14386 processing, bail out if no room, and close the stream before
14388 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
14389 (tst-nss-files-alias-leak): Link with libdl.
14390 (tst-nss-files-alias-leak.out): Depend on nss_files.
14392 * nss/tst-nss-files-alias-leak.c: New file.
14394 2018-08-14 Florian Weimer <fweimer@redhat.com>
14396 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
14397 server_user, stat_user.
14399 2018-08-13 Joseph Myers <joseph@codesourcery.com>
14401 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14403 (io_pgetevents): New syscall.
14406 * manual/install.texi (Configuring and compiling): Do not list
14407 tools used for testing pretty printers here.
14408 (Tools for Compilation): List Python, PExpect and GDB here.
14409 Update descriptions of uses of Perl and Python.
14410 * INSTALL: Regenerate.
14412 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14415 2018-08-13 Florian Weimer <fweimer@redhat.com>
14417 * misc/error.c (error): Add missing va_end call.
14418 (error_at_line): Likewise.
14420 2018-08-13 Florian Weimer <fweimer@redhat.com>
14422 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
14424 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14426 * benchtests/scripts/benchout.schema.json (properties): Add
14429 * benchtests/bench-skeleton.c (main): Add duration and
14430 iterations attributes.
14432 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
14434 regex: Gnulib unibyte RRI uses bytes not chars
14435 Adjust the non-glibc code to agree with what Gawk needs for
14436 rational range interpretation (RRI) for regular expression ranges.
14437 In unibyte locales, Gawk wants ranges to use the underlying byte
14438 rather than the character code point. This change does not affect
14440 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
14441 In unibyte locales, use the byte value rather than
14442 running it through btowc.
14444 2018-08-10 Joseph Myers <joseph@codesourcery.com>
14446 * sysdeps/generic/math-tests-snan.h: New file.
14447 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
14448 (SNAN_TESTS_float): Do not define here.
14449 (SNAN_TESTS_double): Likewise.
14450 (SNAN_TESTS_long_double): Likewise.
14451 (SNAN_TESTS_float128): Likewise.
14452 * sysdeps/i386/fpu/math-tests-snan.h: New file.
14453 * sysdeps/i386/fpu/math-tests.h: Remove file.
14454 * sysdeps/ia64/math-tests-snan.h: New file.
14455 * sysdeps/ia64/math-tests.h: Remove file.
14456 * sysdeps/x86/math-tests.h: Likewise.
14457 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
14459 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14460 Szabolcs Nagy <szabolcs.nagy@arm.com>
14462 * math/Makefile: Add s_sincosf_data.c.
14463 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
14464 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
14465 (sincosf_poly): Likewise.
14466 (reduce_small): Likewise.
14467 (reduce_large): Likewise.
14468 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
14469 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
14470 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
14471 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
14473 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14474 Szabolcs Nagy <szabolcs.nagy@arm.com>
14476 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
14477 (converttoint): Use lround.
14478 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
14479 document the semantics when TOINT_INTRINSICS is set.
14480 (converttoint): Likewise.
14481 (TOINT_RINT): Remove.
14482 (TOINT_SHIFT): Remove.
14483 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
14486 2018-08-10 Florian Weimer <fweimer@redhat.com>
14489 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
14491 (__old_getdents64): Use getdents64. Convert entries without
14493 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
14494 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
14495 tst-readdir64-compat.
14497 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14499 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
14502 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14504 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
14505 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
14506 code to s390x-mcount.h and #include it.
14507 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
14508 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14511 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14513 * stdlib/Versions: Remove __fentry__.
14514 * sysdeps/i386/Versions: Add __fentry__.
14515 * sysdeps/x86_64/Versions: Add __fentry__.
14517 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14519 * sysdeps/s390/Makefile: Register the new tests.
14520 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
14521 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
14522 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
14523 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
14524 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
14525 * sysdeps/s390/tst-dl-runtime.c: New file.
14527 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14529 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14532 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14534 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14537 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14539 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14542 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14544 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14547 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14549 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14550 Use symbolic offsets for stack variables.
14552 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14554 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14555 Use symbolic offsets for stack variables.
14557 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14559 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14560 Use symbolic offsets for stack variables.
14562 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14564 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14565 Use symbolic offsets for stack variables.
14567 2018-08-09 Joseph Myers <joseph@codesourcery.com>
14569 * math/gen-libm-test.py: New file.
14570 * math/gen-libm-test.pl: Remove.
14571 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
14572 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
14574 ($(libm-test-c-noauto-obj)): Likewise.
14575 ($(libm-test-c-auto-obj)): Likewise.
14576 ($(libm-test-c-narrow-obj)): Likewise.
14577 (regen-ulps): Likewise.
14578 * math/README.libm-test: Update references to gen-libm-test.pl.
14579 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
14580 referencing gen-libm-test.pl.
14581 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
14582 * math/libm-test-support.c: Likewise.
14583 * math/libm-test-support.h: Likewise.
14584 * sysdeps/generic/libm-test-ulps: Likewise.
14586 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
14588 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
14591 2018-08-08 Joseph Myers <joseph@codesourcery.com>
14593 * math/libm-test-nextdown.inc (do_test): Move comment to ....
14594 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
14596 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14598 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
14600 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
14601 __pthread_setspecific): Add hidden proto.
14602 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
14603 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
14605 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14607 * benchtests/bench-string.h (buf1_size, buf2_size): New
14609 (init_sizes): New function.
14610 (test_init): Use it.
14611 (alloc_buf, exit_error): New functions.
14612 (alloc_bufs): Use ALLOC_BUF.
14613 (realloc_bufs): Remove.
14614 * benchtests/bench-memcmp.c (do_test): Adjust.
14615 * benchtests/bench-memset-large.c (do_test): Likewise.
14616 * benchtests/bench-memset-walk.c (do_test): Likewise.
14617 * benchtests/bench-memset.c (do_test): Likewise.
14618 * benchtests/bench-strncmp.c (do_test): Likewise.
14620 2018-08-06 Andreas Schwab <schwab@suse.de>
14622 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14623 of CONST_THREAD_AREA.
14625 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14627 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14628 (STATE_SAVE_MASK): Likewise.
14629 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14630 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14631 (STATE_SAVE_MASK): Likewise.
14632 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14633 instead of <cpu-features.h>.
14635 2018-08-03 DJ Delorie <dj@redhat.com>
14637 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
14638 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
14640 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14642 2018-08-03 Joseph Myers <joseph@codesourcery.com>
14644 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14645 after TEST_* calls.
14646 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14647 * math/libm-test-logb.inc (logb_test_data): Likewise.
14649 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14651 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14652 * string/strstr.c (AVAILABLE): Likewise.
14654 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14656 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14658 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14659 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14660 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14662 2018-08-03 Carlos O'Donell <carlos@redhat.com>
14664 * po/be.po: Update translation.
14666 * po/be.po: Update translation.
14668 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14670 * sysdeps/x86/cpu-features-offsets.sym
14671 (rtld_global_ro_offsetof): Removed.
14672 (CPU_FEATURES_SIZE): Likewise.
14673 (CPUID_OFFSET): Likewise.
14674 (CPUID_SIZE): Likewise.
14675 (CPUID_EAX_OFFSET): Likewise.
14676 (CPUID_EBX_OFFSET): Likewise.
14677 (CPUID_ECX_OFFSET): Likewise.
14678 (CPUID_EDX_OFFSET): Likewise.
14679 (FAMILY_OFFSET): Likewise.
14680 (MODEL_OFFSET): Likewise.
14681 (FEATURE_OFFSET): Likewise.
14682 (FEATURE_SIZ): Likewise.
14683 (COMMON_CPUID_INDEX_1): Likewise.
14684 (COMMON_CPUID_INDEX_7): Likewise.
14685 (FEATURE_INDEX_1): Likewise.
14686 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14688 2018-08-02 Carlos O'Donell <carlos@redhat.com>
14690 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14691 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14692 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14693 (install-locales): Depend on install-locale-archive.
14694 (install-locale-archive): Define.
14695 (install-locale-files): Define.
14696 (build-one-locale): Define macro.
14697 * manual/install.texi (Running make install): Document.
14698 * manual/INSTALL: Regenerate.
14700 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14702 * benchtests/scripts/compare_strings.py: Import traceback.
14703 (parse_file): Pretty-print error.
14705 * NEWS: Mention the change.
14706 * elf/dl-tunables.list: Rename tune namespace to cpu.
14707 * sysdeps/powerpc/dl-tunables.list: Likewise.
14708 * sysdeps/x86/dl-tunables.list: Likewise.
14709 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14711 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14712 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14713 * manual/README.tunables: Likewise.
14714 * manual/tunables.texi: Likewise.
14715 * sysdeps/powerpc/cpu-features.c: Likewise.
14716 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14717 (init_cpu_features): Likewise.
14718 * sysdeps/x86/cpu-features.c: Likewise.
14719 * sysdeps/x86/cpu-features.h: Likewise.
14720 * sysdeps/x86/cpu-tunables.c: Likewise.
14721 * sysdeps/x86_64/Makefile: Likewise.
14722 * sysdeps/x86/dl-cet.c: Likewise.
14724 2018-08-02 Joseph Myers <joseph@codesourcery.com>
14727 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14728 [__mips_hard_float].
14729 (FE_UNDERFLOW): Likewise.
14730 (FE_OVERFLOW): Likewise.
14731 (FE_DIVBYZERO): Likewise.
14732 (FE_INVALID): Likewise.
14733 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14734 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14735 (FE_UPWARD): Likewise.
14736 (FE_DOWNWARD): Likewise.
14737 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14738 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14739 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14740 [__mips_hard_float].
14741 (FP_ROUNDMODE): Likewise.
14742 (FP_RND_NEAREST): Likewise.
14743 (FP_RND_ZERO): Likewise.
14744 (FP_RND_PINF): Likewise.
14745 (FP_RND_MINF): Likewise.
14746 (FP_EX_INVALID): Likewise.
14747 (FP_EX_OVERFLOW): Likewise.
14748 (FP_EX_UNDERFLOW): Likewise.
14749 (FP_EX_DIVZERO): Likewise.
14750 (FP_EX_INEXACT): Likewise.
14751 (FP_INIT_ROUNDMODE): Likewise.
14752 * sysdeps/mips/nofpu/fesetenv.c: New file.
14753 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14755 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14757 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14758 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14759 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14760 conditional on [FE_UPWARD].
14762 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14764 regex: fix memory leak in Gnulib
14765 Problem and fix reported by Assaf Gordon in:
14766 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14767 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14768 range_ends members too, as they are defined in 'struct
14769 re_charset_t' even if not _LIBC. This affects only Gnulib.
14771 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14773 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14775 (get_common_indices): This.
14776 (init_cpu_features): Updated.
14778 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14780 * sysdeps/generic/math-tests-snan-payload.h: New file.
14781 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14782 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14783 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14784 * sysdeps/generic/math-tests.h: Include
14785 <math-tests-snan-payload.h>.
14786 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14787 * sysdeps/hppa/math-tests.h: Remove file.
14788 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14789 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14790 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14793 * sysdeps/generic/math-tests-snan-cast.h: New file.
14794 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14795 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14796 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14797 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14799 2018-08-01 Carlos O'Donell <carlos@redhat.com>
14801 * version.h (RELEASE): Set to "development".
14802 (VERSION): Set to "2.28.9000".
14803 * NEWS (2.29): New section.
14805 * version.h (RELEASE): Set to "stable".
14806 (VERSION): Set to "2.28".
14807 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14808 * NEWS: Add the list of bugs fixed in 2.28.
14810 * po/ca.po: Update to latest version.
14811 * po/cs.po: Likewise
14812 * po/da.po: Likewise
14813 * po/el.po: Likewise
14814 * po/eo.po: Likewise
14815 * po/es.po: Likewise
14816 * po/fi.po: Likewise
14817 * po/fr.po: Likewise
14818 * po/gl.po: Likewise
14819 * po/hu.po: Likewise
14820 * po/ia.po: Likewise
14821 * po/id.po: Likewise
14822 * po/it.po: Likewise
14823 * po/ja.po: Likewise
14824 * po/ko.po: Likewise
14825 * po/lt.po: Likewise
14826 * po/nb.po: Likewise
14827 * po/nl.po: Likewise
14828 * po/pt_BR.po: Likewise
14829 * po/ru.po: Likewise
14830 * po/rw.po: Likewise
14831 * po/sk.po: Likewise
14832 * po/sl.po: Likewise
14833 * po/tr.po: Likewise
14834 * po/zh_CN.po: Likewise
14835 * po/zh_TW.po: Likewise
14837 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14839 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14841 (init): ... before initializing libpthread.
14843 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14844 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14845 (__mach_setup_tls): ... new function.
14846 (mach_setup_tls): New alias.
14847 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14848 __mach_setup_thread.
14849 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14850 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14851 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14852 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14854 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14856 * manual/install.texi: Update versions.
14857 * INSTALL: Regenerate.
14859 * manual/contrib.texi (Contributors): Update contributions.
14861 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14863 * po/be.po: Update translations.
14865 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14867 * sysdeps/sh/libm-test-ulps: Update.
14869 2018-07-30 Carlos O'Donell <carlos@redhat.com>
14871 * po/bg.po: Update translations.
14872 * po/de.po: Likewise.
14873 * po/hr.po: Likewise.
14874 * po/pt_BR.po: Likewise.
14875 * po/sv.po: Likewise.
14876 * po/vi.po: Likewise.
14878 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14881 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14882 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14883 (CFLAGS-tst-cet-property-1.o): New.
14884 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14885 ($(objpfx)tst-cet-property-2): Likewise.
14886 ($(objpfx)tst-cet-property-2.out): Likewise.
14887 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14888 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14889 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14890 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14891 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14893 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14896 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14898 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14900 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14901 __sbrk): Do not set attribute_hidden.
14902 * sysdeps/mach/hurd/not-errno.h: New file.
14903 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14904 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14906 2018-07-27 Carlos O'Donell <carlos@redhat.com>
14908 * po/uk.po: Update translations.
14909 * po/cs.po: Likewise.
14910 * po/pl.po: Likewise.
14912 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14914 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14915 parse beyond the note end.
14917 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14919 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14920 kernel does not support OFD locks.
14921 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14923 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14925 * sysdeps/mach/hurd/Versions (libc): Make __access and
14926 __access_noerrno external so they can override the ld symbols.
14927 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14928 __writev, __open64, __access_noerrno extern so they can be overrided.
14929 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14930 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14932 2018-07-26 Carlos O'Donell <carlos@redhat.com>
14934 * po/libc.pot: Regenerate.
14936 2018-07-26 Joseph Myers <joseph@codesourcery.com>
14938 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14940 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14943 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14945 (init_cpu_features): Call get_extended_indices for both Intel
14947 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14948 Remove "for AMD" comment.
14950 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14953 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14954 COMMON_CPUID_INDEX_80000001.
14956 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
14958 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14959 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14961 2018-07-26 Florian Weimer <fweimer@redhat.com>
14963 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14964 aliases for symbols not in the implementation namespace.
14966 2018-07-25 Carlos O'Donell <carlos@redhat.com>
14969 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14970 lowercase in LATIN script.
14971 * localedata/Makefile (test-input): Add en_US.UTF-8.
14972 * localedata/en_US.UTF-8.in: New file.
14973 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14974 and restore old tests.
14975 * posix/tst-regexloc.c (do_test): Add back range expression test.
14977 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14979 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14981 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14983 * nptl/threads.h: Move to ...
14984 * sysdeps/nptl/threads.h: ... here.
14985 * sysdeps/hurd/stdc-predef.h: New file.
14987 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14989 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14990 tst-cet-setcontext-1 if CET is enabled.
14991 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14992 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14994 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14996 * include/threads.h: Move to ...
14997 * sysdeps/nptl/threads.h: ... here.
14998 * sysdeps/htl/threads.h: New file.
14999 * conform/Makefile (linknamespace-libs-ISO11): Use
15000 static-thread-library instead of linking libpthread.
15001 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
15003 2018-07-25 Florian Weimer <fweimer@redhat.com>
15005 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
15006 nanoseconds into seconds.
15007 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
15008 (do_test): Likewise.
15009 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
15010 (do_test): Likewise. Avoid nanosecond overflow and spurious
15011 timeouts due to system load.
15012 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
15013 (child_wait): Increment it.
15014 (do_test): Wait as long as necessary until all expected threads
15017 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
15018 H.J. Lu <hongjiu.lu@intel.com>
15020 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
15022 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
15023 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
15024 (__push___start_context): New.
15025 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
15027 (__getcontext): Record the current shadow stack base. Save the
15028 caller's shadow stack pointer and base.
15029 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
15030 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
15031 (__push___start_context): New prototype.
15032 (__makecontext): Call __push___start_context to allocate a new
15033 shadow stack, push __start_context onto the new stack as well
15034 as the new shadow stack.
15035 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
15037 (__setcontext): Restore the target shadow stack.
15038 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
15040 (__swapcontext): Record the current shadow stack base. Save
15041 the caller's shadow stack pointer and base. Restore the target
15043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15044 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
15045 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
15047 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15049 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
15050 tst-setcontext8 and tst-setcontext9.
15051 * stdlib/tst-setcontext6.c: New file.
15052 * stdlib/tst-setcontext7.c: Likewise.
15053 * stdlib/tst-setcontext8.c: Likewise.
15054 * stdlib/tst-setcontext9.c: Likewise.
15056 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15058 * stdlib/Makefile ((tests): Add tst-setcontext5.
15059 * stdlib/tst-setcontext5.c: New file.
15061 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15063 * stdlib/Makefile (tests): Add tst-setcontext4.
15064 * stdlib/tst-setcontext4.c: New file.
15066 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15068 * stdlib/Makefile (tests): Add tst-swapcontext1.
15069 * stdlib/tst-swapcontext1.c: New test.
15071 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15073 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
15074 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
15075 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
15076 and tst-cet-legacy-4c.
15077 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
15078 and tst-cet-legacy-mod-4.
15079 (CFLAGS-tst-cet-legacy-2.c): New.
15080 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
15081 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
15082 (CFLAGS-tst-cet-legacy-3.c): Likewise.
15083 (CFLAGS-tst-cet-legacy-4.c): Likewise.
15084 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
15085 ($(objpfx)tst-cet-legacy-1): Likewise.
15086 ($(objpfx)tst-cet-legacy-2): Likewise.
15087 ($(objpfx)tst-cet-legacy-2.out): Likewise.
15088 ($(objpfx)tst-cet-legacy-2a): Likewise.
15089 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
15090 ($(objpfx)tst-cet-legacy-4): Likewise.
15091 ($(objpfx)tst-cet-legacy-4.out): Likewise.
15092 ($(objpfx)tst-cet-legacy-4a): Likewise.
15093 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
15094 (tst-cet-legacy-4a-ENV): Likewise.
15095 ($(objpfx)tst-cet-legacy-4b): Likewise.
15096 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
15097 (tst-cet-legacy-4b-ENV): Likewise.
15098 ($(objpfx)tst-cet-legacy-4c): Likewise.
15099 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
15100 (tst-cet-legacy-4c-ENV): Likewise.
15101 * sysdeps/x86/tst-cet-legacy-1.c: New file.
15102 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
15103 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
15104 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
15105 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
15106 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
15107 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
15108 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
15109 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
15110 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
15111 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
15113 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15115 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
15116 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
15118 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
15119 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
15122 2018-07-25 Andreas Schwab <schwab@suse.de>
15125 * locale/weightwc.h (findidx): Handle the case where usrc is a
15126 prefix of cp but one character too short.
15128 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15130 * NEWS: Add ISO C threads addition.
15132 2018-07-24 Florian Weimer <fweimer@redhat.com>
15134 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15135 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
15136 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
15139 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15141 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
15142 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
15143 <sys/prctl.h> and <asm/prctl.h>.
15144 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
15145 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
15147 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
15148 ARCH_CET_LEGACY_BITMAP.
15149 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
15150 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
15151 * sysdeps/x86/libc-start.c: Include <startup.h>.
15153 2018-07-24 Florian Weimer <fweimer@redhat.com>
15155 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
15156 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
15158 2018-07-24 Rical Jasan <rj@2c3t.io>
15159 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15160 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
15163 * manual/debug.texi: Update adjacent chapter name.
15164 * manual/probes.texi: Likewise.
15165 * manual/threads.texi (ISO C Threads): New section.
15166 (POSIX Threads): Convert to a section.
15168 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15169 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
15172 * nptl/Makefile (tests): Add new test files.
15173 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
15174 * nptl/tst-cnd-basic.c: Likewise.
15175 * nptl/tst-cnd-broadcast.c: Likewise.
15176 * nptl/tst-cnd-timedwait.c: Likewise.
15177 * nptl/tst-mtx-basic.c: Likewise.
15178 * nptl/tst-mtx-recursive.c: Likewise.
15179 * nptl/tst-mtx-timedlock.c: Likewise.
15180 * nptl/tst-mtx-trylock.c: Likewise.
15181 * nptl/tst-thrd-basic.c: Likewise.
15182 * nptl/tst-thrd-detach.c: Likewise.
15183 * nptl/tst-thrd-sleep.c: Likewise.
15184 * nptl/tst-tss-basic.c: Likewise.
15186 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15189 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15190 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
15192 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15193 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15194 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15195 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15196 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15197 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15198 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15199 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15200 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15201 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15202 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15203 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
15210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15211 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15212 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15213 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15214 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15215 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15216 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15217 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15218 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15219 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
15220 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
15221 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
15222 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
15223 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
15225 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15226 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15227 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15228 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15229 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15230 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15231 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15232 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15233 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15234 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15235 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15236 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15243 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15244 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15245 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15246 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15247 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15248 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15249 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15250 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15253 * conform/data/threads.h-data (thread_local): New macro.
15254 (TSS_DTOR_ITERATIONS): Likewise.
15256 (tss_dtor_t): Likewise.
15257 (tss_create): New function.
15258 (tss_get): Likewise.
15259 (tss_set): Likewise.
15260 (tss_delete): Likewise.
15261 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
15262 tss_get, and tss_set objects.
15263 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
15264 * nptl/tss_create.c: New file.
15265 * nptl/tss_delete.c: Likewise.
15266 * nptl/tss_get.c: Likewise.
15267 * nptl/tss_set.c: Likewise.
15268 * sysdeps/nptl/threads.h (thread_local): New define.
15269 (TSS_DTOR_ITERATIONS): Likewise.
15270 (tss_t): New typedef.
15271 (tss_dtor_t): Likewise.
15272 (tss_create): New prototype.
15273 (tss_get): Likewise.
15274 (tss_set): Likewise.
15275 (tss_delete): Likewise.
15278 * conform/data/threads.h-data (cnd_t): New type.
15279 (cnd_init): New function.
15280 (cnd_signal): Likewise.
15281 (cnd_broadcast): Likewise.
15282 (cnd_wait): Likewise.
15283 (cnd_timedwait): Likewise.
15284 (cnd_destroy): Likewise.
15285 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
15286 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
15288 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
15289 * nptl/cnd_broadcast.c: New file.
15290 * nptl/cnd_destroy.c: Likewise.
15291 * nptl/cnd_init.c: Likewise.
15292 * nptl/cnd_signal.c: Likewise.
15293 * nptl/cnd_timedwait.c: Likewise.
15294 * nptl/cnd_wait.c: Likewise.
15295 * sysdeps/nptl/threads.h (cnd_t): New type.
15296 (cnd_init): New prototype.
15297 (cnd_signa): Likewise.
15298 (cnd_broadcast): Likewise.
15299 (cnd_wait): Likewise.
15300 (cnd_timedwait): Likewise.
15301 (cnd_destroy): Likewise.
15304 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
15305 (once_flag): New type.
15306 (call_once): New function.
15307 * nptl/Makefile (libpthread-routines): Add call_once object.
15308 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
15309 * nptl/call_once.c: New file.
15310 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
15311 (once_flag): New type.
15312 (call_once): New prototype.
15315 * conform/data/threads.h-data (mtx_plain): New constant.
15316 (mtx_recursive): Likewise.
15317 (mtx_timed): Likewise.
15319 (mtx_init): New function.
15320 (mtx_lock): Likewise.
15321 (mtx_timedlock): Likewise.
15322 (mtx_trylock): Likewise.
15323 (mtx_unlock): Likewise.
15324 (mtx_destroy): Likewise.
15325 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
15326 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
15327 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
15328 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
15329 * nptl/mtx_destroy.c: New file.
15330 * nptl/mtx_init.c: Likewise.
15331 * nptl/mtx_lock.c: Likewise.
15332 * nptl/mtx_timedlock.c: Likewise.
15333 * nptl/mtx_trylock.c: Likewise.
15334 * nptl/mtx_unlock.c: Likewise.
15335 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
15336 (mtx_recursive): Likewise.
15337 (mtx_timed): Likewise.
15339 (mtx_init): New prototype.
15340 (mtx_lock): Likewise.
15341 (mtx_timedlock): Likewise.
15342 (mtx_trylock): Likewise.
15343 (mtx_unlock): Likewise.
15344 (mtx_destroy): Likewise.
15347 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
15348 (linknamespace-libs-ISO11): Add libpthread.a.
15349 * conform/data/threads.h-data: New file: add C11 thrd_* types and
15351 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
15352 * nptl/Makefile (headers): Add threads.h.
15353 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
15354 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
15356 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
15357 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
15358 thrd_join, thrd_sleep, and thrd_yield symbols.
15359 * nptl/descr.h (struct pthread): Add c11 field.
15360 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
15361 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
15362 routine with expected function prototype.
15363 (__pthread_create_2_1): Add C11 threads check based on attribute
15365 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
15366 * nptl/thrd_create.c: New file.
15367 * nptl/thrd_current.c: Likewise.
15368 * nptl/thrd_detach.c: Likewise.
15369 * nptl/thrd_equal.c: Likewise.
15370 * nptl/thrd_exit.c: Likewise.
15371 * nptl/thrd_join.c: Likewise.
15372 * nptl/thrd_priv.h: Likewise.
15373 * nptl/thrd_sleep.c: Likewise.
15374 * nptl/thrd_yield.c: Likewise.
15375 * include/threads.h: Likewise.
15377 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15379 * bits/indirect-return.h: New file.
15380 * misc/sys/cdefs.h (__glibc_has_attribute): New.
15381 * sysdeps/x86/bits/indirect-return.h: Likewise.
15382 * stdlib/Makefile (headers): Add bits/indirect-return.h.
15383 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
15384 (swapcontext): Add __INDIRECT_RETURN.
15385 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
15386 (prepare_test_buffer): Use it.
15388 2018-07-24 Andreas Schwab <schwab@suse.de>
15391 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
15392 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
15394 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15396 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
15397 Redefine if shadow stack is enabled.
15398 (SYSCALL_ERROR_LABEL): Likewise.
15399 (__vfork): Pop shadow stack and jump back to to caller directly
15400 when shadow stack is in use.
15401 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
15402 Redefine if shadow stack is enabled.
15403 (SYSCALL_ERROR_LABEL): Likewise.
15404 (__vfork): Pop shadow stack and jump back to to caller directly
15405 when shadow stack is in use.
15407 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15409 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
15412 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
15415 2018-07-20 Joseph Myers <joseph@codesourcery.com>
15417 * scripts/build-many-glibcs.py (Context.checkout): Default
15418 binutils version to 2.31 branch.
15420 2018-07-20 Zong Li <zong@andestech.com>
15422 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
15423 URL of gcc's tarball.
15425 2018-07-20 Florian Weimer <fweimer@redhat.com>
15428 * posix/regcomp.c (build_equiv_class): When comparing weights, do
15429 not compare an extra byte after the end of the weights.
15431 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15433 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
15435 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
15437 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
15438 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
15439 * scripts/check-execstack.awk: Consider `xfail' variable containing a
15440 list of libraries whose stack executability is expected.
15441 * elf/Makefile ($(objpfx)check-execstack.out): Pass
15442 $(check-execstack-xfail) to check-execstack.awk through `xfail'
15444 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
15445 libc.so libpthread.so.
15447 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
15449 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
15451 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
15453 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
15455 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
15457 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15459 * benchtests/scripts/compare_bench.py (__main__): use the argparse
15460 library to improve command line parsing.
15461 (__main__): make schema file as optional parameter (--schema),
15462 defaulting to benchtests/scripts/benchout.schema.json.
15463 (main): move out of the parsing stuff to __main_Â and leave it
15464 only as caller of main comparison functions.
15466 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
15468 * NEWS: Add a note for Intel CET status.
15469 * manual/install.texi: Likewise.
15470 * INSTALL: Regenerated.
15472 2018-07-18 Quentin PAGĂS <provaires@quentino.fr>
15475 * localedata/locales/oc_FR (mon): Rename to...
15476 (alt_mon): This, then update October (typo fix).
15477 (mon): New content (genitive case, month names preceded by
15481 * localedata/locales/oc_FR (abday): Update all items.
15482 (day): Update Wednesday and Saturday (typo fixes).
15483 (abmon): Update all items, except May.
15484 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
15485 (LC_IDENTIFICATION): Bump the revision number and date.
15486 Keep the "category" entries in alphabetic order.
15487 (LC_ADDRESS): Remove no longer needed comment.
15488 (LC_COLLATE): Use âcopy "ca_ES"â.
15489 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
15492 2018-07-18 Joseph Myers <joseph@codesourcery.com>
15494 * grp/tst_fgetgrent.c: Include <unistd.h>.
15495 (main): Use mkstemp instead of tmpnam.
15496 * io/test-utime.c (main): Likewise.
15497 * posix/annexc.c (macrofile): Change to modifiable array.
15498 (main): Remove macrofile here.
15499 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15501 (check_header): Do not remove macrofile here.
15502 * posix/bug-getopt1.c: Include <stdlib.h>.
15503 (do_test): Use mkstemp instead of tmpnam.
15504 * posix/bug-getopt2.c: Include <stdlib.h>.
15505 (do_test): Use mkstemp instead of tmpnam.
15506 * posix/bug-getopt3.c: Include <stdlib.h>.
15507 (do_test): Use mkstemp instead of tmpnam.
15508 * posix/bug-getopt4.c: Include <stdlib.h>.
15509 (do_test): Use mkstemp instead of tmpnam.
15510 * posix/bug-getopt5.c: Include <stdlib.h>.
15511 (do_test): Use mkstemp instead of tmpnam.
15512 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
15513 (main): Use mkstemp instead of tmpnam.
15514 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
15515 (main): Use mkstemp instead of tmpnam.
15516 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
15517 (main): use mkstemp instead of tmpnam.
15518 * stdlib/isomac.c (macrofile): Change to modifiable array.
15519 (main): Remove macrofile here.
15520 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15522 (check_header): Do not remove macrofile here.
15524 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15526 * manual/tunables.texi: Document glibc.tune.x86_ibt and
15527 glibc.tune.x86_shstk.
15529 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15531 * NEWS: Mention --enable-cet.
15532 * manual/install.texi: Document --enable-cet.
15533 * INSTALL: Regenerated.
15535 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15537 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
15538 Add _CET_NOTRACK before indirect jump to jump table.
15540 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15542 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
15543 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15546 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15548 * sysdeps/i386/i686/multiarch/strcat-sse2.S
15549 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15552 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15554 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
15555 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15558 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15560 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
15561 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15564 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15566 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
15567 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15569 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
15571 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15573 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
15574 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15577 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15579 * sysdeps/i386/i686/multiarch/memset-sse2.S
15580 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15583 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15585 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
15586 indirect jump to jump table.
15588 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15590 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
15591 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15593 (MEMCPY): Likewise.
15595 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15597 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
15598 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15600 (MEMCPY): Likewise.
15602 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15604 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15605 _CET_NOTRACK before indirect jump to jump table.
15607 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15609 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
15610 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15613 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15615 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
15616 indirect jump to jump table.
15618 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15621 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15622 (LOCALES): Likewise.
15623 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15624 * localedata/locales/sah_RU: New file.
15625 * localedata/sah_RU.UTF-8.in: New file.
15627 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15629 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15631 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15632 _CET_ENDBR to indirect jump targets and adjust jump destination
15634 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15636 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15637 _CET_ENDBR to indirect jump targets and adjust jump destination
15639 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15641 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15642 _CET_ENDBR to indirect jump targets and adjust jump destination
15645 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15647 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15650 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15652 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15654 (_dl_tlsdesc_undefweak): Likewise.
15655 (_dl_tlsdesc_dynamic): Likewise.
15656 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15657 (_dl_tlsdesc_resolve_rel): Likewise.
15658 (_dl_tlsdesc_resolve_rela): Likewise.
15659 (_dl_tlsdesc_resolve_hold): Likewise.
15660 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15661 (_dl_tlsdesc_undefweak): Likewise.
15662 (_dl_tlsdesc_dynamic): Likewise.
15663 (_dl_tlsdesc_resolve_rela): Likewise.
15664 (_dl_tlsdesc_resolve_hold): Likewise.
15666 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15668 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15670 * sysdeps/x86_64/crti.S (_init): Likewise.
15673 2018-07-17 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
15676 * localedata/locales/os_RU (mon): Rename to...
15678 (mon): Import from CLDR (genitive case).
15680 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15682 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15683 cet-tunables.h> when CET is enabled.
15685 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15688 * configure.ac: Add --enable-cet.
15689 * configure: Regenerated.
15690 * elf/Makefille (all-built-dso): Add a comment.
15691 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15692 Include <dl-prop.h>.
15693 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15695 * elf/dl-open.c: Include <dl-prop.h>.
15696 (dl_open_worker): Call _dl_open_check.
15697 * elf/rtld.c: Include <dl-prop.h>.
15698 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15700 * sysdeps/generic/dl-prop.h: New file.
15701 * sysdeps/i386/dl-cet.c: Likewise.
15702 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15703 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15704 * sysdeps/x86/cet-tunables.h: Likewise.
15705 * sysdeps/x86/check-cet.awk: Likewise.
15706 * sysdeps/x86/configure: Likewise.
15707 * sysdeps/x86/configure.ac: Likewise.
15708 * sysdeps/x86/dl-cet.c: Likewise.
15709 * sysdeps/x86/dl-procruntime.c: Likewise.
15710 * sysdeps/x86/dl-prop.h: Likewise.
15711 * sysdeps/x86/libc-start.h: Likewise.
15712 * sysdeps/x86/link_map.h: Likewise.
15713 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15715 (_dl_runtime_profile): Likewise.
15716 (_dl_runtime_resolve_shstk): New.
15717 (_dl_runtime_profile_shstk): Likewise.
15718 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15720 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15721 (CFLAGS-.os): Likewise.
15722 (CFLAGS-.op): Likewise.
15723 (CFLAGS-.oS): Likewise.
15724 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15726 (tests-special): Add $(objpfx)check-cet.out.
15727 (cet-built-dso): New.
15728 (+$(cet-built-dso:=.note)): Likewise.
15729 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15730 ($(objpfx)check-cet.out): New.
15731 (generated): Add check-cet.out.
15732 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15734 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15735 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15736 (init_cpu_features): Call get_cet_status to check CET status
15737 and update dl_x86_feature_1 with CET status. Call
15738 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15739 (set_x86_shstk). Disable and lock CET in libc.a.
15740 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15741 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15742 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15743 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15744 (_CET_ENDBR): Define if not defined.
15745 (ENTRY): Add _CET_ENDBR.
15746 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15748 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15750 (_dl_runtime_profile): Likewise.
15752 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15755 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15756 restore r2 on longjmp.
15757 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15759 Added rules to build test tst-setjmp-bug21895-static.
15760 Added module setjmp-bug21895 and rules to build a shared object from it.
15761 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15762 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15764 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15766 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15767 * benchtests/bench-strstr.c: Likewise.
15768 * string/memmem.c (FASTSEARCH): Define.
15769 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15770 Add support for FASTSEARCH.
15771 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15772 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15773 (FASTSEARCH): Define.
15774 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15775 * string/test-strstr.c: Likewise.
15777 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15779 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15780 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15782 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15783 H.J. Lu <hongjiu.lu@intel.com>
15785 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15786 (__longjmp): Restore shadow stack pointer if shadow stack is
15787 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15788 isn't defined for __longjmp_cancel.
15789 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15790 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15791 and SHADOW_STACK_POINTER_OFFSET is defined.
15792 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15793 (setjmp): Save shadow stack pointer if shadow stack is enabled
15794 and SHADOW_STACK_POINTER_OFFSET is defined.
15795 * sysdeps/i386/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.
15798 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15800 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15801 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15802 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15803 Remove jmp_buf-ssp.sym.
15804 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15806 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15807 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15808 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15810 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15811 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15812 (__longjmp): Restore shadow stack pointer if shadow stack is
15813 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15814 isn't defined for __longjmp_cancel.
15815 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15816 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15817 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15819 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15822 * nptl/pthread_create.c: Include <tls-setup.h>.
15823 (__pthread_create_2_1): Call tls_setup_tcbhead.
15824 * sysdeps/generic/tls-setup.h: New file.
15825 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15826 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15827 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15829 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15831 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15832 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15833 (X86_FEATURE_1_SHSTK): Likewise.
15834 (CET_ENABLED): Likewise.
15835 (IBT_ENABLED): Likewise.
15836 (SHSTK_ENABLED): Likewise.
15838 2018-07-13 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
15841 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15842 (LOCALES): Likewise.
15843 * localedata/dsb_DE.UTF-8.in: New file.
15844 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15846 2018-07-12 Florian Weimer <fweimer@redhat.com>
15848 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15849 __mprotect, not mprotect.
15851 2018-07-11 Florian Weimer <fweimer@redhat.com>
15853 * io/Makefile (headers): Add bits/statx.h.
15855 2018-07-10 Mike FABIAN <mfabian@redhat.com>
15857 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15858 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15860 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15861 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15864 2018-07-10 Florian Weimer <fweimer@redhat.com>
15866 * io/Makefile (routines): Add statx.
15867 (tests-internal): Add tst-statx.
15868 * io/Versions (GLIBC_2.28): Export statx.
15869 * io/bits/statx.h: New file.
15870 * io/sys/stat.h [__USE_GNU]: Include it.
15871 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15872 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15874 * io/statx.c: New file.
15875 * io/statx_generic.: Likewise.
15876 * io/tst-statx.: Likewise.
15877 * include/bits/statx.h: Likewise.
15878 * sysdeps/unix/sysv/linux/kernel-features.h
15879 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15880 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15881 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15882 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15884 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15885 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15886 * sysdeps/unix/sysv/linux/statx.c: New file.
15887 * manual/filesys.texi: Note that statx is undocumented.
15888 * sysdeps/**/libc*.abilist: Update.
15890 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15892 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15893 a kernel issue which lead to test failure in some cases.
15895 2018-07-10 Florian Weimer <fweimer@redhat.com>
15898 * posix/regexec.c (check_node_accept_bytes): When comparing
15899 weights, do not compare an extra byte after the end of the
15902 2018-07-10 Florian Weimer <fweimer@redhat.com>
15904 * libio/readline.c: Fix copyright year.
15905 * libio/tst-readline.c Likewise.
15906 * nss/tst-nss-files-hosts-getent.c: Likewise.
15908 2018-07-06 Florian Weimer <fweimer@redhat.com>
15911 * nss/nss_files/files-XXX.c (internal_getent): Use
15912 __libc_readline_unlocked. Seek back to the start of the line if
15913 parsing failes with ERANGE.
15914 (get_contents_ret, get_contents): Remove.
15915 * nss/tst-nss-files-hosts-getent.c: New file.
15916 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15917 (tst-nss-files-hosts-getent): Link with -ldl.
15919 2018-07-06 Florian Weimer <fweimer@redhat.com>
15921 * include/stdio.h (__libc_readline_unlocked): Declare.
15922 (__ftello64, __fseeko64): Declare aliases.
15923 * libio/readline.c: New file.
15924 * libio/tst-readline.c: Likewise.
15925 (routines): Add readline.
15926 (tests-internal): Add tst-readlime.
15927 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15928 __libc_readline_unlocked.
15929 * libio/fseeko.c (__fseeko): Rename from fseeko.
15930 (fseeko): Add alias.
15931 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15932 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15933 (fseeko64): Add alias.
15934 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15935 * libio/ftello64.c (__ftello64): Rename from ftello64.
15936 (ftello64): Add alias.
15938 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15940 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15943 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15945 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15946 Use dl_hwcap without masking.
15947 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15948 Remove HWCAP_CPUID.
15950 2018-07-06 Florian Weimer <fweimer@redhat.com>
15952 * conform/conformtest.pl (checknamespace): Escape literal braces
15953 in regular expressions.
15955 2018-07-06 Amit Pawar <amit.pawar@amd.com>
15957 * sysdeps/x86/cpu-features.c (get_common_indeces):
15958 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15959 * sysdeps/x86/cpu-features.c (init_cpu_features):
15960 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15962 2018-07-05 Florian Weimer <fweimer@redhat.com>
15964 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15966 (CFLAGS-elf-init.oS): Likewise.
15968 2018-07-05 Florian Weimer <fweimer@redhat.com>
15969 Carlos O'Donell <carlos@redhat.com>
15971 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15972 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15973 with stack protector enabled because there is no risk of infinite
15976 2018-07-05 Maciej W. Rozycki <macro@mips.com>
15980 * libc-abis (ABSOLUTE): New ABI.
15981 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15982 * NEWS: Mention the new ABI.
15984 2018-07-05 Florian Weimer <fweimer@redhat.com>
15987 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15988 (RENAME_WHITEOUT): Define.
15989 [__USE_GNU] (renameat2): Declare.
15990 * stdio-common/Makefile (routines): Add renameat2.
15991 (tests): Add tst-renameat2.
15992 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15993 * stdio-common/renameat2.c: New file.
15994 * stdio-common/tst-renameat2.c: Likewise.
15995 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15996 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15998 * sysdeps/unix/sysv/linux/kernel-features.h
15999 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
16000 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16001 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
16002 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16003 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
16004 * sysdeps/unix/sysv/linux/sh/kernel-features.h
16005 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
16006 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16007 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
16008 * include/stdio.h (__renameat): Add alias for renameat.
16009 * stdio-common/renameat.c (__renameat): Rename from renameat.
16010 Add hidden definition and alias.
16011 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
16012 * sysdeps/mach/hurd/renameat.c: Likewise.
16013 * sysdeps/**/libc*.abilist: Add renameat2.
16015 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16017 * posix/bug-regex33.c: Fix build after regex sync.
16019 2018-07-04 Carlos O'Donell <carlos@redhat.com>
16022 * localedata/tst-langinfo-setlocale.c: New file.
16023 * localedata/tst-langinfo-setlocale-static.c: New file.
16024 * localedata/tst-langinfo-newlocale.c: New file.
16025 * localedata/tst-langinfo-newlocale-static.c: New file.
16026 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
16027 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
16028 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
16029 (tests-static): Remove tst-langinfo-static. Add
16030 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
16031 (tests-special): Remove $(objpfx)tst-langinfo.out,
16032 $(objpfx)tst-langinfo-static.out. Add
16033 $(objpfx)tst-langinfo-setlocale.out,
16034 $(objpfx)tst-langinfo-newlocale.out,
16035 $(objpfx)tst-langinfo-setlocale-static.out,
16036 $(objpfx)tst-langinfo-newlocale-static.out.
16037 ($(objpfx)tst-langinfo.out): Remove.
16038 ($(objpfx)tst-langinfo-static.out): Remove.
16039 ($(objpfx)tst-langinfo-newlocale.out): New target.
16040 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
16041 (test-xfail-tst-langinfo-newlocale-static): Add.
16042 ($(objpfx)tst-langinfo-setlocale.out): New target.
16043 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
16044 * localedata/tst-langinfo.c: Call test_locale.
16045 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
16048 2018-07-04 Florian Weimer <fweimer@redhat.com>
16050 testrun.sh: Implement --tool=strace, --tool=valgrind
16051 * Makefile (testrun-script): Define variable.
16052 (testrun.sh): Use variable.
16053 * manual/install.texi (Tools for Compilation): make 4.0 or later
16055 * configure.ac: Check for make 4.0 or later.
16056 * INSTALL: Regenerate.
16057 * configure: Likewise.
16059 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16065 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
16066 * posix/PCRE.tests: Remove invalid test.
16067 * posix/bug-regex28.c: Fix expected values for used syntax.
16068 * posix/bug-regex37.c: New file.
16069 * posix/bug-regex38.c: Likewise.
16070 * posix/regcomp.c: Sync with gnulib.
16071 * posix/regex.c: Likewise.
16072 * posix/regex.h: Likewise.
16073 * posix/regex_internal.c: Likewise.
16074 * posix/regex_internal.h: Likewise.
16075 * posix/regexec.c: Likewise.
16077 2018-06-26 Mike FABIAN <mfabian@redhat.com>
16080 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
16081 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
16082 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
16083 * localedata/unicode-gen/PropList.txt: likewise.
16084 * localedata/unicode-gen/UnicodeData.txt: likewise.
16085 * localedata/charmaps/UTF-8: Regenerate.
16086 * localedata/locales/i18n_ctype: likewise.
16087 * localedata/locales/tr_TR: likewise.
16088 * localedata/locales/translit_circle: likewise.
16089 * localedata/locales/translit_cjk_compat: likewise.
16090 * localedata/locales/translit_combining: likewise.
16091 * localedata/locales/translit_compat: likewise.
16092 * localedata/locales/translit_font: likewise.
16093 * localedata/locales/translit_fraction: likewise.
16095 2018-07-03 Florian Weimer <fweimer@redhat.com>
16098 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
16099 * stdio-common/tst-printf.sh: Adjust expected output.
16100 * LICENSES: Update.
16102 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16104 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
16107 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16109 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
16110 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
16111 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
16112 * stdio-common/tst-printfsz-islongdouble.c: New file.
16113 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
16114 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
16115 [subdir == stdio-common] (routines): Add ieee128-printf_size.
16116 [subdir == stdio-common] (tests-internal): Add
16117 test-printf-size-ieee128, and test-printf-size-ibm128.
16118 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
16119 (CFLAGS-test-printf-size-ibm128.c): New variables.
16120 [subdir == stdio-common] (tests-special): Add
16121 $(objpfx)test-printf-size-ieee128.out and
16122 $(objpfx)test-printf-size-ibm128.out.
16123 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
16124 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
16125 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
16126 __printf_sizeieee128.
16127 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
16129 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
16131 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
16134 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
16136 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
16137 (exp2f_inline): Likewise.
16138 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
16139 (__math_uflowf): Likewise.
16140 (__math_may_uflowf): Likewise.
16141 (__math_divzerof): Likewise.
16142 (__math_invalidf): Likewise.
16143 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
16144 (__math_oflowf): Likewise.
16145 (__math_uflowf): Likewise.
16146 (__math_may_uflowf): Likewise.
16147 (__math_divzerof): Likewise.
16148 (__math_invalidf): Likewise.
16150 2018-06-29 DJ Delorie <dj@redhat.com>
16151 Carlos O'Donell <carlos@redhat.com>
16154 * include/libc-symbols.h: Comment the freeres framework.
16155 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
16156 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
16157 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
16158 * dlfcn/dlerror.c: Include libc-symbols.h
16159 (__dlerror_main_freeres): New function.
16160 * dlfcn/dlfreeres.c: New file.
16161 * dlfcn/sdlfreeres.c: New file.
16162 * include/dlfcn.h: Declare __dlerror_main_freeres.
16163 * malloc/set-freeres.c: Declare __libdl_freeres, and
16164 __libpthread_freeres.
16165 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
16166 the releavant libraries are loaded.
16167 * malloc/thread-freeres.c: Add comments.
16168 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
16169 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
16170 * nptl/allocatestack.c (__nptl_free_stacks): New function.
16171 (__free_stacks): Rename to...
16172 (free_stacks): ...this. Mark static.
16173 (queue_stack): Call free_stacks.
16174 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
16175 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
16176 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
16177 ptr_freeres element from struct.
16178 (pthread_functions): Remove .ptr_freeres from struct initializer.
16179 [SHARED] (nptl_freeres): Remove.
16180 * nptl/nptlfreeres.c: New file.
16182 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
16183 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
16185 (__free_stacks): Rename to...
16186 (__nptl_stacks_freeres): ...this.
16187 (__shm_directory_freeres): Declare.
16188 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
16189 (__nptl_unwind_freeres): ...this.
16190 * resolv/res-close.c: Add comment.
16191 * resolv/resolv_conf.c: Include libc-symbols.h.
16192 * string/strerror_l.c: Include libc-symbols.h.
16193 * sunrpc/rpc_thread.c: Include libc-symbols.h.
16194 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
16195 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
16196 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
16198 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16200 * stdlib/tst-strfmon_l.c: Add tests for long double.
16202 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
16205 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
16206 * localedata/locales/dsb_DE: New file.
16208 2018-06-29 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
16211 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
16213 (alt_mon): New entry, import from CLDR (nominative case).
16215 2018-06-29 Sylvain Lesage <severo@rednegra.net>
16218 * localedata/locales/es_BO (LC_PAPER): Change to âcopy "en_US"â.
16220 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16222 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
16223 Use vector registers.
16225 * sysdeps/aarch64/multiarch/memmove_falkor.S
16226 (__memcpy_falkor): Use vector registers.
16228 2018-06-29 Martin Sebor <msebor@redhat.com>
16230 * manual/stdio.texi (Customizing Printf): Mention interaction
16231 with GCC built-ins.
16233 2018-06-29 Maciej W. Rozycki <macro@mips.com>
16236 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
16237 `st_value' is 0 if `st_shndx' is SHN_ABS.
16238 * elf/tst-absolute-zero.c: New file.
16239 * elf/tst-absolute-zero-lib.c: New file.
16240 * elf/tst-absolute-zero-lib.lds: New file.
16241 * elf/Makefile (tests): Add `tst-absolute-zero'.
16242 (modules-names): Add `tst-absolute-zero-lib'.
16243 (LDLIBS-tst-absolute-zero-lib.so): New variable.
16244 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
16245 ($(objpfx)tst-absolute-zero: New dependency.
16247 2018-06-29 Zack Weinberg <zackw@panix.com>
16249 * configure.ac: New command-line option --disable-crypt.
16250 Force --disable-nss-crypt when --disable-crypt is given, with a
16251 warning if it was explicitly enabled.
16252 * configure: Regenerate.
16253 * config.make.in: New boolean substitution variable $(build-crypt).
16254 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
16255 when $(build-crypt).
16256 * manual/install.texi: Document --disable-crypt.
16257 * INSTALL: Regenerate.
16259 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
16260 which is never set.
16261 * conform/Makefile: Only include libcrypt.a in
16262 linknamespace-libs-xsi and linknamespace-libs-XPG4
16263 when $(build-crypt).
16264 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
16265 USE_CRYPT to 1 when $(build-crypt).
16266 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
16267 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
16268 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
16270 2018-06-29 Zack Weinberg <zackw@panix.com>
16272 * crypt/crypt.h, posix/unistd.h: Update comments and
16273 prototypes for crypt and crypt_r.
16275 * manual/crypt.texi (Cryptographic Functions): New initial
16277 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
16278 (Unpredictable Bytes): Improve initial exposition. Clarify error
16279 behavior of getentropy and getrandom.
16280 * manual/examples/genpass.c: Generate a salt using getentropy
16281 instead of the current time. Use hash $5$ (SHA-2-256).
16282 * manual/examples/testpass.c: Demonstrate validation against
16283 hashes generated with three different one-way functions.
16285 * manual/intro.texi: crypt.texi does not need an overview
16288 * manual/nss.texi, manual/memory.texi, manual/socket.texi
16289 * manual/terminal.texi: Consistently refer to "passphrases"
16290 * instead of "passwords", and to the "user database" instead
16291 * of the "password database".
16292 * manual/users.texi: Similarly. Add notes about how actual
16293 passphrase hashes are now stored in the shadow database.
16294 Remove 20-year-old junk todo note.
16296 2018-06-29 Zack Weinberg <zackw@panix.com>
16298 * manual/crypt.texi: Use a normal top-level @node declaration.
16299 Move most of the introductory text to the 'crypt' section.
16300 Move the example programs below the @deftypefun for 'crypt_r'.
16301 Move the 'getpass' section...
16302 * manual/terminal.texi: ...here.
16304 2018-06-29 Zack Weinberg <zackw@panix.com>
16305 Florian Weimer <fweimer@redhat.com>
16307 * posix/unistd.h: Do not declare encrypt.
16308 (_XOPEN_CRYPT): Remove macro definition.
16309 (crypt): Declare only for _USE_MISC.
16310 * stdlib/stdlib.h: Do not declare setkey.
16311 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
16312 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
16314 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
16315 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
16316 into compat symbols. Don't define initial_perm if it's not
16318 * crypt/cert.c: Link explicitly with the expected versions for
16319 setkey and encrypt. If they are not available at all, mark
16320 the test as unsupported.
16322 * sunrpc/des_crypt.c: Unconditionally block linkage with
16323 cbc_crypt and ecb_crypt for new binaries.
16324 * sunrpc/des_soft.c: Unconditionally block linkage with
16325 des_setparity for new binaries.
16327 * manual/crypt.texi: Remove the entire "DES Encryption"
16328 section. Also remove the paragraph talking about FIPS 140-2
16329 from the introduction.
16330 * manual/string.texi (strfry, memfrob): Revise. Recommend use
16331 of libgcrypt for "real" encryption, not DES.
16332 * manual/conf.texi (Constants for Sysconf): Mention that
16333 _XOPEN_CRYPT is no longer impelemented.
16335 * conform/data/unistd.h-data: Remove crypt function declaration.
16337 2018-06-29 Florian Weimer <fweimer@redhat.com>
16340 * malloc/hooks.c: Update comments on restoring of dumped heaps.
16341 (disallow_malloc_check): Remove variable.
16342 (__malloc_check_init): Adjust.
16343 (malloc_set_state): Update comment.
16344 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
16347 2018-06-29 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
16350 * localedata/locales/ast_ES (mon): Rename to...
16352 (mon): Import from CLDR (genitive case).
16354 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
16355 Jakub Sitnicki <jkbs@redhat.com>
16358 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
16359 on NLM_F_DUMP_INTR.
16361 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
16363 * manual/llio.texi: Remove spurious space.
16365 2018-06-28 Florian Weimer <fweimer@redhat.com>
16368 * time/bits/types/struct_timespec.h: Change header inclusion guard to
16371 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16373 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
16374 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
16375 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
16376 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
16377 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
16378 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
16379 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
16381 2018-06-27 Maciej W. Rozycki <macro@mips.com>
16384 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
16385 Copy and null-terminate entries that are not terminated, in
16386 addition to empty ones.
16388 2018-06-27 Florian Weimer <fweimer@redhat.com>
16391 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
16392 (extend_alloca_account): Remove.
16393 * manual/stdio.texi (Variable Arguments Output): Update comment.
16395 2018-06-27 Joseph Myers <joseph@codesourcery.com>
16397 * nptl/sockperf.c: Remove file.
16399 2018-06-27 Florian Weimer <fweimer@redhat.com>
16402 * elf/dl-deps.c (_dl_map_object_deps): Use struct
16403 scratch_buffer instead of extend_alloca.
16405 2018-06-27 Florian Weimer <fweimer@redhat.com>
16408 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
16409 scratch_buffer instead of extend_alloca. Update comments.
16411 2018-06-27 Florian Weimer <fweimer@redhat.com>
16414 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
16415 instead of extend_alloca.
16417 2018-06-26 Joseph Myers <joseph@codesourcery.com>
16420 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
16421 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
16423 * scripts/test-installation.pl: Put temporary files in build
16424 directory, not /tmp.
16425 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
16426 (CFLAGS-bug4.c): Likewise.
16427 (CFLAGS-bug5.c): Likewise.
16428 (CFLAGS-test-fseek.c): Likewise.
16429 (CFLAGS-test-popen.c): Likewise.
16430 (CFLAGS-test_rdwr.c): Likewise.
16431 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
16433 * stdio-common/bug4.c (main): Likewise.
16434 * stdio-common/bug5.c (main): Likewise.
16435 * stdio-common/test-fseek.c (TESTFILE): Likewise.
16436 * stdio-common/test-popen.c (do_test): Likewise.
16437 * stdio-common/test_rdwr.c (main): Likewise.
16439 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
16441 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
16442 (sem_open): Set sem.newsem.pad to zero for valgrind.
16444 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16447 * NEWS: Mention fcntl64 addition.
16448 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
16449 * login/utmp_file.c: Likewise.
16450 * sysdeps/posix/fdopendir.c: Likewise.
16451 * sysdeps/posix/opendir.c: Likewise.
16452 * sysdeps/unix/pt-fcntl.c: Likewise.
16453 * include/fcntl.h (__libc_fcntl64, __fcntl64,
16454 __fcntl64_nocancel_adjusted): New prototype.
16455 (__fcntl_nocancel_adjusted): Remove prototype.
16456 * io/Makefile (routines): Add fcntl64.
16457 (CFLAGS-fcntl64.c): New rule.
16458 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
16459 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
16460 * io/fcntl.h (fcntl64): Add prototype and redirect if
16461 __USE_FILE_OFFSET64 is defined.
16462 * io/fcntl64.c: New file.
16463 * manual/llio.text: Add a note for which commands fcntl acts a
16464 cancellation point.
16465 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
16466 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
16467 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
16469 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
16470 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
16472 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
16473 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
16474 to __fcntl64_nocancel.
16475 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
16476 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
16477 to __fcntl64_nocancel.
16478 * sysdeps/generic/not-cancel.h: Likewise.
16479 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
16480 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
16481 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
16482 (fcntl64): New symbol.
16483 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16484 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16485 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16488 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16489 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16490 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16491 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16492 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16493 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
16494 fcntl64): Likewise.
16495 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16496 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
16497 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16498 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16499 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16500 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16501 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16502 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16503 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16508 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16509 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16510 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16512 2018-06-26 Florian Weimer <fweimer@redhat.com>
16514 Run thread shutdown functions in an explicit order.
16515 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
16517 (__libc_thread_freeres): Call thread shutdown functions
16519 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
16520 * include/string.h (__strerror_thread_freeres): Declare.
16521 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
16522 arena_thread_freeres. No longer static. Remove thread shutdown
16524 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
16526 * resolv/res-close.c (__res_thread_freeres): Renamed from
16527 res_thread_freeres. No longer static. Remove thread shutdown
16529 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
16530 * resolv/resolv_conf.c (freeres): Remove incorrect section
16531 attribute and use libc_freeres_fn.
16532 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
16533 strerror_thread_freeres. No longer static. Remove thread
16534 shutdown hook registration.
16535 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
16536 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
16537 shutdown hook registration.
16538 * Makerules (shlib.lds): Do not provide section boundary symbols
16539 for __libc_thread_subfreeres.
16540 * manual/memory.texi (Basic Allocation): Update comment.
16542 2018-06-26 Florian Weimer <fweimer@redhat.com>
16544 Remove always-defined _RPC_THREAD_SAFE_ macro.
16545 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
16546 Do not define _RPC_THREAD_SAFE_.
16547 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
16549 * sunrpc/clnt_perr.c: Likewise.
16550 * sunrpc/clnt_raw.c: Likewise.
16551 * sunrpc/clnt_simp.c: Likewise.
16552 * sunrpc/key_call.c: Likewise.
16553 * sunrpc/rpc_common.c: Likewise.
16554 * sunrpc/rpc_main.c: Likewise.
16555 * sunrpc/rpc_thread.c: Likewise.
16556 * sunrpc/svc.c: Likewise.
16557 * sunrpc/svc_raw.c: Likewise.
16558 * sunrpc/svc_simple.c: Likewise.
16559 * sumrpc/svcauth_des.c: Likewise.
16561 2018-06-26 Florian Weimer <fweimer@redhat.com>
16563 * libio/Makefile (tests-internal): Add tst-vtables,
16564 tst-vtables-interposed.
16565 * libio/tst-vtables.c: New file.
16566 * libio/tst-vtables-common.c: Likewise.
16567 * libio/tst-vtables-interposed.c: Likewise.
16569 2018-06-26 Florian Weimer <fweimer@redhat.com>
16571 * support/support_test_main.c (support_test_main): Only call
16572 setvbuf if not disables.
16573 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
16574 * support/test-driver.h (struct test_config): Add no_setvbuf member.
16576 2018-06-26 Florian Weimer <fweimer@redhat.com>
16579 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
16581 2018-06-25 Florian Weimer <fweimer@redhat.com>
16584 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16585 Use struct scratch_buffer instead of extend_alloca.
16587 2018-06-25 Florian Weimer <fweimer@redhat.com>
16590 * nss/getent.c (initgroups_keys): Use dynarray instead of
16593 2018-06-25 Florian Weimer <fweimer@redhat.com>
16596 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
16597 Use struct scratch_buffer instead of extend_alloca.
16599 2018-06-25 Florian Weimer <fweimer@redhat.com>
16602 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
16603 back to malloc directly, without stack allocations.
16605 2018-06-25 Florian Weimer <fweimer@redhat.com>
16608 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
16611 2018-06-25 Florian Weimer <fweimer@redhat.com>
16614 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
16616 * nscd/hstcache.c (addhstbyX): Likewise.
16617 * nscd/pwdcache.c (addpwbyX): Likewise.
16618 * nscd/servicescache.c (addservbyX): Likewise.
16620 2018-06-25 Florian Weimer <fweimer@redhat.com>
16623 * nscd/connections.c (read_cmdline): New function.
16624 (restart): Use it. Update comment.
16626 2018-06-25 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
16629 * localedata/locales/csb_PL (mon): Rename to...
16631 (abmon): Rename to...
16632 (ab_alt_mon): This.
16633 (mon): Add with proper genitive forms, copy from Wikipedia.
16636 2018-06-25 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
16639 * localedata/locales/csb_PL (mon): Fix typos:
16640 "ĆĆŒĂ«kwiĂŽt" -> "ĆĆŒĂ«kwiat" (April); "lĂ«pinc" -> "lĂ«piĆc" (July).
16641 (yesstr): Add, value is "jo".
16642 (nostr): Add, value is "nié".
16644 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16646 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16647 all log1p and significand functions on m680x0.
16648 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16649 of s_significand.c..
16650 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16651 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16652 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16653 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16654 s_log1p.c and include it..
16656 2018-06-21 Vincent Chen <vincentc@andestech.com>
16658 * elf/elf.h (R_NDS32_NONE): New define.
16659 (R_NDS32_32_RELA): Likewise.
16660 (R_NDS32_COPY): Likewise.
16661 (R_NDS32_GLOB_DAT): Likewise.
16662 (R_NDS32_JUMP_SLOT): Likewise.
16663 (R_NDS32_RELATIVE): Likewise.
16664 (R_NDS32_TLS_TPOFF): Likewise.
16665 (R_NDS32_TLS_DESC): Likewise.
16667 2018-06-21 Mark Wielaard <mark@klomp.org>
16669 * elf/elf.h (R_BPF_MAP_FD): Removed.
16670 (R_BPF_64_64, R_BPF_64_32): New.
16672 2018-06-21 Florian Weimer <fweimer@redhat.com>
16675 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16676 Renamed from libc_feholdsetround_ctx.
16677 (default_libc_feresetround_ctx): Renamed from
16678 libc_feresetround_ctx.
16679 (default_libc_feholdsetround_noex_ctx): Renamed from
16680 libc_feholdsetround_noex_ctx.
16681 (default_libc_feresetround_noex_ctx): Renamed from
16682 libc_feresetround_noex_ctx.
16683 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16684 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16685 forwardning to the old implementations under the new names.
16686 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16687 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16688 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16689 (libc_feresetround_ctx): Forward to default implements for i386
16690 and MATH_SET_BOTH_ROUNDING_MODES.
16691 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16692 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16694 2018-06-20 Joseph Myers <joseph@codesourcery.com>
16696 * string/tst-cmp.c: Include <libc-diag.h>.
16697 (strncmp_max): Disable -Wstringop-overflow= around call to
16699 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16702 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16703 (main): Disable -Wunused-value around call to strpbrk.
16704 * string/bug-strspn1.c: Include <libc-diag.h>.
16705 (main): Disable -Wunused-value around call to strspn.
16707 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16708 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16710 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16711 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16713 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16715 * math/Makefile (libm-calls): Move s_significandF to...
16716 (gen-libm-calls): ... here.
16717 * math/s_significand_template.c: New file.
16718 * math/s_significand.c: Removed.
16719 * math/s_significandf.c: Removed.
16720 * math/s_significandl.c: Removed.
16721 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16722 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16724 * math/e_exp2_template.c (declare_mgen_finite_alias,
16725 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16726 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16727 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16729 2018-06-20 Florian Weimer <fweimer@redhat.com>
16731 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16733 2018-06-19 Joseph Myers <joseph@codesourcery.com>
16736 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16737 floating-point number to strtod functions rather than possibly
16738 negating result of those functions.
16739 * stdio-common/tst-scanf-round.c: New file.
16740 * stdio-common/Makefile (tests): Add tst-scanf-round.
16741 ($(objpfx)tst-scanf-round): Depend on $(libm).
16743 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16745 * sysdeps/mach/hurd/localplt.data: Move to...
16746 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16747 R_386_GLOB_DAT like on Linux i386.
16749 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16751 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16752 (SHM_STAT_ANY): New macro.
16753 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16754 (SHM_STAT_ANY): Likewise.
16755 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16756 (SHM_STAT_ANY): Likewise.
16757 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16758 (SHM_STAT_ANY): Likewise.
16759 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16760 (SHM_STAT_ANY): Likewise.
16761 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16762 (SHM_STAT_ANY): Likewise.
16763 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16764 (SHM_STAT_ANY): Likewise.
16765 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16766 (SHM_STAT_ANY): Likewise.
16767 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16768 (SHM_STAT_ANY): Likewise.
16769 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16770 (SHM_STAT_ANY): Likewise.
16771 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16772 (SHM_STAT_ANY): Likewise.
16773 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16774 (SHM_STAT_ANY): Likewise.
16776 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16777 (SEM_STAT_ANY): New macro.
16778 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16779 (SEM_STAT_ANY): Likewise.
16780 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16781 (SEM_STAT_ANY): Likewise.
16782 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16783 (SEM_STAT_ANY): Likewise.
16784 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16785 (SEM_STAT_ANY): Likewise.
16786 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16787 (SEM_STAT_ANY): Likewise.
16788 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16789 (SEM_STAT_ANY): Likewise.
16790 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16791 (SEM_STAT_ANY): Likewise.
16792 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16793 (SEM_STAT_ANY): Likewise.
16794 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16795 (SEM_STAT_ANY): Likewise.
16797 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16798 (MSG_STAT_ANY): New macro.
16799 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16800 (MSG_STAT_ANY): Likewise.
16801 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16802 (MSG_STAT_ANY): Likewise.
16803 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16804 (MSG_STAT_ANY): Likewise.
16805 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16806 (MSG_STAT_ANY): Likewise.
16807 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16808 (MSG_STAT_ANY): Likewise.
16809 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16810 (MSG_STAT_ANY): Likewise.
16811 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16812 (MSG_STAT_ANY): Likewise.
16813 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16814 (MSG_STAT_ANY): Likewise.
16815 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16816 (MSG_STAT_ANY): Likewise.
16818 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16819 (MAP_TYPE): Change value to 0x2b.
16821 2018-06-18 Florian Weimer <fweimer@redhat.com>
16824 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16825 socket with SOCK_CLOEXEC.
16827 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16830 * sysdeps/powerpc/powerpc64/le/Makefile
16831 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16832 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16833 (gnulib-tests): Also add $(f128-loader-link) for
16834 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16836 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16838 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16839 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16841 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16842 (sendfile64): New strong alias.
16843 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16844 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16845 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
16846 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16848 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16849 ___pthread_get_cleanup_stack.
16850 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
16851 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16852 * mach/shortcut.awk: Make syscall stubs include
16853 <mach-shortcuts-hidden.h> and add hidden definition.
16854 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
16855 (__mach_msg): Add hidden prototype.
16856 * mach/msg.c: Include <mach.h>.
16857 (__mach_msg): Add hidden definition.
16858 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16859 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16860 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16861 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
16862 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16863 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
16864 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16865 prototype and definition.
16866 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16867 hidden target for _hurd_self_sigstate.
16869 2018-06-15 Joseph Myers <joseph@codesourcery.com>
16872 * stdlib/tst-strtod-nan-sign-main.c: New file.
16873 * stdlib/tst-strtod-nan-sign.c: Likewise.
16874 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16875 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16876 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16877 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16878 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16880 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16883 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16886 2018-06-14 Florian Weimer <fweimer@redhat.com>
16889 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16890 that the result stays within the ISO-8859-1 range.
16891 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16892 characters are defined in IBM273.
16894 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16896 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16897 __mach_task_self): Remove attribute_hidden.
16899 2018-06-14 Joseph Myers <joseph@codesourcery.com>
16901 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16902 ignore -Wrestrict for one test.
16904 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16905 Szabolcs Nagy <szabolcs.nagy@arm.com>
16907 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16909 2018-06-14 Florian Weimer <fweimer@redhat.com>
16911 * scripts/update-abilist.sh: Accept empty list of files to patch.
16913 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16915 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16916 test-xfail-check-abi-libmachuser): Add.
16917 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16918 __libc_read and __libc_write to __read and __write.
16919 * sysdeps/hurd/include/hurd/port.h: New file.
16920 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16921 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16922 __thread_switch, __evc_wait): Move declarations to...
16923 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16925 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16926 use PLT to call _hurd_self_sigstate.
16928 2018-06-13 Joseph Myers <joseph@codesourcery.com>
16931 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16932 MAX_EXP as overflowing.
16933 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16935 (round_str): Output also whether result overflows in each rounding
16937 * stdlib/tst-strtod-round-data: Add more tests.
16938 * stdlib/tst-strtod-round-data.h: Regenerated.
16939 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16940 (TEST): Handle extra arguments for overflow flags.
16941 (struct test_overflow): New type.
16942 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16943 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16944 (test_in_one_mode): Take argument with overflow information.
16945 (do_test): Update calls to test_in_one_mode.
16947 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16949 * elf/dl-load (_dl_dst_substitute): Correct comment.
16950 (_dl_dst_count): Likewise.
16952 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16953 lll_futex_timed_wait.
16955 2018-06-12 Joseph Myers <joseph@codesourcery.com>
16958 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16960 * math/test-nan-const.c: New file.
16961 * math/Makefile (tests): Add test-nan-const.
16962 (CFLAGS-test-nan-const.c): New variable.
16964 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16966 * benchtests/scripts/compare_strings.py (process_results): Add
16967 funcs argument. Compare only functions which are selected.
16968 (main): Check if base function is among selected functions.
16969 Pass selected functions to process_results.
16970 (__main__): Add -f/--functions argument.
16972 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16973 Hongbo Zhang <hongbo.zhang@linaro.org>
16975 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16976 __memcpy_falkor for phecda core.
16977 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16978 __memmove_falkor for phecda core.
16979 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16980 __memset_falkor for phecda core.
16981 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16983 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16984 macro to identify phecda core.
16986 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16987 Andreas Schwab <schwab@suse.de>
16988 Dmitry V. Levin <ldv@altlinux.org>
16989 Florian Weimer <fweimer@redhat.com>
16996 * elf/dl-dst.h: Remove DL_DST_COUNT.
16997 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16998 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16999 (is_dst): Comment. Support ELF gABI.
17000 (_dl_dst_count): Comment. Simplify and count DSTs.
17001 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
17002 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
17005 2018-06-12 Zack Weinberg <zackw@panix.com>
17007 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
17008 * sysdeps/unix/sysv/linux/dl-sysdep.c
17009 Include not-cancel.h. Use __close_nocancel instead of __close,
17010 __open64_nocancel instead of __open, __read_nocancel instead of
17011 __libc_read, and __write_nocancel instead of __libc_write.
17013 * csu/check_fds.c (check_one_fd)
17014 * sysdeps/posix/fdopendir.c (__fdopendir)
17015 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
17016 instead of __fcntl and/or __libc_fcntl.
17018 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
17019 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
17020 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
17021 Use __open64_nocancel instead of __open_nocancel.
17023 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
17024 hidden_proto declarations to the end and issue them if either
17025 IS_IN(libc) or IS_IN(rtld).
17026 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
17027 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
17028 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
17029 read_nocancel, waitpid_nocancel, write_nocancel.
17031 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
17032 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
17033 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
17035 * nptl/pt-fcntl.c: New file.
17036 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
17037 (libpthread-routines): Add pt-fcntl.
17038 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
17039 (__libc_fcntl): Remove attribute_hidden.
17040 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
17041 __fcntl_nocancel_adjusted, not fcntl_common.
17042 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
17043 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
17044 to fcntl_nocancel.c.
17045 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
17046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
17047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17048 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
17050 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
17051 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
17052 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
17053 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
17054 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
17055 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
17056 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
17057 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
17058 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
17059 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
17060 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
17061 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
17062 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
17063 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
17064 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
17065 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
17066 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
17067 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
17068 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
17069 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
17071 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
17072 libpthread-routines.
17073 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
17076 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
17077 __libc_read, and __write instead of __libc_write. Define
17078 __open64 in addition to __open.
17080 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
17084 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
17085 to _private_tm[3] and add __glibc_reserved2.
17086 Add _Static_assert of offset of __private_ss == 0x30.
17087 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
17088 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
17090 2018-06-12 Florian Weimer <fweimer@redhat.com>
17092 x86: Make strncmp usable from rtld.
17093 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
17094 __strncmp_ia32 if in libc (and not in rtld).
17095 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
17096 strncmp if not in libc (and not to __strncmp_sse2).
17098 2018-06-12 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
17101 * localedata/locales/gd_GB (mon): Rename to...
17103 (mon): Import from CLDR (genitive case).
17104 * localedata/locales/hsb_DE (mon): Rename to...
17106 (mon): Import from CLDR (genitive case).
17107 * localedata/locales/wa_BE (mon): Rename to...
17109 (mon): Add, fill with the proper genitive forms, but CLDR data
17110 is incomplete; completed according to the comments in this file.
17111 (d_t_fmt): Do not use "di" before the month name, no longer needed.
17113 * localedata/locales/wa_BE (country_name): Reword
17114 "Beljike" -> "Beldjike".
17116 2018-06-11 Joseph Myers <joseph@codesourcery.com>
17119 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
17120 cases of non-finite arguments.
17121 * math/libm-test-fma.inc (fma_test_data): Add more tests.
17123 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
17126 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
17128 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17131 * include/unistd.h (__execvpex): New prototype.
17132 * posix/Makefile (tests): Add tst-spawn4.
17133 (tests-internal): Add tst-spawn4-compat.
17134 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
17135 * posix/tst-spawn4-compat.c: New file.
17136 * posix/tst-spawn4.c: Likewise.
17137 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
17138 binaries as shell scripts.
17139 * sysdeps/posix/spawni.c (__spawni): Likewise.
17141 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
17144 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
17145 ($(all-built-dso:=.dynsym): New target.
17146 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
17147 ($(objpfx)check-initfini.out): New target.
17148 (generated): Add check-initfini.out.
17149 * scripts/check-initfini.awk: New file.
17150 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
17152 * sysdeps/alpha/crti.S (_init): Mark as hidden.
17154 * sysdeps/arm/crti.S (_init): Mark as hidden.
17156 * sysdeps/hppa/crti.S (_init): Mark as hidden.
17158 * sysdeps/i386/crti.S (_init): Mark as hidden.
17160 * sysdeps/ia64/crti.S (_init): Mark as hidden.
17162 * sysdeps/m68k/crti.S (_init): Mark as hidden.
17164 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
17166 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
17168 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
17170 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
17172 * sysdeps/nios2/crti.S (_init): Mark as hidden.
17174 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
17176 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
17178 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
17180 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
17182 * sysdeps/sh/crti.S (_init): Mark as hidden.
17184 * sysdeps/sparc/crti.S (_init): Mark as hidden.
17186 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
17189 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17191 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
17192 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
17193 and TF redirection to KFtype and KF only when the default
17194 long double type is not the IEEE 128-bit floating point type.
17196 2018-06-05 Joseph Myers <joseph@codesourcery.com>
17198 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
17200 (HWCAP_USCAT): Likewise.
17201 (HWCAP_ILRCPC): Likewise.
17202 (HWCAP_FLAGM): Likewise.
17203 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
17205 (_dl_aarch64_cap_flags): Add new flag names.
17207 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17208 (MAP_FIXED_NOREPLACE): New macro.
17209 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
17210 (MAP_FIXED_NOREPLACE): Likewise.
17211 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
17212 (MAP_FIXED_NOREPLACE): Likewise.
17213 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17214 (MAP_FIXED_NOREPLACE): Likewise.
17215 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17216 (MAP_FIXED_NOREPLACE): Likewise.
17217 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17218 (MAP_FIXED_NOREPLACE): Likewise.
17219 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17220 (MAP_FIXED_NOREPLACE): Likewise.
17221 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
17222 (MAP_FIXED_NOREPLACE): Likewise.
17223 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17224 (MAP_FIXED_NOREPLACE): Likewise.
17225 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
17226 (MAP_FIXED_NOREPLACE): Likewise.
17227 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17228 (MAP_FIXED_NOREPLACE): Likewise.
17229 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17230 (MAP_FIXED_NOREPLACE): Likewise.
17231 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
17232 (MAP_FIXED_NOREPLACE): Likewise.
17233 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
17234 (MAP_FIXED_NOREPLACE): Likewise.
17235 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
17236 (MAP_FIXED_NOREPLACE): Likewise.
17238 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17241 2018-06-04 Joseph Myers <joseph@codesourcery.com>
17243 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17246 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17248 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
17250 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
17252 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17254 * benchtests/scripts/compare_string.py: (process_results) Catch
17255 exception in non-existent base_func and catch exception in
17256 non-existent attribute.
17257 (parse_file) Catch exception if input file does not exist.
17259 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17261 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
17262 options to avoid diff calculation and omit header, respectively.
17263 (main): process --no-diff and --no-header
17265 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17266 H.J. Lu <hongjiu.lu@intel.com>
17268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17269 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
17271 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17272 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
17273 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
17274 and __wcsncmp_sse2.
17275 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
17276 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
17277 AVX unaligned load is fast and vzeroupper is preferred.
17278 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
17279 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
17280 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
17281 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
17282 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
17283 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
17284 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
17285 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
17286 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
17287 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
17290 2018-06-01 Florian Weimer <fweimer@redhat.com>
17292 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
17293 configuring with --disable-multi-arch, building with
17294 â-march=x86-64 -mtune=generic -mfpmath=sseâ and running on a
17297 2018-06-01 Florian Weimer <fweimer@redhat.com>
17299 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
17300 results from building with â-march=x86-64 -mtune=generic
17301 -mfpmath=sseâ and running on a Haswell-era CPU.
17303 2018-06-01 Joseph Myers <joseph@codesourcery.com>
17306 * soft-fp/sqrttf2.c: Remove file.
17307 * soft-fp/sqrtdf2.c: Move to ....
17308 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
17310 (__sqrtdf2): Make conditional on
17311 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
17313 * soft-fp/sqrtsf2.c: Move to ....
17314 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
17316 (__sqrtsf2): Make conditional on
17317 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
17319 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
17320 (gcc-double-routines): Remove sqrtdf2.
17321 (gcc-quad-routines): Remove sqrttf2.
17322 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17323 Do not filter out sqrtsf2 and sqrtdf2.
17324 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17325 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
17327 2018-06-01 Florian Weimer <fweimer@redhat.com>
17329 * sysdeps/generic/libcidn.abilist: Remove file.
17331 2018-06-01 Florian Weimer <fweimer@redhat.com>
17334 * libio/strfile.h (struct _IO_str_fields): Rename members to
17335 discourage their use and add comment.
17336 (_IO_STR_DYNAMIC): Remove unused macro.
17337 * libio/strops.c (_IO_str_init_static_internal): Do not use
17338 callback pointers. Call malloc and free.
17339 (_IO_str_overflow): Do not use callback pointers. Call malloc
17341 (enlarge_userbuf): Likewise.
17342 (_IO_str_finish): Call free.
17343 * libio/wstrops.c (_IO_wstr_init_static): Initialize
17344 _allocate_buffer_unused.
17345 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
17347 (enlarge_userbuf): Likewise.
17348 (_IO_wstr_finish): Call free.
17349 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
17350 _allocate_buffer_unused, _free_buffer_unused.
17351 * libio/memstream.c (__open_memstream): Likewise.
17352 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17353 * libio/wmemstream.c (open_wmemstream): Likewise.
17355 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
17357 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
17360 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17362 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
17363 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
17364 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
17366 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
17368 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
17370 2018-05-29 Florian Weimer <fweimer@redhat.com>
17372 * support/Makefile (libsupport-routines): Add
17373 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
17374 xpthread_barrierattr_setpshared.
17375 * support/xpthread_barrierattr_destroy.c: New file.
17376 * support/xpthread_barrierattr_init.c: Likewise.
17377 * support/xpthread_barrierattr_setpshared.c: Likewise.
17379 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
17382 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
17383 _r_debug and update DT_DEBUG for debugger.
17385 2018-05-29 Florian Weimer <fweimer@redhat.com>
17387 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
17388 (tst-strtod5i.out): Likewise.
17390 2018-05-25 Joseph Myers <joseph@codesourcery.com>
17392 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
17393 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
17394 (sparc64-quad-routines): New variable. Moved from ....
17395 [$(subdir) = soft-fp] (sysdep_routines): Add
17396 $(sparc64-quad-routines). Moved from ....
17397 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
17398 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
17399 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
17401 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
17402 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
17403 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
17404 * sysdeps/sparc/sparc64/qp_add.c: ... here.
17405 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
17406 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
17407 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
17408 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
17409 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
17410 * sysdeps/sparc/sparc64/qp_div.c: ... here.
17411 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
17412 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
17413 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
17414 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
17415 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
17416 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
17417 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
17418 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
17419 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
17420 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
17421 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
17422 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
17423 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
17424 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
17425 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
17426 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
17427 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
17428 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
17429 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
17430 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
17431 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
17432 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
17433 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
17434 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
17435 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
17436 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
17437 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
17438 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
17439 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
17440 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
17441 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
17442 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
17443 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
17444 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
17445 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
17446 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
17447 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
17448 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
17449 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
17450 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
17451 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
17452 * sysdeps/sparc/sparc64/qp_util.c: ... here.
17453 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
17454 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
17455 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
17456 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
17457 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
17458 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
17460 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
17461 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
17462 (sparc32-quad-routines): New variable. Moved from ....
17463 [$(subdir) = soft-fp] (sysdep_routines): Add
17464 $(sparc32-quad-routines). Moved from ....
17465 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
17466 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
17468 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
17469 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
17470 * sysdeps/sparc/sparc32/q_add.c: ... here.
17471 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
17472 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
17473 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
17474 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
17475 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
17476 * sysdeps/sparc/sparc32/q_div.c: ... here.
17477 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
17478 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
17479 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
17480 * sysdeps/sparc/sparc32/q_feq.c: ... here.
17481 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
17482 * sysdeps/sparc/sparc32/q_fge.c: ... here.
17483 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
17484 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
17485 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
17486 * sysdeps/sparc/sparc32/q_fle.c: ... here.
17487 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
17488 * sysdeps/sparc/sparc32/q_flt.c: ... here.
17489 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
17490 * sysdeps/sparc/sparc32/q_fne.c: ... here.
17491 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
17492 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
17493 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
17494 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
17495 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
17496 * sysdeps/sparc/sparc32/q_mul.c: ... here.
17497 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
17498 * sysdeps/sparc/sparc32/q_neg.c: ... here.
17499 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
17500 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
17501 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
17502 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
17503 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
17504 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
17505 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
17506 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
17507 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
17508 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
17509 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
17510 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
17511 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
17512 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
17513 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
17514 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
17515 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
17516 * sysdeps/sparc/sparc32/q_sub.c: ... here.
17517 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
17518 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
17519 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
17520 * sysdeps/sparc/sparc32/q_util.c: ... here.
17521 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
17522 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
17523 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
17524 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
17526 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17527 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17529 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
17530 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
17531 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
17532 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
17534 2018-05-24 Joseph Myers <joseph@codesourcery.com>
17536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
17538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17540 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
17541 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
17543 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17546 * math/math.h [C++] (iseqsig): Fix parameter type for the long
17549 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17551 * sysdeps/sh/Implies: Remove sh/soft-fp.
17552 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
17553 * sysdeps/sh/sfp-machine.h: ... here.
17555 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17557 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17558 (__mempcpy_erms): Skip zero length.
17559 (__memmove_erms): Likewise.
17560 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17561 (__memset_erms): Likewise.
17563 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17565 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
17566 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17567 Add functions moved from ....
17568 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
17569 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
17570 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
17572 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
17573 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
17574 * sysdeps/alpha/e_sqrtl.c: ... here.
17575 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
17576 * sysdeps/alpha/local-soft-fp.h: ... here.
17577 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
17578 * sysdeps/alpha/ots_add.c: ... here.
17579 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
17580 * sysdeps/alpha/ots_cmp.c: ... here.
17581 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
17582 * sysdeps/alpha/ots_cmpe.c: ... here.
17583 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
17584 * sysdeps/alpha/ots_cvtqux.c: ... here.
17585 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
17586 * sysdeps/alpha/ots_cvtqx.c: ... here.
17587 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
17588 * sysdeps/alpha/ots_cvttx.c: ... here.
17589 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
17590 * sysdeps/alpha/ots_cvtxq.c: ... here.
17591 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
17592 * sysdeps/alpha/ots_cvtxt.c: ... here.
17593 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
17594 * sysdeps/alpha/ots_div.c: ... here.
17595 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
17596 * sysdeps/alpha/ots_mul.c: ... here.
17597 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
17598 * sysdeps/alpha/ots_nintxq.c: ... here.
17599 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
17600 * sysdeps/alpha/ots_sub.c: ... here.
17601 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
17602 * sysdeps/alpha/sfp-machine.h: ... here.
17604 2018-05-23 Florian Weimer <fweimer@redhat.com>
17612 Switch to extern IDNA implementation (libidn2).
17613 * libidn: Remove subdirectory.
17614 * LICENSES: Do not mention licensing conditions for the removed
17616 * config.h.in (HAVE_LIBIDN): Remove.
17617 * include/dlfcn.h (__libc_dlopen): Update comment.
17618 * include/idna.h: Remove file.
17619 * inet/Makefile (routines): Add idna.
17620 (tests-static, tests-internal): Add tst-idna_name_classify.
17621 (LOCALES): Generate locales for tests.
17622 (tst-idna_name_classify.out): Depend on generated locales.
17623 * inet/idna_name_classify.c: New file.
17624 * inet/tst-idna_name_classify.c: Likewise.
17625 * inet/net-internal.h (__idna_to_dns_encoding)
17626 (__idna_from_dns_encoding): Declare.
17627 * inet/net-internal.h (enum idna_name_classification): Define.
17628 (__idna_name_classify): Declare.
17629 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17630 __idna_from_dns_encoding.
17631 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17632 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17633 name as a fallback in case of encoding errors.
17634 (getnameinfo): Use DEPRECATED_NI_IDN.
17635 * inet/idna.c: New file.
17636 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17637 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17638 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17639 (modules-names): Add tst-no-libidn2.
17640 (extra-test-objs): Add tst-no-libidn2.os.
17641 (LDFLAGS-tst-no-libidn2.so): Set soname.
17642 (LOCALES): Set, and generate locales.
17643 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17644 (tst-resolv-ai_idn-latin1): Likewise.
17645 (tst-resolv-ai_idn-nolibidn2): Likewise.
17646 (tst-resolv-ai_idn.out): Depend on locales.
17647 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17648 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17650 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17651 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17652 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17653 * resolv/tst-resolv-ai_idn.c: New file.
17654 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17655 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17656 * resolv/tst-no-libidn2.c: Likewise.
17657 * support/support_format_addrinfo.c (format_ai_flags): Do not
17658 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17659 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17660 (gaih_inet): Call __idna_to_dns_encoding and
17661 __idna_from_dns_encoding, and use the original (punycode) name if
17662 __idna_from_dns_encoding fails due to an encoding error.
17663 (getaddrinfo): Use DEPRECATED_AI_IDN.
17664 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17665 * sysdeps/unix/inet/configure: Remove file.
17666 * sysdeps/unix/inet/configure.ac: Likewise.
17668 2018-05-23 Florian Weimer <fweimer@redhat.com>
17670 Implement allocate_once.
17671 * include/allocate_once.h: New file.
17672 * misc/allocate_once.c: Likewise.
17673 * misc/tst-allocate_once.c: Likewise.
17674 * misc/Makefile (routines): Add allocate_once.
17675 (tests-internal): Add tst-allocate_once.
17676 (generated): Add tst-allocate_once.mtrace,
17677 tst-allocate_once-mem.out.
17678 (tests-special): Add tst-allocate_once-mem.out.
17679 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17680 (tst-allocate_once-mem.out): Call mtrace.
17681 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17683 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17686 * string/test-memcpy.c (do_test1): New function.
17687 (test_main): Call it.
17689 2018-05-23 Andreas Schwab <schwab@suse.de>
17693 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17694 (L(preloop_large)): Save initial destination pointer in %r11 and
17695 use it instead of %rax after the loop.
17696 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17698 2018-05-22 Joseph Myers <joseph@codesourcery.com>
17700 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17701 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17702 -I../soft-fp. Moved from ....
17703 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17704 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17705 * sysdeps/aarch64/e_sqrtl.c: ... here.
17706 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17707 * sysdeps/aarch64/sfp-machine.h: ... here.
17709 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17710 -Wmaybe-uninitialized around access to fq[0].
17711 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17715 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17716 aliases for non-libc case of versioned symbols.
17717 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17718 (llseek): Define as compat symbol if
17719 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17721 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17722 Make into a compat symbol, disabled for minimum symbol version
17723 GLIBC_2.28 and later.
17724 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17726 2018-05-22 Florian Weimer <fweimer@redhat.com>
17728 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17729 not add -mpreferred-stack-boundary=4.
17730 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17731 (stack-align-test-flags): Likewise.
17732 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17734 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17735 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17736 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17737 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17738 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17739 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17740 (CFLAGS-tst-align2.c): Likewise.
17742 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17744 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17745 (index_arch_Prefer_FSRM): Likewise.
17746 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17747 Also check Prefer_FSRM.
17748 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17749 Also return OPTIMIZE (erms) for Prefer_FSRM.
17751 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17753 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17754 (index_cpu_FSRM): Likewise.
17755 (reg_FSRM): Likewise.
17757 2018-05-18 Joseph Myers <joseph@codesourcery.com>
17759 * math/gen-tgmath-tests.py: Import sys.
17760 (Tests.__init__): Initialize macros_seen.
17761 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17762 if requested to do so for this macro.
17763 (Tests.add_all_tests): Take argument for macro for which to
17765 (Tests.check_macro_list): New function.
17766 (main): Handle check-list argument and argument specifying macro
17767 for which to generate tests.
17768 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17769 [PYTHON] (tgmath3-macro-tests): Likewise.
17770 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17771 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17772 not test-tgmath3.c.
17773 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17774 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17776 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17777 [PYTHON] ($(foreach
17778 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17780 [PYTHON] (tests-special): Add
17781 $(objpfx)test-tgmath3-macro-list.out.
17782 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17784 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17785 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17789 * time/tzset.c (SECSPERDAY): Cast to time_t.
17790 * time/tst-y2039.c: New file.
17791 * time/Makefile (tests): Add tst-y2039.
17793 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17795 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17796 (PREFETCH_ONE_SET): Remove duplicate line.
17798 2018-05-17 Florian Weimer <fweimer@redhat.com>
17800 * sysdeps/generic/math-type-macros-double.h: Include
17801 <math-nan-payload-double.h> after <libm-alias-double.h>.
17802 * sysdeps/generic/math-type-macros-float.h: Include
17803 <math-nan-payload-float.h> after <libm-alias-float.h>.
17804 * sysdeps/generic/math-type-macros-float128.h: Include
17805 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17806 * sysdeps/generic/math-type-macros-ldouble.h: Include
17807 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17809 2018-05-17 Andreas Schwab <schwab@suse.de>
17811 * resolv/res_send.c (__res_context_send): Don't set errno when
17812 returing error after malloc failure.
17814 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17816 * nptl/allocatestack.c (allocate_stack): Remove the
17817 !__ASSUME_PRIVATE_FUTEX paths.
17818 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17819 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17821 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17822 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17823 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17824 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17825 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17826 !__ASSUME_PRIVATE_FUTEX path.
17827 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17828 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17829 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17830 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17831 !__ASSUME_PRIVATE_FUTEX macros.
17832 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17833 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17834 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17835 * sysdeps/unix/sysv/linux/kernel-features.h
17836 (__ASSUME_PRIVATE_FUTEX): Removed.
17838 2018-05-17 Joseph Myers <joseph@codesourcery.com>
17840 * math/Makefile (libm-narrow-fns): Add div.
17841 (libm-test-funcs-narrow): Likewise.
17842 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17843 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17844 * math/gen-auto-libm-tests.c (test_functions): Add div.
17845 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17846 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17847 (NARROW_DIV_TRIVIAL): Likewise.
17848 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17850 (__ddivl): Likewise.
17851 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17853 (CFLAGS-nldbl-ddiv.c): New variable.
17854 (CFLAGS-nldbl-fdiv.c): Likewise.
17855 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17857 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17859 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17860 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17861 * math/auto-libm-test-in: Add tests of div.
17862 * math/auto-libm-test-out-narrow-div: New generated file.
17863 * math/libm-test-narrow-div.inc: New file.
17864 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17865 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17866 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17867 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17868 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17869 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17870 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17871 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17872 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17873 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17874 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17875 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17876 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17877 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17878 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17879 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17880 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17881 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17883 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17884 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17885 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17886 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17887 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17888 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17889 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17890 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17891 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17892 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17893 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17894 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17895 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17900 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17901 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17902 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17903 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17904 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17905 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17906 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17907 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17909 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17912 * nscd/nscd-client.h (sendfileall): Remove prototype.
17913 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17914 (handle_request): Use writeall instead of sendfileall.
17915 * nscd/aicache.c (addhstaiX): Likewise.
17916 * nscd/grpcache.c (cache_addgr): Likewise.
17917 * nscd/hstcache.c (cache_addhst): Likewise.
17918 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17919 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17920 * nscd/pwdcache.c (cache_addpw): Likewise.
17921 * nscd/servicescache.c (cache_addserv): Likewise.
17922 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17923 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17924 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17927 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17929 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17930 Include <string/strncat.c>.
17931 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17933 (__GI___strncat): New hidden alias.
17935 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17937 * sysdeps/mips/mips32/libm-test-ulps: Update.
17938 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17940 2018-05-16 Florian Weimer <fweimer@redhat.com>
17942 * support/Makefile (libsupport-routines): Add support_quote_blob,
17943 support_test_compare_blob.
17944 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17945 * support/check.h (TEST_COMPARE_BLOB): Define.
17946 (support_test_compare_blob): Declare.
17947 * support/support.h (support_quote_blob): Declare.
17948 * support/support_quote_blob.c: New file.
17949 * support/support_test_compare_blob.c: Likewise.
17950 * support/tst-support_quote_blob.c: Likewise.
17951 * support/tst-test_compare_blob.c: Likewise.
17953 2018-05-16 Florian Weimer <fweimer@redhat.com>
17955 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17956 of <strtod_nan_double.h>.
17957 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17958 instead of SET_MANTISSA.
17959 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17960 of include <strtod_nan_float.h>.
17961 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17962 instead of <strtod_nan_ldouble.h>.
17963 * stdlib/strtod_nan_double.h: Move to ...
17964 * sysdeps/generic/math-nan-payload-double.h: ... here.
17965 (FLOAT): Remove definition.
17966 (SET_MANTISSA): Rename to ...
17967 (SET_NAN_PAYLOAD): ... this.
17968 * stdlib/strtod_nan_float.h: Move to ...
17969 * sysdeps/generic/math-nan-payload-float.h: ... here.
17970 (FLOAT): Remove definition.
17971 (SET_MANTISSA): Rename to ...
17972 (SET_NAN_PAYLOAD): ... this.
17973 * sysdeps/generic/math-type-macros-double.h: Include
17974 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17975 instead of <math-svid-compat.h>.
17976 * sysdeps/generic/math-type-macros-float.h: Include
17977 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17978 instead of <math-svid-compat.h>.
17979 * sysdeps/generic/math-type-macros-float128.h: Include
17980 <math-nan-payload-float128.h>.
17981 * sysdeps/generic/math-type-macros-ldouble.h: Include
17982 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17983 instead of <math-svid-compat.h>.
17984 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17985 check for definition.
17986 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17987 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17988 Include <ieee754_float128.h>.
17989 (FLOAT): Remove definition.
17990 (SET_MANTISSA): Rename to ...
17991 (SET_NAN_PAYLOAD): ... this.
17992 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17993 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17994 Do not include <float128_private.h>.
17995 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17996 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17997 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17998 (FLOAT): Remove definition.
17999 (SET_MANTISSA): Rename to ...
18000 (SET_NAN_PAYLOAD): ... this.
18001 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
18002 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
18003 (FLOAT): Remove definition.
18004 (SET_MANTISSA): Rename to ...
18005 (SET_NAN_PAYLOAD): ... this.
18006 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
18007 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
18008 (FLOAT): Remove definition.
18009 (SET_MANTISSA): Rename to ...
18010 (SET_NAN_PAYLOAD): ... this.
18011 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
18012 of "../stdlib/strtod_nan_double.h".
18013 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
18014 of "../stdlib/strtod_nan_float.h".
18015 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
18016 instead of "../stdlib/strtod_nan_ldouble.h".
18017 * manual/arith.texi (Parsing of Floats): Adjust comment.
18019 2018-05-16 Joseph Myers <joseph@codesourcery.com>
18021 * math/Makefile (libm-narrow-fns): Add mul.
18022 (libm-test-funcs-narrow): Likewise.
18023 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
18024 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
18025 * math/gen-auto-libm-tests.c (test_functions): Add mul.
18026 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
18027 (NARROW_MUL_ROUND_TO_ODD): Likewise.
18028 (NARROW_MUL_TRIVIAL): Likewise.
18029 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
18030 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
18032 (__dmull): Likewise.
18033 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
18035 (CFLAGS-nldbl-dmul.c): New variable.
18036 (CFLAGS-nldbl-fmul.c): Likewise.
18037 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18039 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
18041 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
18042 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
18043 * math/auto-libm-test-in: Add tests of mul.
18044 * math/auto-libm-test-out-narrow-mul: New generated file.
18045 * math/libm-test-narrow-mul.inc: New file.
18046 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
18049 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
18050 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
18051 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
18052 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
18053 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
18054 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
18055 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
18056 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
18057 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
18058 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
18059 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
18060 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
18061 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
18062 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
18063 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
18064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18065 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18066 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18067 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18068 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18069 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18070 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18071 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18072 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18073 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18074 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18075 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18076 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18077 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18082 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18083 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18084 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18085 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18086 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18087 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18088 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18089 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18091 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
18093 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
18094 with *%eax in call.
18096 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
18098 * sysdeps/i386/ldsodefs.h: Removed.
18099 * sysdeps/x86_64/ldsodefs.h: Moved to ...
18100 * sysdeps/x86/ldsodefs.h: This.
18101 (La_i86_regs): New.
18102 (La_i86_retval): Likewise.
18103 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
18104 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
18106 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
18108 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
18111 2018-05-13 Alan Modra <amodra@gmail.com>
18113 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
18114 R_PARISC_TLS_DTPOFF32 reloc addend.
18116 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18118 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
18119 * math/math.h: Restrict the prototype definition for the functions
18120 issignaling(_Float128) and iszero(_Float128); and template
18121 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
18122 __HAVE_FLOAT128_UNLIKE_LDBL.
18123 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
18124 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18125 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
18126 __f128() constants; define the type _Float128 as long double;
18127 and reuse long double in __CFLOAT128.
18129 2018-05-11 Joseph Myers <joseph@codesourcery.com>
18131 * sysdeps/generic/math_private.h: Do not include
18133 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
18135 * math/fromfp.h: Include <math-barriers.h>.
18136 * math/math-narrow.h: Likewise.
18137 * math/s_nextafter.c: Likewise.
18138 * math/s_nexttowardf.c: Likewise.
18139 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
18140 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
18141 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
18142 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
18143 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18144 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18145 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18147 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18148 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18149 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18150 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18151 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18152 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18153 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
18154 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18155 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18156 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18157 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18158 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18159 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18160 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18161 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18162 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18163 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18164 * sysdeps/ieee754/k_standardl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18181 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
18182 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
18183 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18184 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18185 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
18186 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
18188 2018-05-11 Florian Weimer <fweimer@redhat.com>
18190 Use 64-bit epoch values in the time zone file parser.
18191 * include/time.h (internal_time_t): Define.
18192 (__tzfile_compute): Use it.
18193 * time/tzfile.c (struct leap): Use internal_time_t for epoch
18195 (transitions): Switch to internal_time_t.
18196 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
18198 (__tzfile_compute): Use internal_time_t for timer argument. Check
18199 for truncation before calling __offtime.
18201 2018-05-11 Florian Weimer <fweimer@redhat.com>
18204 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
18205 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
18207 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
18208 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
18209 export without --enable-obsolete-rpc.
18210 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
18211 symbol. This should not have been exported, ever.
18213 2018-05-11 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
18216 * localedata/locales/gd_GB (abmon): Fix typo in May:
18217 "MhĂ rt" -> "CĂšit". Adjust the comment according to the change.
18219 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
18221 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
18222 Use multiple registers to copy data in loop tail.
18224 * sysdeps/aarch64/multiarch/memmove_falkor.S
18225 (__memmove_falkor): Use multiple registers to move data in
18228 2018-05-10 Joseph Myers <joseph@codesourcery.com>
18230 * math/math-underflow.h: New file.
18231 * sysdeps/generic/math_private.h: Do not include <float.h>.
18232 (fabs_tg): Remove macro. Moved to math-underflow.h.
18233 (min_of_type_f): Likewise.
18234 (min_of_type_): Likewise.
18235 (min_of_type_l): Likewise.
18236 (min_of_type_f128): Likewise.
18237 (min_of_type): Likewise.
18238 (math_check_force_underflow): Likewise.
18239 (math_check_force_underflow_nonneg): Likewise.
18240 (math_check_force_underflow_complex): Likewise.
18241 * math/e_exp2_template.c: Include <math-underflow.h>.
18242 * math/k_casinh_template.c: Likewise.
18243 * math/s_catan_template.c: Likewise.
18244 * math/s_catanh_template.c: Likewise.
18245 * math/s_ccosh_template.c: Likewise.
18246 * math/s_cexp_template.c: Likewise.
18247 * math/s_clog10_template.c: Likewise.
18248 * math/s_clog_template.c: Likewise.
18249 * math/s_csin_template.c: Likewise.
18250 * math/s_csinh_template.c: Likewise.
18251 * math/s_csqrt_template.c: Likewise.
18252 * math/s_ctan_template.c: Likewise.
18253 * math/s_ctanh_template.c: Likewise.
18254 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18255 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18256 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18257 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18258 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18259 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18260 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18261 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18262 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18263 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18264 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18265 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18266 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18267 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18268 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18269 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18270 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18271 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18272 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18273 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18274 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18275 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18276 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18277 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18278 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18279 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18280 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18281 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18282 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18283 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18284 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18285 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18290 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18292 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18295 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18296 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18297 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18298 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18300 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18301 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18302 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18303 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18304 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18306 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
18308 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18322 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18323 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18324 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18331 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18332 * sysdeps/x86/fpu/powl_helper.c: Likewise.
18333 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
18334 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
18335 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18336 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18337 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18339 2018-05-09 Joseph Myers <joseph@codesourcery.com>
18341 * sysdeps/generic/math-barriers.h: New file.
18342 * sysdeps/generic/math_private.h [!math_opt_barrier]
18343 (math_opt_barrier): Move to math-barriers.h.
18344 [!math_opt_barrier] (math_force_eval): Likewise.
18345 * sysdeps/aarch64/fpu/math-barriers.h: New file.
18346 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
18348 (math_force_eval): Likewise.
18349 * sysdeps/alpha/fpu/math-barriers.h: New file.
18350 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
18352 (math_force_eval): Likewise.
18353 * sysdeps/x86/fpu/math-barriers.h: New file.
18354 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
18356 (math_force_eval): Likewise.
18357 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
18358 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
18359 multiple-include guard for rename.
18360 * sysdeps/powerpc/fpu/math-barriers.h: New file.
18361 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
18363 (math_force_eval): Likewise.
18365 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
18369 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
18371 * stdlib/Makefile (test-bz22786): New test.
18372 * stdlib/test-bz22786.c: New test.
18374 2018-05-09 Joseph Myers <joseph@codesourcery.com>
18376 * include/math-narrow-eval.h: New file. Contents moved from ....
18377 * sysdeps/generic/math_private.h: ... here.
18378 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
18379 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18380 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
18381 * stdlib/strtod_l.c: Likewise.
18382 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18383 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
18384 * sysdeps/i386/fpu/s_fdim.c: Likewise.
18385 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18386 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18387 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18388 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18389 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18390 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18391 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18392 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18393 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
18394 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18395 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18396 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18397 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18398 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18399 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18400 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18401 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18402 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18403 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18404 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18405 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18406 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18407 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18408 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18409 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18410 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18412 2018-05-08 Andreas Schwab <schwab@suse.de>
18414 * sysdeps/nptl/internaltypes.h: Fix comment.
18416 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
18418 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18419 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
18422 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
18424 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
18425 of I into loop header.
18426 * benchtests/bench-memmove-walk.c
18427 (test_main): Likewise.
18429 2018-05-07 Alexandre Oliva <oliva@gnu.org>
18432 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18433 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18435 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18438 * elf/dl-load.c (open_verify): Fix stack overflow.
18439 * elf/Makefile (tst-big-note): New test.
18440 * elf/tst-big-note-lib.S: New.
18441 * elf/tst-big-note.c: New.
18443 2018-05-04 Joseph Myers <joseph@codesourcery.com>
18445 * scripts/abilist.awk: Ignore absolute symbols.
18446 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
18447 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
18448 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
18449 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
18450 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
18451 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
18452 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18453 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
18454 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
18455 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
18456 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
18457 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
18458 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
18459 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
18460 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
18461 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
18462 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
18463 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
18464 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18465 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
18466 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
18467 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
18468 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
18469 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
18470 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
18471 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
18472 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
18473 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
18474 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18475 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
18476 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
18477 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18478 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
18479 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
18480 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
18481 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
18482 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
18483 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
18484 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
18485 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
18486 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
18487 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18488 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
18489 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
18490 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18491 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
18492 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
18493 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
18494 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
18495 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
18496 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
18497 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
18498 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
18499 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
18500 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18501 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
18502 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
18503 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18504 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
18505 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
18506 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
18507 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
18508 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
18509 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
18510 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
18511 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
18512 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
18513 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18514 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
18515 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
18516 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18517 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
18518 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
18519 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
18520 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
18521 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
18522 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
18523 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
18524 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
18525 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
18526 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18527 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
18528 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
18529 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18530 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
18531 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
18532 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
18533 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
18534 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
18535 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
18536 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
18537 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18539 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
18540 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18541 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
18542 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
18543 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18544 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
18545 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
18546 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
18547 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
18548 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
18549 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
18550 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
18551 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18553 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
18554 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18555 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
18556 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
18557 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18558 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
18559 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
18560 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
18561 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
18562 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
18563 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
18564 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
18565 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
18566 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
18567 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18568 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
18569 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
18570 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18571 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
18572 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
18573 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
18574 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
18575 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
18576 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
18577 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18578 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
18579 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18581 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
18582 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
18583 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
18584 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
18585 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18586 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
18587 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
18588 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
18589 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
18590 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
18591 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
18592 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
18593 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
18594 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
18595 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
18596 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
18597 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
18598 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
18599 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18600 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18602 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
18603 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
18604 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
18605 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18606 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
18607 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
18608 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
18609 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
18610 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
18611 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
18612 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18613 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
18614 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
18615 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18616 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
18617 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18618 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18619 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18620 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18621 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18622 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18623 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18624 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18625 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18626 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18627 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18628 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18629 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18689 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18690 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18692 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18693 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18694 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18695 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18696 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18697 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18698 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18699 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18700 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18701 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18702 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18703 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18704 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18705 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18707 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18708 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18709 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18710 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18711 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18712 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18713 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18714 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18715 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18716 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18717 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18718 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18720 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18721 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18722 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18723 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18724 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18725 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18726 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18727 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18728 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18729 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18730 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18731 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18732 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18733 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18734 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18735 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18736 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18737 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18738 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18739 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18740 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18741 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18742 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18743 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18744 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18746 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18747 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18748 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18749 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18750 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18751 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18752 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18753 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18754 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18755 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18756 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18757 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18758 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18760 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18761 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18762 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18763 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18764 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18765 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18766 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18767 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18768 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18769 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18770 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18771 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18772 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18773 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18774 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18775 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18776 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18777 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18778 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18779 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18780 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18781 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18782 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18783 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18784 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18785 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18786 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18787 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18788 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18789 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18790 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18791 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18792 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18793 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18794 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18795 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18796 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18797 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18799 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18802 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18803 Use atomic_load_acquire to load __tid.
18805 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18807 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18808 Restore the pointer into %rdx, after syscall and use %rdx,
18809 instead of %rsi, to restore context.
18811 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18813 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18814 Pop the pointer into %rdx after syscall and use %rdx, instead
18815 of %rsi, to restore context.
18817 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18819 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18820 handlers after setjmp.
18821 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18823 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18824 <libc-pointer-arith.h>.
18825 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18826 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18827 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18828 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18829 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18830 * sysdeps/x86/__longjmp_cancel.S: New file.
18831 * sysdeps/x86/longjmp.c: Likewise.
18832 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18834 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18836 * NEWS: Add ustat.h deprecation entry.
18837 * bits/ustat.h: Remove file.
18838 * misc/sys/ustat.h: Likewise.
18839 * misc/ustat.h: Likewise.
18840 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18841 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18842 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18843 compatibility mode.
18844 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18845 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18846 generic Linux implementation.
18848 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18850 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18851 * math/w_expl_compat.c: Likewise.
18852 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18854 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18856 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18858 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18860 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18861 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18862 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18864 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18866 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18867 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18868 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18871 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18873 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18875 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18876 * math/w_asin_template.c: Likewise.
18877 * math/w_atanh_template.c: Likewise.
18879 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18881 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18882 to powerpc/powerpc64/be for big-endian.
18883 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18886 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18887 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18888 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18889 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18890 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18891 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18892 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18893 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18894 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18895 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18896 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18897 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18898 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18899 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18900 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18901 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18902 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18903 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18904 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18905 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18906 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18907 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18908 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18909 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18910 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18911 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18912 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18913 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18914 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18915 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18916 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18917 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18919 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18920 adjusted to imply powerpc64 and older processors on powerpc64/be.
18921 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18922 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18923 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18924 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18925 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18926 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18927 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18928 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18929 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18930 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18931 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18932 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18933 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18934 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18935 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18936 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18937 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18938 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18939 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18940 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18941 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18942 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18943 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18944 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18945 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18946 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18947 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18948 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18949 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18950 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18951 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18953 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18954 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18955 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18956 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18958 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18959 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18960 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18961 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18963 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18964 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18965 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18966 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18967 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18968 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18969 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18970 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18971 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18972 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18973 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18975 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18976 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18977 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18978 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18979 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18980 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18981 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18982 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18983 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18984 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18985 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18987 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18988 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18989 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18990 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18991 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18992 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18993 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18994 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18995 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18996 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18997 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18998 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
19000 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
19001 and adjusted to imply olders processors.
19002 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
19003 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
19004 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
19005 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
19006 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
19007 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
19008 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
19009 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
19010 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
19011 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
19012 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
19016 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
19017 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
19019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
19021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
19022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
19024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
19026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
19028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
19030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
19031 powerpc64 and adjusted.
19032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
19033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
19034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
19037 2018-04-27 Joseph Myers <joseph@codesourcery.com>
19039 * sysdeps/tile: Remove.
19040 * sysdeps/unix/sysv/linux/tile: Likewise.
19041 * README (tilegx-*-linux-gnu): Remove from list of supported
19043 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
19044 contribution of support for generic Linux kernel syscall
19046 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
19047 tilegx configurations.
19048 (Config.install_linux_headers): Do not handle tile.
19049 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
19051 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
19052 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
19053 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
19054 conditional undefine and redefine.
19055 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
19057 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
19058 conditional undefine and redefine.
19060 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
19062 * signal/tst-sigaction.c: New file to test BZ #23069.
19063 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
19065 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
19068 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
19069 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
19070 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
19071 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
19073 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19075 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
19076 _DIRENT_MATCHES_DIRENT64 is not defined.
19077 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
19078 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
19080 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
19081 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
19083 2018-04-25 Joseph Myers <joseph@codesourcery.com>
19085 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
19086 version to GCC 8 branch.
19088 2018-04-24 Joseph Myers <joseph@codesourcery.com>
19090 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
19091 (check_no_hidden): Use type of original function when declaring
19094 * sysdeps/unix/sysv/linux/sys/ptrace.h
19095 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
19096 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
19097 (struct __ptrace_seccomp_metadata): New type.
19098 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19099 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19100 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
19101 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19102 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
19103 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19104 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19105 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19106 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
19107 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19108 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
19109 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19110 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
19111 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19112 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
19113 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19115 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19117 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
19119 * dirent/versionsort.c (versionsort): Likewise.
19120 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
19121 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
19122 * dirent/versionsort64.c (versionsort64): Likewise.
19123 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
19124 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
19125 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
19126 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
19127 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
19128 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
19129 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
19130 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
19131 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
19132 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
19133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
19134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
19135 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
19136 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
19138 2018-04-23 Joseph Myers <joseph@codesourcery.com>
19140 * elf/elf.h (NT_PPC_PKEY): New macro.
19142 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
19145 * localedata/locales/hr_HR: fix thousands_sep and
19148 2018-04-20 Joseph Myers <joseph@codesourcery.com>
19150 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
19151 (XTABS): Define to TAB3.
19153 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19155 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19157 * dirent/scandir-tail-common.c: New file.
19158 * dirent/scandir-tail.c: Use scandir-tail-common.c.
19159 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
19160 * dirent/scandir.c: Use scandir-tail-common.c.
19161 * dirent/scandirat.c: Likewise.
19162 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
19163 * dirent/scandir64.c (scandir64): Always build and alias to scandir
19164 if _DIRENT_MATCHES_DIRENT64 is defined.
19165 * dirent/scandirat64.c (scandirat64): Likewise.
19166 * include/dirent.h (__scandir_tail): Only define iff
19167 _DIRENT_MATCHES_DIRENT64 is not defined.
19168 (__scandir64_tail): Define regardless.
19169 (__scandirat, scandirat64): Remove libc_hidden_proto.
19170 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
19171 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
19172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
19173 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
19174 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19175 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
19176 * sysdeps/unix/sysv/linux/scandir64.c: New file.
19178 2018-04-20 Joseph Myers <joseph@codesourcery.com>
19180 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
19182 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
19184 (_dl_aarch64_cap_flags): Add asimdfhm.
19186 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
19188 * sysdeps/nios2/libm-test-ulps: Update.
19190 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19192 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
19193 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
19195 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
19197 (_DIRENT_MATCHES_DIRENT64): Undef
19198 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
19199 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
19200 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
19201 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
19202 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
19203 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
19204 use getdents64 syscalls as base.
19205 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
19206 symbol if required.
19207 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
19208 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
19209 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
19210 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
19211 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
19212 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
19213 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
19214 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
19215 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19216 (__get_clockfreq_via_proc_openprom): Use __getdents64.
19217 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
19219 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
19221 * scripts/test_printers_common.py (init_test): Disable lock elision.
19223 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
19225 * math/test-tgmath.c (count_double, count_float,
19226 count_ldouble, count_cdouble, count_cfloat,
19227 count_cldouble): Use volatile int.
19229 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19231 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
19232 (conformtest-xfail-conds): Add i386-gnu.
19233 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
19235 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
19236 ipc_perm.cuid, ipc_perm.cgid): Likewise.
19237 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
19238 msqid_ds.msg_lrpid): Likewise.
19239 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
19241 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
19242 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
19243 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
19244 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
19246 (struct statvfs64): Likewise.
19247 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
19249 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
19250 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
19251 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
19252 instead of wait_queue.
19253 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
19254 instead of vm_area_struct.
19255 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
19256 struct sched_param definition to it.
19257 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19258 * bits/types/struct_sched_param.h: New file.
19259 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
19260 <bits/types/struct_sched_param.h> instead of <sched.h>.
19261 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
19262 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
19263 generic version but include <bits/pthreadtypes.h> to make struct
19264 sigevent's sigev_notify_attributes field a pthread_attr_t*.
19265 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
19267 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
19268 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
19269 [__USE_XOPEN] (OFDEL): New macro.
19270 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
19271 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
19272 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
19274 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
19275 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
19276 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
19278 * sysdeps/i386/sys/ucontext.h: Likewise.
19279 * sysdeps/m68k/sys/ucontext.h: Likewise.
19280 * sysdeps/mips/sys/ucontext.h: Likewise.
19281 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
19282 * sysdeps/mach/hurd/i386/Makefile
19283 (test-xfail-POSIX/fcntl.h/conform): Add.
19284 (test-xfail-POSIX/signal.h/conform): Add.
19285 (test-xfail-POSIX/semaphore.h/conform): Add.
19286 (test-xfail-POSIX/regex.h/conform): Add.
19287 (test-xfail-POSIX/aio.h/conform): Add.
19288 (test-xfail-POSIX/mqueue.h/conform): Add.
19289 (test-xfail-POSIX/sys/types.h/conform): Add.
19290 (test-xfail-UNIX98/fcntl.h/conform): Add.
19291 (test-xfail-UNIX98/netdb.h/conform): Add.
19292 (test-xfail-UNIX98/signal.h/conform): Add.
19293 (test-xfail-UNIX98/semaphore.h/conform): Add.
19294 (test-xfail-UNIX98/regex.h/conform): Add.
19295 (test-xfail-UNIX98/aio.h/conform): Add.
19296 (test-xfail-UNIX98/ftw.h/conform): Add.
19297 (test-xfail-UNIX98/mqueue.h/conform): Add.
19298 (test-xfail-UNIX98/netinet/in.h/conform): Add.
19299 (test-xfail-UNIX98/sys/wait.h/conform): Add.
19300 (test-xfail-UNIX98/sys/sem.h/conform): Add.
19301 (test-xfail-UNIX98/sys/uio.h/conform): Add.
19302 (test-xfail-UNIX98/sys/socket.h/conform): Add.
19303 (test-xfail-UNIX98/sys/types.h/conform): Add.
19304 (test-xfail-UNIX98/stdlib.h/conform): Add.
19305 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
19306 (test-xfail-POSIX2008/fcntl.h/conform): Add.
19307 (test-xfail-POSIX2008/netdb.h/conform): Add.
19308 (test-xfail-POSIX2008/signal.h/conform): Add.
19309 (test-xfail-POSIX2008/semaphore.h/conform): Add.
19310 (test-xfail-POSIX2008/regex.h/conform): Add.
19311 (test-xfail-POSIX2008/aio.h/conform): Add.
19312 (test-xfail-POSIX2008/mqueue.h/conform): Add.
19313 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
19314 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
19315 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
19316 (test-xfail-POSIX2008/sys/types.h/conform): Add.
19317 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
19318 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
19319 (test-xfail-XOPEN2K/netdb.h/conform): Add.
19320 (test-xfail-XOPEN2K/signal.h/conform): Add.
19321 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
19322 (test-xfail-XOPEN2K/regex.h/conform): Add.
19323 (test-xfail-XOPEN2K/aio.h/conform): Add.
19324 (test-xfail-XOPEN2K/ftw.h/conform): Add.
19325 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
19326 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
19327 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
19328 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
19329 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
19330 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
19331 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
19332 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
19333 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
19334 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
19335 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
19336 (test-xfail-XOPEN2K8/signal.h/conform): Add.
19337 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
19338 (test-xfail-XOPEN2K8/regex.h/conform): Add.
19339 (test-xfail-XOPEN2K8/aio.h/conform): Add.
19340 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
19341 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
19342 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
19343 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
19344 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
19345 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
19346 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
19347 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
19348 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
19349 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
19350 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
19352 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
19353 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
19355 2018-04-18 Joseph Myers <joseph@codesourcery.com>
19357 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19358 --enable-obsolete for powerpc-linux-gnuspe.
19360 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19362 * conform/data/sys/un.h-data: Allow sun_ prefix.
19363 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
19365 * sysdeps/mach/include/mach.h: Likewise.
19366 * sysdeps/mach/include/mach/mig_support.h: Likewise.
19367 * sysdeps/mach/include/mach_error.h: Likewise.
19369 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19371 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
19372 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
19373 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
19374 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
19376 2018-04-16 Andreas Schwab <schwab@suse.de>
19379 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
19381 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19383 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
19384 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
19386 2018-04-12 DJ Delorie <dj@redhat.com>
19388 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19391 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19393 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
19394 (struct kernel_sigaction): Use the same definition on 31bit as is used
19397 2018-04-09 Florian Weimer <fweimer@redhat.com>
19400 * resolv/res_send.c (send_dg): Use designated initializers instead
19401 of assignment to zero-initialize other fields of struct mmsghdr.
19403 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19405 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
19406 __READDIR_ALIAS): Undefine after usage.
19407 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
19408 __READDIR_R_ALIAS): Likewise.
19409 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
19410 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
19411 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
19412 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
19413 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
19414 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
19415 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19416 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19417 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
19418 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
19419 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
19420 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
19421 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19422 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
19423 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
19424 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
19425 * sysdeps/unix/sysv/linux/readdir.c: New file.
19426 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
19427 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
19428 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
19430 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19432 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
19434 * manual/charset.texi (Converting a Character): Fix typo.
19436 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19440 * sysdeps/arm/libm-test-ulps: Update.
19442 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
19443 as base implementation.
19444 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19445 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19446 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19447 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19448 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19449 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
19450 remove unrequired definitions and update comments.
19451 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
19452 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
19453 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
19454 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
19455 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
19456 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
19457 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
19458 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
19459 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
19460 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
19461 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
19462 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19463 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
19464 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
19465 and RESET_SA_RESTORER hooks.
19467 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
19469 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19471 2018-04-05 Florian Weimer <fweimer@redhat.com>
19473 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
19474 integer overflow, memory leak on error, and indeterminate errno
19475 value. Add a null wide character to terminate the result string.
19476 * manual/charset.texi (Converting a Character): Mention embedded
19477 null bytes in the mbrtowc input string. Explain what happens in
19478 the -2 result case. Do not claim that mbrtowc is simple or
19479 obvious to use. Adjust the description of the code example. Use
19480 @code, not @var, for concrete variables.
19482 2018-04-05 Florian Weimer <fweimer@redhat.com>
19484 * manual/examples/mbstouwcs.c: New file.
19485 * manual/charset.texi (Converting a Character): Include it.
19487 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19489 * include/dirent.h (dirfd): Add hidden proto.
19490 * dirent/dirfd.c (dirfd): Add hidden def.
19491 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
19492 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
19494 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
19496 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
19497 sin, cos and sincos to 1 ULP.
19499 2018-04-04 Maciej W. Rozycki <macro@mips.com>
19502 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
19504 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
19505 * elf/tst-absolute-sym.c: New file.
19506 * elf/tst-absolute-sym-lib.c: New file.
19507 * elf/tst-absolute-sym-lib.lds: New file.
19508 * elf/Makefile (tests): Add `tst-absolute-sym'.
19509 (modules-names): Add `tst-absolute-sym-lib'.
19510 (LDLIBS-tst-absolute-sym-lib.so): New variable.
19511 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
19512 ($(objpfx)tst-absolute-sym): New dependency.
19515 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
19517 (SYMBOL_ADDRESS): New macro.
19518 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
19519 SYMBOL_ADDRESS for symbol address calculation.
19520 * elf/dl-runtime.c (_dl_fixup): Likewise.
19521 (_dl_profile_fixup): Likewise.
19522 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
19523 * elf/rtld.c (dl_main): Likewise.
19524 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
19525 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
19526 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
19527 (elf_machine_rela): Likewise.
19528 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
19529 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
19530 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19531 (elf_machine_rela): Likewise.
19532 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19533 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
19534 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
19535 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
19537 (elf_machine_reloc): Likewise.
19538 (elf_machine_got_rel): Likewise.
19539 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
19540 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
19541 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19543 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19545 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
19546 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19548 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19550 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19551 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19553 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19555 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
19556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19558 2018-04-04 Zack Weinberg <zackw@panix.com>
19560 * sysdeps/generic/internal-signals.h: Include signal.h,
19561 sigsetops.h, and stdbool.h.
19562 (__libc_signal_block_all): Actually block all signals.
19563 (__libc_signal_block_app): Likewise.
19564 (__libc_signal_restore_set): Actually restore the signal mask.
19566 2018-04-04 Florian Weimer <fweimer@redhat.com>
19568 inet: Actually build and run tst-deadline.
19569 * inet/Makefile (tests-internal): Add tst-deadline and do not
19570 overwrite the variable.
19571 (tests-static-internal): Remove variable.
19573 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
19576 * bits/uio-ext.h (RWF_APPEND): New.
19577 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
19578 * manual/llio.texi: Document RWF_APPEND.
19579 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
19580 (RWF_SUPPORTED): Add RWF_APPEND.
19582 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19585 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
19586 check for internal nptl signals.
19587 * nptl/sigaction.c (__sigaction): Likewise.
19588 * signal/sigaddset.c (sigaddset): Likewise.
19589 * signal/sigdelset.c (sigdelset): Likewise.
19590 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19591 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
19593 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
19594 to filter out internal nptl signals.
19595 * signal/tst-sigset.c (do_test): Check ech signal indidually and
19596 also check realtime signals using standard macros.
19597 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
19598 __is_internal_signal, __libc_signal_block_all,
19599 __libc_signal_block_app, __libc_signal_restore_set): New functions.
19600 * sysdeps/nptl/sigfillset.c: Remove file.
19601 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
19602 Change return to bool.
19603 (__clear_internal_signals): Remove SIGTIMER clean since it is
19604 equal to SIGCANEL on Linux.
19605 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
19606 signal set was constructed using standard functions.
19608 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19610 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
19611 ifname is too long.
19612 * hurd/hurdsig.c (interrupted_reply_port_location): Use
19613 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
19614 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
19616 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
19617 * signal/sigaddset.c: Include <sigsetopts.h>.
19618 * signal/sigdelset.c: Likewise.
19620 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19622 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19624 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19625 logic as sin and cos.
19627 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19629 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19630 inputs. Return correct sign.
19631 (do_sincos): Remove small input check before do_sin, let do_sin set
19636 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19638 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19639 (do_cos_slow): Likewise.
19640 (do_sin_slow): Likewise.
19641 (reduce_and_compute): Likewise.
19646 (sloww1): Likewise.
19647 (sloww2): Likewise.
19649 (bslow1): Likewise.
19650 (bslow2): Likewise.
19651 (cslow2): Likewise.
19653 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19655 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19656 (do_cos): Remove corp parameter and calculations.
19657 (do_sin): Likewise.
19658 (do_sincos): Remove cor variable.
19659 (__sin): Use do_sincos for huge inputs.
19661 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19662 (reduce_and_compute_sincos): Remove unused function.
19664 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19666 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19667 reduce_sincos, improve accuracy to 136 bits.
19668 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19669 (__sin): Use improved reduction and simplified do_sincos calculation.
19671 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19673 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19675 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19676 (do_sincos_2): Likewise.
19677 (__sin): Remove middle range reduction case.
19679 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19682 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19684 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19685 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19688 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19690 2018-04-03 Joseph Myers <joseph@codesourcery.com>
19692 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19695 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19697 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19698 Remove definitions.
19699 (opendir_oflags): Use O_DIRECTORY regardless.
19700 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19701 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19703 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19705 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19706 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19708 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19709 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19710 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19711 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
19712 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19713 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
19715 * htl/Makefile: Bump licence to LGPL 2.1+.
19716 * htl/alloca_cutoff.c: Likewise.
19717 * htl/cthreads-compat.c: Likewise.
19718 * htl/lockfile.c: Likewise.
19719 * htl/pt-alloc.c: Likewise.
19720 * htl/pt-cancel.c: Likewise.
19721 * htl/pt-cleanup.c: Likewise.
19722 * htl/pt-create.c: Likewise.
19723 * htl/pt-dealloc.c: Likewise.
19724 * htl/pt-detach.c: Likewise.
19725 * htl/pt-exit.c: Likewise.
19726 * htl/pt-getattr.c: Likewise.
19727 * htl/pt-initialize.c: Likewise.
19728 * htl/pt-internal.h: Likewise.
19729 * htl/pt-join.c: Likewise.
19730 * htl/pt-self.c: Likewise.
19731 * htl/pt-setcancelstate.c: Likewise.
19732 * htl/pt-setcanceltype.c: Likewise.
19733 * htl/pt-sigmask.c: Likewise.
19734 * htl/pt-spin-inlines.c: Likewise.
19735 * htl/pt-testcancel.c: Likewise.
19736 * htl/pt-yield.c: Likewise.
19737 * htl/tests/test-1.c: Likewise.
19738 * htl/tests/test-10.c: Likewise.
19739 * htl/tests/test-11.c: Likewise.
19740 * htl/tests/test-12.c: Likewise.
19741 * htl/tests/test-13.c: Likewise.
19742 * htl/tests/test-14.c: Likewise.
19743 * htl/tests/test-15.c: Likewise.
19744 * htl/tests/test-16.c: Likewise.
19745 * htl/tests/test-17.c: Likewise.
19746 * htl/tests/test-2.c: Likewise.
19747 * htl/tests/test-3.c: Likewise.
19748 * htl/tests/test-4.c: Likewise.
19749 * htl/tests/test-5.c: Likewise.
19750 * htl/tests/test-6.c: Likewise.
19751 * htl/tests/test-7.c: Likewise.
19752 * htl/tests/test-8.c: Likewise.
19753 * htl/tests/test-9.c: Likewise.
19754 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19755 * sysdeps/htl/bits/cancelation.h: Likewise.
19756 * sysdeps/htl/bits/pthread-np.h: Likewise.
19757 * sysdeps/htl/bits/pthread.h: Likewise.
19758 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19759 * sysdeps/htl/bits/semaphore.h: Likewise.
19760 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19761 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19762 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19763 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19764 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19765 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19766 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19767 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19768 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19769 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19770 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19771 * sysdeps/htl/old_pt-atfork.c: Likewise.
19772 * sysdeps/htl/pt-atfork.c: Likewise.
19773 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19774 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19775 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19776 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19777 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19778 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19779 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19780 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19781 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19782 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19783 * sysdeps/htl/pt-attr-init.c: Likewise.
19784 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19785 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19786 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19787 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19788 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19789 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19790 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19791 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19792 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19793 * sysdeps/htl/pt-attr.c: Likewise.
19794 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19795 * sysdeps/htl/pt-barrier-init.c: Likewise.
19796 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19797 * sysdeps/htl/pt-barrier.c: Likewise.
19798 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19799 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19800 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19801 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19802 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19803 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19804 * sysdeps/htl/pt-cond-init.c: Likewise.
19805 * sysdeps/htl/pt-cond-signal.c: Likewise.
19806 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19807 * sysdeps/htl/pt-cond-wait.c: Likewise.
19808 * sysdeps/htl/pt-cond.c: Likewise.
19809 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19810 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19811 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19812 * sysdeps/htl/pt-condattr-init.c: Likewise.
19813 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19814 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19815 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19816 * sysdeps/htl/pt-equal.c: Likewise.
19817 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19818 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19819 * sysdeps/htl/pt-getschedparam.c: Likewise.
19820 * sysdeps/htl/pt-getspecific.c: Likewise.
19821 * sysdeps/htl/pt-init-specific.c: Likewise.
19822 * sysdeps/htl/pt-key-create.c: Likewise.
19823 * sysdeps/htl/pt-key-delete.c: Likewise.
19824 * sysdeps/htl/pt-key.h: Likewise.
19825 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19826 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19827 * sysdeps/htl/pt-mutex-init.c: Likewise.
19828 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19829 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19830 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19831 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19832 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19833 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19834 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19835 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19836 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19837 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19838 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19839 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19840 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19841 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19842 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19843 * sysdeps/htl/pt-mutexattr.c: Likewise.
19844 * sysdeps/htl/pt-once.c: Likewise.
19845 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19846 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19847 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19848 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19849 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19850 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19851 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19852 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19853 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19854 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19855 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19856 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19857 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19858 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19859 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19860 * sysdeps/htl/pt-setschedparam.c: Likewise.
19861 * sysdeps/htl/pt-setschedprio.c: Likewise.
19862 * sysdeps/htl/pt-setspecific.c: Likewise.
19863 * sysdeps/htl/pt-spin.c: Likewise.
19864 * sysdeps/htl/pt-startup.c: Likewise.
19865 * sysdeps/htl/pthread.h: Likewise.
19866 * sysdeps/htl/sem-close.c: Likewise.
19867 * sysdeps/htl/sem-destroy.c: Likewise.
19868 * sysdeps/htl/sem-getvalue.c: Likewise.
19869 * sysdeps/htl/sem-init.c: Likewise.
19870 * sysdeps/htl/sem-open.c: Likewise.
19871 * sysdeps/htl/sem-post.c: Likewise.
19872 * sysdeps/htl/sem-timedwait.c: Likewise.
19873 * sysdeps/htl/sem-trywait.c: Likewise.
19874 * sysdeps/htl/sem-unlink.c: Likewise.
19875 * sysdeps/htl/sem-wait.c: Likewise.
19876 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19877 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19878 * sysdeps/mach/htl/pt-block.c: Likewise.
19879 * sysdeps/mach/htl/pt-spin.c: Likewise.
19880 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19881 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19882 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19883 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19884 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19885 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19886 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19887 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19888 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19889 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19890 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19891 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19892 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19893 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19894 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19895 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19896 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19897 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19898 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19899 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19900 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19901 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19902 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19903 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19904 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19905 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19906 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19907 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19908 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19909 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19910 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19911 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19912 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19913 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19914 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19915 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19916 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19917 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19918 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19919 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19920 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19921 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19922 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19924 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19925 * README: Remove the mention of out-of-tree patches needed for
19928 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19929 (UTIME_NOW, UTIME_OMIT): Define macros.
19931 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19932 instead of pthread_detach.
19933 (__cthread_fork): Call __pthread_create instead of pthread_create.
19934 (__cthread_keycreate): Call __pthread_key_create instead of
19935 pthread_key_create.
19936 (__cthread_getspecific): Call __pthread_getspecific instead of
19937 pthread_getspecific.
19938 (__cthread_setspecific): Call __pthread_setspecific instead of
19939 pthread_setspecific.
19940 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19941 __pthread_mutex_unlock instead of pthread_mutex_lock and
19942 pthread_mutex_unlock.
19943 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19944 ___pthread_get_cleanup_stack.
19945 (__pthread_get_cleanup_stack): New strong alias.
19946 * htl/pt-create.c: Include <pthreadP.h>.
19947 (entry_point): Call __pthread_exit instead of pthread_exit.
19948 (pthread_create): Rename to __pthread_create.
19949 (pthread_create): New strong alias.
19950 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19951 (pthread_detach): New strong alias.
19952 (__pthread_detach): Call __pthread_cond_broadcast instead of
19953 pthread_cond_broadcast.
19954 * htl/pt-exit.c: Include <pthreadP.h>.
19955 (__pthread_exit): Call __pthread_setcancelstate and
19956 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19957 __pthread_get_cleanup_stack.
19958 * htl/pt-testcancel.c: Include <pthreadP.h>.
19959 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19960 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19961 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19962 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19963 pthread_attr_getstacksize.
19964 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19965 Rename to __pthread_attr_getstackaddr.
19966 (pthread_attr_getstackaddr): New strong alias.
19967 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19968 Rename to __pthread_attr_getstacksize.
19969 (pthread_attr_getstacksize): New strong alias.
19970 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19971 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19972 (pthread_attr_setstack): New strong alias.
19973 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19974 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19975 pthread_attr_getstacksize, pthread_attr_setstacksize and
19976 pthread_attr_setstackaddr.
19977 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19978 Rename to __pthread_attr_setstackaddr.
19979 (pthread_attr_setstackaddr): New strong alias.
19980 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19981 Rename to __pthread_attr_setstacksize.
19982 (pthread_attr_setstacksize): New strong alias.
19983 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19984 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19986 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19987 (__pthread_key_create): New hidden def.
19988 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19989 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19990 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19991 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19992 __pthread_setspecific, __pthread_setcancelstate,
19993 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19994 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19995 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19997 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19998 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19999 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
20000 (pthread_attr_setstackaddr): New strong alias.
20001 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
20002 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
20003 (pthread_attr_setstacksize): New strong alias.
20004 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
20005 (call_exit): Call __pthread_exit instead of pthread_exit.
20006 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
20007 (_pthread_mutex_init): New hidden definition.
20008 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
20009 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
20010 instead of pthread_attr_init and pthread_attr_setstack.
20012 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
20013 __vm_deallocate instead of vm_allocate and vm_deallocate.
20014 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
20016 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
20018 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
20020 * hurd/siginfo.c: Include <libioP.h>.
20021 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
20022 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
20024 * mach/devstream.c: Include <libioP.h>.
20025 (dealloc_ref): Call __mach_port_deallocate instead of
20026 mach_port_deallocate.
20027 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
20028 Call __mach_port_deallocate instead of mach_port_deallocate.
20029 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
20031 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
20033 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
20034 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
20035 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
20037 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
20039 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
20040 instead of sysconf.
20041 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
20042 __clock_gettime instead of clock_gettime.
20043 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
20044 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
20045 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
20046 * sysdeps/unix/bsd/stty.c (stty): Likewise.
20047 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
20049 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
20050 __clock_gettime and __nanosleep instead of clock_gettime and
20052 * hurd/catch-signal.c (hurd_catch_signal): Rename to
20053 __hurd_catch_signal.
20054 (hurd_catch_signal): New strong alias.
20055 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
20056 __hurd_catch_signal instead of hurd_catch_signal.
20057 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
20058 * hurd/hurdexec.c (_hurd_init): Add hidden def.
20059 * hurd/hurdinit.c (_hurd_init): Add hidden def.
20060 * hurd/hurdsig.c: Include <mach/mig_support.h>.
20061 (_hurd_thread_sigstate): Add hidden def.
20062 (_hurd_internal_post_signal): Use __mutex_unlock instead of
20064 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
20065 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
20066 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
20067 __hurd_file_name_path_lookup.
20068 (hurd_file_name_path_lookup): New strong alias.
20069 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
20070 hurd_file_name_path_lookup.
20071 * mach/errstring.c (mach_error_type): Add hidden def.
20072 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
20073 * mach/mutex-init.c (__mutex_init): Add hidden def.
20074 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
20075 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
20076 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
20077 * sysdeps/mach/hurd/getcwd.c
20078 (_hurd_canonicalize_directory_name_internal): Rename to
20079 __hurd_canonicalize_directory_name_internal.
20080 (_hurd_canonicalize_directory_name_internal): New strong alias.
20081 (__canonicalize_directory_name_internal, __getcwd): Call
20082 __hurd_canonicalize_directory_name_internal instead of
20083 _hurd_canonicalize_directory_name_internal.
20084 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
20085 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
20087 * sysdeps/hurd/include/hurd.h: New file.
20088 * sysdeps/hurd/include/hurd/fd.h: New file.
20089 * sysdeps/hurd/include/hurd/signal.h: New file.
20090 * sysdeps/mach/include/lock-intern.h: New file.
20091 * sysdeps/mach/include/mach.h: New file.
20092 * sysdeps/mach/include/mach/mig_support.h: New file.
20093 * sysdeps/mach/include/mach_error.h: New file.
20094 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
20096 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
20097 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
20098 _HEADER_H_HIDDEN_DEF macro.
20099 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
20100 _hurd_fd_error_signal): Add hidden prototype.
20101 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
20103 * libio/iolibio.h (_IO_puts): New hidden prototype.
20104 * libio/ioputs.c (_IO_puts): New hidden def.
20105 * sysdeps/mach/hurd/localplt.data: New file.
20107 2018-04-02 Agustina Arzille <avarzille@riseup.net>
20108 Amos Jeffries <squid3@treenet.co.nz>
20109 David Michael <fedora.dm0@gmail.com>
20110 Marco Gerards <marco@gnu.org>
20111 Marcus Brinkmann <marcus@gnu.org>
20112 Neal H. Walfield <neal@gnu.org>
20113 Pino Toscano <toscano.pino@tiscali.it>
20114 Richard Braun <rbraun@sceen.net>
20115 Roland McGrath <roland@gnu.org>
20116 Samuel Thibault <samuel.thibault@ens-lyon.org>
20117 Thomas DiModica <ricinwich@yahoo.com>
20118 Thomas Schwinge <tschwinge@gnu.org>
20120 * htl: New directory.
20121 * sysdeps/htl: New directory.
20122 * sysdeps/hurd/htl: New directory.
20123 * sysdeps/i386/htl: New directory.
20124 * sysdeps/mach/htl: New directory.
20125 * sysdeps/mach/hurd/htl: New directory.
20126 * sysdeps/mach/hurd/i386/htl: New directory.
20127 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
20128 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
20129 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
20131 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20133 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
20134 signals in thread created for runing timers.
20136 2018-04-01 Florian Weimer <fweimer@redhat.com>
20138 * support/support_format_addrinfo.c (support_format_addrinfo):
20139 Include unknown error number in formatted result.
20141 2018-03-29 Florian Weimer <fweimer@redhat.com>
20143 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
20146 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20148 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
20149 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
20150 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20151 (__ASSUME_CLONE_BACKWARDS): Define.
20153 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
20156 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
20157 early when linux sentinel value is set.
20159 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20161 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
20163 2018-03-27 Andreas Schwab <schwab@suse.de>
20166 * resolv/res_send.c (__res_context_send): Return ENOMEM if
20167 allocation of private copy of nsaddr_list fails.
20169 2018-03-26 Joseph Myers <joseph@codesourcery.com>
20172 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
20173 * sysdeps/unix/sysv/linux/umount.c: ... here.
20174 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
20175 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
20176 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
20177 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
20178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
20179 * sysdeps/unix/sysv/linux/umount.S: Likewise.
20180 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
20182 2018-03-26 Andreas Schwab <schwab@suse.de>
20184 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
20185 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
20186 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
20187 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
20188 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
20189 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
20190 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
20191 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
20192 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
20193 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
20194 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
20195 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
20196 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
20197 (R_RISCV_NUM): Define.
20199 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20201 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
20202 TLS declaration of errno.
20203 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
20205 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
20206 (ARCH_SETUP_TLS): Likewise.
20207 * sysdeps/mach/hurd/libc-start.h: New file copied from
20208 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
20209 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
20210 instead of __libc_setup_tls.
20211 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
20212 __libc_setup_tls before initializing libpthread and running _hurd_init
20213 which starts the signal thread.
20214 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
20216 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20218 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
20221 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
20222 after it is defined.
20224 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
20225 Max Horn <max@quendi.de>
20229 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
20231 * string/test-memmove.c (do_test2): New testcase.
20233 2018-03-22 Joseph Myers <joseph@codesourcery.com>
20235 * sysdeps/generic/frame.h: Remove file.
20236 * sysdeps/arm/frame.h: Likewise.
20237 * sysdeps/hppa/frame.h: Likewise.
20238 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
20240 (GET_FRAME): Likewise.
20241 (GET_STACK): Likewise.
20242 (CALL_SIGHANDLER): Likewise.
20243 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
20245 (GET_FRAME): Likewise.
20246 (GET_STACK): Likewise.
20247 (CALL_SIGHANDLER): Likewise.
20248 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
20249 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20250 (GET_FRAME): Likewise.
20251 (GET_STACK): Likewise.
20252 (CALL_SIGHANDLER): Likewise.
20253 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
20254 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20255 (GET_FRAME): Likewise.
20256 (GET_STACK): Likewise.
20257 (ADVANCE_STACK_FRAME): Likewise.
20258 (CALL_SIGHANDLER): Likewise.
20259 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
20260 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20261 (GET_FRAME): Likewise.
20262 (GET_STACK): Likewise.
20263 (CALL_SIGHANDLER): Likewise.
20264 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
20265 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20266 (GET_FRAME): Likewise.
20267 (GET_STACK): Likewise.
20268 (CALL_SIGHANDLER): Likewise.
20269 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
20270 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20271 (GET_FRAME): Likewise.
20272 (GET_STACK): Likewise.
20273 (CALL_SIGHANDLER): Likewise.
20274 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
20275 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20276 (GET_FRAME): Likewise.
20277 (GET_STACK): Likewise.
20278 (CALL_SIGHANDLER): Likewise.
20279 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
20280 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20281 (GET_FRAME): Likewise.
20282 (GET_STACK): Likewise.
20283 (CALL_SIGHANDLER): Likewise.
20284 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
20285 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20286 (GET_FRAME): Likewise.
20287 (GET_STACK): Likewise.
20288 (CALL_SIGHANDLER): Likewise.
20289 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
20290 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20291 (GET_FRAME): Likewise.
20292 (GET_STACK): Likewise.
20293 (CALL_SIGHANDLER): Likewise.
20294 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
20295 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20296 (GET_FRAME): Likewise.
20297 (GET_STACK): Likewise.
20298 (CALL_SIGHANDLER): Likewise.
20299 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
20300 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20301 (GET_FRAME): Likewise.
20302 (GET_STACK): Likewise.
20303 (CALL_SIGHANDLER): Likewise.
20304 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
20305 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20306 (FIRST_FRAME_POINTER): Likewise.
20307 (ADVANCE_STACK_FRAME): Likewise.
20308 (GET_STACK): Likewise.
20309 (GET_FRAME): Likewise.
20310 (CALL_SIGHANDLER): Likewise.
20311 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
20312 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20313 (ADVANCE_STACK_FRAME): Likewise.
20314 (GET_STACK): Likewise.
20315 (GET_FRAME): Likewise.
20316 (CALL_SIGHANDLER): Likewise.
20317 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
20318 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20319 (GET_FRAME): Likewise.
20320 (GET_STACK): Likewise.
20321 (CALL_SIGHANDLER): Likewise.
20322 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
20323 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20324 (GET_FRAME): Likewise.
20325 (GET_STACK): Likewise.
20326 (CALL_SIGHANDLER): Likewise.
20328 2018-03-21 Joseph Myers <joseph@codesourcery.com>
20330 * sysdeps/x86_64/backtrace.c: Move to ....
20331 * debug/backtrace.c: ... here.
20332 * sysdeps/aarch64/backtrace.c: Remove file.
20333 * sysdeps/alpha/backtrace.c: Likewise.
20334 * sysdeps/hppa/backtrace.c: Likewise.
20335 * sysdeps/ia64/backtrace.c: Likewise.
20336 * sysdeps/mips/backtrace.c: Likewise.
20337 * sysdeps/nios2/backtrace.c: Likewise.
20338 * sysdeps/riscv/backtrace.c: Likewise.
20339 * sysdeps/sh/backtrace.c: Likewise.
20340 * sysdeps/tile/backtrace.c: Likewise.
20342 2018-03-20 Joseph Myers <joseph@codesourcery.com>
20345 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
20348 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
20351 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
20352 possibly overflowing computations.
20354 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
20356 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
20357 values from Linux-specific section now that it is in the GNU section.
20358 * sysdeps/gnu/errlist.c: Regenerate.
20360 2018-03-20 Joseph Myers <joseph@codesourcery.com>
20362 * math/Makefile (libm-narrow-fns): Add sub.
20363 (libm-test-funcs-narrow): Likewise.
20364 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
20365 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
20366 * math/gen-auto-libm-tests.c (test_functions): Add sub.
20367 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
20368 (NARROW_SUB_ROUND_TO_ODD): Likewise.
20369 (NARROW_SUB_TRIVIAL): Likewise.
20370 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
20372 (__dsubl): Likewise.
20373 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
20375 (CFLAGS-nldbl-dsub.c): New variable.
20376 (CFLAGS-nldbl-fsub.c): Likewise.
20377 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20379 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
20381 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
20382 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
20383 * math/auto-libm-test-in: Add tests of sub.
20384 * math/auto-libm-test-out-narrow-sub: New generated file.
20385 * math/libm-test-narrow-sub.inc: New file.
20386 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
20387 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
20388 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
20389 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
20390 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
20391 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
20392 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
20393 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
20394 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
20395 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
20396 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
20397 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
20398 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
20399 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
20400 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
20401 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
20402 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
20403 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
20404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20405 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20406 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20407 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20408 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20409 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20410 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20411 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20412 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20413 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20414 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20415 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20416 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20417 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20422 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20423 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20424 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20425 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20426 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20427 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20428 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20429 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20430 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20431 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20433 2018-03-19 Joseph Myers <joseph@codesourcery.com>
20436 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
20438 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
20440 * benchtests/bench-timing.h (attribute_hidden): Undefine.
20442 2018-03-18 Richard Braun <rbraun@sceen.net>
20444 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
20447 2018-03-18 Agustina Arzille <avarzille@riseup.net>
20449 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
20450 (__libc_cleanup_fct): Define function.
20451 (__libc_cleanup_region_start, __libc_cleanup_region_end,
20452 __libc_cleanup_end): Rewrite implementation using
20453 __attribute__ ((__cleanup__)).
20454 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
20455 * hurd/Makefile (routines): Add hurdlock.
20456 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
20458 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
20459 * hurd/hurdpid.c: Include <lowlevellock.h>
20460 (_S_msg_proc_newids): Use lll_wait to synchronize.
20461 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
20462 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
20463 * mach/Makefile (lock-headers): Remove machine-lock.h.
20464 * mach/lock-intern.h: Include <lowlevellock.h> instead of
20466 (__spin_lock_t): New type.
20467 (__SPIN_LOCK_INITIALIZER): New macro.
20468 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
20469 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
20470 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
20471 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
20472 (__mutex_init): Initialize with lll.
20473 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
20474 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
20476 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20477 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
20478 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
20479 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
20480 (__setpgid): Use lll for synchronization.
20481 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
20482 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
20483 instead of <cthreads.h>.
20484 (_IO_lock_inexpensive): New macro
20485 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
20486 (__libc_lock_self0): New declaration.
20487 (__libc_lock_owner_self): New macro.
20488 (__libc_key_t): Remove type.
20489 (_LIBC_LOCK_INITIALIZER): New macro.
20490 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
20491 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
20492 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
20493 __libc_lock_define_initialized_recursive,
20494 __rtld_lock_define_initialized_recursive,
20495 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
20496 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
20497 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
20498 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
20499 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
20500 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
20501 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
20503 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
20504 * hurd/hurdlock.c: New file.
20505 * hurd/hurdlock.h: New file.
20506 * mach/lowlevellock.h: New file
20508 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
20510 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
20511 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
20512 when opening a symlink with O_NOFOLLOW.
20513 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
20514 path when flags contains O_NOFOLLOW.
20515 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
20516 if flags contains O_DIRECTORY and the result is a directory.
20517 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
20518 oneself when the pointer given in D is nul (as set by ext2fs).
20519 * sysdeps/mach/hurd/mlockall.c: New file.
20520 * sysdeps/mach/hurd/munlockall.c: New file.
20522 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20524 * hurd/hurdsig.c: Include <pthread.h>.
20525 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
20526 get the signal thread stack layout.
20527 * hurd/Makefile (headers): Remove threadvar.h.
20528 (inline-headers): Remove threadvar.h.
20529 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
20530 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
20531 __hurd_threadvar_max, __hurd_errno_location.
20532 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
20533 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
20534 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
20535 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
20536 unless TLS is not initialized yet, in which case we do not need a
20537 critical section yet anyway.
20538 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
20540 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
20542 (__hurd_threadvar_index): Remove enum.
20543 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
20544 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
20546 (__hurd_reply_port0): New variable declaration.
20547 (__hurd_local_reply_port): New macro.
20548 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
20549 (interrupted_reply_port_location): Add thread_t parameter. Use it
20550 with THREAD_TCB to access thread-local variables.
20551 (_hurdsig_abort_rpcs): Pass ss->thread to
20552 interrupted_reply_port_location.
20553 (_hurd_internal_post_signal): Likewise.
20554 (_hurdsig_init): Use presence of cthread_fork instead of
20555 __hurd_threadvar_stack_mask to start signal thread by hand.
20556 Remove signal thread threadvar initialization.
20557 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
20558 * hurd/sigunwind.c: Include <hurd/threadvar.h>
20559 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
20561 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
20563 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
20564 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
20565 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
20566 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
20567 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
20568 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
20569 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
20571 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
20572 <hurd/threadvar.h>.
20573 [IS_IN(rtld)] (rtld_errno): New variable.
20574 [IS_IN(rtld)] (__errno_location): New weak function.
20575 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
20576 * sysdeps/mach/hurd/errno.c: Remove file.
20577 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
20578 (__fork): Remove THREADVAR_SPACE macro and its use.
20579 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
20581 (init): Do not initialize threadvar.
20582 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
20584 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
20585 __hurd_local_reply_port instead of threadvar.
20586 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
20587 _hurd_sigstate fields.
20588 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
20589 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
20590 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
20591 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
20592 instead of threadvar.
20593 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
20594 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
20595 (use_threadvar, global_reply_port): Remove variables.
20596 (__hurd_reply_port0): New variable.
20597 (__mig_get_reply_port): Use __hurd_local_reply_port and
20598 __hurd_reply_port0 instead of threadvar.
20599 (__mig_dealloc_reply_port): Likewise.
20600 (__mig_init): Do not initialize threadvar.
20601 * sysdeps/mach/hurd/profil.c: Fix comment.
20602 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
20603 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
20604 cthread_keycreate, cthread_getspecific, cthread_setspecific to
20605 __cthread_fork, __cthread_detach, __pthread_getattr_np,
20606 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
20607 __cthread_setspecific.
20608 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
20609 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
20610 __cthread_t instead of cthread_fork, cthread_detach,
20611 pthread_getattr_np, pthread_attr_getstack.
20612 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
20613 __cthread_keycreate.
20614 (cthread_getspecific): Rename to __cthread_getspecific.
20615 (cthread_setspecific): Rename to __cthread_setspecific.
20616 (__libc_getspecific): Use __cthread_getspecific instead of
20617 cthread_getspecific.
20618 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20619 __cthread_keycreate instead of cthread_keycreate.
20620 (__libc_setspecific): Use __cthread_setspecific instead of
20621 cthread_setspecific.
20622 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20624 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20625 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20626 testing whether it is defined.
20628 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20630 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20632 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20633 * sysdeps/mach/i386/thread_state.h
20634 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20636 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20638 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20640 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20641 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20643 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20645 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20646 descriptor instead of creating a new one.
20647 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20649 * mach/setup-thread.c: Include <ldsodefs.h>.
20650 (__mach_setup_thread): Call _dl_allocate_tls, pass
20651 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20652 MACHINE_THREAD_STATE_FLAVOR, before getting
20653 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20654 MACHINE_THREAD_STATE_FLAVOR with the result.
20655 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20656 MACHINE_THREAD_STATE_FIX_NEW.
20657 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20658 too. Add original thread parameter.
20660 2018-03-16 Joseph Myers <joseph@codesourcery.com>
20662 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20663 Remove inline function.
20665 * sysdeps/i386/fpu/libm-test-ulps: Update.
20666 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20668 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20670 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20673 2018-03-15 Joseph Myers <joseph@codesourcery.com>
20675 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20676 (__sincos_code): Remove define and undefine.
20677 [__FAST_MATH__] (__sincos): Remove inline function.
20678 [__FAST_MATH__] (__sincosf): Remove inline function.
20679 [__FAST_MATH__] (__sincosl): Remove inline function.
20680 (__atan2l): Remove inline functions.
20681 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20682 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20684 (floor): Remove inline function.
20686 [__FAST_MATH__] (__ldexp_code): Remove macro.
20687 [__FAST_MATH__] (ldexp): Remove inline function.
20688 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20689 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20690 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20691 [__USE_ISOC99] (__lrint_code): Remove macro.
20692 [__USE_ISOC99] (__llrint_code): Likewise.
20693 [__USE_ISOC99] (lrintf): Remove inline function.
20694 [__USE_ISOC99] (lrint): Likewise.
20695 [__USE_ISOC99] (lrintl): Likewise.
20696 [__USE_ISOC99] (llrint): Likewise.
20697 [__USE_ISOC99] (llrintf): Likewise.
20698 [__USE_ISOC99] (llrintl): Likewise.
20700 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20702 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20703 (__ieee754_sqrtf): Remove.
20704 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20705 (__ieee754_sqrtf): Remove.
20706 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20707 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20708 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20709 (__ieee754_sqrtf): Remove.
20710 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20711 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20714 (__ieee754_sqrt): Remove.
20715 (__ieee754_sqrtf): Remove.
20716 (__ieee754_sqrtl): Remove.
20717 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20718 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20719 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20720 (__ieee754_sqrtf): Remove.
20721 (__ieee754_sqrtl): Remove.
20723 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20725 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20726 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20727 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20728 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20729 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20730 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20731 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20732 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20734 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20735 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20736 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20737 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20738 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20739 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20740 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20741 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20742 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20743 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20744 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20745 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20746 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20747 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20748 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20749 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20750 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20751 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20752 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20753 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20754 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20755 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20756 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20758 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20759 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20760 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20762 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20763 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20764 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20765 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20766 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20767 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20768 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20769 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20770 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20771 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20772 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20773 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20775 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20777 * include/math.h (sqrt): Declare with asm redirect.
20780 (sqrtf128): Likewise.
20781 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20782 nonlib and libnldbl with -fmath-errno.
20783 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20784 * math/w_sqrt_template.c: Likewise.
20785 * math/w_sqrtf_compat.c: Likewise.
20786 * math/w_sqrtl_compat.c: Likewise.
20787 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20788 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20789 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20792 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20794 * benchtests/Makefile: Define _ISOMAC.
20795 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20796 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20797 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20798 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20799 * benchtests/bench-timing.h: Define attribute_hidden.
20801 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20803 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20806 2018-03-15 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
20809 * localedata/locales/cs_CZ (mon): Rename to...
20811 (mon): Import from CLDR (genitive case).
20813 2018-03-15 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
20816 * localedata/locales/el_CY (abmon): Rename to...
20817 (ab_alt_mon): This.
20818 (abmon): Import from CLDR (abbreviated genitive case).
20819 * localedata/locales/el_GR (abmon): Rename to...
20820 (ab_alt_mon): This.
20821 (abmon): Import from CLDR (abbreviated genitive case).
20823 2018-03-15 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
20826 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20828 2018-03-15 Robert Buj <robert.buj@gmail.com>
20831 * localedata/locales/ca_ES (abmon): Rename to...
20832 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20833 (mon): Rename to...
20835 (abmon): Import from CLDR (genitive case, month names preceded by
20838 (abday): Synchronize with CLDR.
20839 (d_t_fmt): Likewise.
20843 (LC_TIME): Improve indentation.
20844 (LC_TELEPHONE): Likewise.
20845 (LC_NAME): Likewise.
20846 (LC_ADDRESS): Likewise.
20848 2018-03-14 Joseph Myers <joseph@codesourcery.com>
20850 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20851 (lrintf): Remove definitions used only with old GCC.
20852 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20853 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20854 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20855 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20856 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20857 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20858 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20859 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20860 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20861 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20862 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20863 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20864 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20865 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20866 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20867 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20868 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20869 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20870 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20871 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20872 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20873 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20874 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20875 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20876 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20877 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20878 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20879 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20881 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20883 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20884 instruction to unbreak builds with binutils 2.26 and older.
20886 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20888 * sysdeps/aarch64/strncmp.S (count): New macro.
20889 (strncmp): Store misaligned length in SRC1 in COUNT.
20890 (mutual_align): Adjust.
20891 (misaligned8): Load dword at a time when it is safe.
20893 2018-03-12 Zack Weinberg <zackw@panix.com>
20897 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20898 if the _IO_EOF_SEEN bit is already set; update commentary.
20899 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20900 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20902 * support/support_openpty.c, support/tty.h: New files.
20903 * support/Makefile (libsupport-routines): Add support_openpty.
20905 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20907 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20908 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20910 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20912 * po/pt_BR.po: Update translations.
20914 2018-03-12 David Michael <fedora.dm0@gmail.com>
20916 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20917 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20918 get a port to the startup server.
20920 2018-03-11 Zack Weinberg <zackw@panix.com>
20922 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20923 before nldbl-compat.h.
20925 2018-03-10 Zack Weinberg <zackw@panix.com>
20927 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20928 math.h or math_private.h.
20930 * sysdeps/alpha/fpu/s_isnan.c
20931 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20932 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20933 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20934 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20935 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20936 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20937 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20938 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20939 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20942 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20943 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20944 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20945 Include math_private.h.
20947 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20948 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20949 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20950 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20951 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20952 * sysdeps/powerpc/power7/fpu/s_logb.c:
20953 Include math.h and math_private.h.
20955 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20956 uses of $at in .set noat / .set at.
20958 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20960 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20961 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20962 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20963 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20966 2018-03-09 Florian Weimer <fweimer@redhat.com>
20968 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20971 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20974 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20975 Add nop before __startcontext, add explaining comments.
20977 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20980 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20982 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20983 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20984 Do not build hardware transactional code for __SPE__.
20985 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20986 (__lll_trylock_elision): Likewise.
20987 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20988 (__lll_unlock_elision): Likewise.
20990 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20991 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20992 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20993 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20994 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20995 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20996 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20997 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20998 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20999 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
21000 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
21001 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
21002 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
21003 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
21004 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
21005 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
21006 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
21007 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
21008 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
21009 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
21010 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
21011 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21012 (__ASSUME_CLONE_BACKWARDS): Define.
21013 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
21014 __clone2 if __NR_clone2 is defined.
21015 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21016 (__ASSUME_CLONE_BACKWARDS): Likewise.
21017 * sysdeps/unix/sysv/linux/i386/kernel-features.h
21018 (__ASSUME_CLONE_BACKWARDS): Likewise.
21019 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21020 (__ASSUME_CLONE2): Likewise.
21021 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21022 (__ASSUME_CLONE_BACKWARDS3): Likewise.
21023 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
21024 variants and the define architecture can use.
21025 (__ASSUME_CLONE_DEFAULT): Define as default.
21026 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21027 (__ASSUME_CLONE_BACKWARDS): Likewise.
21028 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21029 (__ASSUME_CLONE_BACKWARDS): Likewise.
21030 * sysdeps/unix/sysv/linux/s390/kernel-features.h
21031 (__ASSUME_CLONE_BACKWARDS2): Likewise.
21033 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
21035 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
21037 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
21040 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
21041 (do_test_limit): Likewise.
21043 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
21044 for every implementation.
21045 (do_test): Likewise.
21047 * benchtests/bench-strncmp.c: Convert output to json.
21049 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21051 * io/futimens.c: Add missing start-of-file descriptive comment.
21052 * io/utime.c: Likewise.
21053 * misc/futimesat.c: Likewise.
21054 * misc/utimes.c: Likewise.
21055 * sysdeps/mach/hurd/futimesat.c: Likewise.
21056 * sysdeps/mach/hurd/utimes.c: Likewise.
21057 * sysdeps/posix/utime.c: Likewise.
21058 * sysdeps/posix/utimes.c: Likewise.
21059 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
21060 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
21061 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
21062 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
21064 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
21066 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
21068 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
21069 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
21070 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
21071 (__futimens): Move implementation to...
21072 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
21073 utime_tvalue_from_tspec): ... new helper functions.
21074 (hurd_futimens): New function.
21075 * sysdeps/mach/hurd/futimesat.c: New file.
21076 * sysdeps/mach/hurd/utimensat.c: New file.
21078 2018-03-05 FlĂĄvio Cruz <flaviocruz@gmail.com>
21080 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
21081 UTIME_OMIT): New macros.
21082 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
21083 before reverting to converting time spec to time value and calling
21085 * sysdeps/mach/hurd/utime-helper.c: New file.
21086 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
21087 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
21088 reverting to utime_tvalue_from_tval and __file_utimes.
21089 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
21090 (__lutimes): Just call hurd_futimens after lookup.
21091 * sysdeps/mach/hurd/utimes.c: Likewise.
21093 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
21095 * bits/sigaction.h: Add include guard.
21096 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
21097 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
21098 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
21099 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
21100 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
21101 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
21102 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
21103 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
21104 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
21106 2018-03-05 Joseph Myers <joseph@codesourcery.com>
21108 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
21109 -Wmaybe-uninitialized for -Os.
21110 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
21113 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21115 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
21116 __INO_T_MATCHES_INO64_T is defined.
21117 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
21118 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
21120 * dirent/alphasort64.c: Likewise.
21121 * dirent/scandir.c: Likewise.
21122 * dirent/scandir64-tail.c: Likewise.
21123 * dirent/scandir64.c: Likewise.
21124 * dirent/scandirat.c: Likewise.
21125 * dirent/scandirat64.c: Likewise.
21126 * dirent/versionsort.c: Likewise.
21127 * dirent/versionsort64.c: Likewise.
21128 * include/dirent.h: Likewise.
21130 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
21131 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
21132 for socketpair endpoint.
21133 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
21134 WRITE_BUFFER_SIZE as buffer size for sending socket.
21135 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
21136 issue on system where send is implemented with sendto syscall.
21137 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
21138 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
21139 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
21140 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
21143 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
21144 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
21145 sa_restorer for vDSO case.
21146 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
21148 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21150 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
21151 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
21152 * hurd/hurd/ioctl.h: Include <mach/port.h>
21153 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
21154 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
21155 <mach/mach_types.h> and <mach/message.h>.
21156 (headers): Move mach/param.h to bits/mach/param.h.
21157 * sysdeps/mach/i386/mach/param.h: Move file to ...
21158 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
21159 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
21161 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
21162 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
21163 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
21164 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
21165 trivial, for C++ conformity.
21166 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
21167 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
21168 Process mig output through $(migheadersed).
21169 * hurd/Makefile (migheadersed): Define variable.
21170 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
21171 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
21173 * hurd/hurd.h: Include <bits/types/sigset_t.h>
21174 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
21175 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
21176 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
21177 <bits/types/sigset_t.h>.
21178 [!defined __USE_GNU]: Do not #error out.
21179 (struct hurd_sigstate): Use _NSIG instead of NSIG.
21180 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
21181 Include <stddef.h> and <bits/types/sigset_t.h>
21182 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
21183 instead of sighandler_t.
21184 * stdlib/errno.h (error_t): Move definition to...
21185 * bits/types/error_t.h: ... new header.
21186 * stdlib/Makefile (headers): Add bits/types/error_t.h.
21187 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
21188 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
21189 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
21190 * hurd/hurd.h: Include <bits/types/error_t.h>
21191 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
21192 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
21193 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
21194 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
21195 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
21196 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
21197 * sysdeps/mach/hurd/futimens.c: New file.
21199 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
21202 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
21203 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
21204 * nscd/gai.c (__nss_hosts_database): Readd definition.
21205 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
21206 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
21207 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
21209 2018-03-02 Joseph Myers <joseph@codesourcery.com>
21211 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
21212 (ifunc_one): Likewise.
21214 2018-03-01 DJ Delorie <dj@delorie.com>
21217 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
21220 2018-03-01 Maciej W. Rozycki <macro@mips.com>
21222 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
21223 `match_pid' parameter.
21224 (td_ta_thr_iter): Update accordingly.
21226 2018-03-01 Florian Weimer <fweimer@redhat.com>
21228 * nptl/Makefile (install-lib-ldscripts): Remove.
21229 (install): Remove rule.
21230 ($(inst_libdir)/libpthread.so): Likewise.
21232 2018-03-01 Mike FABIAN <mfabian@redhat.com>
21235 * localedata/locales/an_ES: update month and day names,
21236 improve d_fmt, improve postal_fmt, add country_post,
21239 2018-03-01 Mike FABIAN <mfabian@redhat.com>
21241 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
21242 Ukrainian instead of Bulgarian.
21244 2018-03-01 Florian Weimer <fweimer@redhat.com>
21246 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
21249 2018-03-01 Florian Weimer <fweimer@redhat.com>
21251 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
21252 * nptl/Makefile (routines): Add pthread_atfork.
21253 (static-only-routines): Set to pthread_atfork.
21254 (libpthread-routines): Remove pthread_atfork.
21255 (libpthread-static-only-routines): Remove.
21256 (install): Update comment.
21257 (libpthread.so): Do not install libpthread_nonshared.a.
21258 (tests): Do not link with libpthread_nonshared.a.
21259 (generated): Remove libpthread_nonshared.a.
21260 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
21261 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
21262 with libpthread_nonshared.a.
21264 2018-02-28 Joseph Myers <joseph@codesourcery.com>
21267 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
21268 (libc_feholdexcept_setroundf128): New macro.
21269 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
21272 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
21274 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
21275 * include/inttypes.h: New file.
21277 2018-02-27 Joseph Myers <joseph@codesourcery.com>
21279 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
21280 -Os in two more places.
21282 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21284 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
21285 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
21286 be sorted correctly at the moment because of a bug.
21288 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21290 [BZ #22550] - es_ES locale (and other es_* locales): collation should
21291 treat ñ as a primary different character, sync the collation
21292 for Spanish with CLDR.
21293 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
21294 * localedata/Makefile: Add new test files.
21295 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
21296 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
21298 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
21299 * localedata/am_ET.UTF-8.in: New test file.
21300 * localedata/az_AZ.UTF-8.in: Likewise.
21301 * localedata/be_BY.UTF-8.in: Likewise.
21302 * localedata/ber_DZ.UTF-8.in: Likewise.
21303 * localedata/ber_MA.UTF-8.in: Likewise.
21304 * localedata/bg_BG.UTF-8.in: Likewise.
21305 * localedata/br_FR.UTF-8.in: Likewise.
21306 * localedata/cmn_TW.UTF-8.in: Likewise.
21307 * localedata/crh_UA.UTF-8.in: Likewise.
21308 * localedata/csb_PL.UTF-8.in: Likewise.
21309 * localedata/cv_RU.UTF-8.in: Likewise.
21310 * localedata/cy_GB.UTF-8.in: Likewise.
21311 * localedata/dz_BT.UTF-8.in: Likewise.
21312 * localedata/eo.UTF-8.in: Likewise.
21313 * localedata/es_ES.UTF-8.in: Likewise.
21314 * localedata/fa_IR.UTF-8.in: Likewise.
21315 * localedata/fi_FI.UTF-8.in: Likewise.
21316 * localedata/fil_PH.UTF-8.in: Likewise.
21317 * localedata/fur_IT.UTF-8.in: Likewise.
21318 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
21319 * localedata/ha_NG.UTF-8.in: Likewise.
21320 * localedata/ig_NG.UTF-8.in: Likewise.
21321 * localedata/ik_CA.UTF-8.in: Likewise.
21322 * localedata/kk_KZ.UTF-8.in: Likewise.
21323 * localedata/ku_TR.UTF-8.in: Likewise.
21324 * localedata/ky_KG.UTF-8.in: Likewise.
21325 * localedata/ln_CD.UTF-8.in: Likewise.
21326 * localedata/mi_NZ.UTF-8.in: Likewise.
21327 * localedata/ml_IN.UTF-8.in: Likewise.
21328 * localedata/mn_MN.UTF-8.in: Likewise.
21329 * localedata/mr_IN.UTF-8.in: Likewise.
21330 * localedata/mt_MT.UTF-8.in: Likewise.
21331 * localedata/nb_NO.UTF-8.in: Likewise.
21332 * localedata/om_KE.UTF-8.in: Likewise.
21333 * localedata/os_RU.UTF-8.in: Likewise.
21334 * localedata/ps_AF.UTF-8.in: Likewise.
21335 * localedata/ro_RO.UTF-8.in: Likewise.
21336 * localedata/ru_RU.UTF-8.in: Likewise.
21337 * localedata/sc_IT.UTF-8.in: Likewise.
21338 * localedata/se_NO.UTF-8.in: Likewise.
21339 * localedata/sq_AL.UTF-8.in: Likewise.
21340 * localedata/sv_SE.UTF-8.in: Likewise.
21341 * localedata/szl_PL.UTF-8.in: Likewise.
21342 * localedata/tg_TJ.UTF-8.in: Likewise.
21343 * localedata/tk_TM.UTF-8.in: Likewise.
21344 * localedata/tt_RU.UTF-8.in: Likewise.
21345 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
21346 * localedata/ug_CN.UTF-8.in: Likewise.
21347 * localedata/uz_UZ.UTF-8.in: Likewise.
21348 * localedata/vi_VN.UTF-8.in: Likewise.
21349 * localedata/yi_US.UTF-8.in: Likewise.
21350 * localedata/yo_NG.UTF-8.in: Likewise.
21351 * localedata/zh_CN.UTF-8.in: Likewise.
21352 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
21353 file and fix bugs in the collation.
21354 * localedata/locales/az_AZ: Likewise.
21355 * localedata/locales/be_BY: Likewise.
21356 * localedata/locales/ber_DZ: Likewise.
21357 * localedata/locales/ber_MA: Likewise.
21358 * localedata/locales/bg_BG: Likewise.
21359 * localedata/locales/br_FR: Likewise.
21360 * localedata/locales/br_FR@euro: Likewise.
21361 * localedata/locales/ca_ES: Likewise.
21362 * localedata/locales/cns11643_stroke: Likewise.
21363 * localedata/locales/crh_UA: Likewise.
21364 * localedata/locales/cs_CZ: Likewise.
21365 * localedata/locales/csb_PL: Likewise.
21366 * localedata/locales/cv_RU: Likewise.
21367 * localedata/locales/cy_GB: Likewise.
21368 * localedata/locales/da_DK: Likewise.
21369 * localedata/locales/dz_BT: Likewise.
21370 * localedata/locales/en_CA: Likewise.
21371 * localedata/locales/eo: Likewise.
21372 * localedata/locales/es_CU: Likewise.
21373 * localedata/locales/es_EC: Likewise.
21374 * localedata/locales/es_ES: Likewise.
21375 * localedata/locales/es_US: Likewise.
21376 * localedata/locales/et_EE: Likewise.
21377 * localedata/locales/fa_IR: Likewise.
21378 * localedata/locales/fi_FI: Likewise.
21379 * localedata/locales/fil_PH: Likewise.
21380 * localedata/locales/fur_IT: Likewise.
21381 * localedata/locales/gez_ER@abegede: Likewise.
21382 * localedata/locales/ha_NG: Likewise.
21383 * localedata/locales/hr_HR: Likewise.
21384 * localedata/locales/hsb_DE: Likewise.
21385 * localedata/locales/hu_HU: Likewise.
21386 * localedata/locales/ig_NG: Likewise.
21387 * localedata/locales/ik_CA: Likewise.
21388 * localedata/locales/is_IS: Likewise.
21389 * localedata/locales/iso14651_t1_pinyin: Likewise.
21390 * localedata/locales/kk_KZ: Likewise.
21391 * localedata/locales/ku_TR: Likewise.
21392 * localedata/locales/ky_KG: Likewise.
21393 * localedata/locales/ln_CD: Likewise.
21394 * localedata/locales/lt_LT: Likewise.
21395 * localedata/locales/lv_LV: Likewise.
21396 * localedata/locales/mi_NZ: Likewise.
21397 * localedata/locales/ml_IN: Likewise.
21398 * localedata/locales/mn_MN: Likewise.
21399 * localedata/locales/mr_IN: Likewise.
21400 * localedata/locales/mt_MT: Likewise.
21401 * localedata/locales/nb_NO: Likewise.
21402 * localedata/locales/om_KE: Likewise.
21403 * localedata/locales/os_RU: Likewise.
21404 * localedata/locales/pl_PL: Likewise.
21405 * localedata/locales/ps_AF: Likewise.
21406 * localedata/locales/ro_RO: Likewise.
21407 * localedata/locales/ru_RU: Likewise.
21408 * localedata/locales/ru_UA: Likewise.
21409 * localedata/locales/sc_IT: Likewise.
21410 * localedata/locales/se_NO: Likewise.
21411 * localedata/locales/si_LK: Likewise.
21412 * localedata/locales/sq_AL: Likewise.
21413 * localedata/locales/sv_FI: Likewise.
21414 * localedata/locales/sv_FI@euro: Likewise.
21415 * localedata/locales/sv_SE: Likewise.
21416 * localedata/locales/szl_PL: Likewise.
21417 * localedata/locales/tg_TJ: Likewise.
21418 * localedata/locales/ti_ER: Likewise.
21419 * localedata/locales/tk_TM: Likewise.
21420 * localedata/locales/tl_PH: Likewise.
21421 * localedata/locales/tr_TR: Likewise.
21422 * localedata/locales/tt_RU: Likewise.
21423 * localedata/locales/tt_RU@iqtelif: Likewise.
21424 * localedata/locales/ug_CN: Likewise.
21425 * localedata/locales/uk_UA: Likewise.
21426 * localedata/locales/uz_UZ: Likewise.
21427 * localedata/locales/uz_UZ@cyrillic: Likewise.
21428 * localedata/locales/vi_VN: Likewise.
21429 * localedata/locales/yi_US: Likewise.
21430 * localedata/locales/yo_NG: Likewise.
21432 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21434 * gen-locales.mk: Make test files which contain @ modifiers in their
21436 * localedata/gen-locale.sh: Likewise.
21438 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21440 * posix/tst-fnmatch.input: Fix results for range expressions
21442 * posix/tst-regexloc.c: Do not use a range expression for
21443 de_DE.ISO-8859-1 locale.
21445 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21447 * posix/bug-regex5.c: Fix test case because with the new
21448 iso14651_t1_common file, the da_DK locale now has 6 collating elements
21449 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
21452 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21454 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
21455 downloaded from ISO, the collation order of @-. and space has changed.
21456 Therefore, this test file needed to be adapted.
21457 * localedata/fr_CA.UTF-8.in: Likewise.
21458 * localedata/fr_FR.UTF-8.in: Likewise.
21459 * localedata/uk_UA.UTF-8.in: Likewise.
21461 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21463 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
21464 order of È„ in the new iso14651_t1_common file.
21465 * localedata/pl_PL.UTF-8.in: Likewise.
21467 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21469 * localedata/locales/iso14651_t1_common: Add sections for various
21470 scripts to the iso14651_t1_common file.
21472 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21474 * localedata/locales/iso14651_t1_common: Use the code point of a
21475 character in the fourth collation level instead of IGNORE for all
21476 entries which have IGNORE on all 4 levels.
21478 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21480 * localedata/locales/iso14651_t1_common: Add some convenient collation
21481 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
21482 rules similar to those in CLDR.
21484 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21486 * localedata/locales/iso14651_t1_common: The new version of this
21487 file downloaded from ISO contained several syntax errors which
21488 are fixed by this patch.
21490 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21492 * localedata/locales/iso14651_t1_common: replace all <U.....>
21493 with <U000.....> because glibc understands only 4 digit or 8 digit
21495 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21497 * localedata/locales/iso14651_t1_common: Necessary changes
21498 to make the file downloaded from ISO usable by glibc.
21500 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21503 * localedata/locales/iso14651_t1_common: Update file to
21504 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
21506 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21508 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
21509 of <nptl/pthreadP.h>
21510 (thread_attr_compare): Move function to...
21511 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
21512 * sysdeps/nptl/timer_routines.h: ... new header.
21513 * sysdeps/mach/hurd/gai_misc.h: New file.
21515 2018-02-26 Joseph Myers <joseph@codesourcery.com>
21517 * string/strcoll_l.c: Include <libc-diag.h>.
21518 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
21519 declarations of seq1 and seq2.
21522 * stdlib/atoi.c (atoi): Use libc_hidden_def.
21523 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
21525 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
21529 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
21530 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
21531 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
21532 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
21533 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
21534 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
21536 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21538 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
21539 macros used in __ptrace_request.
21541 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
21544 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
21546 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
21547 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
21548 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
21551 2018-02-23 Joseph Myers <joseph@codesourcery.com>
21554 * ctype/ctype.c (tolower): Use libc_hidden_def.
21555 (toupper): Likewise.
21556 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
21557 [!_ISOMAC] (toupper): Likewise.
21559 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21561 * localedata/Makefile: Remove --quiet argument when
21564 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21567 * localedata/locales/pt_BR (LC_TIME): use / instead of -
21569 * localedata/locales/pt_PT (LC_TIME): likewise
21571 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21574 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
21575 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
21576 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
21578 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21582 * nptl/Makefile (routines): Remove unregister-atfork.
21583 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
21584 (fork_handler_alloc): Remove function.
21585 (fork_handlers, fork_handler_init): New variables.
21586 (__fork_lock): Rename to atfork_lock.
21587 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
21588 to use a dynamic array to add/remove atfork handlers.
21589 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21590 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
21591 Remove declaration.
21592 (fork_handler): Remove next, refcntr, and need_signal member.
21593 (__run_fork_handler_type): New enum.
21594 (__run_fork_handlers): New prototype.
21595 * nptl/register-atfork.c: Remove file.
21596 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
21598 * sysdeps/nptl/nptl-signals.h: Move to ...
21599 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
21601 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
21602 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
21603 unnecessary check for SIGTIMER.
21604 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
21605 remove unnecessary removal of SIGTIMER.
21606 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
21607 include-signals.h rename.
21608 * nptl/pthreadP.h: Likewise.
21609 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
21610 __is_internal_signal instead of __nptl_is_internal_signal.
21612 2018-02-22 Andrew Waterman <andrew@sifive.com>
21615 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
21616 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
21617 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21618 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21620 2018-02-22 DJ Delorie <dj@delorie.com>
21622 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21624 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21626 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21627 do_misaligned, not misaligned8.
21629 2018-02-22 Steve Ellcey <sellcey@cavium.com>
21631 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21632 Add memcpy_thunderx2.
21633 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21635 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21636 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21637 and IS_THUNDERX2PA checks.
21638 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21639 Use macro to set name appropriately.
21640 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21641 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21642 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21644 (IS_THUNDERX2): New macro.
21646 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21648 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21650 2018-02-21 Zack Weinberg <zackw@panix.com>
21652 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21653 Define here, unconditionally.
21654 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21655 * libio/libioP.h: Remove #if 0 blocks.
21656 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21657 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21658 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21660 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21661 Assume weak_alias is always defined.
21663 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21664 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21665 Remove #if 0 and #ifdef TODO blocks.
21666 Assume text_set_element is always defined.
21668 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21669 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21670 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21672 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21673 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21674 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21675 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21676 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21677 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21678 Reformat bit flags for _flags field to make occupancy clearer.
21680 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21681 Keep definitions consistent with those in libio/libio.h.
21683 * libio/libio.h (_IO_file_flags): Remove macro.
21684 All uses changed to _flags.
21686 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21687 (__HAVE_COLUMN, _IO_BE): Don't define.
21688 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21689 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21690 * libio/libioP.h (EOF): Don't define.
21691 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21692 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21693 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21694 testing _IO_UNIFIED_JUMPTABLES.
21696 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21697 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21698 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21699 (_IO_size_t): Delete; all uses changed to size_t.
21700 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21701 (_IO_off_t): Delete; all uses changed to off_t.
21702 (_IO_off64_t): Delete; all uses changed to off64_t.
21703 (_IO_pid_t): Delete; all uses changed to pid_t.
21704 (_IO_uid_t): Delete; all uses changed to uid_t.
21705 (_IO_wint_t): Delete; all uses changed to wint_t.
21706 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21707 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21708 (_IO_cookie_io_functions_t): Delete; all uses changed to
21709 cookie_io_functions_t.
21710 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21711 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21712 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21713 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21715 * libio/iofopncook.c: Remove unnecessary forward declarations.
21716 * libio/iolibio.h: Correct outdated commentary.
21717 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21718 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21719 Remove unnecessary casts.
21720 * stdio-common/getline.c: Use _IO_getdelim directly.
21721 Don't redefine ssize_t.
21722 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21723 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21724 Remove outdated comments.
21725 * stdio-common/vfscanf.c: Don't redefine va_list.
21727 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21728 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21729 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21730 which are always true, and __cplusplus, which is always false.
21732 2018-02-21 Joseph Myers <joseph@codesourcery.com>
21736 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21737 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21738 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21739 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21741 [!_ISOMAC] (putc_unlocked): Likewise.
21742 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21743 define inline if [__USE_EXTERN_INLINES].
21744 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21749 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21750 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21751 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21752 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21753 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21755 * time/tzfile.c (__tzfile_read): Likewise.
21757 2018-02-21 Mike FABIAN <mfabian@redhat.com>
21760 * localedata/locales/et_EE (LC_COLLATE): add missing âreorder-endâ
21762 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21764 * io/fcntl.h: Fix a typo in a comment.
21766 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21769 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21770 define _DEFAULT_SOURCE.
21771 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21773 2018-02-21 Florian Weimer <fweimer@redhat.com>
21776 * elf/cache.c (save_cache): Call fsync on temporary file before
21778 (save_aux_cache): Call fdatasync on temporary file before renaming
21781 2018-02-21 Florian Weimer <fweimer@redhat.com>
21784 * include/caller.h: Remove file.
21785 * elf/dl-caller.c: Likewise.
21786 * elf/Makefile (dl-routines): Remove dl-caller.
21787 (shared-only-routines): Do not add dl-caller.
21788 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21790 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21792 (dl_open_worker): Do not call __check_caller.
21793 (_dl_open): Do not set caller_dl_open member.
21794 * elf/rtld.c (_rtld_global_ro): Do not initialize
21795 _dl_check_caller member.
21796 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21797 _dl_check_caller member.
21798 (_dl_check_caller): Remove declaration.
21799 * sysdeps/unix/sysv/linux/dl-execstack.c
21800 (_dl_make_stack_executable): Do not call __check_caller.
21802 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21804 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
21805 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
21807 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21809 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21812 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21815 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21816 of 199606L, 200112L, and 200809L.
21817 (_XOPEN_SOURCE): Document special values of 600 and 700.
21818 (_ISOC11_SOURCE): Document macro.
21819 (_ATFILE_SOURCE): Likewise.
21820 (_FORTIFY_SOURCE): Likewise.
21822 2018-02-19 Joseph Myers <joseph@codesourcery.com>
21826 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21827 and define as weak alias of __ferror_unlocked. Use
21829 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21831 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21832 function if [__USE_EXTERN_INLINES].
21833 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21836 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
21839 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21841 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21844 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21845 the GLIBC_2.1 version.
21847 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21850 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21851 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21852 intl/tst-gettext-de.po from po/de.po by removing the
21853 POT-Creation-Date line.
21854 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21856 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21859 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21861 * mach/Makefile (headers): Add mach/param.h.
21862 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21863 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
21864 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21865 (__ptsname_r): Move implementation to...
21866 (__ptsname_internal): ... new function. Add filling the STP
21869 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
21871 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21874 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
21876 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21879 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21881 * nptl/Makefile (tst-mutex8-ENV): Delete.
21882 * nptl/tst-mutex8.c (check_type):
21883 Add runtime check if mutex will be elided.
21885 2018-02-15 Joseph Myers <joseph@codesourcery.com>
21889 * manual/install.texi (Configuring and compiling): Describe
21890 passing CC and CFLAGS on configure command line, not as
21891 environment variables. Use @code markup on those variables.
21892 Specify what options go in CC and what go in CFLAGS. Note the
21893 requirement to compile with optimization.
21894 * INSTALL: Regenerated.
21897 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21898 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21899 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21900 __sigprocmask instead of sigprocmask.
21901 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21903 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21904 __sigsetjmp and sigprocmask.
21907 * include/argz.h (argz_next): Use libc_hidden_proto.
21908 (__argz_next): Likewise.
21909 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21910 (argz_next): Use libc_hidden_weak.
21913 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21915 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21919 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21921 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21925 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21926 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21927 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21928 (__feof_unlocked): New declaration, and inline function if
21929 [__USE_EXTERN_INLINES].
21930 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21931 instead of feof_unlocked.
21932 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21933 * nss/nsswitch.c (nss_parse_file): Likewise.
21934 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21936 * time/getdate.c (__getdate_r): Likewise.
21937 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21938 Define as macro to call __feof_unlocked.
21940 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21942 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21944 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21946 * math/Makefile: Remove mpexp.c and mplog.c
21947 * sysdeps/i386/fpu/mpexp.c: Delete file.
21948 * sysdeps/i386/fpu/mplog.c: Likewise.
21949 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21950 * sysdeps/ia64/fpu/mplog.c: Likewise.
21951 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21952 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21953 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21954 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21955 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21956 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21957 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21958 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21959 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21960 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21961 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21962 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21963 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21964 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21965 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21966 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21968 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21970 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21972 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21974 * sysdeps/sh/libm-test-ulps: Update.
21976 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21978 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21981 2018-02-12 Zack Weinberg <zackw@panix.com>
21984 * posix/sys/types.h: Don't include sys/sysmacros.h.
21985 * misc/sys/sysmacros.h: Remove the conditional deprecation
21986 warnings for the macros defined by this header.
21988 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21990 * manual/probes.texi: Remove slowexp probes.
21991 * math/Makefile: Remove slowexp.
21992 * sysdeps/generic/math_private.h (__slowexp): Remove.
21993 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21994 document error bounds.
21995 * sysdeps/i386/fpu/slowexp.c: Remove.
21996 * sysdeps/ia64/fpu/slowexp.c: Remove.
21997 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21998 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21999 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
22000 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
22001 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
22002 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
22003 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
22004 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
22005 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
22006 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
22007 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
22009 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
22012 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
22013 * benchtests/pow-inputs: Update comment for slow path cases.
22014 * manual/probes.texi (slowpow_p10): Delete removed probe.
22015 (slowpow_p10): Likewise.
22016 * math/Makefile: Remove halfulp.c and slowpow.c.
22017 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
22018 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
22019 (__halfulp): Remove.
22020 (__slowpow): Remove.
22021 * sysdeps/i386/fpu/halfulp.c: Delete file.
22022 * sysdeps/i386/fpu/slowpow.c: Likewise.
22023 * sysdeps/ia64/fpu/halfulp.c: Likewise.
22024 * sysdeps/ia64/fpu/slowpow.c: Likewise.
22025 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
22026 improve comments and add error analysis.
22027 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
22028 (power1): Remove function:
22029 (log1): Remove error argument, add error analysis.
22030 (my_log2): Remove function.
22031 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
22032 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22033 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
22034 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
22035 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
22036 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
22037 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
22038 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
22039 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
22040 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
22041 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
22042 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22043 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
22044 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22046 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
22048 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
22049 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
22051 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
22054 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
22055 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
22056 and PTRACE_SETHBPREGS.
22058 2018-02-10 Zack Weinberg <zackw@panix.com>
22061 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
22063 * malloc/tst-malloc-stats-cancellation.c: New test case.
22064 * malloc/Makefile: Add new test case.
22066 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
22068 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
22070 2018-02-10 Joseph Myers <joseph@codesourcery.com>
22072 * math/Makefile (libm-narrow-fns): Add add.
22073 (libm-test-funcs-narrow): Likewise.
22074 * math/Versions (GLIBC_2.28): Add narrowing add functions.
22075 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
22076 * math/gen-auto-libm-tests.c (test_functions): Add add.
22077 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
22078 (NARROW_ADD_ROUND_TO_ODD): Likewise.
22079 (NARROW_ADD_TRIVIAL): Likewise.
22080 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
22082 (__daddl): Likewise.
22083 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
22085 (CFLAGS-nldbl-dadd.c): New variable.
22086 (CFLAGS-nldbl-fadd.c): Likewise.
22087 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
22089 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
22091 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
22092 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
22093 * math/auto-libm-test-in: Add tests of add.
22094 * math/auto-libm-test-out-narrow-add: New generated file.
22095 * math/libm-test-narrow-add.inc: New file.
22096 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
22097 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
22098 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
22099 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
22100 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
22101 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
22102 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
22103 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
22104 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
22105 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
22106 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
22107 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
22108 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
22109 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
22110 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
22111 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
22112 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
22113 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
22114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22115 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
22116 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22117 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22118 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22119 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22120 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22121 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22122 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22123 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22124 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22125 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22126 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22127 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
22129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
22130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
22131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
22132 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22133 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22134 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22135 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22136 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22137 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22138 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
22139 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
22140 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22141 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22143 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
22144 (f128-pairs): New variable.
22145 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
22146 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
22148 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
22149 Also make tests add $(f128-loader-link) to gnulib-tests.
22151 2018-02-09 DJ Delorie <dj@redhat.com>
22154 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
22155 64-bit ELF type for 64-bit ELF objects.
22157 2018-02-09 Joseph Myers <joseph@codesourcery.com>
22159 * math/libm-test-driver.c (snan_tests_arg): New variable.
22160 * math/libm-test-support.h (snan_tests_arg): New declaration.
22161 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
22163 * math/Makefile (test-type-pairs): New variable.
22164 (test-type-pairs-f64xf128-yes): Likewise.
22165 (tests): Add test-narrow-macros.
22166 (libm-test-funcs-narrow): New variable.
22167 (libm-test-c-narrow): Likewise.
22168 (generated): Add $(libm-test-c-narrow).
22169 (libm-tests-base-narrow): New variable.
22170 (libm-tests-narrow): Likewise.
22171 (libm-tests): Add $(libm-tests-narrow).
22172 (libm-tests-for-type): Handle $(libm-tests-narrow).
22173 (libm-test-c-narrow-obj): New variable.
22174 ($(libm-test-c-narrow-obj)): New rule.
22175 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
22176 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
22177 $(o-iterator) to set dependencies and CFLAGS.
22178 * math/gen-auto-libm-tests.c: Document use for narrowing
22180 (output_for_one_input_case): Take argument NARROW.
22181 (generate_output): Likewise. Update call to
22182 output_for_one_input_case.
22183 (main): Take --narrow option. Update call to generate_output.
22184 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
22185 (apply_lit): Update call to _apply_lit.
22186 (apply_arglit): New function.
22187 (parse_args): Handle "a" arguments.
22188 (parse_auto_input): Handle format names using ":".
22189 * math/README.libm-test: Document "a" parameter type.
22190 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
22191 (ARG_TYPE_TRUE_MIN): Likewise.
22192 (ARG_TYPE_MAX): Likwise.
22193 (ARG_MIN_EXP): Likewise.
22194 (ARG_MAX_EXP): Likewise.
22195 (ARG_MANT_DIG): Likewise.
22196 (TEST_COND_arg_ibm128): Likewise.
22197 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
22198 (TEST_COND_arg_fmt): New macro.
22199 (init_max_error): Update prototype.
22200 * math/libm-test-support.c (test_ibm128): New variable.
22201 (init_max_error): Take argument testing_ibm128 and set test_ibm128
22202 instead of using [TEST_COND_ibm128] conditional.
22203 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
22204 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
22205 [TEST_NARROW] (TEST_MSG): New definition.
22206 (arg_plus_zero): New macro.
22207 (arg_minus_zero): Likewise.
22208 (arg_plus_infty): Likewise.
22209 (arg_minus_infty): Likewise.
22210 (arg_qnan_value_pl): Likewise.
22211 (arg_qnan_value): Likewise.
22212 (arg_snan_value_pl): Likewise.
22213 (arg_snan_value): Likewise.
22214 (arg_max_value): Likewise.
22215 (arg_min_value): Likewise.
22216 (arg_min_subnorm_value): Likewise.
22217 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
22218 (RUN_TEST_LOOP_aa_f): New macro.
22219 (TEST_SUFF): New macro.
22220 (TEST_SUFF_STR): Likewise.
22221 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
22222 (TEST_COND_any_ibm128): New macro.
22223 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
22224 this_func. Update call to init_max_error.
22225 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
22226 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
22227 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
22228 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
22229 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
22230 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
22231 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
22232 * math/test-math-scalar.h (TEST_NARROW): Likewise.
22233 * math/test-math-vector.h (TEST_NARROW): Likewise.
22234 * math/test-arg-double.h: New file.
22235 * math/test-arg-float128.h: Likewise.
22236 * math/test-arg-float32x.h: Likewise.
22237 * math/test-arg-float64.h: Likewise.
22238 * math/test-arg-float64x.h: Likewise.
22239 * math/test-arg-ldouble.h: Likewise.
22240 * math/test-math-narrow.h: Likewise.
22241 * math/test-narrow-macros.c: Likewise.
22242 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
22243 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
22244 test-narrow-macros-ldbl-64.
22245 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
22247 * math/bits/mathcalls-narrow.h: New file.
22248 * include/bits/mathcalls-narrow.h: Likewise.
22249 * math/math-narrow.h: Likewise.
22250 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
22251 (__MATHCALL_NARROW_ARGS_2): Likewise.
22252 (__MATHCALL_NARROW_ARGS_3): Likewise.
22253 (__MATHCALL_NARROW_NORMAL): Likewise.
22254 (__MATHCALL_NARROW_REDIR): Likewise.
22255 (__MATHCALL_NARROW): Likewise.
22256 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
22257 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
22259 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22260 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
22261 (libm-narrow-fns): New variable.
22262 (libm-narrow-types-basic): Likewise.
22263 (libm-narrow-types-ldouble-yes): Likewise.
22264 (libm-narrow-types-float128-yes): Likewise.
22265 (libm-narrow-types-float128-alias-yes): Likewise.
22266 (libm-narrow-types): Likewise.
22267 (libm-routines): Add narrowing functions.
22268 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
22269 (libc_feholdexcept_setroundf128): New macro.
22270 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
22271 * sysdeps/ieee754/float128/float128_private.h: Include
22272 <math/math-narrow.h>.
22273 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
22274 Undefine and redefine.
22275 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
22276 (libm_alias_float_ldouble): Undefine and redefine.
22277 (libm_alias_double_ldouble): Likewise.
22279 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
22281 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
22283 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
22286 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
22288 * manual/creature.texi: Convert references to gcc.info to gcc.
22289 * manual/stdio.texi: Likewise.
22290 * manual/string.texi: Likewise.
22292 2018-02-07 Joseph Myers <joseph@codesourcery.com>
22295 * posix/bits/types.h (__int_least8_t): New typedef.
22296 (__uint_least8_t): Likewise.
22297 (__int_least16_t): Likewise.
22298 (__uint_least16_t): Likewise.
22299 (__int_least32_t): Likewise.
22300 (__uint_least32_t): Likewise.
22301 (__int_least64_t): Likewise.
22302 (__uint_least64_t): Likewise.
22303 * sysdeps/generic/stdint.h (int_least8_t): Define using
22305 (int_least16_t): Define using __int_least16_t.
22306 (int_least32_t): Define using __int_least32_t.
22307 (int_least64_t): Define using __int_least64_t.
22308 (uint_least8_t): Define using __uint_least8_t.
22309 (uint_least16_t): Define using __uint_least16_t.
22310 (uint_least32_t): Define using __uint_least32_t.
22311 (uint_least64_t): Define using __uint_least64_t.
22312 * wcsmbs/uchar.h: Include <bits/types.h>.
22313 (char16_t): Define using __uint_least16_t conditional only on
22315 (char32_t): Define using __uint_least32_t conditional only on
22317 * wcsmbs/test-char-types.c: New file.
22318 * wcsmbs/Makefile (tests): Add test-char-types.
22320 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
22323 2018-02-07 Zack Weinberg <zackw@panix.com>
22325 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
22326 Delete all contents except for definitions of _G_HAVE_MMAP and
22327 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
22328 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
22329 sysdeps/unix/sysv/linux/_G_config.h. Make same content
22332 * libio/libio.h: Don't include bits/_G_config.h here.
22333 Include stddef.h with __need_wchar_t defined. Include
22334 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
22335 Define _IO_iconv_t here, directly.
22336 Don't define _IO_HAVE_ST_BLKSIZE.
22337 * libio/libioP.h: Include _G_config.h here. Move include of
22338 shlib-compat.h up with rest of includes. Simplify conditionals
22339 controlling definition of _IO_JUMPS_OFFSET.
22341 * csu/init.c: Remove always-true #if around entire file.
22342 Don't include stdio.h. Set _IO_stdin_used to hardwired
22343 constant 0x20001, and update commentary.
22344 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
22345 Replace all uses of _G_va_list with __gnuc_va_list.
22346 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
22347 instead of #if _IO_HAVE_ST_BLKSIZE.
22348 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
22349 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
22352 * libio/bits/libio.h: Move back to libio/libio.h and adjust
22353 multiple-include guard to match.
22354 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
22356 Remove preprocessor conditionals that are always true and/or
22357 redundant to other preprocessor conditionals in the same nest.
22358 Include shlib-compat.h unconditionally.
22359 Error out if _LIBC is not defined, or if _ISOMAC is defined,
22360 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
22361 defined after including stdio.h.
22362 Use __BEGIN_DECLS/__END_DECLS.
22364 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
22365 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
22366 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
22368 2018-02-07 Zack Weinberg <zackw@panix.com>
22370 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
22371 New single-type headers split from _G_config.h.
22372 * libio/bits/types/cookie_io_functions_t.h
22373 * libio/bits/types/struct_FILE.h
22374 New single-type headers split from libio.h.
22376 * libio/Makefile: Install the above new headers. Don't install
22377 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
22379 * libio/_G_config.h, libio/libio.h: Delete file.
22381 * libio/bits/libio.h: Remove improper-inclusion guard.
22382 Include stdio.h and don't repeat anything that it does.
22383 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
22384 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
22385 __io_read_fn as cookie_read_function_t,
22386 __io_write_fn as cookie_write_function_t,
22387 __io_seek_fn as cookie_seek_function_t,
22388 __io_close_fn as cookie_close_function_t,
22389 and _IO_cookie_io_functions_t as cookie_io_functions_t.
22390 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
22391 here, in the "compatibility defines" section. Remove an #if 0
22392 block. Use the "body" macros from bits/types/struct_FILE.h to
22393 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
22394 and _IO_ferror_unlocked.
22395 Move prototypes of __uflow and __overflow...
22397 * libio/stdio.h: ...here. Don't include bits/libio.h.
22398 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
22399 directly from stdarg.h. Include bits/types/__fpos_t.h,
22400 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
22401 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
22402 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
22403 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
22404 cookie_io_functions_t, not _IO_cookie_io_functions_t;
22405 __ssize_t, not _IO_ssize_t. Unconditionally define
22406 BUFSIZ as 8192 and EOF as (-1).
22408 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
22409 macros from bits/types/struct_FILE.h instead of _IO_* macros
22410 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
22411 instead of _IO_ssize_t.
22412 * libio/bits/stdio2.h: Similarly.
22414 * libio/iolibio.h: Add multiple-include guard.
22415 Include bits/libio.h after stdio.h.
22416 * libio/libioP.h: Add multiple-include guard.
22417 Include stdio.h and bits/libio.h before iolibio.h.
22419 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
22420 * include/bits/types/cookie_io_functions_t.h
22421 * include/bits/types/struct_FILE.h: New wrappers.
22423 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
22424 Get definitions of _G_fpos_t and _G_fpos64_t from
22425 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
22426 respectively. Remove improper-inclusion guards.
22428 * conform/data/stdio.h-data: Update expectations of va_list.
22429 * scripts/check-installed-headers.sh: Remove special case for
22430 libio.h and _G_config.h.
22432 2018-02-07 Joseph Myers <joseph@codesourcery.com>
22436 * include/sys/sysmacros.h [!_ISOMAC]
22437 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
22438 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
22439 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
22440 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
22442 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
22443 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
22445 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
22446 Undefine and redefine to add use __gnu_dev_ prefix.
22447 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
22449 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
22450 and define as hidden inline function.
22451 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
22453 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
22455 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
22456 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
22457 (gnu_dev_minor): Likewise.
22458 (gnu_dev_makedev): Likewise.
22459 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
22461 * posix/wordexp.c (exec_comm_child): Likewise.
22462 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
22463 instead of minor and __gnu_dev_major instead of major.
22464 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
22465 __gnu_dev_major instead of major.
22466 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
22467 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
22468 instead of gnu_dev_minor.
22469 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
22470 (SLAVE_P): Likewise.
22471 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
22472 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
22476 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
22478 * locale/weightwc.h (findidx): Likewise.
22480 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
22482 * manual/probes.texi (slowlog): Delete documentation of removed probe.
22483 (slowlog_inexact): Likewise
22484 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
22485 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
22487 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
22490 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
22491 missing second underscore to parameter name.
22493 2018-02-06 Joseph Myers <joseph@codesourcery.com>
22499 * bits/byteswap.h: Update file comment. Do not include
22500 <bits/byteswap-16.h>.
22501 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
22503 (__bswap_16): Define as inline function.
22504 (__bswap_constant_32): Reformat definition.
22505 (__bswap_32): Always define as inline function, not macro, using
22506 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
22507 otherwise __bswap_constant_32.
22508 (__bswap_constant_64): Reformat definition. Do not use
22509 __extension__ here.
22510 (__bswap_64): Always define as inline function, not macro. Use
22511 __extension__ on function definition. Use __builtin_bswap64 if
22512 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
22513 * string/test-endian-file-scope.c: New file.
22514 * string/test-endian-sign-conversion.c: Likewise.
22515 * string/Makefile (headers): Remove bits/byteswap-16.h.
22516 (tests): Add test-endian-file-scope and
22517 test-endian-sign-conversion.
22518 (CFLAGS-test-endian-sign-conversion.c): New variable.
22519 * bits/byteswap-16.h: Remove file.
22520 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
22521 * sysdeps/ia64/bits/byteswap.h: Likewise.
22522 * sysdeps/m68k/bits/byteswap.h: Likewise.
22523 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22524 * sysdeps/s390/bits/byteswap.h: Likewise.
22525 * sysdeps/tile/bits/byteswap.h: Likewise.
22526 * sysdeps/x86/bits/byteswap-16.h: Likewise.
22527 * sysdeps/x86/bits/byteswap.h: Likewise.
22530 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
22531 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
22532 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
22533 199901L] (__restrict): Define to restrict.
22536 * string/testcopy.c: Include <support/support.h>. Do not include
22537 <malloc.h>. Use <support/test-driver.c>.
22538 (main): Rename to do_test. Make static. Use xmalloc instead of
22542 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
22543 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
22544 (SSIZE_MAX): Define to INT_MAX.
22545 * posix/test-ssize-max.c: New file.
22546 * posix/Makefile (tests): Add test-ssize-max.
22549 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
22550 <support/support.h>. Do not include <malloc.h>.
22551 (query_auxv): Use xmalloc instead of malloc.
22554 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
22555 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
22558 2018-02-06 Florian Weimer <fweimer@redhat.com>
22561 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22562 Use scratch_buffer instead of extend_alloca.
22564 2018-02-06 Zack Weinberg <zackw@panix.com>
22566 * libio/stdio.h: Don't define getc or putc as macros.
22567 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
22568 not _IO_getc and _IO_putc.
22570 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
22571 * stdio-common/tstgetln.c: Don't redefine ssize_t.
22573 2018-02-06 Joseph Myers <joseph@codesourcery.com>
22575 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
22576 (TCP_FASTOPEN_NO_COOKIE): Likewise.
22578 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
22581 * elf/elf.h (NT_PRFPREG): New macro.
22582 (NT_S390_VXRS_LOW): Likewise.
22583 (NT_S390_VXRS_HIGH): Likewise.
22584 (NT_S390_GS_CB): Likewise.
22585 (NT_S390_GS_BC): Likewise.
22586 (NT_S390_RI_CB): Likewise.
22588 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
22589 (MAP_SYNC): New macro.
22590 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
22592 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
22593 (MAP_SYNC): Likewise.
22594 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
22595 (MAP_SYNC): Likewise.
22596 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
22597 (MAP_SYNC): Likewise.
22598 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
22599 (MAP_SYNC): Likewise.
22600 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
22601 (MAP_SYNC): Likewise.
22602 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
22603 (MAP_SYNC): Likewise.
22604 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
22606 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
22609 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
22610 (MAP_SHARED_VALIDATE): New macro.
22611 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22612 (MAP_SHARED_VALIDATE): Likewise.
22614 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22616 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
22617 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22618 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22620 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22622 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22623 (DT_NUM): Updated to 35.
22625 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22627 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22628 __builtin_expect with __glibc_likely and __glibc_unlikely.
22629 (elf_machine_rela): Likewise.
22630 (elf_machine_lazy_rel): Likewise.
22632 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
22635 __builtin_expect with __glibc_likely and __glibc_unlikely.
22636 (elf_machine_lazy_rel): Likewise.
22638 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22641 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22643 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
22645 2018-02-05 Andreas Schwab <schwab@suse.de>
22648 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22651 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22653 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22654 not check against PTHREAD_STACK_MIN.
22656 2018-02-02 Sean McKean <smckean83@gmail.com>
22659 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22661 2018-02-02 Florian Weimer <fweimer@redhat.com>
22664 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22665 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22666 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22667 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22668 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22669 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22670 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22671 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22672 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22673 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22674 * misc/tst-preadvwritev2.c (do_test): Call it.
22675 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22677 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22679 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22681 * benchtests/bench-memcmp.c: Print json instead of plain text.
22683 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22686 2018-02-01 Joseph Myers <joseph@codesourcery.com>
22688 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22690 (s390_sthyi): New syscall.
22692 * sysdeps/generic/ldbl-classify-compat.h: New file.
22693 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22694 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22695 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22696 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22697 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22698 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22699 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22700 <ldbl-classify-compat.h>.
22701 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22702 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22703 <ldbl-classify-compat.h>.
22704 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22705 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22706 <ldbl-classify-compat.h>.
22707 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22708 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22709 <ldbl-classify-compat.h>.
22710 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22711 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22712 <ldbl-classify-compat.h>.
22713 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22714 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22715 <ldbl-classify-compat.h>.
22716 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22717 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22718 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22719 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22720 * sysdeps/microblaze/math_private.h: Likewise.
22721 * sysdeps/nios2/math_private.h: Likewise.
22722 * sysdeps/sh/math_private.h: Likewise.
22724 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22725 * sysdeps/m68k/coldfire/math_private.h: ... here.
22726 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22727 * sysdeps/tile/math_private.h: Likewise.
22728 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22730 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22733 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22735 (libc_fetestexcept): Likewise.
22736 (libc_feupdateenv_test): Likewise.
22737 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22738 (libc_fetestexcept): Likewise.
22739 (libc_feupdateenv_test): Likewise.
22740 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22741 (libc_fetestexcept): Likewise.
22742 (libc_feupdateenv_test): Likewise.
22743 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22744 (libc_fetestexcept): Likewise.
22745 (libc_feupdateenv_test): Likewise.
22747 * sysdeps/generic/math_private.h
22748 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22749 New inline function.
22750 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22753 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22754 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22755 * sysdeps/generic/math_private.h
22756 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22758 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22760 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22762 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22764 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22766 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22768 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22769 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22770 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22771 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22772 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22773 (__fegetenv): Likewise.
22774 (fesetenv): Likewise.
22775 (__fesetenv): Likewise.
22776 (feupdateenv): Likewise.
22777 (__feupdateenv): Likewise.
22778 (fegetround): Likewise.
22779 (__fegetround): Likewise.
22780 (fesetround): Likewise.
22781 (__fesetround): Likewise.
22783 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22784 (feraiseexcept): New macro.
22785 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22786 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22788 (__feraiseexcept): Likewise.
22789 (feclearexcept): Likewise.
22790 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22791 (__feraiseexcept): Likewise.
22792 (feclearexcept): Likewise.
22793 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22794 (__feraiseexcept): Likewise.
22795 (feclearexcept): Likewise.
22796 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22797 (__feraiseexcept): Likewise.
22798 (feclearexcept): Likewise.
22799 (fetestexcept): Likewise.
22801 * sysdeps/m68k/coldfire/math-tests.h: New file.
22803 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22804 * sysdeps/m68k/bits/fenv.h: ... here.
22805 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22807 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22809 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22811 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22813 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22815 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22817 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22818 (__FE_UNDEFINED): New enum constant.
22819 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22821 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22823 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22825 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22826 to match generic bits/fenv.h.
22827 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22830 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22832 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22833 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22834 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22835 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22837 2018-02-01 Carlos O'Donell <carlos@redhat.com>
22838 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22839 Joseph Myers <joseph@codesourcery.com>
22842 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22843 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22844 computation using c.
22845 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22846 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22847 computation using c.
22849 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22851 * version.h (RELEASE): Set to "development".
22852 (VERSION): Set to "2.27.9000".
22853 * NEWS (2.28): New section.
22855 * version.h (RELEASE): Set to "stable".
22856 (VERSION): Set to "2.27".
22857 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22859 * NEWS: Add the list of bugs fixed in 2.27.
22861 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22863 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22864 against PTHREAD_STACK_MIN.
22866 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22868 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22870 (RafaĆ LuĆŒyĆski, Andreas Schwab): Update.
22872 2018-02-01 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
22875 * NEWS: List the languages which actually use the alternative
22876 months feature in this release. Also explain that "alt_mon" and
22877 "ab_alt_mon" are optional.
22879 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22882 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22884 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22886 * manual/install.texi (Tools for Compilation): Update the newest
22887 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22888 * INSTALL: Regenerated.
22890 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22892 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22893 instead of __builtin_expect.
22895 2018-01-30 Florian Weimer <fweimer@redhat.com>
22897 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22899 * nss/tst-nss-getpwent.c (do_test): Likewise.
22901 2018-01-30 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
22904 * localedata/locales/hr_HR (mon): Rename to...
22906 (mon): Import from CLDR (genitive case).
22907 (d_t_fmt): Update the comment.
22909 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22911 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22912 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22913 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22915 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22917 * mach/Versions: Fix version when __mach_host_self_ was added.
22918 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22919 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22920 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22921 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22922 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22923 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22924 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22925 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22926 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22927 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22928 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22929 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
22930 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22931 || to respect codestyle.
22932 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22933 (do_test_bz20181): Rename accordingly.
22934 * malloc/malloc.c: Include <assert.h>.
22935 (assert): Do not define.
22936 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
22937 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22938 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
22939 * sysdeps/mach/hurd/hp-timing.h: New file.
22940 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
22942 2018-01-29 Darius Rad <darius@bluespec.com>
22944 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22946 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
22948 * sysdeps/init_array/crti.S (.section .init_array): Add
22949 PREINIT_FUNCTION when defined.
22950 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
22951 * config.h.in: Regenerate.
22952 * manual/platform.texi: Add RISC-V documenation for
22953 __riscv_flush_icache.
22954 * sysdeps/riscv/__longjmp.S: New file.
22955 * sysdeps/riscv/backtrace.c: Likewise.
22956 * sysdeps/riscv/bits/endian.h: Likewise.
22957 * sysdeps/riscv/bits/setjmp.h: Likewise.
22958 * sysdeps/riscv/bits/wordsize.h: Likewise.
22959 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22960 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22961 * sysdeps/riscv/dl-trampoline.S: Likewise.
22962 * sysdeps/riscv/gccframe.h: Likewise.
22963 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22964 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22965 * sysdeps/riscv/machine-gmon.h: Likewise.
22966 * sysdeps/riscv/memusage.h: Likewise.
22967 * sysdeps/riscv/setjmp.S: Likewise.
22968 * sysdeps/riscv/sys/asm.h: Likewise.
22969 * sysdeps/riscv/tls-macros.h: Likewise.
22970 * sysdeps/riscv/dl-tls.h: New file.
22971 * sysdeps/riscv/libc-tls.c: Likewise.
22972 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22973 * sysdeps/riscv/nptl/tls.h: Likewise.
22974 * sysdeps/riscv/stackinfo.h: Likewise.
22975 * sysdeps/riscv/bits/fenv.h: New file.
22976 * sysdeps/riscv/e_sqrtl.c: Likewise.
22977 * sysdeps/riscv/fpu_control.h: Likewise.
22978 * sysdeps/riscv/math-tests.h: Likewise.
22979 * sysdeps/riscv/nofpu/Implies: Likewise.
22980 * sysdeps/riscv/sfp-machine.h: Likewise.
22981 * sysdeps/riscv/tininess.h: Likewise.
22982 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22983 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22984 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22985 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22986 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22987 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22988 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22989 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22990 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22991 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22992 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22993 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22994 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22995 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22996 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22997 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22998 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22999 * sysdeps/riscv/rvd/s_finite.c: Likewise.
23000 * sysdeps/riscv/rvd/s_fma.c: Likewise.
23001 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
23002 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
23003 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
23004 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
23005 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
23006 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
23007 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
23008 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
23009 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
23010 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
23011 * sysdeps/riscv/rvf/fegetround.c: Likewise.
23012 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
23013 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
23014 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
23015 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
23016 * sysdeps/riscv/rvf/fesetround.c: Likewise.
23017 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
23018 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
23019 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
23020 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
23021 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
23022 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
23023 * sysdeps/riscv/rvf/math_private.h: Likewise.
23024 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
23025 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
23026 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
23027 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
23028 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
23029 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
23030 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
23031 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
23032 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
23033 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
23034 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
23035 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
23036 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
23037 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
23038 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
23039 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
23040 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
23041 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
23042 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
23043 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
23044 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
23045 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
23046 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
23047 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
23048 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
23049 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
23050 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
23051 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
23052 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
23053 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
23054 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
23055 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
23056 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
23057 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
23058 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
23059 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
23060 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
23061 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
23062 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
23063 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
23064 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
23065 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
23066 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
23067 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
23068 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
23069 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
23070 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
23071 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
23072 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
23073 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
23074 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
23075 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
23076 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
23077 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
23078 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
23079 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
23080 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
23081 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
23082 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
23083 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
23084 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
23085 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
23086 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
23087 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
23088 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
23089 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
23090 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
23091 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
23092 * sysdeps/riscv/Implies: New file.
23093 * sysdeps/riscv/Makefile: Likewise.
23094 * sysdeps/riscv/configure: Likewise.
23095 * sysdeps/riscv/configure.ac: Likewise.
23096 * sysdeps/riscv/nptl/Makefile: Likewise.
23097 * sysdeps/riscv/preconfigure: Likewise.
23098 * sysdeps/riscv/rv64/Implies-after: Likewise.
23099 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
23100 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
23101 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
23102 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
23103 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
23104 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
23105 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
23106 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
23107 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
23108 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
23109 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
23110 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
23111 (Config): Likewise.
23113 2018-01-29 Florian Weimer <fweimer@redhat.com>
23116 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
23117 libnsl_hidden_proto.
23118 * include/rpcsvc/yp.h (yp_xdrall): Declare with
23119 libnsl_hidden_proto.
23120 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
23121 * nis/Makefile (libnsl-routines): Add nss-default only for
23122 build-obsolete-nsl.
23123 * nis/nis_defaults.c (__nis_default_ttl): Add
23124 libnsl_hidden_nolink_def.
23125 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
23127 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
23128 * nis/ypclnt.c (yp_maplist): Likewise.
23130 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
23132 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23133 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
23135 2018-01-29 Joseph Myers <joseph@codesourcery.com>
23137 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
23138 clean -dxfq for git updates when replacing sources.
23140 * scripts/build-many-glibcs.py (Config.build_gcc): Use
23141 --disable-libcilkrts unconditionally, not just for the final GCC
23144 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23147 2018-01-29 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
23150 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
23153 2018-01-29 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
23156 * localedata/locales/be_BY (mon): Rename to...
23157 (alt_mon): This, then synchronize with CLDR (nominative case).
23158 (abmon): Rename to...
23159 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
23160 (mon): Import from CLDR (genitive case).
23162 * localedata/locales/be_BY@latin (mon): Rename to...
23164 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
23166 * localedata/locales/be_BY@latin (lang_name): Reworded to
23167 "bieĆaruskaja mova".
23169 2018-01-29 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
23172 * localedata/locales/el_CY (mon): Renamed to...
23174 (mon): Import from CLDR (genitive case).
23175 * localedata/locales/el_GR: Likewise.
23177 2018-01-29 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
23180 * localedata/locales/ru_RU (mon): Rename to...
23182 (abmon): Rename to...
23183 (ab_alt_mon): This.
23184 (mon): Import from CLDR (genitive case).
23185 (abmon): Copy from the old content except the 5th month which is
23186 now in the genitive case, even when abbreviated.
23187 * localedata/locales/ru_UA: Likewise.
23188 * time/tst-strptime.c (day_tests): Add an actual example of
23189 a difference between %b and %Ob in Russian.
23191 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
23193 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
23194 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
23196 * resolv/res-close.c: Include <stdlib.h>.
23197 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
23198 <sys/wait.h>, <time.h>, <sys/uio.h>.
23199 (NOT_CANCEL_H): Add inclusion guard.
23200 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
23201 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
23202 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
23204 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
23205 vm_address_t * to ElfW(Addr) * for dl_main parameter.
23206 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
23208 * sysdeps/pthread/timer_create.c (timer_create): Do not use
23209 timer_ptr2id to cast struct timer_node * to void *.
23210 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
23211 --disable-libcilkrts to gcc configure.
23212 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
23213 and make them the default for now.
23214 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
23215 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
23216 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
23217 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
23218 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
23220 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
23221 __task_terminate would ever return successfully.
23222 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
23224 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
23225 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
23226 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
23227 critical section to make code simpler and avoid warning.
23228 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
23229 critical section to make code simpler and avoid warning.
23230 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
23231 const char * instead of char *.
23232 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
23233 __hurd_file_name_split, hurd_file_name_split,
23234 __hurd_directory_name_split, hurd_directory_name_split,
23235 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
23236 hurd_file_name_path_lookup): Make lookup function parameter take a
23237 const char *name instead of char *name.
23238 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
23239 __hurd_directory_name_split): Likewise.
23240 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
23241 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
23242 * sysdeps/mach/hurd/check_native.c: New file.
23243 * sysdeps/mach/hurd/check_pf.c: New file.
23244 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
23245 (__freeifaddrs): Define macro to freeifaddrs.
23246 * sysdeps/mach/hurd/libhurduser.abilist: New file.
23247 * sysdeps/mach/libmachuser.abilist: New file.
23248 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
23249 (do_test_bz20181): Rename accordingly.
23250 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
23251 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
23253 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
23254 version only if __USE_EXTERN_INLINES is defined.
23255 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
23256 __hurd_sockfail): Likewise.
23257 (_hurd_fd_get): Always declare functions, and provide inline versions
23258 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
23259 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
23260 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
23261 _hurd_port_set): Always declare functions, and provide inline versions
23262 only if __USE_EXTERN_INLINES and _LIBC are defined and
23264 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
23265 _hurd_critical_section_unlock): Likewise.
23266 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
23267 * __hurd_threadvar_location): Likewise.
23268 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
23269 _hurd_userlink_clear): Likewise.
23270 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
23271 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
23272 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
23273 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
23274 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
23275 __spin_lock_locked): Likewise.
23276 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
23277 __spin_lock_locked): Likewise.
23278 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
23279 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
23280 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
23281 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
23282 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
23283 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
23284 _POSIX_NO_TRUNC): Define to 0.
23285 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
23286 check size against PTHREAD_STACK_MIN.
23287 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
23288 IS_IN(libpthread)]: Include <sigsetops.h>.
23289 * mach/Makefile (user-interfaces): Add mach/gnumach.
23290 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
23291 * sysdeps/mach/configure (mach_interface_list): Regenerate.
23292 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
23293 instead of invalid -1.
23294 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
23295 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
23296 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
23299 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
23301 * hurd/fcntl-internal.h: New file.
23303 2018-01-27 James Clarke <jrtc27@jrtc27.com>
23305 * sysdeps/hppa/fpu/libm-test-ulps: Update.
23307 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23309 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
23312 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
23313 Build only shared objects.
23315 2018-01-26 Carlos O'Donell <carlos@redhat.com>
23317 * README: Update for hppa.
23319 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23321 * sysdeps/sparc/fpu/libm-test-ulps: Update
23322 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
23324 2018-01-26 Carlos O'Donell <carlos@redhat.com>
23328 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23331 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23332 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23333 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23334 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23337 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23340 * bits/types/__cancel_jmp_buf_tag.h: New file.
23341 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23342 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23343 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23344 * nptl/Makefile (headers): Add
23345 bits/types/__cancel_jmp_buf_tag.h.
23346 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23347 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23348 * sysdeps/nptl/pthread.h: Include
23349 <bits/types/__cancel_jmp_buf_tag.h>.
23350 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23352 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23354 2018-01-25 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
23357 * localedata/locales/uk_UA (mon): Renamed to...
23359 (alt_digits): "0" removed and then renamed to...
23361 (date_fmt): Definition changed not to use the alternative
23364 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
23366 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
23367 FLAG_RISCV_FLOAT_ABI_DOUBLE.
23368 * elf/elf.h (EF_RISCV_RVC): New define.
23369 (EF_RISCV_FLOAT_ABI): Likewise.
23370 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
23371 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
23372 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
23373 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
23374 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
23376 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
23378 2018-01-25 Andreas Schwab <schwab@suse.de>
23380 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
23382 * sysdeps/gnu/configure: Regenerate.
23383 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
23384 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23386 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
23387 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
23388 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
23389 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
23390 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
23392 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
23394 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
23395 URL, and run autoconf, make it the default for now.
23397 2018-01-24 Joseph Myers <joseph@codesourcery.com>
23399 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23400 soft-float ColdFire configuration.
23402 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
23403 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
23404 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
23406 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
23409 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
23411 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
23413 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
23416 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
23417 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
23418 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
23421 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23424 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
23425 Rename to __reserved and add comment.
23426 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
23427 Rename to __reserved.
23429 2018-01-24 Joseph Myers <joseph@codesourcery.com>
23431 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23432 i686-gnu configurations.
23433 (Context.run_builds): Include mig, gnumach and hurd in components
23435 (Context.checkout): Add mig, gnumach and hurd to components.
23436 (Context.checkout_tar): Add URL mappings for mig, gnumach and
23438 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
23439 (Config.build): Install gnumach headers, build mig and install
23440 hurd headers for 'gnu' OS.
23441 (Config.install_gnumach_headers): New function.
23442 (Config.install_hurd_headers): Likewise.
23443 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
23444 when building for 'gnu' OS.
23446 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
23448 * manual/tunables.texi (Hardware Capability Tunables): Fix
23451 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
23453 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
23454 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
23455 (ALTMON_11, ALTMON_12): Improve documentation.
23456 * manual/time.texi (strftime): Likewise.
23458 2018-01-22 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
23461 * localedata/locales/pl_PL: Alternative month names added,
23462 primary month names are genitive now.
23463 * time/tst-strptime.c (day_tests): Actually use a genitive case
23464 of a month name in Polish language.
23466 2018-01-22 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
23469 * manual/locale.texi: Document ALTMON_1..12 constants for
23470 nl_langinfo. Specify when to use ALTMON instead of MON.
23471 * manual/time.texi (strftime, strptime): Document GNU extension
23472 permitting O modifier with %B and %b. Specify when to use
23475 2018-01-22 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
23478 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
23479 names, define them as the same as abbreviated month names explicitly.
23480 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
23481 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
23482 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
23483 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
23484 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
23485 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
23486 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
23487 _NL_WABALTMON_12): New enum constants.
23488 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
23489 wab_alt_mon, and ab_alt_mon_defined members.
23490 (time_output): Output ab_alt_mon and wab_alt_mon members.
23491 (time_read): Read them, initialize them as copies of abmon and wabmon
23492 respectively if they are missing, initialize ab_alt_mon_defined.
23493 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
23494 * locale/programs/locfile-kw.h: Regenerate.
23495 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
23496 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
23498 * time/strftime_l.c (a_altmonth, aam_len): New macros.
23499 [!COMPILE_WIDE] (ABALTMON_1): New macro.
23500 (__strftime_internal): Handle %Ob and %Oh formats.
23501 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
23502 (__strptime_internal): Handle %Ob and %Oh formats.
23503 * time/tst-strptime.c (day_tests): Add more tests to parse different
23504 forms of month names including the new %Ob format specifier.
23506 2018-01-22 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
23509 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
23510 define them as the same as primary full month names explicitly.
23511 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
23512 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
23513 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
23514 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
23515 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
23516 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
23517 _NL_WALTMON_12): New enum constants.
23518 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
23519 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
23521 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
23522 walt_mon, and alt_mon_defined members.
23523 (time_output): Output alt_mon and walt_mon members.
23524 (time_read): Read them, initialize them as copies of mon and wmon
23525 respectively if they are missing, initialize alt_mon_defined.
23526 * locale/programs/locfile-kw.gperf (alt_mon): Define.
23527 * locale/programs/locfile-kw.h: Regenerate.
23528 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
23529 * localedata/tst-langinfo.c (map): Add tests for the new constants
23530 ALTMON_1 .. ALTMON_12.
23531 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
23533 * time/strftime_l.c (f_altmonth): New macro.
23534 (__strftime_internal): Handle %OB format.
23535 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
23536 (__strptime_internal): Handle %OB format.
23537 * time/tst-strptime.c (day_tests): Add tests to parse different forms
23538 of month names including the new %OB format specifier.
23540 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23543 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
23544 from ABORT_TRANSACTION.
23545 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
23546 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
23547 ABORT_TRANSACTION_IMPL): Likewise.
23548 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
23549 Linux code, but remove the code that aborts transactions.
23551 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
23553 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
23555 2018-01-19 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
23557 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
23558 in date: "2004-14-09" should be "2004-09-14".
23559 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
23560 "2003-15-09" should be "2003-09-15".
23562 2018-01-18 Arjun Shankar <arjun@redhat.com>
23568 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
23570 (_int_memalign): check for integer overflow before calling
23572 * malloc/tst-malloc-too-large.c: New test.
23573 * malloc/Makefile: Add tst-malloc-too-large.
23575 2018-01-18 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
23577 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
23578 in date: "2017-24-07" should be "2017-07-24".
23579 * localedata/locales/mai_IN: Likewise.
23580 * localedata/locales/mai_NP: Likewise.
23582 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
23584 * po/ru.po: Update translations.
23586 2018-01-17 Joseph Myers <joseph@codesourcery.com>
23589 * sysdeps/hppa/backtrace.c: New file.
23591 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
23594 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
23595 align La_x86_64_retval to VEC_SIZE.
23597 2018-01-16 Joseph Myers <joseph@codesourcery.com>
23599 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
23600 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
23602 2018-01-16 Florian Weimer <fweimer@redhat.com>
23604 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
23605 Move tst-thread-exit-clobber ...
23606 [$(CXX)] (tests-unsupported): ... to here.
23608 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23610 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
23611 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
23612 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23613 (_dl_aarch64_cap_flags): Update.
23614 (_DL_HWCAP_COUNT): Update.
23616 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23618 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23619 (_DL_HWCAP_LAST): Remove.
23620 (_DL_HWCAP_COUNT): Move to ...
23621 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23622 (_DL_HWCAP_COUNT): ... here.
23624 2018-01-16 Florian Weimer <fweimer@redhat.com>
23626 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23627 mode with GNU extensions.
23629 2018-01-15 Alan Hayward <alan.hayward@arm.com>
23631 * elf/elf.h (NT_ARM_SVE): Define.
23633 2018-01-15 Florian Weimer <fweimer@redhat.com>
23636 * nptl/tst-minstack-throw.cc: New file.
23637 * nptl/Makefile (tests): Add tst-minstack-throw.
23638 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23639 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23641 2018-01-15 Joseph Myers <joseph@codesourcery.com>
23643 * scripts/build-many-glibcs.py (Context.checkout): Default
23644 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23647 2018-01-13 Carlos O'Donell <carlos@redhat.com>
23650 * elf/elf.h (DF_1_STUB): Define.
23651 (DF_1_PIE): Define.
23653 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23656 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23657 Do not add 0.5 to integer or out-of-range arguments.
23659 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23661 * po/bg.po: Update translations.
23662 * po/cs.po: Likewise.
23663 * po/de.po: Likewise.
23664 * po/ko.po: Likewise.
23665 * po/pl.po: Likewise.
23666 * po/sv.po: Likewise.
23667 * po/uk.po: Likewise.
23668 * po/vi.po: Likewise.
23670 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23672 * aarch64/start.S (_start): Use __wrap_main.
23673 (__wrap_main): New local symbol.
23675 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23679 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23680 generic_getcwd if the path returned by getcwd syscall is not absolute.
23681 * io/tst-getcwd-abspath.c: New test.
23682 * io/Makefile (tests): Add tst-getcwd-abspath.
23684 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23686 * malloc/malloc.c (malloc_consolidate): Add size check.
23688 2018-01-12 Florian Weimer <fweimer@redhat.com>
23690 * support/write_message.c (write_message): Preserve errno.
23691 * support/check.c (print_failure): Likewise.
23692 * support/support_test_verify_impl.c (support_test_verify_impl):
23694 * support/support_test_compare_failure.c
23695 (support_test_compare_failure): Likewise.
23697 2018-01-12 Florian Weimer <fweimer@redhat.com>
23700 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23701 Prevent installation of libnsl.so.
23702 (libnsl-inhibit-o): Do not build (or install) static libraries.
23704 2018-01-12 Egmont Koblinger <egmont@gmail.com>
23707 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23708 before the day number which may produce a double space.
23709 (date_fmt): Likewise.
23711 2018-01-12 Joseph Myers <joseph@codesourcery.com>
23713 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23714 instead of fegetenv.
23716 2018-01-11 Joseph Myers <joseph@codesourcery.com>
23719 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23720 comment to say exceptions are discarded.
23721 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23723 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23726 2018-01-11 Florian Weimer <fweimer@redhat.com>
23728 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23731 2018-01-11 Florian Weimer <fweimer@redhat.com>
23734 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23735 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23737 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23740 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23741 negative arguments in test for NaN or infinity argument.
23743 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23745 * po/libc.pot: Regenerate.
23747 2018-01-10 Florian Weimer <fweimer@redhat.com>
23750 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23751 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23753 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23755 * hurd/hurd/fd.h: Include <fcntl.h>
23756 (__hurd_at_flags): New function.
23757 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23758 with call to __hurd_at_flags.
23759 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23760 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23762 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23763 (__access_noerrno): Use __faccessat_common instead of access_common.
23764 (__access): Likewise.
23765 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23766 with a call to __faccessat.
23767 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23768 (__faccessat_common): ... this. Move implementation of __access into it when
23769 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23770 reauthenticate_cwdir_at helper to implement AT mechanism.
23771 (__faccessat_noerrno): New function, just calls __faccessat_common.
23772 (__faccessat): New function, just calls __faccessat_common.
23773 (faccessat): Define weak alias.
23775 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23778 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23779 (CFLAGS-s_fmaxmagl.c): New variable.
23780 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23783 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23784 long int for arguments of possibly overflowing addition or
23786 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23788 2018-01-09 Joseph Myers <joseph@codesourcery.com>
23791 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23792 (CFLAGS-e_remainderl.c): New variable.
23795 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23797 (CFLAGS-s_cacoshl.c): Likewise.
23798 (CFLAGS-s_casinhl.c): Likewise.
23799 (CFLAGS-s_catanl.c): Likewise.
23800 (CFLAGS-s_catanhl.c): Likewise.
23801 (CFLAGS-s_cexpl.c): Likewise.
23802 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23803 (CFLAGS-s_csinhl.c): Likewise.
23804 (CFLAGS-s_clogl.c): Likewise.
23805 (CFLAGS-s_clog10l.c): Likewise.
23806 (CFLAGS-s_csinl.c): Likewise.
23807 (CFLAGS-s_csqrtl.c): Likewise.
23809 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
23810 2017-01-09 Svante Signell <svante.signell@gmail.com>
23812 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23813 (_hurd_exec_paths): New function.
23814 * hurd/hurd.h (_hurd_exec): Deprecate function.
23815 (_hurd_exec_paths): Declare function.
23816 * hurd/Versions: Export _hurd_exec_paths.
23817 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23818 (__execve): Use __getcwd to build absolute path, and use
23819 _hurd_exec_paths instead of _hurd_exec.
23820 * sysdeps/mach/hurd/spawni.c: Likewise.
23821 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23824 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23826 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23827 test instead of failing in case of ENOENT returned by posix_openpt.
23829 2018-01-08 Florian Weimer <fweimer@redhat.com>
23831 resolv: Support binary labels in test framework.
23832 * support/resolv_test.c (struct to_be_freed): Remove.
23833 (struct compressed_name): New.
23834 (allocate_compressed_name, ascii_tolower)
23835 (compare_compressed_name): New functions.
23836 (struct resolv_response_builder): Update type of
23837 compression_offsets for use with tsearch. Rempve to_be_freed.
23838 (response_push_pointer_to_free): Remove function.
23839 (resolv_response_add_name): Rewrite using struct compressed_name
23840 and tsearch instead of hsearch_r.
23841 (response_builder_allocate): Remove initialization of
23842 compression_offsets.
23843 (response_builder_free): Update for removal of to_be_freed. Use
23844 tdestroy instead of hdestroy_r.
23845 * resolv/Makefile (tests): Add tst-resolv-binary.
23846 (tst-resolv-binary): Link with -lresolv -lpthread.
23848 2018-01-08 Florian Weimer <fweimer@redhat.com>
23850 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23851 time. Pass positive flag instead of negative flag to
23852 support_test_compare_failure.
23853 (support_test_compare_failure): Change negative parameter to
23855 * support/support_test_compare_failure.c (report)
23856 (support_test_compare_failure): Likewise.
23857 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23858 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23860 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23863 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23864 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23865 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23867 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23869 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23871 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23872 Add s_sincosf-sse2 and s_sincosf-fma.
23873 (CFLAGS-s_sincosf-fma.c): New.
23874 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23875 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23876 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23877 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23878 __sincosf is defined.
23880 2018-01-08 Florian Weimer <fweimer@redhat.com>
23882 * nptl/tst-thread-exit-clobber.cc: New file.
23883 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23885 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23886 (tests): Add tst-thread-exit-clobber.
23887 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23889 2018-01-08 Florian Weimer <fweimer@redhat.com>
23891 * support/check.h (support_static_assert): Define.
23892 (TEST_COMPARE): Use it.
23894 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23896 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23897 [!__RLIM_T_MATCHES_RLIM64_T]
23898 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23899 __getrlimit64. Add libc_hidden_weak.
23901 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
23903 * elf/elf.h (R_RISCV_NONE): New define.
23904 (R_RISCV_32): Likewise.
23905 (R_RISCV_64): Likewise.
23906 (R_RISCV_RELATIVE): Likewise.
23907 (R_RISCV_COPY): Likewise.
23908 (R_RISCV_JUMP_SLOT): Likewise.
23909 (R_RISCV_TLS_DTPMOD32): Likewise.
23910 (R_RISCV_TLS_DTPMOD64): Likewise.
23911 (R_RISCV_TLS_DTPREL32): Likewise.
23912 (R_RISCV_TLS_DTPREL64): Likewise.
23913 (R_RISCV_TLS_TPREL32): Likewise.
23914 (R_RISCV_TLS_TPREL64): Likewise.
23915 * Makerules (make-link-multidir): Make directories before linking into
23917 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23919 (VDSO_HASH_LINUX_4_15): Likewise.
23920 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23921 in subdirectories of lib.
23922 * nptl/Makefile (/librt.so): Always depend on
23923 "$(shared-thread-library)".
23925 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23927 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
23928 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23929 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23931 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
23932 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23934 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
23935 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23936 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23937 * sysdeps/gnu/glob-lstat-compat.c: New file.
23938 * sysdeps/gnu/glob64-lstat-compat.c: New file.
23939 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
23941 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23943 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23944 Reserve 16 chars to reloc_addr before calling _itoa_word.
23946 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23949 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23950 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23952 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23953 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23955 * resource/tst-getrlimit.c: Add copyright header.
23957 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23958 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23960 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23961 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23962 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23963 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23965 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23966 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23967 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23968 RLIM64_INFINITY): Fix values to match the kernel ones.
23969 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23970 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23971 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23972 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23973 getrlimit64@@GLIBC_2_27.
23974 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23976 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23977 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23978 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23979 setrlimit, getrlimit64 and setrlimit64.
23981 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23984 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23985 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23987 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23989 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23990 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23991 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23993 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23997 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23998 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
24002 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
24003 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
24004 * sysdeps/alpha/fpu/s_floor.c: Likewise.
24005 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
24007 2018-01-04 Florian Weimer <fweimer@redhat.com>
24010 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
24011 Align the stack before calling exit.
24012 * stdlib/tst-makecontext-align.c: New file.
24013 * stdlib/Makefile (tests): Add tst-makecontext-align.
24015 2018-01-04 Florian Weimer <fweimer@redhat.com>
24017 Add support for calling dlvsym from libc.so.
24018 * include/dlfcn.h (__libc_dlvsym): Declare.
24019 * elf/Makefile (tests-static-internal): Add
24020 tst-libc_dlvsym-static.
24021 (tests-internal): Add tst-libc_dlvsym.
24022 (modules-names): Add tst-libc_dlvsym-dso.
24023 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
24024 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
24025 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
24026 object tst-libc_dlvsym-dso.so needs to be built before running
24028 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
24029 * elf/Versions: Export __libc_dlvsym.
24030 * elf/dl-libc.c (struct do_dlvsym_args): New.
24031 (do_dlvsym, __libc_dlvsym): New functions.
24032 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
24033 (_dl_open_hook2): New variable.
24034 (__libc_register_dl_open_hook): Set it.
24035 * elf/tst-libc_dlvsym-dso.c: New file.
24036 * elf/tst-libc_dlvsym-static.c: Likewise.
24037 * elf/tst-libc_dlvsym.c: Likewise.
24038 * elf/tst-libc_dlvsym.h: Likewise.
24040 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24042 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
24043 include <sys/mount.h>.
24045 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
24047 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
24048 Add __NO_MATH_ERRNO__ check.
24050 2018-01-02 Joseph Myers <joseph@codesourcery.com>
24052 * sysdeps/mips/mips32/libm-test-ulps: Update.
24053 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24055 2018-01-02 Florian Weimer <fweimer@redhat.com>
24057 * misc/tst-pselect.c: Add copyright header.
24059 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
24061 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
24063 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
24065 (settrlimit): Rename into setrlimit.
24066 (__sttrlimit): Rename into __setrlimit.
24068 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
24069 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
24070 never defined in that case.
24072 2018-01-02 Joseph Myers <joseph@codesourcery.com>
24074 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
24076 * sysdeps/arm/libm-test-ulps: Update.
24078 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
24079 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
24081 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24083 * NEWS: Add cosf and sincosf to list of optimized functions.
24085 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
24088 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
24089 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
24090 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
24091 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
24093 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
24096 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
24098 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
24099 making a copy of it.
24101 2018-01-01 Joseph Myers <joseph@codesourcery.com>
24103 * manual/texinfo.tex: Update to version 2017-12-26.21 with
24104 trailing whitespace removed.
24105 * scripts/config.guess: Update to version 2018-01-01.
24106 * scripts/config.sub: Update to version 2018-01-01.
24107 * scripts/move-if-change: Update from gnulib.
24109 * NEWS: Update copyright dates.
24110 * catgets/gencat.c (print_version): Likewise.
24111 * csu/version.c (banner): Likewise.
24112 * debug/catchsegv.sh: Likewise.
24113 * debug/pcprofiledump.c (print_version): Likewise.
24114 * debug/xtrace.sh (do_version): Likewise.
24115 * elf/ldconfig.c (print_version): Likewise.
24116 * elf/ldd.bash.in: Likewise.
24117 * elf/pldd.c (print_version): Likewise.
24118 * elf/sotruss.sh: Likewise.
24119 * elf/sprof.c (print_version): Likewise.
24120 * iconv/iconv_prog.c (print_version): Likewise.
24121 * iconv/iconvconfig.c (print_version): Likewise.
24122 * locale/programs/locale.c (print_version): Likewise.
24123 * locale/programs/localedef.c (print_version): Likewise.
24124 * login/programs/pt_chown.c (print_version): Likewise.
24125 * malloc/memusage.sh (do_version): Likewise.
24126 * malloc/memusagestat.c (print_version): Likewise.
24127 * malloc/mtrace.pl: Likewise.
24128 * manual/libc.texinfo: Likewise.
24129 * nptl/version.c (banner): Likewise.
24130 * nscd/nscd.c (print_version): Likewise.
24131 * nss/getent.c (print_version): Likewise.
24132 * nss/makedb.c (print_version): Likewise.
24133 * posix/getconf.c (main): Likewise.
24134 * scripts/test-installation.pl: Likewise.
24135 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24137 * All files with FSF copyright notices: Update copyright dates
24138 using scripts/update-copyrights.
24139 * locale/programs/charmap-kw.h: Regenerated.
24140 * locale/programs/locfile-kw.h: Likewise.
24142 2017-12-31 Zack Weinberg <zackw@panix.com>
24144 * libio/bits/libio-ldbl.h: Correct check for improper
24145 inclusion. Add own multiple include guard.
24147 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
24148 Dmitry V. Levin <ldv@altlinux.org>
24152 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
24153 string token expansion. Check for NULL pointer or empty string possibly
24154 returned by expand_dynamic_string_token.
24155 (decompose_rpath): Check for empty path after dynamic string
24158 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
24161 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
24163 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
24164 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
24165 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
24166 and PTRACE_SYSCALL.
24167 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
24168 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24169 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24170 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24171 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24172 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
24174 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
24175 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
24176 __ptrace_peeksiginfo_flags, ptrace): Move to ...
24177 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
24178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24179 bits/ptrace-shared.h.
24180 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
24181 <bits/ptrace-shared.h>.
24182 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
24183 __ptrace_peeksiginfo_flags, ptrace): Remove.
24184 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24185 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24186 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24187 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24188 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
24190 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
24193 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
24194 end of the loop. Improve comments.
24196 2017-12-29 Zack Weinberg <zackw@panix.com>
24199 * manual/errno.texi (Checking for Errors): Explicitly say that errno
24200 might be set on success.
24202 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
24205 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
24206 is unchanged on success.
24208 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
24210 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
24212 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
24213 expand_dynamic_string_token): Likewise.
24214 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
24217 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
24220 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
24221 is set and name contains ':', and all code depending on these checks.
24223 2017-12-24 Zack Weinberg <zackw@panix.com>
24225 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
24226 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
24228 * libio/libio.h: Rename the original version of this file to
24229 libio/bits/libio.h. Error out if not included by stdio.h or the
24231 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
24232 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
24233 if not included by bits/libio.h or the stub _G_config.h.
24234 * sysdeps/unix/sysv/linux/_G_config.h: Move to
24235 sysdeps/unix/sysv/linux/bits. Error out if not included by
24236 bits/libio.h or the stub _G_config.h.
24237 * libio/stdio.h: Include bits/libio.h, not libio.h.
24238 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
24239 well as libio.h and _G_config.h.
24241 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
24242 * libio/strfile.h, stdio-common/vfscanf.c
24243 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
24244 Include stdio.h, not _G_config.h nor libio.h.
24245 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
24246 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
24248 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
24250 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
24253 * stdlib/getrandom.c (getrandom): Fix comment.
24254 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
24256 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
24259 * manual/arith.texi (strtoul): Fix a typo.
24262 * manual/arith.texi (finite): Fix the description of the return
24265 2017-12-22 Eric Blake <ebb9@byu.net>
24267 Avoid gcc warnings on cygwin
24268 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
24269 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
24270 Avoid unused variable.
24272 2017-12-22 Florian Weimer <fweimer@redhat.com>
24274 * io/Makefile (routines): Add copy_file_range.
24275 (tests): Add tst-copy_file_range.
24276 (tests-static, tests-internal): Add tst-copy_file_range-compat.
24277 * io/Versions (GLIBC_2.27): Export copy_file_range.
24278 * io/copy_file_range-compat.c: New file.
24279 * io/copy_file_range.c: Likewise.
24280 * io/tst-copy_file_range-compat.c: Likewise.
24281 * io/tst-copy_file_range.c: Likewise.
24282 * manual/llio.texi (Copying File Data): New section.
24283 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
24284 * support/Makefile (libsupport-routines): Add support-xfstat,
24285 xftruncate, xlseek.
24286 * support/support-xfstat.c: New file.
24287 * support/xftruncate.c: Likewise.
24288 * support/xlseek.c: Likewise.
24289 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
24290 * sysdeps/unix/sysv/linux/**.abilist: Update.
24291 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
24293 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
24295 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24296 disable-multi-arch variant to aarch64-linux-gnu.
24298 2017-12-20 Joseph Myers <joseph@codesourcery.com>
24300 * manual/texinfo.tex: Update to version 2017-12-18.20 with
24301 trailing whitespace removed.
24302 * scripts/config.guess: Update to version 2017-12-17.
24303 * scripts/config.sub: Update to version 2017-11-23.
24304 * scripts/install-sh: Update to version 2017-09-23.17.
24305 * scripts/move-if-change: Update to version 2017-09-13 06:45.
24307 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24309 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
24310 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
24311 * sysdeps/tile/_mcount.S (__mcount): Likewise.
24312 * sysdeps/tile/crti.S (_init, _fini): Likewise.
24313 * sysdeps/tile/crtn.S: Likewise.
24314 * sysdeps/tile/dl-start.S (_start): Likewise.
24315 * sysdeps/tile/dl-trampoline.S: Likewise.
24316 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
24317 * sysdeps/tile/start.S (_start): Likewise.
24318 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
24319 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
24320 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
24321 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
24322 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
24323 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
24324 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
24326 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
24328 * sysdeps/tile/preconfigure: Remove tilegx folder.
24329 * sysdeps/tile/tilegx/Implies: Move definitions to ...
24330 * sysdeps/tile/Implies: ... here.
24331 * sysdeps/tile/tilegx/Makefile: Move rules to ...
24332 * sysdeps/tile/Makefile: ... here.
24333 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
24334 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
24335 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
24336 * sysdeps/tile/bits/wordsize.h: ... here.
24337 * sysdeps/tile/tilegx/*: Move to ...
24338 * sysdeps/tile/*: ... here.
24339 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
24340 * sysdeps/tile/tilegx32/Implies: ... here.
24341 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
24342 * sysdeps/tile/tilegx64/Implies: ... here.
24343 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
24345 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24346 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
24347 * sysdeps/unix/sysv/linux/tile/*: ... here.
24348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
24349 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
24350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
24351 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
24353 * README: Remove tilepro-*-linux-gnu from supported architecture.
24354 * scripts/build-many-glibcs.py: Likewise.
24355 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
24356 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
24357 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
24358 elf_machine_matches_host, elf_machine_dynamic,
24359 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
24360 howto, elf_machine_rela): Likewise.
24361 * sysdeps/tile/dl-start.S (_start): Likewise.
24362 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
24363 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
24364 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
24365 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
24366 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
24367 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24369 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
24370 * sysdeps/tile/preconfigure: Likewise.
24371 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
24372 POINTER_CHK_GUARD): Likewise.
24373 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
24374 * sysdeps/tile/start.S (_start): Likewise.
24375 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
24377 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
24378 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
24380 * sysdeps/unix/sysv/linux/tile/bits/environments.h
24381 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
24382 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
24384 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
24385 * sysdeps/tile/tilepro/Implies: Remove file.
24386 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
24387 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
24388 * sysdeps/tile/tilepro/memchr.c: Likewise.
24389 * sysdeps/tile/tilepro/memcpy.S: Likewise.
24390 * sysdeps/tile/tilepro/memset.c: Likewise.
24391 * sysdeps/tile/tilepro/memusage.h: Likewise.
24392 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
24393 * sysdeps/tile/tilepro/strchr.c: Likewise.
24394 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
24395 * sysdeps/tile/tilepro/strlen.c: Likewise.
24396 * sysdeps/tile/tilepro/strrchr.c: Likewise.
24397 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
24398 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
24399 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24400 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
24401 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
24402 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24404 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
24405 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24406 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
24407 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
24408 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24409 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
24410 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
24411 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
24412 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
24413 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
24414 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
24415 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
24416 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
24417 tilepro mention in comment.
24419 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
24420 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
24421 * nptl/pthread_join_common.c: New file: common function used on
24422 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
24423 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
24424 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
24425 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24426 (cleanup): Move definition to pthread_join_common.c.
24427 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
24428 Remove superflous checks.
24429 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
24432 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
24434 * sysdeps/aarch64/libm-test-ulps: Update.
24436 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24438 * sysdeps/aarch64/memset.S (MEMSET): Define.
24440 2017-12-20 Florian Weimer <fweimer@redhat.com>
24443 nptl: Provide full implementation of pthread_self in libc.so.
24444 * nptl/Makefile (routines): Add pthread_self.
24445 (libpthread-routines): Replace pthread_self with
24446 compat-pthread_self.
24447 * nptl/forward.c (pthread_self): Remove.
24448 * nptl/nptl-init.c (pthread_functions): Do not initialize
24450 * nptl/pthread_self.c (pthread_self): Remove weak alias.
24451 * nptl/compat-pthread_self.c: New file.
24452 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
24453 Remove ptr_pthread_self.
24455 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
24457 * posix/regcomp.c: Fix spelling in comments.
24458 * posix/regex.h: Likewise.
24459 * posix/regex_internal.c: Likewise.
24460 * posix/regexec.c: Likewise.
24462 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24465 * math/Makefile [C++] (tests): Add test for iseqsig.
24466 * math/math.h [C++] (iseqsig): New implementation, which does
24467 not rely on __MATH_TG/__builtin_types_compatible_p.
24468 * math/test-math-iseqsig.cc: New file.
24469 * sysdeps/powerpc/powerpc64le/Makefile
24470 (CFLAGS-test-math-iseqsig.cc): New variable.
24472 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
24474 * elf/dl-load.c (is_trusted_path): Remove.
24475 (fillin_rpath): Remove check_trusted argument and its use,
24476 all callers changed.
24478 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24481 * Makeconfig (link-pie-before-libc): Replace -pie with
24482 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
24483 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
24484 (tst-dlopen-aout-no-pie): New.
24485 (LDFLAGS-tst-prelink): Removed.
24486 (tst-prelink-no-pie): New.
24487 (LDFLAGS-tst-main1): Removed.
24488 (tst-main1-no-pie): New.
24489 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
24490 (tst-gmon-no-pie): New.
24492 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24494 * manual/install.texi: Document that --enable-static-pie
24496 * INSTALL: Regenerated.
24498 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
24501 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
24504 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24508 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24512 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24514 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24515 <errno.h>. Include "eexp.tbl".
24516 (half): New constant.
24518 (__ieee754_exp): Rewrite.
24519 (__slowexp): Remove prototype.
24520 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24521 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24522 * sysdeps/i386/fpu/slowexp.c: Likewise.
24523 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24524 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24525 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24526 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24527 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24528 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24529 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24531 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24532 (CPPFLAGS-slowexp.c): Remove variable.
24533 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24534 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24535 (CFLAGS-slowexp-fma.c): Remove variable.
24536 (CFLAGS-slowexp-fma4.c): Likewise.
24537 (CFLAGS-slowexp-avx.c): Likewise.
24538 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24540 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24541 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24542 * math/Makefile (type-double-routines): Remove slowexp.
24543 * manual/probes.texi (slowexp_p6): Remove.
24544 (slowexp_p32): Likewise.
24546 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24548 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
24551 * lib/glob.c (glob): Do not pass NULL to mempcpy.
24553 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24557 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24559 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24560 <errno.h>. Include "eexp.tbl".
24561 (half): New constant.
24563 (__ieee754_exp): Rewrite.
24564 (__slowexp): Remove prototype.
24565 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24566 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24567 * sysdeps/i386/fpu/slowexp.c: Likewise.
24568 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24569 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24570 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24571 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24572 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24573 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24574 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24576 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24577 (CPPFLAGS-slowexp.c): Remove variable.
24578 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24579 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24580 (CFLAGS-slowexp-fma.c): Remove variable.
24581 (CFLAGS-slowexp-fma4.c): Likewise.
24582 (CFLAGS-slowexp-avx.c): Likewise.
24583 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24585 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24586 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24587 * math/Makefile (type-double-routines): Remove slowexp.
24588 * manual/probes.texi (slowexp_p6): Remove.
24589 (slowexp_p32): Likewise.
24591 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24592 James Clarke <jrtc27@jrtc27.com>
24595 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
24598 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24601 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
24604 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24607 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24608 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
24609 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24610 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
24613 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24616 * bits/types/__cancel_jmp_buf_tag.h: New file.
24617 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24618 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24619 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24620 * nptl/Makefile (headers): Add
24621 bits/types/__cancel_jmp_buf_tag.h.
24622 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24623 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24624 * sysdeps/nptl/pthread.h: Include
24625 <bits/types/__cancel_jmp_buf_tag.h>.
24626 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24628 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24630 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24632 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24633 --enable-static-pie variants to x86_64, x32 and i686.
24635 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24638 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24639 argument for attrubutes. All callers changed.
24640 (__inline_mathop1): Likewise. All callers changed.
24641 (__inline_mathop): Likewise. All callers changed.
24642 [__USE_MISC] (scalbn): Use __inline_forward instead of
24643 __inline_forward_c.
24644 [__USE_ISOC99] (scalbln): Likewise.
24645 [__USE_ISOC99] (nearbyint): Likewise.
24646 [__USE_ISOC99] (lrint): Likewise.
24647 [__USE_MISC] (scalbnf): Likewise.
24648 [__USE_ISOC99] (scalblnf): Likewise.
24649 [__USE_ISOC99] (nearbyintf): Likewise.
24650 [__USE_ISOC99] (lrintf): Likewise.
24651 [__USE_MISC] (scalbnl): Likewise.
24652 [__USE_ISOC99] (scalblnl): Likewise.
24653 [__USE_ISOC99] (nearbyintl): Likewise.
24654 [__USE_ISOC99] (lrintl): Likewise.
24655 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24656 __inline_mathop and __m81_defun changed.
24658 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24659 CPU or FPU for ARM hard-float configurations.
24661 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24663 * nptl/tst-attr3.c: Include <libc-diag.h>.
24664 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24666 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24668 * string/tester.c (test_strncat): Also disable -Warray-bounds
24669 warnings for two tests.
24671 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24674 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24675 $(cc-pie-default) == yes.
24676 * config.make.in (cc-pie-default): New.
24677 * configure.ac (libc_cv_pie_default): Renamed to ...
24678 (libc_cv_cc_pie_default): This.
24679 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24680 * configure: Regenerated.
24682 2017-12-18 Florian Weimer <fweimer@redhat.com>
24685 ld.so: Harden dl-libc/libdl hooks.
24686 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24687 (rtld_active): New function.
24688 * dlfcn/dladdr.c (__dladdr): Call it.
24689 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24690 * dlfcn/dlclose.c (__dlcose): Likewise.
24691 * dlfcn/dlerror.c (__dlerror): Likewise.
24692 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24693 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24694 * dlfcn/dlopen.c (__dlopen): Likewise.
24695 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24696 * dlfcn/dlsym.c (__dlsym): Likewise.
24697 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24698 * libio/vtables.c (_IO_vtable_check): Likewise.
24699 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24700 (__libc_dlclose): Likewise.
24701 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24704 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24707 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24708 buffers for readlink input and output.
24710 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24713 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24714 inhibit_stack_protector.
24717 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24718 inhibit_stack_protector.
24720 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24723 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24724 code and invocation.
24726 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24728 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24730 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24733 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24735 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24737 * sysdeps/s390/fpu/libm-test-ulps: Update.
24739 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24743 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24745 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24746 constants to s_sincosf.h file.
24747 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24748 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24750 * sysdeps/ieee754/flt-32/s_sincosf.h:
24753 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24756 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24759 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24762 * INSTALL: Regenerated.
24763 * Makeconfig (real-static-start-installed-name): New.
24764 (pic-default): Updated for --enable-static-pie.
24765 (pie-default): New for --enable-static-pie.
24766 (default-pie-ldflag): Likewise.
24767 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24768 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24769 Replace $(static-start-installed-name) with
24770 $(real-static-start-installed-name).
24771 (+prectorT): Updated for --enable-static-pie.
24772 (+postctorT): Likewise.
24773 (CFLAGS-.o): Add $(pie-default).
24774 (CFLAGS-.op): Likewise.
24775 * NEWS: Mention --enable-static-pie.
24776 * config.h.in (ENABLE_STATIC_PIE): New.
24777 * configure.ac (--enable-static-pie): New configure option.
24778 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24779 (have-static-pie): Likewise.
24780 Enable static PIE if linker supports --no-dynamic-linker.
24781 (ENABLE_STATIC_PIE): New AC_DEFINE.
24782 (enable-static-pie): New LIBC_CONFIG_VAR.
24783 * configure: Regenerated.
24784 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24785 gr$(start-installed-name) for --enable-static-pie.
24786 (extra-objs): Likewise.
24787 (install-lib): Likewise.
24788 (extra-objs): Add static-reloc.o and static-reloc.os
24789 ($(objpfx)$(start-installed-name)): Also depend on
24790 $(objpfx)static-reloc.o.
24791 ($(objpfx)r$(start-installed-name)): New.
24792 ($(objpfx)g$(start-installed-name)): Also depend on
24793 $(objpfx)static-reloc.os.
24794 ($(objpfx)gr$(start-installed-name)): New.
24795 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24797 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24799 * csu/static-reloc.c: New file.
24800 * elf/Makefile (routines): Add dl-reloc-static-pie.
24801 (elide-routines.os): Likewise.
24802 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24803 (tst-tls1-static-non-pie-no-pie): New.
24804 * elf/dl-reloc-static-pie.c: New file.
24805 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24806 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24807 STATIC_PIE_BOOTSTRAP.
24808 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24809 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24810 (tests-static): Likewise.
24811 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24812 (tst-gmon-static-no-pie): New.
24813 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24814 (CRT-tst-gmon-static-pie): Likewise.
24815 (tst-gmon-static-pie-ENV): Likewise.
24816 (tests-special): Likewise.
24817 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24818 (clean-tst-gmon-static-pie-data): Likewise.
24819 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24820 * gmon/tst-gmon-static-pie.c: New file.
24821 * manual/install.texi: Document --enable-static-pie.
24822 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24823 (_dl_get_dl_main_map): Likewise.
24824 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24825 * sysdeps/x86_64/configure.ac: Likewise.
24826 * sysdeps/i386/configure: Regenerated.
24827 * sysdeps/x86_64/configure: Likewise.
24828 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24829 (ASFLAGS-.op): Likewise.
24831 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24833 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24834 * posix/tst-mmap-offset.c (fname): Use /tmp.
24835 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24837 2017-12-15 Steve Ellcey <sellcey@cavium.com>
24839 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24841 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24843 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24846 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24848 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24849 --with-float=hard for arm-linux-gnueabihf configurations.
24852 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24853 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24854 ($(mo-installed)): Use $(objpfx)%.mo.
24855 (realclean): Remove rule.
24857 * po/Makefile (linguas): Remove rule and dependencies.
24858 (linguas.mo): Likewise.
24859 (.PHONY): Do not depend on linguas and linguas.mo.
24860 (podir): Remove variable.
24861 (pofiles): Likewise.
24862 [$(pofiles)] (%.po): Remove rule.
24864 * sysdeps/sparc/sparc32/Makefile
24865 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24866 start-of-line whitespace in argument of echo.
24867 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24868 with whitespace. Generate __wrap_.udiv alias.
24869 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24870 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24871 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24872 * sysdeps/sparc/sparc32/urem.S: Likewise.
24874 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24876 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24877 for aligned inputs.
24879 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24881 * benchtests/bench-strcmp.c: Print output in JSON format.
24883 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24885 2017-12-14 Florian Weimer <fweimer@redhat.com>
24889 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24890 the expanded path string.
24892 2017-12-14 Florian Weimer <fweimer@redhat.com>
24896 * elf/dl-load.c (system_dirs): Update comment.
24897 (nsystem_dirs_len): Use array_length.
24898 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24900 2017-12-14 Florian Weimer <fweimer@redhat.com>
24902 Simplify compiling most of support/ outside of glibc.
24903 * support/check_addrinfo.c: Include <string.h>.
24904 * support/check_dns_packet.c: Likewise.
24905 * support/check_hostent.c: Likewise.
24906 * support/support_can_chroot.c: Include <support/xunistd.h>.
24907 * support/support_format_addrinfo.c: Include <stdlib.h>
24908 * support/support_format_dns_packet.c: Include <stdbool.h>.
24909 * support/support_format_hostent.c: Include <stdlib.h>.
24910 * support/support_format_netent.c: Likewise.
24911 * support/support_write_string.c: Include <support/xunistd.h>.
24912 * support/xdlfcn.c: Include <stddef.h>.
24914 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24916 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24918 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24919 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24921 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24922 (sysdeps_routines): Add memset-niagara7.
24923 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24925 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24927 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24928 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24929 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24930 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24931 Add niagara7 option.
24932 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24935 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24936 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24937 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24939 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24941 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24942 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24943 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24944 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24945 and __memmove_niagara7.
24946 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24947 Add niagara7 option.
24948 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24949 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24950 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24951 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24952 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24954 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24956 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24957 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24958 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24959 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24961 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24962 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24963 _dl_sparc_cap_flags array.
24964 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24966 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24968 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24969 time whenever possible.
24971 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24973 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24974 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24976 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24978 * soft-fp/fmadf4.c: Move to ....
24979 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24980 * soft-fp/fmasf4.c: Move to ....
24981 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24982 * soft-fp/fmatf4.c: Move to ....
24983 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24984 * sysdeps/ieee754/soft-fp/Makefile: New file.
24985 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24986 * sysdeps/arm/preconfigure: Regenerated.
24987 * sysdeps/arm/nofpu/Implies: New file.
24988 * sysdeps/arm/s_fma.c: Remove file.
24989 * sysdeps/arm/s_fmaf.c: Likewise.
24990 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24991 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24992 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24993 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24994 * sysdeps/microblaze/s_fma.c: Remove file.
24995 * sysdeps/microblaze/s_fmaf.c: Likewise.
24996 * sysdeps/mips/mips32/nofpu/Implies: New file.
24997 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24998 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24999 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
25000 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
25001 * sysdeps/mips/ieee754/s_fma.c: Remove file.
25002 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
25003 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
25005 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
25006 * sysdeps/nios2/s_fma.c: Remove file.
25007 * sysdeps/nios2/s_fmaf.c: Likewise.
25008 * sysdeps/sh/nofpu/Implies: New file.
25009 * sysdeps/sh/s_fma.c: Remove file.
25010 * sysdeps/sh/s_fmaf.c: Likewise.
25011 * sysdeps/tile/Implies: Add ieee754/soft-fp.
25012 * sysdeps/tile/s_fma.c: Remove file.
25013 * sysdeps/tile/s_fmaf.c: Likewise.
25015 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
25017 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25018 Add s_cosf-sse2 and s_cosf-fma.
25019 (CFLAGS-s_cosf-fma.c): New.
25020 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
25021 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
25022 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
25024 2017-12-12 Steve Ellcey <sellcey@cavium.com>
25026 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
25028 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25030 * libio/Makefile (tests): Add tst-bz22415.
25031 (tst-bz22415-ENV): New rule.
25032 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
25033 (tests-special): Add tst-bz22415-mem.out.
25034 ($(objpfx)tst-bz22415-mem.out): New rule.
25035 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
25036 in case of a successful seek operation.
25037 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25038 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
25039 buffer is required.
25040 * libio/tst-bz22415.c: New test.
25042 * sysdeps/ia64/fpu/libm-test-ulps: Update.
25044 2017-12-12 James Clarke <jrtc27@jrtc27.com>
25046 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
25047 __IPC_64 to 0 to avoid IPC_64 being set.
25049 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25052 * math/bits/mathcalls.h (nextafter): Remove const.
25053 (nexttoward): Likewise.
25055 2017-12-12 Joseph Myers <joseph@codesourcery.com>
25057 * configure.ac (--with-fp): Remove configure option.
25058 (with_fp_cond): New variable.
25059 (libc_cv_with_fp): New configure test. Use this variable instead
25061 * configure: Regenerated.
25062 * config.make.in (with-fp): Use @libc_cv_with_fp@.
25063 * manual/install.texi (Configuring and compiling): Remove
25065 * INSTALL: Regenerated.
25066 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
25067 * sysdeps/mips/preconfigure (with_fp_cond): Define.
25068 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
25069 * sysdeps/sh/preconfigure (with_fp_cond): Define.
25070 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
25071 use --without-fp to configure glibc.
25073 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
25075 * manual/locale.texi (nl_langinfo): Fix a typo.
25077 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
25080 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
25082 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25084 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
25085 (CFLAGS-argp-parse.c): Likewise.
25086 (CFLAGS-argp-fmtstream.c): Likewise.
25087 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
25088 (CPPFLAGS-sha512-crypt.c): Likewise.
25089 (CPPFLAGS-md5-crypt.c): Likewise.
25090 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
25091 (CFLAGS-stack_chk_fail_local.c): Likewise.
25092 (CFLAGS-backtrace.c): Likewise.
25093 (CFLAGS-sprintf_chk.c): Likewise.
25094 (CFLAGS-snprintf_chk.c): Likewise.
25095 (CFLAGS-vsprintf_chk.c): Likewise.
25096 (CFLAGS-vsnprintf_chk.c): Likewise.
25097 (CFLAGS-asprintf_chk.c): Likewise.
25098 (CFLAGS-vasprintf_chk.c): Likewise.
25099 (CFLAGS-obprintf_chk.c): Likewise.
25100 (CFLAGS-dprintf_chk.c): Likewise.
25101 (CFLAGS-vdprintf_chk.c): Likewise.
25102 (CFLAGS-printf_chk.c): Likewise.
25103 (CFLAGS-fprintf_chk.c): Likewise.
25104 (CFLAGS-vprintf_chk.c): Likewise.
25105 (CFLAGS-vfprintf_chk.c): Likewise.
25106 (CFLAGS-gets_chk.c): Likewise.
25107 (CFLAGS-fgets_chk.c): Likewise.
25108 (CFLAGS-fgets_u_chk.c): Likewise.
25109 (CFLAGS-fread_chk.c): Likewise.
25110 (CFLAGS-fread_u_chk.c): Likewise.
25111 (CFLAGS-swprintf_chk.c): Likewise.
25112 (CFLAGS-vswprintf_chk.c): Likewise.
25113 (CFLAGS-wprintf_chk.c): Likewise.
25114 (CFLAGS-fwprintf_chk.c): Likewise.
25115 (CFLAGS-vwprintf_chk.c): Likewise.
25116 (CFLAGS-vfwprintf_chk.c): Likewise.
25117 (CFLAGS-fgetws_chk.c): Likewise.
25118 (CFLAGS-fgetws_u_chk.c): Likewise.
25119 (CFLAGS-read_chk.c): Likewise.
25120 (CFLAGS-pread_chk.c): Likewise.
25121 (CFLAGS-pread64_chk.c): Likewise.
25122 (CFLAGS-recv_chk.c): Likewise.
25123 (CFLAGS-recvfrom_chk.c): Likewise.
25124 (CFLAGS-tst-longjmp_chk.c): Likewise.
25125 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
25126 (CFLAGS-tst-longjmp_chk2.c): Likewise.
25127 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
25128 (CFLAGS-tst-longjmp_chk3.c): Likewise.
25129 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25130 (CFLAGS-tst-chk1.c): Likewise.
25131 (CFLAGS-tst-chk2.c): Likewise.
25132 (CFLAGS-tst-chk3.c): Likewise.
25133 (CFLAGS-tst-chk4.cc): Likewise.
25134 (CFLAGS-tst-chk5.cc): Likewise.
25135 (CFLAGS-tst-chk6.cc): Likewise.
25136 (CFLAGS-tst-lfschk1.c): Likewise.
25137 (CFLAGS-tst-lfschk2.c): Likewise.
25138 (CFLAGS-tst-lfschk3.c): Likewise.
25139 (CFLAGS-tst-lfschk4.cc): Likewise.
25140 (CFLAGS-tst-lfschk5.cc): Likewise.
25141 (CFLAGS-tst-lfschk6.cc): Likewise.
25142 (CFLAGS-tst-ssp-1.c): Likewise.
25143 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
25144 (CFLAGS-scandir64.c): Likewise.
25145 (CFLAGS-scandir-tail.c): Likewise.
25146 (CFLAGS-scandir64-tail.c): Likewise.
25147 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
25148 (CFLAGS-dl-tunables.c): Likewise.
25149 (CFLAGS-dl-runtime.c): Likewise.
25150 (CFLAGS-dl-lookup.c): Likewise.
25151 (CFLAGS-dl-iterate-phdr.c): Likewise.
25152 (CFLAGS-vismain.c): Likewise.
25153 (CFLAGS-tst-linkall-static.c): Likewise.
25154 (CFLAGS-tst-linkall-static.c): Likewise.
25155 (CPPFLAGS-dl-load.c): Likewise.
25156 (CFLAGS-ldconfig.c): Likewise.
25157 (CFLAGS-dl-cache.c): Likewise.
25158 (CFLAGS-cache.c): Likewise.
25159 (CFLAGS-rtld.c): Likewise.
25160 (CFLAGS-multiload.c): Likewise.
25161 (CFLAGS-filtmod1.c): Likewise.
25162 (CFLAGS-tst-align.c): Likewise.
25163 (CFLAGS-tst-align2.c): Likewise.
25164 (CFLAGS-tst-alignmod.c): Likewise.
25165 (CFLAGS-tst-alignmod2.c): Likewise.
25166 (CPPFLAGS-tst-execstack.c): Likewise.
25167 (CFLAGS-tst-ptrguard1-static.c): Likewise.
25168 (CFLAGS-tst-latepthreadmod.c): Likewise.
25169 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
25170 (CFLAGS-getgrnam_r.c): Likewise.
25171 (CFLAGS-getgrent_r.c): Likewise.
25172 (CFLAGS-getgrent.c): Likewise.
25173 (CFLAGS-fgetgrent.c): Likewise.
25174 (CFLAGS-fgetgrent_r.c): Likewise.
25175 (CFLAGS-putgrent.c): Likewise.
25176 (CFLAGS-initgroups.c): Likewise.
25177 (CFLAGS-getgrgid.c): Likewise.
25178 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
25179 (CFLAGS-getsgent.c): Likewise.
25180 (CFLAGS-fgetsgent.c): Likewise.
25181 (CFLAGS-fgetsgent_r.c): Likewise.
25182 (CFLAGS-putsgent.c): Likewise.
25183 (CFLAGS-getsgnam.c): Likewise.
25184 (CFLAGS-getsgnam_r.c): Likewise.
25185 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
25186 (CFLAGS-iconv_charmap.c): Likewise.
25187 (CFLAGS-dummy-repertoire.c): Likewise.
25188 (CFLAGS-charmap.c): Likewise.
25189 (CFLAGS-linereader.c): Likewise.
25190 (CFLAGS-simple-hash.c): Likewise.
25191 (CFLAGS-gconv_conf.c): Likewise.
25192 (CFLAGS-iconvconfig.c): Likewise.
25193 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25194 (CFLAGS-gethstbyad.c): Likewise.
25195 (CFLAGS-gethstbynm_r.c): Likewise.
25196 (CFLAGS-gethstbynm.c): Likewise.
25197 (CFLAGS-gethstbynm2_r.c): Likewise.
25198 (CFLAGS-gethstbynm2.c): Likewise.
25199 (CFLAGS-gethstent_r.c): Likewise.
25200 (CFLAGS-gethstent.c): Likewise.
25201 (CFLAGS-rcmd.c): Likewise.
25202 (CFLAGS-getnetbynm_r.c): Likewise.
25203 (CFLAGS-getnetbynm.c): Likewise.
25204 (CFLAGS-getnetbyad_r.c): Likewise.
25205 (CFLAGS-getnetbyad.c): Likewise.
25206 (CFLAGS-getnetent_r.c): Likewise.
25207 (CFLAGS-getnetent.c): Likewise.
25208 (CFLAGS-getaliasent_r.c): Likewise.
25209 (CFLAGS-getaliasent.c): Likewise.
25210 (CFLAGS-getrpcent_r.c): Likewise.
25211 (CFLAGS-getrpcent.c): Likewise.
25212 (CFLAGS-getservent_r.c): Likewise.
25213 (CFLAGS-getservent.c): Likewise.
25214 (CFLAGS-getprtent_r.c): Likewise.
25215 (CFLAGS-getprtent.c): Likewise.
25216 (CFLAGS-either_ntoh.c): Likewise.
25217 (CFLAGS-either_hton.c): Likewise.
25218 (CFLAGS-getnetgrent.c): Likewise.
25219 (CFLAGS-getnetgrent_r.c): Likewise.
25220 (CFLAGS-tst-checks-posix.c): Likewise.
25221 (CFLAGS-tst-sockaddr.c): Likewise.
25222 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
25223 (CFLAGS-tst-translit.c): Likewise.
25224 (CFLAGS-tst-gettext2.c): Likewise.
25225 (CFLAGS-tst-codeset.c): Likewise.
25226 (CFLAGS-tst-gettext3.c): Likewise.
25227 (CFLAGS-tst-gettext4.c): Likewise.
25228 (CFLAGS-tst-gettext5.c): Likewise.
25229 (CFLAGS-tst-gettext6.c): Likewise.
25230 * io/Makefile (CFLAGS-open.c): Likewise.
25231 (CFLAGS-open64.c): Likewise.
25232 (CFLAGS-creat.c): Likewise.
25233 (CFLAGS-creat64.c): Likewise.
25234 (CFLAGS-fcntl.c): Likewise.
25235 (CFLAGS-poll.c): Likewise.
25236 (CFLAGS-ppoll.c): Likewise.
25237 (CFLAGS-lockf.c): Likewise.
25238 (CFLAGS-statfs.c): Likewise.
25239 (CFLAGS-fstatfs.c): Likewise.
25240 (CFLAGS-statvfs.c): Likewise.
25241 (CFLAGS-fstatvfs.c): Likewise.
25242 (CFLAGS-fts.c): Likewise.
25243 (CFLAGS-fts64.c): Likewise.
25244 (CFLAGS-ftw.c): Likewise.
25245 (CFLAGS-ftw64.c): Likewise.
25246 (CFLAGS-lockf.c): Likewise.
25247 (CFLAGS-posix_fallocate.c): Likewise.
25248 (CFLAGS-posix_fallocate64.c): Likewise.
25249 (CFLAGS-fallocate.c): Likewise.
25250 (CFLAGS-fallocate64.c): Likewise.
25251 (CFLAGS-read.c): Likewise.
25252 (CFLAGS-write.c): Likewise.
25253 (CFLAGS-test-stat.c): Likewise.
25254 (CFLAGS-test-lfs.c): Likewise.
25255 * libio/Makefile (CFLAGS-fileops.c): Likewise.
25256 (CFLAGS-fputc.c): Likewise.
25257 (CFLAGS-fputwc.c): Likewise.
25258 (CFLAGS-freopen64.c): Likewise.
25259 (CFLAGS-freopen.c): Likewise.
25260 (CFLAGS-fseek.c): Likewise.
25261 (CFLAGS-fseeko64.c): Likewise.
25262 (CFLAGS-fseeko.c): Likewise.
25263 (CFLAGS-ftello64.c): Likewise.
25264 (CFLAGS-ftello.c): Likewise.
25265 (CFLAGS-fwide.c): Likewise.
25266 (CFLAGS-genops.c): Likewise.
25267 (CFLAGS-getc.c): Likewise.
25268 (CFLAGS-getchar.c): Likewise.
25269 (CFLAGS-getwc.c): Likewise.
25270 (CFLAGS-getwchar.c): Likewise.
25271 (CFLAGS-iofclose.c): Likewise.
25272 (CFLAGS-iofflush.c): Likewise.
25273 (CFLAGS-iofgetpos64.c): Likewise.
25274 (CFLAGS-iofgetpos.c): Likewise.
25275 (CFLAGS-iofgets.c): Likewise.
25276 (CFLAGS-iofgetws.c): Likewise.
25277 (CFLAGS-iofputs.c): Likewise.
25278 (CFLAGS-iofputws.c): Likewise.
25279 (CFLAGS-iofread.c): Likewise.
25280 (CFLAGS-iofsetpos64.c): Likewise.
25281 (CFLAGS-iofsetpos.c): Likewise.
25282 (CFLAGS-ioftell.c): Likewise.
25283 (CFLAGS-iofwrite.c): Likewise.
25284 (CFLAGS-iogetdelim.c): Likewise.
25285 (CFLAGS-iogetline.c): Likewise.
25286 (CFLAGS-iogets.c): Likewise.
25287 (CFLAGS-iogetwline.c): Likewise.
25288 (CFLAGS-ioputs.c): Likewise.
25289 (CFLAGS-ioseekoff.c): Likewise.
25290 (CFLAGS-ioseekpos.c): Likewise.
25291 (CFLAGS-iosetbuffer.c): Likewise.
25292 (CFLAGS-iosetvbuf.c): Likewise.
25293 (CFLAGS-ioungetc.c): Likewise.
25294 (CFLAGS-ioungetwc.c): Likewise.
25295 (CFLAGS-oldfileops.c): Likewise.
25296 (CFLAGS-oldiofclose.c): Likewise.
25297 (CFLAGS-oldiofgetpos64.c): Likewise.
25298 (CFLAGS-oldiofgetpos.c): Likewise.
25299 (CFLAGS-oldiofsetpos64.c): Likewise.
25300 (CFLAGS-oldiofsetpos.c): Likewise.
25301 (CFLAGS-peekc.c): Likewise.
25302 (CFLAGS-putc.c): Likewise.
25303 (CFLAGS-putchar.c): Likewise.
25304 (CFLAGS-putwc.c): Likewise.
25305 (CFLAGS-putwchar.c): Likewise.
25306 (CFLAGS-rewind.c): Likewise.
25307 (CFLAGS-wfileops.c): Likewise.
25308 (CFLAGS-wgenops.c): Likewise.
25309 (CFLAGS-oldiofopen.c): Likewise.
25310 (CFLAGS-iofopen.c): Likewise.
25311 (CFLAGS-iofopen64.c): Likewise.
25312 (CFLAGS-oldtmpfile.c): Likewise.
25313 (CFLAGS-tst_putwc.c): Likewise.
25314 * locale/Makefile (CFLAGS-md5.c): Likewise.
25315 (CFLAGS-charmap.c): Likewise.
25316 (CFLAGS-locfile.c): Likewise.
25317 (CFLAGS-charmap-dir.c): Likewise.
25318 * login/Makefile (CFLAGS-grantpt.c): Likewise.
25319 (CFLAGS-getpt.c): Likewise.
25320 (CFLAGS-pt_chown.c): Likewise.
25321 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
25322 (CFLAGS-obstack.c): Likewise.
25323 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
25324 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
25325 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
25326 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
25327 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
25328 (CFLAGS-test-tgmath.c): Likewise.
25329 (CFLAGS-test-tgmath2.c): Likewise.
25330 (CFLAGS-test-tgmath-ret.c): Likewise.
25331 (CFLAGS-test-powl.c): Likewise.
25332 (CFLAGS-test-snan.c): Likewise.
25333 (CFLAGS-test-signgam-finite.c): Likewise.
25334 (CFLAGS-test-signgam-finite-c99.c): Likewise.
25335 (CFLAGS-test-signgam-finite-c11.c): Likewise.
25336 (CFLAGS-test-signgam-uchar.c): Likewise.
25337 (CFLAGS-test-signgam-uchar-init.c): Likewise.
25338 (CFLAGS-test-signgam-uchar-static.c): Likewise.
25339 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25340 (CFLAGS-test-signgam-uint.c): Likewise.
25341 (CFLAGS-test-signgam-uint-init.c): Likewise.
25342 (CFLAGS-test-signgam-uint-static.c): Likewise.
25343 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
25344 (CFLAGS-test-signgam-ullong.c): Likewise.
25345 (CFLAGS-test-signgam-ullong-init.c): Likewise.
25346 (CFLAGS-test-signgam-ullong-static.c): Likewise.
25347 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
25348 (CFLAGS-test-math-cxx11.cc): Likewise.
25349 (CFLAGS-test-math-isinff.cc): Likewise.
25350 (CFLAGS-test-math-iszero.cc): Likewise.
25351 (CFLAGS-test-math-issignaling.cc): Likewise.
25352 (CFLAGS-test-math-iscanonical.cc): Likewise.
25353 (CFLAGS-test-iszero-excess-precision.c): Likewise.
25354 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
25355 (CFLAGS-test-flt-eval-method.c): Likewise.
25356 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
25357 (CFLAGS-test-finite-macros.c): Likewise.
25358 * misc/Makefile (CFLAGS-select.c): Likewise.
25359 (CFLAGS-tsearch.c): Likewise.
25360 (CFLAGS-lsearch.c): Likewise.
25361 (CFLAGS-pselect.c): Likewise.
25362 (CFLAGS-readv.c): Likewise.
25363 (CFLAGS-writev.c): Likewise.
25364 (CFLAGS-preadv.c): Likewise.
25365 (CFLAGS-preadv64.c): Likewise.
25366 (CFLAGS-pwritev.c): Likewise.
25367 (CFLAGS-pwritev64.c): Likewise.
25368 (CFLAGS-preadv2.c): Likewise.
25369 (CFLAGS-preadv64v2.c): Likewise.
25370 (CFLAGS-pwritev2.c): Likewise.
25371 (CFLAGS-pwritev64v2.c): Likewise.
25372 (CFLAGS-usleep.c): Likewise.
25373 (CFLAGS-syslog.c): Likewise.
25374 (CFLAGS-error.c): Likewise.
25375 (CFLAGS-getpass.c): Likewise.
25376 (CFLAGS-mkstemp.c): Likewise.
25377 (CFLAGS-mkstemp64.c): Likewise.
25378 (CFLAGS-getsysstats.c): Likewise.
25379 (CFLAGS-getusershell.c): Likewise.
25380 (CFLAGS-err.c): Likewise.
25381 (CFLAGS-tst-tsearch.c): Likewise.
25382 (CFLAGS-msync.c): Likewise.
25383 (CFLAGS-fdatasync.c): Likewise.
25384 (CFLAGS-fsync.c): Likewise.
25385 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
25386 (CFLAGS-unwind.c): Likewise.
25387 (CFLAGS-unwind-forcedunwind.c): Likewise.
25388 (CFLAGS-pthread_cancel.c): Likewise.
25389 (CFLAGS-pthread_setcancelstate.c): Likewise.
25390 (CFLAGS-pthread_setcanceltype.c): Likewise.
25391 (CFLAGS-cancellation.c): Likewise.
25392 (CFLAGS-libc-cancellation.c): Likewise.
25393 (CFLAGS-pthread_exit.c): Likewise.
25394 (CFLAGS-forward.c): Likewise.
25395 (CFLAGS-pthread_testcancel.c): Likewise.
25396 (CFLAGS-pthread_join.c): Likewise.
25397 (CFLAGS-pthread_timedjoin.c): Likewise.
25398 (CFLAGS-pthread_once.c): Likewise.
25399 (CFLAGS-pthread_cond_wait.c): Likewise.
25400 (CFLAGS-sem_wait.c): Likewise.
25401 (CFLAGS-sem_timedwait.c): Likewise.
25402 (CFLAGS-fcntl.c): Likewise.
25403 (CFLAGS-lockf.c): Likewise.
25404 (CFLAGS-pread.c): Likewise.
25405 (CFLAGS-pread64.c): Likewise.
25406 (CFLAGS-pwrite.c): Likewise.
25407 (CFLAGS-pwrite64.c): Likewise.
25408 (CFLAGS-wait.c): Likewise.
25409 (CFLAGS-waitpid.c): Likewise.
25410 (CFLAGS-sigwait.c): Likewise.
25411 (CFLAGS-msgrcv.c): Likewise.
25412 (CFLAGS-msgsnd.c): Likewise.
25413 (CFLAGS-tcdrain.c): Likewise.
25414 (CFLAGS-open.c): Likewise.
25415 (CFLAGS-open64.c): Likewise.
25416 (CFLAGS-pause.c): Likewise.
25417 (CFLAGS-recv.c): Likewise.
25418 (CFLAGS-send.c): Likewise.
25419 (CFLAGS-accept.c): Likewise.
25420 (CFLAGS-sendto.c): Likewise.
25421 (CFLAGS-connect.c): Likewise.
25422 (CFLAGS-recvfrom.c): Likewise.
25423 (CFLAGS-recvmsg.c): Likewise.
25424 (CFLAGS-sendmsg.c): Likewise.
25425 (CFLAGS-close.c): Likewise.
25426 (CFLAGS-read.c): Likewise.
25427 (CFLAGS-write.c): Likewise.
25428 (CFLAGS-nanosleep.c): Likewise.
25429 (CFLAGS-sigsuspend.c): Likewise.
25430 (CFLAGS-msync.c): Likewise.
25431 (CFLAGS-fdatasync.c): Likewise.
25432 (CFLAGS-fsync.c): Likewise.
25433 (CFLAGS-pt-system.c): Likewise.
25434 (CFLAGS-tst-cleanup2.c): Likewise.
25435 (CFLAGS-tst-cleanupx2.c): Likewise.
25436 (CFLAGS-flockfile.c): Likewise.
25437 (CFLAGS-ftrylockfile.c): Likewise.
25438 (CFLAGS-funlockfile.c): Likewise.
25439 (CFLAGS-tst-initializers1.c): Likewise.
25440 (CFLAGS-tst-initializers1-c89.c): Likewise.
25441 (CFLAGS-tst-initializers1-c99.c): Likewise.
25442 (CFLAGS-tst-initializers1-c11.c): Likewise.
25443 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
25444 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
25445 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25446 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
25447 (CFLAGS-nscd_getgr_r.c): Likewise.
25448 (CFLAGS-nscd_gethst_r.c): Likewise.
25449 (CFLAGS-nscd_getai.c): Likewise.
25450 (CFLAGS-nscd_initgroups.c): Likewise.
25451 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
25452 (CFLAGS-pause.c): Likewise.
25453 (CFLAGS-pread.c): Likewise.
25454 (CFLAGS-pread64.c): Likewise.
25455 (CFLAGS-pwrite.c): Likewise.
25456 (CFLAGS-pwrite64.c): Likewise.
25457 (CFLAGS-sleep.c): Likewise.
25458 (CFLAGS-wait.c): Likewise.
25459 (CFLAGS-waitid.c): Likewise.
25460 (CFLAGS-waitpid.c): Likewise.
25461 (CFLAGS-getopt.c): Likewise.
25462 (CFLAGS-wordexp.c): Likewise.
25463 (CFLAGS-sysconf.c): Likewise.
25464 (CFLAGS-pathconf.c): Likewise.
25465 (CFLAGS-fpathconf.c): Likewise.
25466 (CFLAGS-spawn.c): Likewise.
25467 (CFLAGS-spawnp.c): Likewise.
25468 (CFLAGS-spawni.c): Likewise.
25469 (CFLAGS-glob.c): Likewise.
25470 (CFLAGS-glob64.c): Likewise.
25471 (CFLAGS-getconf.c): Likewise.
25472 (CFLAGS-nanosleep.c): Likewise.
25473 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
25474 (CFLAGS-getpwent.c): Likewise.
25475 (CFLAGS-getpw.c): Likewise.
25476 (CFLAGS-fgetpwent_r.c): Likewise.
25477 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
25478 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
25479 (CFLAGS-mq_timedreceive.c): Likewise.
25480 (CFLAGS-mq_timedsend.c): Likewise.
25481 (CFLAGS-clock_nanosleep.c): Likewise.
25482 (CFLAGS-librt-cancellation.c): Likewise.
25483 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
25484 (CFLAGS-getspent.c): Likewise.
25485 (CFLAGS-fgetspent.c): Likewise.
25486 (CFLAGS-fgetspent_r.c): Likewise.
25487 (CFLAGS-putspent.c): Likewise.
25488 (CFLAGS-getspnam.c): Likewise.
25489 (CFLAGS-getspnam_r.c): Likewise.
25490 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
25491 (CFLAGS-sigsuspend.c): Likewise.
25492 (CFLAGS-sigtimedwait.c): Likewise.
25493 (CFLAGS-sigwait.c): Likewise.
25494 (CFLAGS-sigwaitinfo.c): Likewise.
25495 (CFLAGS-sigreturn.c): Likewise.
25496 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25497 (CFLAGS-vfwprintf.c): Likewise.
25498 (CFLAGS-tmpfile.c): Likewise.
25499 (CFLAGS-tmpfile64.c): Likewise.
25500 (CFLAGS-tempname.c): Likewise.
25501 (CFLAGS-psignal.c): Likewise.
25502 (CFLAGS-vprintf.c): Likewise.
25503 (CFLAGS-cuserid.c): Likewise.
25504 (CFLAGS-errlist.c): Likewise.
25505 (CFLAGS-siglist.c): Likewise.
25506 (CFLAGS-scanf15.c): Likewise.
25507 (CFLAGS-scanf17.c): Likewise.
25508 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
25509 (CFLAGS-msort.c): Likewise.
25510 (CFLAGS-qsort.c): Likewise.
25511 (CFLAGS-system.c): Likewise.
25512 (CFLAGS-fmtmsg.c): Likewise.
25513 (CFLAGS-strfmon.c): Likewise.
25514 (CFLAGS-strfmon_l.c): Likewise.
25515 (CFLAGS-strfromd.c): Likewise.
25516 (CFLAGS-strfromf.c): Likewise.
25517 (CFLAGS-strfroml.c): Likewise.
25518 (CFLAGS-tst-bsearch.c): Likewise.
25519 (CFLAGS-tst-qsort.c): Likewise.
25520 (CFLAGS-tst-makecontext2.c): Likewise.
25521 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
25522 (CFLAGS-xnlm_prot.c): Likewise.
25523 (CFLAGS-xrstat.c): Likewise.
25524 (CFLAGS-xyppasswd.c): Likewise.
25525 (CFLAGS-xklm_prot.c): Likewise.
25526 (CFLAGS-xrex.c): Likewise.
25527 (CFLAGS-xsm_inter.c): Likewise.
25528 (CFLAGS-xmount.c): Likewise.
25529 (CFLAGS-xrusers.c): Likewise.
25530 (CFLAGS-xspray.c): Likewise.
25531 (CFLAGS-xnfs_prot.c): Likewise.
25532 (CFLAGS-xrquota.c): Likewise.
25533 (CFLAGS-xkey_prot.c): Likewise.
25534 (CFLAGS-auth_unix.c): Likewise.
25535 (CFLAGS-key_call.c): Likewise.
25536 (CFLAGS-pmap_rmt.c): Likewise.
25537 (CFLAGS-clnt_perr.c): Likewise.
25538 (CFLAGS-openchild.c): Likewise.
25539 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
25540 (CFLAGS-msgsnd.c): Likewise.
25541 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
25542 * time/Makefile (CFLAGS-tzfile.c): Likewise.
25543 (CFLAGS-tzset.c): Likewise.
25544 (CFLAGS-getdate.c): Likewise.
25545 (CFLAGS-test_time.c): Likewise.
25546 (CPPFLAGS-tst-tzname.c): Likewise.
25547 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
25548 (CFLAGS-zic.c): Likewise.
25549 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
25550 (CFLAGS-wcswidth.c): Likewise.
25551 (CFLAGS-wcstol.c): Likewise.
25552 (CFLAGS-wcstoul.c): Likewise.
25553 (CFLAGS-wcstoll.c): Likewise.
25554 (CFLAGS-wcstoull.c): Likewise.
25555 (CFLAGS-wcstod.c): Likewise.
25556 (CFLAGS-wcstold.c): Likewise.
25557 (CFLAGS-wcstof128.c): Likewise.
25558 (CFLAGS-wcstof.c): Likewise.
25559 (CFLAGS-wcstol_l.c): Likewise.
25560 (CFLAGS-wcstoul_l.c): Likewise.
25561 (CFLAGS-wcstoll_l.c): Likewise.
25562 (CFLAGS-wcstoull_l.c): Likewise.
25563 (CFLAGS-wcstod_l.c): Likewise.
25564 (CFLAGS-wcstold_l.c): Likewise.
25565 (CFLAGS-wcstof128_l.c): Likewise.
25566 (CFLAGS-wcstof_l.c): Likewise.
25567 (CPPFLAGS-tst-wchar-h.c): Likewise.
25568 (CPPFLAGS-wcstold_l.c): Likewise.
25570 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
25572 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
25574 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25575 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25577 * manual/tunables.texi (Hardware Capability Tunables): Document
25578 glibc.tune.cached_memopt.
25579 * sysdeps/powerpc/cpu-features.c: New file.
25580 * sysdeps/powerpc/cpu-features.h: New file.
25581 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
25582 _dl_powerpc_cpu_features.
25583 * sysdeps/powerpc/dl-tunables.list: New file.
25584 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
25585 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25586 (INIT_ARCH): Initialize use_aligned_memopt.
25587 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
25588 IS_IN(rtld))]: Restrict dl_platform_init availability and
25589 initialize CPU features used by tunables.
25590 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
25591 Add memcpy-power8-cached.
25592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
25593 __memcpy_power8_cached.
25594 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25595 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
25598 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25600 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
25601 (CFLAGS-noinl-tester.c): Likewise.
25602 (CFLAGS-tst-strlen.c): Likewise.
25603 (CFLAGS-stratcliff.c): Likewise.
25604 (CFLAGS-test-ffs.c): Likewise.
25605 (CFLAGS-tst-inlcall.c): Likewise.
25606 (CFLAGS-tst-xbzero-opt.c): Likewise.
25607 (CFLAGS-memcpy.c): Likewise.
25608 (CFLAGS-wordcopy.c): Likewise.
25610 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25612 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
25613 Store r15 on stack and add cfi rule.
25614 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
25617 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
25620 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25623 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25625 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25626 Add s_sinf-sse2 and s_sinf-fma.
25627 (CFLAGS-s_sinf-fma.c): New.
25628 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25629 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25630 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25632 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25634 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25636 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25639 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25640 part of result to imaginary part of argument if it is zero and the
25641 real part of the argument is not finite.
25642 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25643 of result to real part of argument if it is zero and the imaginary
25644 part of the argument is not finite.
25646 2017-12-07 Mike FABIAN <mfabian@redhat.com>
25649 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25650 and to the list of locales to be built for testing.
25651 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25652 * localedata/locales/lt_LT (LC_COLLATE): Use âcopy "iso14651_t1"â
25653 and build the collation rules upon that.
25655 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25657 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25658 * manual/math.texi (Mathematics): Document support for _Float32.
25659 * math/Makefile (test-types): Add float32.
25660 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25661 * stdlib/Versions (GLIBC_2.27): Likewise.
25662 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25663 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25664 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25665 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25666 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25667 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25668 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25669 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25670 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25671 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25672 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25673 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25674 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25675 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25676 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25677 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25678 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25679 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25680 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25681 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25682 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25683 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25685 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25686 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25687 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25688 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25689 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25707 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25708 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25709 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25710 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25711 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25712 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25713 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25714 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25715 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25716 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25725 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25726 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25727 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25728 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25729 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25730 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25731 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25732 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25734 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25736 * stdlib/strtof.c: Include <bits/floatn.h>
25737 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25738 and later undefine as macro. Define as weak alias if
25740 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25741 and later undefine as macro. Define as weak alias if
25743 * stdlib/strtof_l.c: Include <bits/floatn.h>
25744 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25745 and later undefine as macro. Define as weak alias if
25747 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25748 and later undefine as macro. Define as weak alias if
25751 * stdlib/strfromf.c: Include <bits/floatn.h>.
25752 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25753 and later undefine as macro and define as weak alias.
25755 * math/test-float32.h: New file.
25757 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25758 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25759 (libm_alias_float_other_r): Create f32 alias.
25760 (libm_alias_float_r): Use semicolon before call to
25761 libm_alias_float_other_r.
25763 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25764 second argument to libm_alias_float_other.
25765 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25766 second argument to libm_alias_float_other.
25767 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25768 argument to libm_alias_float_other.
25771 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25772 real part of result for argument 0 + i * NaN.
25773 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25774 results for tests of 0 + i * NaN.
25776 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25778 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25780 2017-12-06 David S. Miller <davem@davemloft.net>
25782 * sysdeps/sparc/fpu/libm-test-ulps: Update
25783 exp_{downward,towardzero,upward} ulps.
25785 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25787 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25790 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25792 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25794 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25796 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25799 2017-12-06 Mike FABIAN <mfabian@redhat.com>
25802 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25803 and to the list of locales to be built for testing.
25804 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25805 * localedata/locales/hsb_DE (LC_COLLATE): Use âcopy "iso14651_t1"â
25806 and build the collation rules upon that.
25808 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25810 * NEWS: Add sinf to list of optimized functions.
25812 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25814 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25815 (__HAVE_FLOAT32X): Likewise.
25816 * manual/math.texi (Mathematics): Document support for _Float64
25818 * math/Makefile (test-types): Add float64 and float32x.
25819 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25821 * stdlib/Versions (GLIBC_2.27): Likewise.
25822 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25823 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25824 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25825 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25826 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25827 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25828 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25829 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25830 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25831 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25832 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25833 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25834 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25835 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25836 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25837 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25838 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25839 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25840 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25841 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25842 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25843 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25845 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25846 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25847 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25848 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25849 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25866 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25867 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25868 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25869 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25870 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25871 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25872 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25873 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25874 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25875 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25884 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25885 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25886 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25887 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25888 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25889 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25890 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25891 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25893 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25895 * bits/floatn-common.h: Include <bits/long-double.h>.
25896 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25897 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25898 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25899 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25900 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25901 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25902 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25903 (__builtin_huge_valf64): Use __builtin_huge_vall.
25904 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25905 (__builtin_inff64): Use __builtin_infl.
25906 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25907 (__builtin_nanf64): Use __builtin_nanl.
25908 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25909 (__builtin_nansf64): Use __builtin_nansl.
25911 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25912 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25913 Carlos O'Donell <carlos@redhat.com>
25915 * elf/dl-tunables.list: Add elision parameters.
25916 * manual/tunables.texi: Add entries about elision tunable.
25917 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25918 Add callback functions to dynamically enable/disable elision.
25919 Add multiple callbacks functions to set elision parameters.
25920 Deleted __libc_enable_secure check.
25921 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25922 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25923 * configure: Regenerated.
25924 * configure.ac: Option enable_lock_elision was deleted.
25925 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25926 * config.make.in: Remove references to enable_lock_elision.
25927 * manual/install.texi: Elision configure option was removed.
25928 * INSTALL: Regenerated to remove enable_lock_elision.
25930 Disable elision so it can verify error case for destroying a mutex.
25931 * sysdeps/powerpc/nptl/elide.h:
25932 Cleanup ENABLE_LOCK_ELISION check.
25933 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25934 * sysdeps/s390/configure: Regenerated.
25935 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25936 * nptl/tst-mutex8.c:
25937 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25938 * sysdeps/powerpc/powerpc32/sysdep.h:
25939 Deleted all ENABLE_LOCK_ELISION checks.
25940 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25941 * sysdeps/powerpc/sysdep.h: Likewise.
25942 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25943 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25944 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25945 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25946 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25947 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25948 enable-lock-elision.
25950 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25952 * stdlib/strtod.c: Include <bits/floatn.h>.
25953 (BUILD_DOUBLE): New macro.
25954 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25955 (strtof64): Define and later undefine as macro. Define as weak
25956 alias if [!USE_WIDE_CHAR].
25957 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25958 (wcstof64): Define and later undefine as macro. Define as weak
25959 alias if [USE_WIDE_CHAR].
25960 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25961 (strtof32x): Define and later undefine as macro. Define as weak
25962 alias if [!USE_WIDE_CHAR].
25963 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25964 (wcstof32x): Define and later undefine as macro. Define as weak
25965 alias if [USE_WIDE_CHAR].
25966 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25967 (BUILD_DOUBLE): New macro.
25968 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25969 (strtof64_l): Define and later undefine as macro. Define as weak
25970 alias if [!USE_WIDE_CHAR].
25971 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25972 (wcstof64_l): Define and later undefine as macro. Define as weak
25973 alias if [USE_WIDE_CHAR].
25974 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25975 (strtof32x_l): Define and later undefine as macro. Define as weak
25976 alias if [!USE_WIDE_CHAR].
25977 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25978 (wcstof32x_l): Define and later undefine as macro. Define as weak
25979 alias if [USE_WIDE_CHAR].
25981 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25983 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25984 (reduced): Use ones as double instead of integer.
25986 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25988 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25990 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25992 * stdlib/strfromd.c: Include <bits/floatn.h>.
25993 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25994 and later undefine as macro and define as weak alias.
25995 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25998 * math/test-float32x.h: New file.
25999 * math/test-float64.h: Likewise.
26001 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
26002 (libm_alias_double_other_r_f64): New macro.
26003 (libm_alias_double_other_r_f32x): Likewise.
26004 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
26005 libm_alias_double_other_r_f32x.
26006 (libm_alias_double_r): Use semicolon before call to
26007 libm_alias_double_other_r.
26008 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
26010 (libm_alias_double_other_r_f64): New macro.
26011 (libm_alias_double_other_r_f32x): Likewise.
26012 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
26013 libm_alias_double_other_r_f32x.
26015 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
26017 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
26019 (SINF_FUNC): Likewise. Replace floor with simple casts.
26021 2017-12-05 Mike FABIAN <mfabian@redhat.com>
26024 * localedata/Makefile: Add et_EE.UTF-8 to test-input
26025 and to the list of locales to be built for testing.
26026 * localedata/et_EE.UTF-8.in: New file for testing the collation.
26027 * localedata/locales/et_EE (LC_COLLATE): Use âcopy "iso14651_t1"â
26028 and build the collation rules upon that.
26030 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
26032 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
26033 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
26034 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
26035 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
26036 instead of __insn__xxx.
26037 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
26038 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
26039 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
26040 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
26041 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
26042 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
26044 2017-12-05 Florian Weimer <fweimer@redhat.com>
26046 Linux: Implement interfaces for memory protection keys
26047 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
26049 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
26050 * support/xunistd.h (xsysconf): Declare.
26051 * support/xraise.c: New file.
26052 * support/xsigaction.c: Likewise.
26053 * support/xsignal.c: Likewise.
26054 * support/xsysconf.c: Likewise.
26055 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
26056 pkey_set, pkey_get, pkey_mprotect.
26057 [misc] (tests): Add tst-pkey.
26058 (tst-pkey): Link with -lpthread.
26059 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
26060 pkey_free, pkey_set, pkey_get, pkey_mprotect.
26061 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
26062 (PKEY_DISABLE_WRITE): Define.
26063 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
26065 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
26066 (SEGV_PKUERR): Add.
26067 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
26068 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
26069 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
26070 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
26072 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
26073 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
26074 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
26075 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
26076 * sysdeps/unix/sysv/linux/**.abilist: Update.
26078 2017-12-05 Florian Weimer <fweimer@redhat.com>
26080 * support/tst-test_compare.c (subprocess): Use long long instead
26081 of long argument for consistent type width across 32-bit and
26082 64-bit architectures.
26083 (do_test): Adjust expected output.
26085 2017-12-05 Joseph Myers <joseph@codesourcery.com>
26087 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
26088 (cosf): Define using libm_alias_float.
26089 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
26090 (fabsf): Define using libm_alias_float.
26091 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
26092 (fmaf): Define using libm_alias_float.
26093 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
26094 (rintf): Define using libm_alias_float.
26095 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
26096 (sinf): Define using libm_alias_float.
26097 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
26098 <libm-alias-float.h>.
26099 (modff): Define using libm_alias_float.
26100 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
26101 <libm-alias-float.h>.
26102 (logbf): Define using libm_alias_float.
26103 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
26104 <libm-alias-float.h>.
26105 (ceilf): Define using libm_alias_float.
26106 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
26107 <libm-alias-float.h>.
26108 (copysignf): Define using libm_alias_float.
26109 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
26110 <libm-alias-float.h>.
26111 (floorf): Define using libm_alias_float.
26112 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
26113 <libm-alias-float.h>.
26114 (llrintf): Define using libm_alias_float.
26115 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
26116 <libm-alias-float.h>.
26117 (llroundf): Define using libm_alias_float.
26118 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
26119 <libm-alias-float.h>.
26120 (lrintf): Define using libm_alias_float.
26121 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
26122 <libm-alias-float.h>.
26123 (lroundf): Define using libm_alias_float.
26124 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
26125 <libm-alias-float.h>.
26126 (nearbyintf): Define using libm_alias_float.
26127 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
26128 <libm-alias-float.h>.
26129 (rintf): Define using libm_alias_float.
26130 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
26131 <libm-alias-float.h>.
26132 (roundf): Define using libm_alias_float.
26133 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
26134 <libm-alias-float.h>.
26135 (truncf): Define using libm_alias_float.
26136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
26137 Include <libm-alias-float.h>.
26138 (ceilf): Define using libm_alias_float.
26139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
26140 Include <libm-alias-float.h>.
26141 (copysignf): Define using libm_alias_float.
26142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
26143 Include <libm-alias-float.h>.
26144 (floorf): Define using libm_alias_float.
26145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
26146 Include <libm-alias-float.h>.
26147 (llrintf): Define using libm_alias_float.
26148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
26149 Include <libm-alias-float.h>.
26150 (llroundf): Define using libm_alias_float.
26151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
26152 Include <libm-alias-float.h>.
26153 (logbf): Define using libm_alias_float.
26154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
26155 Include <libm-alias-float.h>.
26156 (lrintf): Define using libm_alias_float.
26157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
26158 Include <libm-alias-float.h>.
26159 (lroundf): Define using libm_alias_float.
26160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
26161 Include <libm-alias-float.h>.
26162 (modff): Define using libm_alias_float.
26163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
26164 Include <libm-alias-float.h>.
26165 (roundf): Define using libm_alias_float.
26166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
26167 Include <libm-alias-float.h>.
26168 (truncf): Define using libm_alias_float.
26169 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
26170 <libm-alias-float.h>.
26171 (llrintf): Define using libm_alias_float.
26172 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
26173 <libm-alias-float.h>.
26174 (llroundf): Define using libm_alias_float.
26175 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
26176 <libm-alias-float.h>.
26177 (ceilf): Define using libm_alias_float.
26178 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
26179 <libm-alias-float.h>.
26180 (floorf): Define using libm_alias_float.
26181 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
26182 <libm-alias-float.h>.
26183 (llroundf): Define using libm_alias_float.
26184 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
26185 <libm-alias-float.h>.
26186 (lroundf): Define using libm_alias_float.
26187 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
26188 <libm-alias-float.h>.
26189 (roundf): Define using libm_alias_float.
26190 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
26191 <libm-alias-float.h>.
26192 (truncf): Define using libm_alias_float.
26193 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
26194 <libm-alias-float.h>.
26195 (copysignf): Define using libm_alias_float.
26196 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
26197 <libm-alias-float.h>.
26198 (llrintf): Define using libm_alias_float.
26199 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
26200 <libm-alias-float.h>.
26201 (llroundf): Define using libm_alias_float.
26202 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
26203 <libm-alias-float.h>.
26204 (lrintf): Define using libm_alias_float.
26205 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
26206 <libm-alias-float.h>.
26207 (lroundf): Define using libm_alias_float.
26208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
26209 <libm-alias-float.h>.
26210 (ceilf): Define using libm_alias_float.
26211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
26212 <libm-alias-float.h>.
26213 (copysignf): Define using libm_alias_float.
26214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
26215 <libm-alias-float.h>.
26216 (cosf): Define using libm_alias_float.
26217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
26218 <libm-alias-float.h>.
26219 (floorf): Define using libm_alias_float.
26220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
26221 <libm-alias-float.h>.
26222 (llrintf): Define using libm_alias_float.
26223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
26224 <libm-alias-float.h>.
26225 (llroundf): Define using libm_alias_float.
26226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
26227 <libm-alias-float.h>.
26228 (logbf): Define using libm_alias_float.
26229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
26230 <libm-alias-float.h>.
26231 (modff): Define using libm_alias_float.
26232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
26233 <libm-alias-float.h>.
26234 (roundf): Define using libm_alias_float.
26235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
26236 <libm-alias-float.h>.
26237 (sinf): Define using libm_alias_float.
26238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
26239 <libm-alias-float.h>.
26240 (truncf): Define using libm_alias_float.
26241 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
26242 <libm-alias-float.h>.
26243 (ceilf): Define using libm_alias_float.
26244 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
26245 <libm-alias-float.h>.
26246 (copysignf): Define using libm_alias_float.
26247 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
26248 <libm-alias-float.h>.
26249 (floorf): Define using libm_alias_float.
26250 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
26251 <libm-alias-float.h>.
26252 (llrintf): Define using libm_alias_float.
26253 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
26254 <libm-alias-float.h>.
26255 (llroundf): Define using libm_alias_float.
26256 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
26257 <libm-alias-float.h>.
26258 (nearbyintf): Define using libm_alias_float.
26259 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
26260 <libm-alias-float.h>.
26261 (rintf): Define using libm_alias_float.
26262 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
26263 <libm-alias-float.h>.
26264 (roundf): Define using libm_alias_float.
26265 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
26266 <libm-alias-float.h>.
26267 (truncf): Define using libm_alias_float.
26268 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
26269 <libm-alias-float.h>.
26270 (ceilf): Define using libm_alias_float.
26271 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
26272 <libm-alias-float.h>.
26273 (floorf): Define using libm_alias_float.
26274 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
26275 <libm-alias-float.h>.
26276 (llroundf): Define using libm_alias_float.
26277 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
26278 <libm-alias-float.h>.
26279 (roundf): Define using libm_alias_float.
26280 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
26281 <libm-alias-float.h>.
26282 (truncf): Define using libm_alias_float.
26283 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
26284 <libm-alias-float.h>.
26285 (copysignf): Define using libm_alias_float.
26286 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
26287 <libm-alias-float.h>.
26288 (llrintf): Define using libm_alias_float.
26289 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
26290 <libm-alias-float.h>.
26291 (llroundf): Define using libm_alias_float.
26292 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
26293 <libm-alias-float.h>.
26294 (cosf): Define using libm_alias_float.
26295 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
26296 <libm-alias-float.h>.
26297 (llrintf): Define using libm_alias_float.
26298 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
26299 <libm-alias-float.h>.
26300 (llroundf): Define using libm_alias_float.
26301 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
26302 <libm-alias-float.h>.
26303 (sinf): Define using libm_alias_float.
26305 2017-12-04 Florian Weimer <fweimer@redhat.com>
26307 * support/check.h (TEST_COMPARE): Define.
26308 (support_test_compare_failure): Declare.
26309 * support/Makefile (libsupport-routines): Add
26310 support_test_compare_failure.
26311 (tests): Add tst-test_compare.
26312 * support /support_test_compare_failure.c: New file.
26313 * support/tst-test_compare.c: Likewise.
26315 2017-12-04 Mike FABIAN <mfabian@redhat.com>
26318 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
26319 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
26320 available, this rewrite of the collation rules does reproduce
26321 the test file in the same order.
26323 2017-12-04 Mike FABIAN <mfabian@redhat.com>
26326 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
26327 digraphs in the month and day names. Using single code points for
26328 digraphs is deprecated. While there are dedicated Unicode
26329 codepoints, for the digraphs, these are included for backwards
26330 compatibility and modern texts use a sequence of Basic Latin
26331 characters. See: https://www.unicode.org/faq/ligature_digraph.html
26332 This makes the month and day names agree exactly with CLDR now,
26333 CLDR does not use the single code points for the digraphs either.
26335 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
26337 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
26339 2017-12-04 Joseph Myers <joseph@codesourcery.com>
26341 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
26344 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
26346 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
26347 Define only for libc.so.
26349 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
26351 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26352 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
26353 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
26354 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
26355 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26357 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26360 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
26362 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
26365 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
26366 PREINIT_FUNCTION_WEAK is nonzero.
26367 (gmon_initializer): New function. Put procedure label for it in
26368 .init_array section.
26369 (_init): Don't call PREINIT_FUNCTION.
26370 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
26371 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
26372 value when map argument is null.
26374 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
26375 depi instruction from PIC pc-relative sequence.
26376 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
26377 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
26378 (elf_machine_load_address): Likewise.
26379 (elf_machine_runtime_setup): Likewise.
26381 2017-12-02 Joseph Myers <joseph@codesourcery.com>
26383 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
26384 <libm-alias-double.h>.
26385 (logb): Define using libm_alias_double.
26386 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
26387 <libm-alias-double.h>.
26388 (copysign): Define using libm_alias_double.
26389 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
26390 <libm-alias-double.h>.
26391 (llrint): Define using libm_alias_double.
26392 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
26393 <libm-alias-double.h>.
26394 (llround): Define using libm_alias_double.
26395 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
26396 <libm-alias-double.h>.
26397 (lrint): Define using libm_alias_double.
26398 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
26399 <libm-alias-double.h>.
26400 (lround): Define using libm_alias_double.
26401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26402 Include <libm-alias-double.h>.
26403 (copysign): Define using libm_alias_double.
26404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
26405 Include <libm-alias-double.h>.
26406 (llrint): Define using libm_alias_double.
26407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
26408 Include <libm-alias-double.h>.
26409 (llround): Define using libm_alias_double.
26410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
26411 <libm-alias-double.h>.
26412 (logb): Define using libm_alias_double.
26413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
26414 Include <libm-alias-double.h>.
26415 (lrint): Define using libm_alias_double.
26416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
26417 Include <libm-alias-double.h>.
26418 (lround): Define using libm_alias_double.
26419 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
26420 <libm-alias-double.h>.
26421 (llrint): Define using libm_alias_double.
26422 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
26423 <libm-alias-double.h>.
26424 (llround): Define using libm_alias_double.
26425 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
26426 <libm-alias-double.h>.
26427 (llround): Define using libm_alias_double.
26428 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
26429 <libm-alias-double.h>.
26430 (lround): Define using libm_alias_double.
26431 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
26432 <libm-alias-double.h>.
26433 (copysign): Define using libm_alias_double.
26434 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
26435 <libm-alias-double.h>.
26436 (llrint): Define using libm_alias_double.
26437 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
26438 <libm-alias-double.h>.
26439 (llround): Define using libm_alias_double.
26440 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
26441 <libm-alias-double.h>.
26442 (lrint): Define using libm_alias_double.
26443 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
26444 <libm-alias-double.h>.
26445 (lround): Define using libm_alias_double.
26446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
26447 <libm-alias-double.h>.
26448 (copysign): Define using libm_alias_double.
26449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
26450 <libm-alias-double.h>.
26451 (llrint): Define using libm_alias_double.
26453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
26454 <libm-alias-double.h>.
26455 (llround): Define using libm_alias_double.
26456 (lround): Likewise.
26457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
26458 <libm-alias-double.h>.
26459 (logb): Define using libm_alias_double.
26460 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
26461 <libm-alias-double.h>.
26462 (copysign): Define using libm_alias_double.
26463 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
26464 <libm-alias-double.h>.
26465 (llrint): Define using libm_alias_double.
26467 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
26468 <libm-alias-double.h>.
26469 (llround): Define using libm_alias_double.
26470 (lround): Likewise.
26471 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
26472 <libm-alias-double.h>.
26473 (llround): Define using libm_alias_double.
26474 (lround): Likewise.
26475 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
26476 <libm-alias-double.h>.
26477 (copysign): Define using libm_alias_double.
26478 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
26479 <libm-alias-double.h>.
26480 (llrint): Define using libm_alias_double.
26482 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
26483 <libm-alias-double.h>.
26484 (llround): Define using libm_alias_double.
26485 (lround): Likewise.
26486 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
26487 <libm-alias-double.h>.
26488 (llrint): Define using libm_alias_double.
26490 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
26491 <libm-alias-double.h>.
26492 (llround): Define using libm_alias_double.
26493 (lround): Likewise.
26495 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26498 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
26499 compat symbol based on llround.
26501 * sysdeps/powerpc/power7/fpu/s_logb.c
26502 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
26503 symbol based on __logb, not on logb.
26504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
26505 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
26507 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26509 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
26510 (rint): Define using libm_alias_double.
26511 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
26512 <libm-alias-double.h>.
26513 (modf): Define using libm_alias_double.
26514 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
26515 <libm-alias-double.h>.
26516 (ceil): Define using libm_alias_double.
26517 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
26518 <libm-alias-double.h>.
26519 (floor): Define using libm_alias_double.
26520 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
26521 <libm-alias-double.h>.
26522 (nearbyint): Define using libm_alias_double.
26523 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
26524 <libm-alias-double.h>.
26525 (rint): Define using libm_alias_double.
26526 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
26527 <libm-alias-double.h>.
26528 (round): Define using libm_alias_double.
26529 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
26530 <libm-alias-double.h>.
26531 (trunc): Define using libm_alias_double.
26532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
26533 <libm-alias-double.h>.
26534 (ceil): Define using libm_alias_double.
26535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
26536 Include <libm-alias-double.h>.
26537 (floor): Define using libm_alias_double.
26538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
26539 <libm-alias-double.h>.
26540 (modf): Define using libm_alias_double.
26541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
26542 Include <libm-alias-double.h>.
26543 (round): Define using libm_alias_double.
26544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
26545 Include <libm-alias-double.h>.
26546 (trunc): Define using libm_alias_double.
26547 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
26548 <libm-alias-double.h>.
26549 (ceil): Define using libm_alias_double.
26550 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
26551 <libm-alias-double.h>.
26552 (floor): Define using libm_alias_double.
26553 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
26554 <libm-alias-double.h>.
26555 (round): Define using libm_alias_double.
26556 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
26557 <libm-alias-double.h>.
26558 (trunc): Define using libm_alias_double.
26559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
26560 <libm-alias-double.h>.
26561 (ceil): Define using libm_alias_double.
26562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
26563 <libm-alias-double.h>.
26564 (floor): Define using libm_alias_double.
26565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
26566 <libm-alias-double.h>.
26567 (modf): Define using libm_alias_double.
26568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
26569 <libm-alias-double.h>.
26570 (round): Define using libm_alias_double.
26571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
26572 <libm-alias-double.h>.
26573 (trunc): Define using libm_alias_double.
26574 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
26575 <libm-alias-double.h>.
26576 (ceil): Define using libm_alias_double.
26577 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
26578 <libm-alias-double.h>.
26579 (floor): Define using libm_alias_double.
26580 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
26581 <libm-alias-double.h>.
26582 (nearbyint): Define using libm_alias_double.
26583 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
26584 <libm-alias-double.h>.
26585 (rint): Define using libm_alias_double.
26586 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
26587 <libm-alias-double.h>.
26588 (round): Define using libm_alias_double.
26589 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
26590 <libm-alias-double.h>.
26591 (trunc): Define using libm_alias_double.
26592 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
26593 <libm-alias-double.h>.
26594 (ceil): Define using libm_alias_double.
26595 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
26596 <libm-alias-double.h>.
26597 (floor): Define using libm_alias_double.
26598 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
26599 <libm-alias-double.h>.
26600 (round): Define using libm_alias_double.
26601 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
26602 <libm-alias-double.h>.
26603 (trunc): Define using libm_alias_double.
26605 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
26606 (fabs): Define using libm_alias_double.
26607 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
26608 (fma): Define using libm_alias_double.
26609 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
26610 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
26611 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
26612 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
26614 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26616 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26618 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26619 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26620 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26623 due redirect macro.
26625 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26627 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26629 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26631 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26632 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26633 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26634 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26637 (libm-sysdep_routines): Add s_nearbyintf-generic and
26638 s_nearbyint-generic.
26639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26652 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26663 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26674 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26685 (sysdep_calls): New rule.
26686 (sysdep_routines): Use sysdep_calls as base.
26687 (libm-sysdep_routines): Add generic rule for symbols shared with
26688 libc. Add s_copysign-generic and s_copysign-generic objects.
26689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26698 2017-12-01 Mike FABIAN <mfabian@redhat.com>
26701 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26702 the list of locales to be built for testing.
26703 * localedata/is_IS.UTF-8.in: New file.
26704 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26707 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26709 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26710 <libm-alias-float.h>.
26711 (fabsf): Define using libm_alias_float.
26713 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26715 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26717 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26719 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26720 <libm-alias-float.h>.
26721 (fabsf): Define using libm_alias_float.
26722 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26723 <libm-alias-float.h>.
26724 (lrintf): Define using libm_alias_float.
26725 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26726 <libm-alias-float.h>.
26727 (rintf): Define using libm_alias_float.
26729 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26730 <libm-alias-double.h>.
26731 (fabs): Define using libm_alias_double.
26732 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26733 <libm-alias-double.h>.
26734 (lrint): Define using libm_alias_double.
26735 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26736 <libm-alias-double.h>.
26737 (rint): Define using libm_alias_double.
26739 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26740 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26741 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26742 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26743 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26744 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26745 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26746 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26747 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26748 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26749 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26750 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26751 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26752 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26753 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26754 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26755 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26756 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26758 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26759 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26760 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26762 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26763 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26764 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26766 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26767 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26768 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26769 s_expm1_template.c.
26770 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26771 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26772 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26774 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26775 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26776 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26777 s_floor_template.c.
26778 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26779 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26780 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26781 s_frexp_template.c.
26782 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26783 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26784 s_lrint_template.c.
26785 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26786 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26787 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26789 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26790 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26791 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26792 s_nearbyint_template.c.
26793 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26794 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26795 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26796 s_remquo_template.c.
26797 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26798 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26799 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26801 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26802 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26803 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26805 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26806 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26807 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26808 s_sincos_template.c.
26809 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26810 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26811 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26813 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26814 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26815 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26817 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26818 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26819 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26820 s_trunc_template.c.
26821 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26822 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26823 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26824 s_atan.c instead of including s_atan.c.
26825 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26826 s_atanf.c instead of including s_atanf.c.
26827 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26828 s_atanl.c instead of including s_atanl.c.
26829 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26830 instead of s_atan.c.
26831 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26832 instead of s_atanf.c.
26833 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26834 instead of s_atanl.c.
26836 * scripts/update-copyrights: Do not handle intl/plural.c
26839 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26842 * configure.ac (BISON): Require to be present.
26843 * configure: Regenerated.
26844 * intl/Makefile (generated): Add plural.c.
26845 [$(BISON) != no]: Make code unconditional.
26846 (plural.c): Change rule to $(objpfx)plural.c.
26847 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26848 * intl/plural.c: Remove.
26849 * manual/install.texi (Tools for Compilation): Document bison as
26851 * INSTALL: Regenerated.
26853 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26855 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26856 <libm-alias-double.h>.
26857 (llrint): Define using libm_alias_double.
26858 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26859 <libm-alias-float.h>.
26860 (llrintf): Define using libm_alias_float.
26861 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26862 <libm-alias-ldouble.h>.
26863 (llrintl): Define using libm_alias_ldouble.
26865 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26866 declare_mgen_alias instead of weak_alias.
26867 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26868 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26869 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26871 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26873 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26875 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26876 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26877 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26879 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26880 Add submul_1-generic.
26881 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26882 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26883 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26885 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26886 Add addmul_1-generic.
26887 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26888 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26889 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26891 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26893 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26894 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26895 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26897 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26899 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26900 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26901 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26903 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26905 According to CLDR, collation rules for Serbian and Bosnian
26906 should be the same as for Croatian.
26909 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26910 and to the list of locales to be built for testing.
26911 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26912 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26913 * localedata/locales/bs_BA (LC_COLLATE): Use âcopy "hr_HR"â.
26914 * localedata/locales/sr_RS (LC_COLLATE): Use âcopy "hr_HR"â.
26916 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26918 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26919 to make test case pass.
26920 * localedata/hr_HR.UTF-8.in: Add more test strings.
26922 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26924 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26926 2017-11-30 Dragan StanojeviÄ - Nevidljivi <invisible@hidden-city.net>
26928 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26929 the list of locales to built for testing.
26930 * localedata/hr_HR.UTF-8.in: New file.
26932 2017-11-30 Dragan StanojeviÄ - Nevidljivi <invisible@hidden-city.net>
26935 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26937 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26938 CLDR (except use ligatures for the digraphs, CLDR does not use
26939 the ligatures), add first_workday, some fixes in the date and time
26941 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26943 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26944 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26945 Add int_p_cs_precedes and int_n_cs_precedes.
26946 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26947 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26949 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26950 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26952 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26953 and lang_lib. Change postal_fmt.
26955 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26957 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26959 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26960 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26961 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26962 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26963 * sysdeps/generic/setjmpP.h: New file.
26964 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26965 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26966 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26967 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26968 Add jmp_buf-ssp.sym.
26969 (tests): Add tst-saved_mask-1.
26971 2017-11-30 Arjun Shankar <arjun@redhat.com>
26975 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26976 instead of request2size.
26978 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26981 (__lllrint): Remove alias.
26982 (lllrint): Likewise.
26983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26984 (__lllrintf): Likewise.
26985 (lllrintf): Likewise.
26987 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26988 <libm-alias-float.h>.
26989 (copysignf): Define using libm_alias_float.
26990 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26991 <libm-alias-float.h>.
26992 (fabsf): Define using libm_alias_float.
26993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26994 Include <libm-alias-float.h>.
26995 (copysignf): Define using libm_alias_float.
26996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26997 <libm-alias-float.h>.
26998 (fabsf): Define using libm_alias_float.
26999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
27000 <libm-alias-float.h>.
27001 (fdimf): Define using libm_alias_float.
27002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
27003 <libm-alias-float.h>.
27004 (fmaf): Define using libm_alias_float.
27005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
27006 <libm-alias-float.h>.
27007 (llrintf): Define using libm_alias_float.
27008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
27009 Include <libm-alias-float.h>.
27010 (nearbyintf): Define using libm_alias_float.
27011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
27012 <libm-alias-float.h>.
27013 (rintf): Define using libm_alias_float.
27014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
27015 <libm-alias-float.h>.
27016 (llrintf): Define using libm_alias_float.
27017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
27018 <libm-alias-float.h>.
27019 (lrintf): Define using libm_alias_float.
27020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
27021 <libm-alias-float.h>.
27022 (nearbyintf): Define using libm_alias_float.
27023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
27024 <libm-alias-float.h>.
27025 (rintf): Define using libm_alias_float.
27026 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
27027 <libm-alias-float.h>.
27028 (ceilf): Define using libm_alias_float.
27029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
27030 <libm-alias-float.h>.
27031 (floorf): Define using libm_alias_float.
27032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
27033 <libm-alias-float.h>.
27034 (fmaf): Define using libm_alias_float.
27035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
27036 <libm-alias-float.h>.
27037 (lrintf): Define using libm_alias_float.
27038 (llrintf): Likewise.
27039 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
27040 <libm-alias-float.h>.
27041 (nearbyintf): Define using libm_alias_float.
27042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
27043 <libm-alias-float.h>.
27044 (rintf): Define using libm_alias_float.
27045 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
27046 <libm-alias-float.h>.
27047 (truncf): Define using libm_alias_float.
27048 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
27049 <libm-alias-float.h>.
27050 (copysignf): Define using libm_alias_float.
27051 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
27052 <libm-alias-float.h>.
27053 (fabsf): Define using libm_alias_float.
27054 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
27055 <libm-alias-float.h>.
27056 (lrintf): Define using libm_alias_float.
27057 (llrintf): Likewise.
27058 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
27059 <libm-alias-float.h>.
27060 (nearbyintf): Define using libm_alias_float.
27061 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
27062 <libm-alias-float.h>.
27063 (rintf): Define using libm_alias_float.
27065 2017-11-29 Joseph Myers <joseph@codesourcery.com>
27067 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27068 <libm-alias-double.h>.
27069 (copysign): Define using libm_alias_double.
27070 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
27071 <libm-alias-double.h>.
27072 (fabs): Define using libm_alias_double.
27073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27074 Include <libm-alias-double.h>.
27075 (copysign): Define using libm_alias_double.
27076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27077 <libm-alias-double.h>.
27078 (fabs): Define using libm_alias_double.
27079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
27080 <libm-alias-double.h>.
27081 (fdim): Define using libm_alias_double.
27082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
27083 <libm-alias-double.h>.
27084 (fma): Define using libm_alias_double.
27085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
27086 <libm-alias-double.h>.
27087 (llrint): Define using libm_alias_double.
27088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
27089 Include <libm-alias-double.h>.
27090 (nearbyint): Define using libm_alias_double.
27091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
27092 <libm-alias-double.h>.
27093 (rint): Define using libm_alias_double.
27094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
27095 <libm-alias-double.h>.
27096 (fabs): Define using libm_alias_double.
27097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
27098 <libm-alias-double.h>.
27099 (llrint): Define using libm_alias_double.
27100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
27101 <libm-alias-double.h>.
27102 (nearbyint): Define using libm_alias_double.
27103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
27104 <libm-alias-double.h>.
27105 (rint): Define using libm_alias_double.
27106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
27107 <libm-alias-double.h>.
27108 (ceil): Define using libm_alias_double.
27109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
27110 <libm-alias-double.h>.
27111 (floor): Define using libm_alias_double.
27112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
27113 <libm-alias-double.h>.
27114 (fma): Define using libm_alias_double.
27115 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
27116 <libm-alias-double.h>.
27117 (lrint): Define using libm_alias_double.
27118 (llrint): Likewise.
27119 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
27120 <libm-alias-double.h>.
27121 (nearbyint): Define using libm_alias_double.
27122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
27123 <libm-alias-double.h>.
27124 (rint): Define using libm_alias_double.
27125 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
27126 <libm-alias-double.h>.
27127 (trunc): Define using libm_alias_double.
27128 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
27129 <libm-alias-double.h>.
27130 (copysign): Define using libm_alias_double.
27131 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
27132 <libm-alias-double.h>.
27133 (fabs): Define using libm_alias_double.
27134 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
27135 <libm-alias-double.h>.
27136 (lrint): Define using libm_alias_double.
27137 (llrint): Likewise.
27138 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
27139 <libm-alias-double.h>.
27140 (nearbyint): Define using libm_alias_double.
27141 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
27142 <libm-alias-double.h>.
27143 (rint): Define using libm_alias_double.
27146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
27148 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27150 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
27151 SPARC --disable-multi-arch glibc variants.
27153 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
27154 <libm-alias-float.h>.
27155 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27157 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
27158 <libm-alias-float.h>.
27159 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27161 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
27162 <libm-alias-float.h>.
27163 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27165 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
27166 <libm-alias-float.h>.
27167 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27169 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
27170 <libm-alias-float.h>.
27171 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27173 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
27174 <libm-alias-float.h>.
27175 (ceilf): Define using libm_alias_float.
27176 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
27177 <libm-alias-float.h>.
27178 (floorf): Define using libm_alias_float.
27179 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
27180 <libm-alias-float.h>.
27181 (fmaf): Define using libm_alias_float.
27182 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
27183 <libm-alias-float.h>.
27184 (nearbyintf): Define using libm_alias_float.
27185 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
27186 <libm-alias-float.h>.
27187 (rintf): Define using libm_alias_float.
27188 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
27189 <libm-alias-float.h>.
27190 (truncf): Define using libm_alias_float.
27191 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
27192 (copysignf): Define using libm_alias_float.
27193 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
27194 (cosf): Define using libm_alias_float.
27195 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27196 (fabsf): Define using libm_alias_float.
27197 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27198 (fmaxf): Define using libm_alias_float.
27199 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
27200 (fminf): Define using libm_alias_float.
27201 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
27202 (llrintf): Define using libm_alias_float.
27203 [!__ILP32__] (lrintf): Likewise.
27204 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
27205 (sincosf): Define using libm_alias_float.
27206 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
27207 (sinf): Define using libm_alias_float.
27208 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
27209 (lrintf): Define using libm_alias_float.
27211 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
27212 <libm-alias-double.h>.
27213 (atan): Define using libm_alias_double.
27214 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
27215 <libm-alias-double.h>.
27216 (ceil): Define using libm_alias_double.
27217 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
27218 <libm-alias-double.h>.
27219 (floor): Define using libm_alias_double.
27220 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
27221 <libm-alias-double.h>.
27222 (fma): Define using libm_alias_double.
27223 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
27224 <libm-alias-double.h>.
27225 (nearbyint): Define using libm_alias_double.
27226 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
27227 <libm-alias-double.h>.
27228 (rint): Define using libm_alias_double.
27229 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
27230 <libm-alias-double.h>.
27231 (sin): Define using libm_alias_double.
27233 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
27234 <libm-alias-double.h>.
27235 (tan): Define using libm_alias_double.
27236 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
27237 <libm-alias-double.h>.
27238 (trunc): Define using libm_alias_double.
27239 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
27240 (copysign): Define using libm_alias_double.
27241 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
27242 (fabs): Define using libm_alias_double.
27243 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
27244 (fmax): Define using libm_alias_double.
27245 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
27246 (fmin): Define using libm_alias_double.
27247 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
27248 (llrint): Define using libm_alias_double.
27249 [!__ILP32__] (lrint): Likewise.
27250 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
27251 (lrint): Define using libm_alias_double.
27253 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
27256 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
27258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
27259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
27260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
27261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
27262 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
27263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
27266 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
27268 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
27269 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
27270 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
27271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
27272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
27273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27275 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
27276 (libm-sysdep_routines): Add s_nearbyint-generic and
27277 s_nearbyintf-generic objects.
27278 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
27279 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
27280 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
27281 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
27282 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
27283 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
27285 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
27286 Add s_finitef-generic and s_finite-generic objects.
27287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
27288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
27289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
27290 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
27291 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
27292 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
27294 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
27295 Add s_isinff-generic and s_isinf-generic objects.
27296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
27297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
27298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
27299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
27300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
27301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
27304 Add s_isnanf-generic and s_isnan-generic objects.
27305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
27306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
27307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
27308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
27309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
27310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27312 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
27314 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
27316 (sysdep_routines): Use sysdep_calls as base.
27317 (libm-sysdep_routines): Add generic rule for symbols shared with
27318 libc. Add s_signbit-generic and s_signbitf-generic objects.
27319 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
27320 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
27321 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
27322 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
27323 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
27324 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27326 2017-11-29 Joseph Myers <joseph@codesourcery.com>
27328 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
27329 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
27330 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
27331 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
27332 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
27333 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
27334 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
27335 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
27336 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
27337 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
27338 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
27339 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
27340 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
27341 libm_alias_float_r.
27342 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
27343 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
27345 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
27346 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
27347 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
27348 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
27349 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
27350 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
27351 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
27352 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
27353 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
27354 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
27356 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
27358 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
27359 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
27360 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
27361 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
27362 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
27363 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
27364 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
27365 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
27366 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
27367 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
27368 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
27369 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
27370 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
27371 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
27372 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
27373 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
27374 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
27375 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
27376 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
27378 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
27379 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
27380 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
27381 * sysdeps/ia64/fpu/w_lgammaf_main.c
27382 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
27383 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
27385 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27386 Alexandre Oliva <aoliva@redhat.com>
27389 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
27390 * localedata/fr_CA.UTF-8.in: New file with test data for backward
27392 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
27394 * localedata/locales/cs_CZ (LC_COLLATE): Remove âdefine DIACRIT_FORWARDâ
27395 * localedata/locales/de_DE (LC_COLLATE): Likewise.
27396 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
27397 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
27398 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
27399 * localedata/locales/fr_CA (LC_COLLATE): Add âdefine DIACRIT_BACKWARDâ
27400 * localedata/locales/iso14651_t1_common: Use âifdef DIACRIT_FORWARDâ
27401 instead of âifdef DIACRIT_BACKWARDâ.
27403 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27405 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
27406 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
27407 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
27408 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
27409 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
27410 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
27411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
27412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
27413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
27414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
27415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
27416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
27417 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
27418 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
27419 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
27420 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
27421 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
27422 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
27423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
27424 ($(have-as-vis3) == yes): Remove conditional.
27425 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
27427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
27429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
27431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
27433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
27435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
27436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
27437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
27438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
27439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
27440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
27441 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
27442 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
27444 2017-11-29 Joseph Myers <joseph@codesourcery.com>
27446 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
27447 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
27448 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
27449 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
27450 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
27451 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
27452 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
27453 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
27454 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
27455 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
27456 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
27457 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
27458 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
27459 libm_alias_double_r.
27460 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
27462 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
27463 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
27464 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
27465 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
27466 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
27467 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
27468 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
27469 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
27470 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
27471 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
27472 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
27474 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
27476 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
27477 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
27478 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
27479 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
27480 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
27481 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
27482 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
27483 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
27484 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
27485 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
27486 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
27487 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
27488 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
27489 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
27490 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
27491 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
27492 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
27493 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
27495 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
27496 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
27497 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
27498 * sysdeps/ia64/fpu/w_lgamma_main.c
27499 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
27500 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
27502 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
27504 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
27505 address of $global$ into %dp register earlier. Use pc-relative
27506 instruction sequence for PIC case.
27508 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27510 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
27511 (asinhf): Define using libm_alias_float.
27512 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
27513 (atanf): Define using libm_alias_float.
27514 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
27515 (cbrtf): Define using libm_alias_float.
27516 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
27517 (ceilf): Define using libm_alias_float.
27518 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
27519 (copysignf): Define using libm_alias_float.
27520 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
27521 (expm1f): Define using libm_alias_float.
27522 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
27523 (fabsf): Define using libm_alias_float.
27524 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
27525 (floorf): Define using libm_alias_float.
27526 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27527 (fmaxf): Define using libm_alias_float.
27528 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
27529 (fminf): Define using libm_alias_float.
27530 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
27531 (frexpf): Define using libm_alias_float.
27532 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
27533 (llrintf): Define using libm_alias_float.
27534 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
27535 (logbf): Define using libm_alias_float.
27536 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
27537 (lrintf): Define using libm_alias_float.
27538 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
27539 (nearbyintf): Define using libm_alias_float.
27540 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
27541 (remquof): Define using libm_alias_float.
27542 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
27543 (rintf): Define using libm_alias_float.
27544 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
27545 (truncf): Define using libm_alias_float.
27546 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
27547 <libm-alias-float.h>.
27548 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27550 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
27551 <libm-alias-float.h>.
27552 (expf): Define using libm_alias_float, or libm_alias_float_other
27554 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
27555 <libm-alias-float.h>.
27556 (log2f): Define using libm_alias_float, or libm_alias_float_other
27558 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
27559 <libm-alias-float.h>.
27560 (logf): Define using libm_alias_float, or libm_alias_float_other
27562 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
27563 <libm-alias-float.h>.
27564 (powf): Define using libm_alias_float, or libm_alias_float_other
27566 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
27567 <libm-alias-float.h>.
27568 (cosf): Define using libm_alias_float.
27569 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
27570 <libm-alias-float.h>.
27571 (sincosf): Define using libm_alias_float.
27572 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
27573 <libm-alias-float.h>.
27574 (sinf): Define using libm_alias_float.
27575 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27576 (fmaxf): Define using libm_alias_float.
27577 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
27578 (fminf): Define using libm_alias_float.
27579 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27580 <libm-alias-float.h>.
27581 (fmaf): Define using libm_alias_float.
27583 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
27584 (asinh): Define using libm_alias_double.
27585 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
27586 (atan): Define using libm_alias_double.
27587 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
27588 (cbrt): Define using libm_alias_double.
27589 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
27590 (ceil): Define using libm_alias_double.
27591 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
27592 (copysign): Define using libm_alias_double.
27593 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
27594 (expm1): Define using libm_alias_double.
27595 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
27596 (fabs): Define using libm_alias_double.
27597 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
27598 (fdim): Define using libm_alias_double.
27599 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
27600 (floor): Define using libm_alias_double.
27601 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
27602 (fmax): Define using libm_alias_double.
27603 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
27604 (fmin): Define using libm_alias_double.
27605 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
27606 (frexp): Define using libm_alias_double.
27607 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
27608 (llrint): Define using libm_alias_double.
27609 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
27610 (logb): Define using libm_alias_double.
27611 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
27612 (lrint): Define using libm_alias_double.
27613 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
27614 (nearbyint): Define using libm_alias_double.
27615 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
27616 (remquo): Define using libm_alias_double.
27617 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27618 (rint): Define using libm_alias_double.
27619 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27620 (trunc): Define using libm_alias_double.
27621 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27622 (fmax): Define using libm_alias_double.
27623 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27624 (fmin): Define using libm_alias_double.
27625 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27626 (fma): Define using libm_alias_double.
27628 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27631 * elf/dl-hwcaps.c (ROUND): Removed.
27632 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27633 and ELF_NOTE_NEXT_OFFSET.
27634 * elf/dl-load.c (ROUND): Removed.
27635 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27636 * elf/readelflib.c (ROUND): Removed.
27637 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27638 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27639 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27640 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27642 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27644 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27645 [!__fmaf] (fmaf): Define using libm_alias_float.
27647 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27648 [!__fma] (fma): Define using libm_alias_double.
27649 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27651 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27654 * localedata/locales/cs_CZ (LC_COLLATE): Use âcopy "iso14651_t1"â
27655 and implement the collation rules for cs from CLDR on top of that.
27656 * Makefile: Add cs_CZ.UTF-8 to test-input.
27657 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27659 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27661 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27663 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27664 Icarus Sparry <icarus.w.sparry@intel.com>
27666 * benchtests/Makefile:Add BENCHSET to allow subsets of
27667 benchmarks to be run.
27668 * benchtests/README: Add documentation for: Running subsets of
27671 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27673 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27674 range of tests names.
27676 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27677 result from property and remove "max", min" and "mean" from
27678 required properties based on benchtests/bench-skeleton.c.
27680 2017-11-28 Florian Weimer <fweimer@redhat.com>
27683 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27684 due to Internet requirement.
27685 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27687 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27689 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27691 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27692 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27693 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27694 (sysdep_routines): Add memset-ultra1.
27695 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27697 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27698 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27699 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27700 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27701 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27702 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27703 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27704 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27706 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27708 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27709 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27710 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27711 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27712 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27713 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27714 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27716 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27717 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27718 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27719 (sysdep_routines): Add memcpy-ultra1.
27720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27721 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27723 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27725 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27726 (cfloat_versions): Take function argument without trailing 'f'.
27727 Call libm_alias_float_other.
27728 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27729 * sysdeps/alpha/fpu/cargf.c: Likewise.
27730 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27731 * sysdeps/alpha/fpu/conjf.c: Likewise.
27732 * sysdeps/alpha/fpu/crealf.c: Likewise.
27733 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27734 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27735 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27736 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27737 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27738 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27739 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27740 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27741 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27742 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27743 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27744 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27745 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27746 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27747 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27748 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27749 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27750 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27751 (clog10f): Use libm_alias_float_other.
27752 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27753 (ceilf): Define using libm_alias_float.
27754 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27755 (copysignf): Define using libm_alias_float.
27756 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27757 (fabsf): Define using libm_alias_float.
27758 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27759 (floorf): Define using libm_alias_float.
27760 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27761 (fmaxf): Define using libm_alias_float.
27762 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27763 (fminf): Define using libm_alias_float.
27764 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27765 (lrintf): Define using libm_alias_float.
27766 (llrintf): Likewise.
27767 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27768 (lroundf): Define using libm_alias_float.
27769 (llroundf): Likewise.
27770 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27771 (rintf): Define using libm_alias_float.
27772 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27773 (truncf): Define using libm_alias_float.
27775 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27776 (ceilf): Define using libm_alias_float.
27777 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27778 (floorf): Define using libm_alias_float.
27779 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27780 (fmaf): Define using libm_alias_float.
27781 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27782 (fmaxf): Define using libm_alias_float.
27783 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27784 (fminf): Define using libm_alias_float.
27785 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27786 (llrintf): Define using libm_alias_float.
27787 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27788 (llroundf): Define using libm_alias_float.
27789 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27790 (lrintf): Define using libm_alias_float.
27791 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27792 (lroundf): Define using libm_alias_float.
27793 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27794 <libm-alias-float.h>.
27795 (nearbyintf): Define using libm_alias_float.
27796 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27797 (rintf): Define using libm_alias_float.
27798 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27799 (roundf): Define using libm_alias_float.
27800 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27801 (truncf): Define using libm_alias_float.
27803 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27804 (ceil): Define using libm_alias_double.
27805 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27806 (copysign): Define using libm_alias_double.
27807 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27808 (fabs): Define using libm_alias_double.
27809 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27810 (floor): Define using libm_alias_double.
27811 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27812 (fmax): Define using libm_alias_double.
27813 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27814 (fmin): Define using libm_alias_double.
27815 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27816 (lrint): Define using libm_alias_double.
27817 (llrint): Likewise.
27818 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27819 (lround): Define using libm_alias_double.
27820 (llround): Likewise.
27821 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27822 (rint): Define using libm_alias_double.
27823 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27824 (trunc): Define using libm_alias_double.
27826 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27827 (libm_alias_double_r): Add semicolon after weak_alias call.
27829 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27831 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27832 (ceil): Define using libm_alias_double.
27833 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27834 (floor): Define using libm_alias_double.
27835 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27836 (fma): Define using libm_alias_double.
27837 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27838 (fmax): Define using libm_alias_double.
27839 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27840 (fmin): Define using libm_alias_double.
27841 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27842 (llrint): Define using libm_alias_double.
27843 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27844 (llround): Define using libm_alias_double.
27845 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27846 (lrint): Define using libm_alias_double.
27847 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27848 (lround): Define using libm_alias_double.
27849 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27850 (nearbyint): Define using libm_alias_double.
27851 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27852 (rint): Define using libm_alias_double.
27853 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27854 (round): Define using libm_alias_double.
27855 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27856 (trunc): Define using libm_alias_double.
27858 2017-11-27 Florian Weimer <fweimer@redhat.com>
27860 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27861 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27862 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27863 (tests): Add tst-mlock2.
27864 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27865 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27866 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27867 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27868 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27869 for mlock. Document mlock2.
27871 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27873 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27874 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27876 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27878 * sysdeps/x86/Makeconfig: New file.
27879 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27880 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27881 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27882 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27883 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27884 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27885 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27887 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27888 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27889 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27890 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27891 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27892 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27893 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27894 * manual/math.texi (Mathematics): Document support for _Float64x.
27895 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27896 * stdlib/Versions (GLIBC_2.27): Likewise.
27897 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27898 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27899 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27900 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27901 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27902 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27903 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27904 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27905 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27906 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27907 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27908 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27913 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27914 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27915 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27916 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27917 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27918 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27919 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27920 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27921 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27922 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27923 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27924 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27925 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27926 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27928 2017-11-27 Andreas Schwab <schwab@suse.de>
27930 * elf/Makefile (dl-routines): Add dl-sort-maps.
27931 * elf/dl-sort-maps.c: New file.
27932 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27933 (_dl_sort_maps): Declare.
27934 * elf/dl-fini.c (_dl_sort_fini): Remove.
27935 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27936 * elf/dl-close.c (_dl_close_worker): Likewise.
27937 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27939 * elf/dl-open.c (dl_open_worker): Likewise.
27941 2017-11-24 Joseph Myers <joseph@codesourcery.com>
27943 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27944 using libm_alias_float128.
27945 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27947 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27949 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27950 (setpayloadsigf128): Likewise.
27951 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27953 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27956 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27957 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27958 -mfloat128 to CFLAGS.
27960 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27962 (CFLAGS-libm-test-support-float64x.c): New variable.
27963 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27964 $(f128-loader-link) to gnulib-tests.
27966 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27967 (libm_alias_float128_other_r): If
27968 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27970 (libm_alias_float128_r): Add semicolon after weak_alias call.
27971 * sysdeps/generic/libm-alias-ldouble.h
27972 (libm_alias_ldouble_other_r_f128): New macro.
27973 (libm_alias_ldouble_other_r_f64x): Likewise.
27974 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27975 and libm_alias_ldouble_other_r_f64x.
27976 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27977 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27978 (libm_alias_ldouble_other_r_f128): New macro.
27979 (libm_alias_ldouble_other_r_f64x): Likewise.
27980 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27981 and libm_alias_ldouble_other_r_f64x.
27983 * stdlib/strfroml.c: Always include <stdlib.h>.
27984 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27985 undefine as macro and define as weak alias.
27986 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27987 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27989 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27990 Define and later undefine as macro and define as weak alias.
27992 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27993 Define and later undefine as macro. Define as weak alias if
27995 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27996 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27997 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27998 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27999 Define and later undefine as macro. Define as weak alias if
28001 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
28002 Define and later undefine as macro. Define as weak alias if
28004 * sysdeps/ieee754/float128/strtof128_l.c
28005 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
28006 Define and later undefine as macro. Define as weak alias if
28008 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
28009 Define and later undefine as macro. Define as weak alias if
28011 * sysdeps/ieee754/ldbl-128/strtold_l.c
28012 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
28013 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28014 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
28015 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
28016 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
28017 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
28018 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28019 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
28020 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
28021 * sysdeps/ieee754/ldbl-96/strtold_l.c
28022 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
28023 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28024 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
28025 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
28027 * math/test-float64x.h: New file.
28028 * math/Makefile (type-float64x-yes): New variable.
28029 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
28031 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
28032 function-like macro.
28033 (min_of_type_): Likewise.
28034 (min_of_type_l): Likewise.
28035 (min_of_type_f128): Likewise.
28036 (min_of_type): Pass () as last argument of __MATH_TG.
28038 * stdlib/tst-strtod-round-skeleton.c
28039 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
28042 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
28043 for combinations of long double with _Float64 and _Float64x.
28045 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
28046 (__DECL_SIMD_cosf32): Likewise.
28047 (__DECL_SIMD_cosf64): Likewise.
28048 (__DECL_SIMD_cosf32x): Likewise.
28049 (__DECL_SIMD_cosf64x): Likewise.
28050 (__DECL_SIMD_cosf128x): Likewise.
28051 (__DECL_SIMD_sinf16): Likewise.
28052 (__DECL_SIMD_sinf32): Likewise.
28053 (__DECL_SIMD_sinf64): Likewise.
28054 (__DECL_SIMD_sinf32x): Likewise.
28055 (__DECL_SIMD_sinf64x): Likewise.
28056 (__DECL_SIMD_sinf128x): Likewise.
28057 (__DECL_SIMD_sincosf16): Likewise.
28058 (__DECL_SIMD_sincosf32): Likewise.
28059 (__DECL_SIMD_sincosf64): Likewise.
28060 (__DECL_SIMD_sincosf32x): Likewise.
28061 (__DECL_SIMD_sincosf64x): Likewise.
28062 (__DECL_SIMD_sincosf128x): Likewise.
28063 (__DECL_SIMD_logf16): Likewise.
28064 (__DECL_SIMD_logf32): Likewise.
28065 (__DECL_SIMD_logf64): Likewise.
28066 (__DECL_SIMD_logf32x): Likewise.
28067 (__DECL_SIMD_logf64x): Likewise.
28068 (__DECL_SIMD_logf128x): Likewise.
28069 (__DECL_SIMD_expf16): Likewise.
28070 (__DECL_SIMD_expf32): Likewise.
28071 (__DECL_SIMD_expf64): Likewise.
28072 (__DECL_SIMD_expf32x): Likewise.
28073 (__DECL_SIMD_expf64x): Likewise.
28074 (__DECL_SIMD_expf128x): Likewise.
28075 (__DECL_SIMD_powf16): Likewise.
28076 (__DECL_SIMD_powf32): Likewise.
28077 (__DECL_SIMD_powf64): Likewise.
28078 (__DECL_SIMD_powf32x): Likewise.
28079 (__DECL_SIMD_powf64x): Likewise.
28080 (__DECL_SIMD_powf128x): Likewise.
28082 * stdlib/Versions (libc): Move entries for wcstof128 and
28083 wcstof128_l to ....
28084 * wcsmbs/Versions (libc): ... here.
28085 Include <float128-abi.h>.
28087 2017-11-24 Florian Weimer <fweimer@redhat.com>
28089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28090 bits/mman-shared.h.
28091 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
28092 <bits/mman-shared.h>.
28093 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
28095 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
28096 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
28097 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
28098 <bits/mman-shared.h>.
28100 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28103 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
28104 posix_memalign/free.
28105 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
28107 2017-11-22 Mike FABIAN <mfabian@redhat.com>
28110 * localedata/locales/pl_PL (LC_COLLATE): Use âcopy "iso14651_t1"â
28111 and implement the collation rules for pl from CLDR on top of that.
28112 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
28113 of locales to be built for testing.
28114 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
28116 2017-11-23 Joseph Myers <joseph@codesourcery.com>
28118 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
28119 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
28120 libm_alias_ldouble_other.
28121 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
28122 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
28123 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
28124 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
28125 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
28126 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
28127 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
28128 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
28129 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
28130 libm_alias_ldouble_r.
28131 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
28132 libm_alias_ldouble_other.
28133 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
28134 (log10l): Likewise.
28135 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
28136 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
28137 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
28138 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
28139 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
28140 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
28141 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
28142 (atan2l): Likewise.
28143 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
28144 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
28145 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
28146 libm_alias_ldouble.
28147 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
28149 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
28150 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
28151 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
28153 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
28154 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
28155 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
28156 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
28157 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
28158 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
28159 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
28160 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
28161 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
28162 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
28163 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
28164 libm_alias_ldouble.
28165 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
28166 libm_alias_ldouble_other.
28167 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
28168 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
28169 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
28170 libm_alias_ldouble.
28171 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
28172 libm_alias_ldouble_other.
28173 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
28174 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
28175 * sysdeps/ia64/fpu/w_lgammal_main.c
28176 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
28177 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
28179 2017-11-23 Florian Weimer <fweimer@redhat.com>
28181 * malloc/malloc.c (tcache_thread_shutdown): Rename from
28182 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
28183 alike. Remove freeres marker.
28184 * malloc/arena.c (arena_thread_freeres): Call
28185 tcache_thread_shutdown.
28187 2017-11-23 Florian Weimer <fweimer@redhat.com>
28190 Export nscd hash function as __nss_hash.
28191 * include/nss.h (__nss_hash): Declare.
28192 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
28194 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
28195 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
28197 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
28198 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
28199 * nss/Makefiles (routines): Add nss_hash.
28200 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
28201 * nss/nss_hash.c: Rename from nis/nis_hash.c.
28202 (__nss_hash): Rename from __nis_hash. Define hidden alias.
28203 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
28205 2017-11-23 Florian Weimer <fweimer@redhat.com>
28208 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
28209 Return error code, not -1.
28210 * signal/tst-sigwait-eintr.c: New file.
28211 * signal/Makefile (tests): Add tst-sigwait-eintr.
28213 2017-11-23 Florian Weimer <fweimer@redhat.com>
28215 Linux: Add memfd_create system call wrapper
28216 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
28218 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
28219 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
28220 [__USE_GNU] (memfd_create): Declare.
28221 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
28222 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
28223 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
28224 * sysdeps/unix/sysv/linux/**.abilist: Update.
28225 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
28227 2017-11-22 Joseph Myers <joseph@codesourcery.com>
28229 * localedata/gen-locale.sh: Fix typo in variable name.
28231 * resolv/res_debug.c (p_secstodate): Condition definition on
28232 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
28233 directly as __p_secstodate, and as a compat symbol. Do not use
28234 libresolv_hidden_def.
28235 * resolv/resolv.h (p_secstodate): Remove macro and function
28237 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
28238 using p_secstodate.
28239 * include/resolv.h (__p_secstodate): Do not use
28240 libresolv_hidden_proto.
28241 * resolv/Makefile (tests): Move tst-p_secstodate to ....
28242 (tests-internal): ... here.
28243 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
28244 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
28245 and declare and use __p_secstodate and use compat_symbol_reference
28247 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
28248 implementation returning 77.
28251 * resolv/res_debug.c: Include <libc-diag.h>.
28252 (p_secstodate): Assert time_t at least as wide as u_long. On
28253 overflow, use integer seconds since the epoch as output, or use
28254 "<overflow>" as output and set errno to EOVERFLOW if integer
28255 seconds since the epoch would be 14 or more characters.
28256 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
28258 * resolv/tst-p_secstodate.c: New file.
28259 * resolv/Makefile (tests): Add tst-p_secstodate.
28260 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
28262 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
28263 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
28264 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
28266 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
28268 * posix/regcomp.c (init_word_char): Add comments.
28270 2017-11-22 Joseph Myers <joseph@codesourcery.com>
28273 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
28274 strlen to compute length of ut_user and set trailing NUL byte of
28277 2017-11-21 Mike FABIAN <mfabian@redhat.com>
28280 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
28281 using âcopy "iso14651_t1"â and then implementing the
28282 collation rules for lv from CLDR on top of that.
28283 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
28284 of locales to be built for testing.
28285 * lv_LV.UTF-8.in: New file with test data to test the Latvian
28288 2017-11-21 Joseph Myers <joseph@codesourcery.com>
28290 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28291 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
28292 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
28293 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
28294 [__USE_MISC] (MADV_HWPOISON): New macro.
28295 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
28297 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28299 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
28300 -Wmissing-braces on GCC 4.9.
28302 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
28304 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
28305 * sysdeps/s390/s390-32/start.S (_start): Likewise
28306 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
28307 (thread_start): Likewise.
28308 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
28309 (thread_start): Likewise.
28310 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
28311 (__makecontext_ret): Likewise.
28312 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
28313 (__makecontext_ret): Likewise.
28315 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
28317 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
28318 __wcschrnul): Remove attribute_hidden.
28320 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
28322 regex: don't assume uint64_t or uint32_t
28323 This avoids -Werror=overflow errors for 32-bit systems in
28324 the 64-bit case. Problem reported by Joseph Myers in:
28325 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
28326 Also, when this code is used in Gnulib it ports to platforms
28327 that lack uint64_t and uint32_t. The C standard doesn't guarantee
28328 them, and on some 32-bit compilers there is no uint64_t.
28329 Problem reported by Gianluigi Tiesi in:
28330 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
28331 * posix/regcomp.c (init_word_char): Don't assume that the types
28332 uint64_t and uint32_t exist. Adapted from Gnulib patch
28333 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
28334 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
28336 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
28338 * sysdeps/aarch64/memset-reg.h: New file.
28339 * sysdeps/aarch64/memset.S: Use it.
28340 (__memset): Rename to MEMSET macro.
28341 [ZVA_MACRO]: Use zva_macro.
28342 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
28343 Add memset_generic and memset_falkor.
28344 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28345 (__libc_ifunc_impl_list): Add memset ifuncs.
28346 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
28347 local variable zva_size.
28348 * sysdeps/aarch64/multiarch/memset.c: New file.
28349 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
28350 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
28351 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
28352 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
28353 (DCZID_DZP_MASK): New macro.
28354 (DCZID_BS_MASK): Likewise.
28355 (init_cpu_features): Read and set zva_size.
28356 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
28357 (struct cpu_features): New member zva_size.
28359 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
28360 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
28361 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
28363 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
28364 backwards. Fix timing computation.
28365 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
28366 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
28367 on memset by N at a time. Fix timing computation.
28369 2017-11-20 Florian Weimer <fweimer@redhat.com>
28371 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
28372 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
28374 2017-11-19 Florian Weimer <fweimer@redhat.com>
28376 manual: Document mprotect
28377 * manual/memory.texi (Memory Protection): New section.
28378 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
28379 documentation of PROT_* flags and reference the Memory Protection
28382 2017-11-19 Florian Weimer <fweimer@redhat.com>
28384 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
28385 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
28386 (Scatter-Gather): ... to here. Remove misleading comment.
28388 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
28390 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
28393 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
28394 when /proc/<pid>/setgroups does not exist.
28396 2017-11-18 Florian Weimer <fweimer@redhat.com>
28398 * sysdeps/unix/sysv/linux/tst-ttyname.c
28399 (become_root_in_mount_ns): Remove.
28400 (do_in_chroot_1): Call support_enter_mount_namespace.
28401 (do_in_chroot_2): Likewise.
28402 (do_test): Call support_become_root early.
28404 2017-11-18 Florian Weimer <fweimer@redhat.com>
28406 * support/namespace.h (support_enter_mount_namespace): Declare.
28407 * support/support_enter_mount_namespace.c: New file.
28408 * support/Makefile (libsupport-routines): Add
28409 support_enter_mount_namespace.
28411 2017-11-18 Florian Weimer <fweimer@redhat.com>
28413 * support/temp_file.c (support_create_temp_directory): Use
28414 test_dir and do not rely on the presence of the XXXXXX suffix.
28415 * support/temp_file.h (support_create_temp_directory): Update
28417 * support/tst-xreadlink.c (do_test): Adjust.
28418 * support/support_chroot.c (support_chroot_create): Likewise.
28420 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28422 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
28424 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
28427 2017-11-17 Joseph Myers <joseph@codesourcery.com>
28429 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28430 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28431 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28432 (ceill): Define using libm_alias_ldouble.
28433 * sysdeps/x86_64/fpu/s_copysignl.S: Include
28434 <libm-alias-ldouble.h>.
28435 (copysignl): Define using libm_alias_ldouble.
28436 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28437 (fabsl): Define using libm_alias_ldouble.
28438 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28439 (floorl): Define using libm_alias_ldouble.
28440 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28441 (fmaxl): Define using libm_alias_ldouble.
28442 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28443 (fminl): Define using libm_alias_ldouble.
28444 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28445 (llrintl): Define using libm_alias_ldouble.
28446 (lrintl): Likewise.
28447 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
28448 <libm-alias-ldouble.h>.
28449 (nearbyintl): Define using libm_alias_ldouble.
28450 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28451 (truncl): Define using libm_alias_ldouble.
28452 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
28453 <libm-alias-ldouble.h>.
28454 (lrintl): Define using libm_alias_ldouble.
28456 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28457 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28458 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
28459 (asinhl): Define using libm_alias_ldouble.
28460 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
28461 (atanl): Define using libm_alias_ldouble.
28462 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
28463 (cbrtl): Define using libm_alias_ldouble.
28464 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28465 (ceill): Define using libm_alias_ldouble.
28466 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
28467 (copysignl): Define using libm_alias_ldouble.
28468 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28469 (fabsl): Define using libm_alias_ldouble.
28470 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28471 (floorl): Define using libm_alias_ldouble.
28472 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28473 (fmaxl): Define using libm_alias_ldouble.
28474 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28475 (fminl): Define using libm_alias_ldouble.
28476 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
28477 (frexpl): Define using libm_alias_ldouble.
28478 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28479 (llrintl): Define using libm_alias_ldouble.
28480 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
28481 (logbl): Define using libm_alias_ldouble.
28482 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
28483 (lrintl): Define using libm_alias_ldouble.
28484 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
28485 (nearbyintl): Define using libm_alias_ldouble.
28486 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
28487 (nextafterl): Define using libm_alias_ldouble.
28488 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
28489 (remquol): Define using libm_alias_ldouble.
28490 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
28491 (rintl): Define using libm_alias_ldouble.
28492 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28493 (truncl): Define using libm_alias_ldouble.
28494 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28495 (fmaxl): Define using libm_alias_ldouble.
28496 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28497 (fminl): Define using libm_alias_ldouble.
28499 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
28500 to C syntax instead of availability and properties of types.
28501 * bits/floatn.h [!__ASSEMBLER]: Likewise.
28502 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
28503 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
28504 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
28505 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
28506 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
28508 2017-11-17 Florian Weimer <fweimer@redhat.com>
28510 support_become_root: Enable file creation in namespaces.
28511 * support/support_become_root.c (setup_mapping): New function.
28512 (support_become_root): Call it.
28514 2017-11-17 Joseph Myers <joseph@codesourcery.com>
28516 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
28519 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28521 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
28522 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
28524 2017-11-16 Joseph Myers <joseph@codesourcery.com>
28526 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
28528 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28531 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28533 * INSTALL: Fix botched up regeneration.
28535 * NEWS: Update sourceare link to https.
28536 * configure.ac: Likewise.
28537 * crypt/md5test-giant.c: Likewise.
28538 * dlfcn/bug-atexit1.c: Likewise.
28539 * dlfcn/bug-atexit2.c: Likewise.
28540 * localedata/README: Likewise.
28541 * malloc/tst-mallocfork.c: Likewise.
28542 * manual/install.texi: Likewise.
28543 * nptl/tst-pthread-getattr.c: Likewise.
28544 * stdio-common/tst-fgets.c: Likewise.
28545 * stdio-common/tst-fwrite.c: Likewise.
28546 * sunrpc/Makefile: Likewise.
28547 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
28548 * wcsmbs/tst-mbrtowc2.c: Likewise.
28549 * configure: Regenerate.
28550 * INSTALL: Regenerate.
28552 2017-11-15 Martin Sebor <msebor@redhat.com>
28554 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
28555 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
28556 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
28558 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28561 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
28562 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
28565 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
28566 Defer is_pty check until end of the function.
28567 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28570 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
28571 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
28572 (ttyname): Likewise.
28573 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28574 (__ttyname_r): Likewise.
28576 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
28579 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
28581 * manual/terminal.texi (Is It a Terminal):
28582 Mention ENODEV for ttyname and ttyname_r.
28584 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28586 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
28587 constant and macro.
28589 * sysdeps/unix/sysv/linux/bits/mman-linux.h
28590 [__USE_MISC] (MADV_WIPEONFORK): New macro.
28591 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28592 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28593 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28594 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28596 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28598 * signal/sigrelse.c (sigrelse): Optimize implementation.
28600 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
28601 (__sigpause): Rely on __sigsuspend to implement single thread
28602 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
28604 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28606 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28607 kernel version to 4.14.
28609 2017-11-15 Steve Ellcey <sellcey@cavium.com>
28612 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
28613 Check if ifname is too long.
28615 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28617 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28619 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28621 * localedata/locales/ka_GE (LC_MESSAGES): Add âXâ back to yesexpr,
28622 was accidentally lost.
28624 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28626 * localedata/locales/az_IR: Add standard copyright header.
28628 2017-11-15 Florian Weimer <fweimer@redhat.com>
28631 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28632 not just the top one. Output a new "subheaps" statistic.
28634 2017-11-15 Florian Weimer <fweimer@redhat.com>
28637 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28638 under the per-arena lock.
28639 * malloc/Makefile (tests): Add tst-malloc_info.
28640 (tst-malloc_info): Link with libpthread.
28641 * malloc/tst-malloc_info.c: New file.
28643 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28646 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28647 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28648 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28649 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28650 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28651 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28652 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28653 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28654 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28655 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28656 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28657 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28658 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28659 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28660 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28661 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28662 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28663 (__floating_type): Likewise.
28664 (__real_integer_type): Likewise.
28665 (__complex_integer_type): Likewise.
28666 (__expr_is_real): Likewise.
28667 (__tgmath_real_type_sub): Likewise.
28668 (__tgmath_real_type): Likewise.
28669 (__tgmath_complex_type_sub): Likewise.
28670 (__tgmath_complex_type): Likewise.
28671 (__TGMATH_F128): Likewise.
28672 (__TGMATH_CF128): Likewise.
28673 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28675 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28676 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28678 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28680 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28681 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28682 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28683 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28685 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28686 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28688 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28689 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28690 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28692 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28693 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28694 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28698 2017-11-14 Joseph Myers <joseph@codesourcery.com>
28700 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28701 for stpncpy calls for GCC 8.
28702 (test_strncat): Disable -Wstringop-truncation warning for strncat
28703 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28704 strncat call for GCC 7.
28705 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28707 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28710 * string/bug-strncat1.c: Include <libc-diag.h>.
28711 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28713 2017-11-13 Claude Paroz <claude@2xlibre.net>
28716 * localedata/locales/aa_DJ: Improved readibility by replacing
28717 <Uxxxx> sequences in the ASCII printable range by their ASCII
28718 character equivalents.
28719 * localedata/locales/aa_ER: Likewise.
28720 * localedata/locales/aa_ER@saaho: Likewise.
28721 * localedata/locales/aa_ET: Likewise.
28722 * localedata/locales/af_ZA: Likewise.
28723 * localedata/locales/agr_PE: Likewise.
28724 * localedata/locales/ak_GH: Likewise.
28725 * localedata/locales/am_ET: Likewise.
28726 * localedata/locales/anp_IN: Likewise.
28727 * localedata/locales/ar_AE: Likewise.
28728 * localedata/locales/ar_BH: Likewise.
28729 * localedata/locales/ar_DZ: Likewise.
28730 * localedata/locales/ar_EG: Likewise.
28731 * localedata/locales/ar_IN: Likewise.
28732 * localedata/locales/ar_IQ: Likewise.
28733 * localedata/locales/ar_JO: Likewise.
28734 * localedata/locales/ar_KW: Likewise.
28735 * localedata/locales/ar_LB: Likewise.
28736 * localedata/locales/ar_LY: Likewise.
28737 * localedata/locales/ar_MA: Likewise.
28738 * localedata/locales/ar_OM: Likewise.
28739 * localedata/locales/ar_QA: Likewise.
28740 * localedata/locales/ar_SA: Likewise.
28741 * localedata/locales/ar_SD: Likewise.
28742 * localedata/locales/ar_SS: Likewise.
28743 * localedata/locales/ar_SY: Likewise.
28744 * localedata/locales/ar_TN: Likewise.
28745 * localedata/locales/ar_YE: Likewise.
28746 * localedata/locales/as_IN: Likewise.
28747 * localedata/locales/ast_ES: Likewise.
28748 * localedata/locales/ayc_PE: Likewise.
28749 * localedata/locales/az_AZ: Likewise.
28750 * localedata/locales/az_IR: Likewise.
28751 * localedata/locales/be_BY: Likewise.
28752 * localedata/locales/be_BY@latin: Likewise.
28753 * localedata/locales/bem_ZM: Likewise.
28754 * localedata/locales/ber_DZ: Likewise.
28755 * localedata/locales/ber_MA: Likewise.
28756 * localedata/locales/bg_BG: Likewise.
28757 * localedata/locales/bhb_IN: Likewise.
28758 * localedata/locales/bho_IN: Likewise.
28759 * localedata/locales/bi_VU: Likewise.
28760 * localedata/locales/bn_BD: Likewise.
28761 * localedata/locales/bn_IN: Likewise.
28762 * localedata/locales/bo_CN: Likewise.
28763 * localedata/locales/bo_IN: Likewise.
28764 * localedata/locales/br_FR: Likewise.
28765 * localedata/locales/brx_IN: Likewise.
28766 * localedata/locales/bs_BA: Likewise.
28767 * localedata/locales/byn_ER: Likewise.
28768 * localedata/locales/ca_AD: Likewise.
28769 * localedata/locales/ca_ES: Likewise.
28770 * localedata/locales/ca_FR: Likewise.
28771 * localedata/locales/ca_IT: Likewise.
28772 * localedata/locales/ce_RU: Likewise.
28773 * localedata/locales/chr_US: Likewise.
28774 * localedata/locales/cmn_TW: Likewise.
28775 * localedata/locales/crh_UA: Likewise.
28776 * localedata/locales/cs_CZ: Likewise.
28777 * localedata/locales/csb_PL: Likewise.
28778 * localedata/locales/cv_RU: Likewise.
28779 * localedata/locales/cy_GB: Likewise.
28780 * localedata/locales/da_DK: Likewise.
28781 * localedata/locales/de_AT: Likewise.
28782 * localedata/locales/de_BE: Likewise.
28783 * localedata/locales/de_CH: Likewise.
28784 * localedata/locales/de_DE: Likewise.
28785 * localedata/locales/de_IT: Likewise.
28786 * localedata/locales/de_LI: Likewise.
28787 * localedata/locales/de_LU: Likewise.
28788 * localedata/locales/doi_IN: Likewise.
28789 * localedata/locales/dv_MV: Likewise.
28790 * localedata/locales/dz_BT: Likewise.
28791 * localedata/locales/el_CY: Likewise.
28792 * localedata/locales/el_GR: Likewise.
28793 * localedata/locales/en_AG: Likewise.
28794 * localedata/locales/en_AU: Likewise.
28795 * localedata/locales/en_BW: Likewise.
28796 * localedata/locales/en_CA: Likewise.
28797 * localedata/locales/en_DK: Likewise.
28798 * localedata/locales/en_GB: Likewise.
28799 * localedata/locales/en_HK: Likewise.
28800 * localedata/locales/en_IE: Likewise.
28801 * localedata/locales/en_IL: Likewise.
28802 * localedata/locales/en_IN: Likewise.
28803 * localedata/locales/en_NG: Likewise.
28804 * localedata/locales/en_NZ: Likewise.
28805 * localedata/locales/en_PH: Likewise.
28806 * localedata/locales/en_SG: Likewise.
28807 * localedata/locales/en_US: Likewise.
28808 * localedata/locales/en_ZA: Likewise.
28809 * localedata/locales/en_ZM: Likewise.
28810 * localedata/locales/en_ZW: Likewise.
28811 * localedata/locales/eo: Likewise.
28812 * localedata/locales/es_AR: Likewise.
28813 * localedata/locales/es_BO: Likewise.
28814 * localedata/locales/es_CL: Likewise.
28815 * localedata/locales/es_CO: Likewise.
28816 * localedata/locales/es_CR: Likewise.
28817 * localedata/locales/es_CU: Likewise.
28818 * localedata/locales/es_DO: Likewise.
28819 * localedata/locales/es_EC: Likewise.
28820 * localedata/locales/es_ES: Likewise.
28821 * localedata/locales/es_GT: Likewise.
28822 * localedata/locales/es_HN: Likewise.
28823 * localedata/locales/es_MX: Likewise.
28824 * localedata/locales/es_NI: Likewise.
28825 * localedata/locales/es_PA: Likewise.
28826 * localedata/locales/es_PE: Likewise.
28827 * localedata/locales/es_PR: Likewise.
28828 * localedata/locales/es_PY: Likewise.
28829 * localedata/locales/es_SV: Likewise.
28830 * localedata/locales/es_US: Likewise.
28831 * localedata/locales/es_UY: Likewise.
28832 * localedata/locales/es_VE: Likewise.
28833 * localedata/locales/et_EE: Likewise.
28834 * localedata/locales/eu_ES: Likewise.
28835 * localedata/locales/eu_ES@euro: Likewise.
28836 * localedata/locales/fa_IR: Likewise.
28837 * localedata/locales/ff_SN: Likewise.
28838 * localedata/locales/fi_FI: Likewise.
28839 * localedata/locales/fil_PH: Likewise.
28840 * localedata/locales/fo_FO: Likewise.
28841 * localedata/locales/fr_BE: Likewise.
28842 * localedata/locales/fr_CA: Likewise.
28843 * localedata/locales/fr_CH: Likewise.
28844 * localedata/locales/fr_FR: Likewise.
28845 * localedata/locales/fr_LU: Likewise.
28846 * localedata/locales/fur_IT: Likewise.
28847 * localedata/locales/fy_DE: Likewise.
28848 * localedata/locales/fy_NL: Likewise.
28849 * localedata/locales/ga_IE: Likewise.
28850 * localedata/locales/gd_GB: Likewise.
28851 * localedata/locales/gez_ER: Likewise.
28852 * localedata/locales/gez_ET: Likewise.
28853 * localedata/locales/gl_ES: Likewise.
28854 * localedata/locales/gu_IN: Likewise.
28855 * localedata/locales/gv_GB: Likewise.
28856 * localedata/locales/ha_NG: Likewise.
28857 * localedata/locales/hak_TW: Likewise.
28858 * localedata/locales/he_IL: Likewise.
28859 * localedata/locales/hi_IN: Likewise.
28860 * localedata/locales/hif_FJ: Likewise.
28861 * localedata/locales/hne_IN: Likewise.
28862 * localedata/locales/hr_HR: Likewise.
28863 * localedata/locales/hsb_DE: Likewise.
28864 * localedata/locales/ht_HT: Likewise.
28865 * localedata/locales/hu_HU: Likewise.
28866 * localedata/locales/hy_AM: Likewise.
28867 * localedata/locales/i18n: Likewise.
28868 * localedata/locales/ia_FR: Likewise.
28869 * localedata/locales/id_ID: Likewise.
28870 * localedata/locales/ig_NG: Likewise.
28871 * localedata/locales/ik_CA: Likewise.
28872 * localedata/locales/is_IS: Likewise.
28873 * localedata/locales/it_CH: Likewise.
28874 * localedata/locales/it_IT: Likewise.
28875 * localedata/locales/iu_CA: Likewise.
28876 * localedata/locales/ja_JP: Likewise.
28877 * localedata/locales/ka_GE: Likewise.
28878 * localedata/locales/kk_KZ: Likewise.
28879 * localedata/locales/kl_GL: Likewise.
28880 * localedata/locales/kn_IN: Likewise.
28881 * localedata/locales/ko_KR: Likewise.
28882 * localedata/locales/kok_IN: Likewise.
28883 * localedata/locales/ks_IN: Likewise.
28884 * localedata/locales/ks_IN@devanagari: Likewise.
28885 * localedata/locales/ku_TR: Likewise.
28886 * localedata/locales/kw_GB: Likewise.
28887 * localedata/locales/ky_KG: Likewise.
28888 * localedata/locales/lb_LU: Likewise.
28889 * localedata/locales/lg_UG: Likewise.
28890 * localedata/locales/li_BE: Likewise.
28891 * localedata/locales/li_NL: Likewise.
28892 * localedata/locales/lij_IT: Likewise.
28893 * localedata/locales/ln_CD: Likewise.
28894 * localedata/locales/lo_LA: Likewise.
28895 * localedata/locales/lt_LT: Likewise.
28896 * localedata/locales/lv_LV: Likewise.
28897 * localedata/locales/lzh_TW: Likewise.
28898 * localedata/locales/mag_IN: Likewise.
28899 * localedata/locales/mai_IN: Likewise.
28900 * localedata/locales/mg_MG: Likewise.
28901 * localedata/locales/mhr_RU: Likewise.
28902 * localedata/locales/mi_NZ: Likewise.
28903 * localedata/locales/mk_MK: Likewise.
28904 * localedata/locales/ml_IN: Likewise.
28905 * localedata/locales/mn_MN: Likewise.
28906 * localedata/locales/mni_IN: Likewise.
28907 * localedata/locales/mr_IN: Likewise.
28908 * localedata/locales/ms_MY: Likewise.
28909 * localedata/locales/mt_MT: Likewise.
28910 * localedata/locales/my_MM: Likewise.
28911 * localedata/locales/nan_TW: Likewise.
28912 * localedata/locales/nan_TW@latin: Likewise.
28913 * localedata/locales/nb_NO: Likewise.
28914 * localedata/locales/nds_DE: Likewise.
28915 * localedata/locales/nds_NL: Likewise.
28916 * localedata/locales/ne_NP: Likewise.
28917 * localedata/locales/nhn_MX: Likewise.
28918 * localedata/locales/niu_NU: Likewise.
28919 * localedata/locales/niu_NZ: Likewise.
28920 * localedata/locales/nl_AW: Likewise.
28921 * localedata/locales/nl_BE: Likewise.
28922 * localedata/locales/nl_NL: Likewise.
28923 * localedata/locales/nn_NO: Likewise.
28924 * localedata/locales/nr_ZA: Likewise.
28925 * localedata/locales/nso_ZA: Likewise.
28926 * localedata/locales/oc_FR: Likewise.
28927 * localedata/locales/om_ET: Likewise.
28928 * localedata/locales/om_KE: Likewise.
28929 * localedata/locales/or_IN: Likewise.
28930 * localedata/locales/os_RU: Likewise.
28931 * localedata/locales/pa_IN: Likewise.
28932 * localedata/locales/pa_PK: Likewise.
28933 * localedata/locales/pap_AW: Likewise.
28934 * localedata/locales/pap_CW: Likewise.
28935 * localedata/locales/pl_PL: Likewise.
28936 * localedata/locales/ps_AF: Likewise.
28937 * localedata/locales/pt_BR: Likewise.
28938 * localedata/locales/pt_PT: Likewise.
28939 * localedata/locales/quz_PE: Likewise.
28940 * localedata/locales/raj_IN: Likewise.
28941 * localedata/locales/ro_RO: Likewise.
28942 * localedata/locales/ru_RU: Likewise.
28943 * localedata/locales/ru_UA: Likewise.
28944 * localedata/locales/rw_RW: Likewise.
28945 * localedata/locales/sa_IN: Likewise.
28946 * localedata/locales/sat_IN: Likewise.
28947 * localedata/locales/sc_IT: Likewise.
28948 * localedata/locales/sd_IN: Likewise.
28949 * localedata/locales/sd_IN@devanagari: Likewise.
28950 * localedata/locales/se_NO: Likewise.
28951 * localedata/locales/sgs_LT: Likewise.
28952 * localedata/locales/shs_CA: Likewise.
28953 * localedata/locales/si_LK: Likewise.
28954 * localedata/locales/sid_ET: Likewise.
28955 * localedata/locales/sk_SK: Likewise.
28956 * localedata/locales/sl_SI: Likewise.
28957 * localedata/locales/sm_WS: Likewise.
28958 * localedata/locales/so_DJ: Likewise.
28959 * localedata/locales/so_ET: Likewise.
28960 * localedata/locales/so_KE: Likewise.
28961 * localedata/locales/so_SO: Likewise.
28962 * localedata/locales/sq_AL: Likewise.
28963 * localedata/locales/sq_MK: Likewise.
28964 * localedata/locales/sr_ME: Likewise.
28965 * localedata/locales/sr_RS: Likewise.
28966 * localedata/locales/sr_RS@latin: Likewise.
28967 * localedata/locales/ss_ZA: Likewise.
28968 * localedata/locales/st_ZA: Likewise.
28969 * localedata/locales/sv_FI: Likewise.
28970 * localedata/locales/sv_SE: Likewise.
28971 * localedata/locales/sw_KE: Likewise.
28972 * localedata/locales/sw_TZ: Likewise.
28973 * localedata/locales/szl_PL: Likewise.
28974 * localedata/locales/ta_IN: Likewise.
28975 * localedata/locales/ta_LK: Likewise.
28976 * localedata/locales/tcy_IN: Likewise.
28977 * localedata/locales/te_IN: Likewise.
28978 * localedata/locales/tg_TJ: Likewise.
28979 * localedata/locales/th_TH: Likewise.
28980 * localedata/locales/the_NP: Likewise.
28981 * localedata/locales/ti_ER: Likewise.
28982 * localedata/locales/ti_ET: Likewise.
28983 * localedata/locales/tig_ER: Likewise.
28984 * localedata/locales/tk_TM: Likewise.
28985 * localedata/locales/tl_PH: Likewise.
28986 * localedata/locales/tn_ZA: Likewise.
28987 * localedata/locales/to_TO: Likewise.
28988 * localedata/locales/tpi_PG: Likewise.
28989 * localedata/locales/tr_CY: Likewise.
28990 * localedata/locales/tr_TR: Likewise.
28991 * localedata/locales/ts_ZA: Likewise.
28992 * localedata/locales/tt_RU: Likewise.
28993 * localedata/locales/tt_RU@iqtelif: Likewise.
28994 * localedata/locales/ug_CN: Likewise.
28995 * localedata/locales/uk_UA: Likewise.
28996 * localedata/locales/unm_US: Likewise.
28997 * localedata/locales/ur_IN: Likewise.
28998 * localedata/locales/ur_PK: Likewise.
28999 * localedata/locales/uz_UZ: Likewise.
29000 * localedata/locales/uz_UZ@cyrillic: Likewise.
29001 * localedata/locales/ve_ZA: Likewise.
29002 * localedata/locales/vi_VN: Likewise.
29003 * localedata/locales/wa_BE: Likewise.
29004 * localedata/locales/wae_CH: Likewise.
29005 * localedata/locales/wal_ET: Likewise.
29006 * localedata/locales/wo_SN: Likewise.
29007 * localedata/locales/xh_ZA: Likewise.
29008 * localedata/locales/yi_US: Likewise.
29009 * localedata/locales/yo_NG: Likewise.
29010 * localedata/locales/yue_HK: Likewise.
29011 * localedata/locales/yuw_PG: Likewise.
29012 * localedata/locales/zh_CN: Likewise.
29013 * localedata/locales/zh_HK: Likewise.
29014 * localedata/locales/zh_SG: Likewise.
29015 * localedata/locales/zh_TW: Likewise.
29016 * localedata/locales/zu_ZA: Likewise.
29018 2017-11-13 Florian Weimer <fweimer@redhat.com>
29020 * support/next_to_fault.h, support/next_to_fault.c: New files.
29021 * support/Makefile (libsupport-routines): Add next_to_fault.
29022 * resolv/tst-inet_pton.c (struct next_to_fault)
29023 (next_to_fault_allocate, next_to_fault_free): Remove.
29024 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
29026 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
29028 * elf/dl-support.c: Include <dl-procruntime.c>.
29029 * include/link.h: Include <link_map.h>.
29030 * sysdeps/generic/dl-procruntime.c: New file.
29031 * sysdeps/generic/link_map.h: Likewise.
29032 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
29033 the writable ld.so namespace.
29035 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
29037 timezone: pacify GCC -Wstringop-truncation
29038 Problem reported by Martin Sebor in:
29039 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
29040 * timezone/zic.c (writezone): Use memcpy, not strncpy.
29042 2017-11-12 Florian Weimer <fweimer@redhat.com>
29044 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
29046 (tests): Add tst-xreadlink.
29047 * support/support.h (xstrndup): Declare.
29048 * support/xunistd.h (xunlink, xreadlink): Declare.
29049 * support/temp_file.h (support_create_temp_directory): Declare.
29050 * support/temp_file.c (support_create_temp_directory): New function.
29051 * support/support_chroot.c (support_chroot_create): Use it.
29052 * support/xreadlink.c: New file.
29053 * support/xstrndup.c: Likewise.
29054 * support/xunlink.c: Likewise.
29055 * support/tst-xreadlink.c: Likewise.
29057 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
29059 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
29061 2017-11-11 Florian Weimer <fweimer@redhat.com>
29065 * resolv/res_comp.c (printable_string, binary_hnok)
29066 (binary_leading_dash): New functions.
29067 (res_hnok): Reimplement using these functions and ns_name_pton.
29068 (res_ownok): Likewise.
29069 (res_mailok): Reimplement using printable_string, ns_name_pton and
29071 (res_dnok): Reimplement using printable_string and ns_name_pton.
29072 * resolv/tst-res_hnok.c (tests): Add additional tests.
29073 (LETTERDIGITS, PRINTABLE): Define.
29074 (do_test): Adjust one_char results.
29076 2017-11-11 Florian Weimer <fweimer@redhat.com>
29079 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
29080 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
29082 2017-11-11 Florian Weimer <fweimer@redhat.com>
29084 * resolv/tst-ns_name_pton.c: New file.
29085 * resolv/Makefile (tests): Add tst-ns_name_pton.
29086 (tst-ns_name_pton): Link against libresolv.
29088 2017-11-11 Florian Weimer <fweimer@redhat.com>
29090 * resolv/tst-res_hnok.c: New file.
29091 * resolv/Makefile (tests): Add tst-res_hnok.
29092 (tst-res_hnok): Link against libresolv.
29094 2017-11-11 Florian Weimer <fweimer@redhat.com>
29096 * resolv/tst-resolv-network.c: Use test framework instead explicit
29099 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
29101 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
29102 <jmp_buf-macros.h>.
29103 [!_ISOMAC] (STR_HELPER): New.
29104 [!_ISOMAC] (STR): Likewise.
29105 [!_ISOMAC] (TEST_SIZE): Likewise.
29106 [!_ISOMAC] (TEST_ALIGN): Likewise.
29107 [!_ISOMAC] (TEST_OFFSET): Likewise.
29108 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
29109 field offsets of jmp_buf as well as sigjmp_buf.
29110 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
29111 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
29112 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
29113 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
29114 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
29115 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
29116 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
29117 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
29118 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
29119 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
29121 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
29123 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
29124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
29126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
29128 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
29129 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
29130 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
29131 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
29132 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
29133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
29135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
29137 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
29138 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
29139 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
29141 2017-11-07 Joseph Myers <joseph@codesourcery.com>
29144 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29145 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
29146 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29147 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
29148 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29149 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
29150 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29151 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
29152 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29153 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
29154 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29155 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
29156 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29157 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
29158 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29159 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
29160 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29161 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
29162 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29163 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
29164 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29165 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
29166 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29167 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
29168 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29169 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
29170 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29171 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
29172 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29173 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
29174 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29175 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
29176 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29177 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
29178 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29179 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
29180 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29181 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
29182 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29183 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
29184 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29185 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
29186 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29187 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
29188 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29189 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
29190 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29191 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
29192 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29193 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
29194 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29195 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
29196 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29197 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
29198 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29199 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
29200 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29201 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
29202 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29203 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
29204 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29205 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
29206 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29207 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
29208 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29209 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
29210 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29211 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
29212 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29213 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
29214 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29215 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
29216 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29217 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
29218 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29219 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
29220 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29221 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
29222 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29223 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
29224 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29225 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
29226 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29227 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
29228 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29229 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
29230 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29231 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
29233 * stdlib/tst-strtod.h (F16): New macro.
29239 (IF_FLOAT16): Likewise.
29240 (IF_FLOAT32): Likewise.
29241 (IF_FLOAT64): Likewise.
29242 (IF_FLOAT32X): Likewise.
29243 (IF_FLOAT64X): Likewise.
29244 (IF_FLOAT128X): Likewise.
29245 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
29246 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
29247 (STRTOD_TEST_FOREACH): Likewise.
29248 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
29249 (CHOOSE_f64): Likewise.
29250 (CHOOSE_f32x): Likewise.
29251 (CHOOSE_f64x): Likewise.
29253 2017-11-07 Andreas Schwab <schwab@suse.de>
29255 * nptl/Makefile (tests-internal): Remove tst-typesizes.
29257 2017-11-07 Mike FABIAN <mfabian@redhat.com>
29260 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
29262 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
29265 2017-11-07 Claude Paroz <claude@2xlibre.net>
29268 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
29270 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
29272 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
29275 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29278 * nptl/allocatestack.c (allocate_stack): Check if
29279 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
29280 __PTHREAD_MUTEX_HAVE_PREV is defined.
29281 * nptl/descr.h (pthread): Likewise.
29282 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29284 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
29285 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
29286 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
29287 * sysdeps/nptl/bits/thread-shared-types.h
29288 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
29290 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
29291 of __WORDSIZE for internal layout.
29292 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
29293 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
29294 instead of __WORDSIZE whether to use an union for __spins and __list
29296 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
29298 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
29299 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
29301 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
29302 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29304 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
29305 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29307 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
29308 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29310 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
29311 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29313 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
29314 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29316 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
29317 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29319 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
29320 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29322 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
29323 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29325 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
29326 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29328 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
29329 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29331 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
29332 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29334 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
29335 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29337 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
29338 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29340 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
29341 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29344 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
29346 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
29347 checks for expected input type size.
29348 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
29349 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
29351 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
29352 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
29353 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
29354 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
29355 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
29356 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
29357 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
29358 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
29359 superflous runtime assert check.
29360 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
29362 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
29364 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
29366 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
29368 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
29370 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
29372 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
29373 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
29374 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
29376 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
29378 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
29380 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
29382 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
29384 * nptl/pthread_attr_setinheritsched.c
29385 (__pthread_attr_setinheritsched): Likewise.
29386 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
29388 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
29390 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
29391 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
29392 __old_pthread_attr_setstack): Likewise.
29393 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
29395 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
29397 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
29399 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
29400 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
29402 * nptl/tst-typesizes.c: Remove file.
29404 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
29405 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
29406 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
29407 checks for internal pthread_mutex_t offsets.
29408 * sysdeps/aarch64/nptl/pthread-offsets.h
29409 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
29410 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
29411 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
29412 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
29413 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
29414 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
29415 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
29416 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
29417 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
29418 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
29419 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
29420 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
29421 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
29422 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
29423 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
29424 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
29425 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
29426 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
29428 2017-11-07 Florian Weimer <fweimer@redhat.com>
29430 * bits/mman-linux.h: Move ...
29431 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
29433 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
29436 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29438 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
29439 Redefine STRNLEN as __strnlen_power8.
29441 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29443 * signal/sighold.c (sighold): Optimize implementation.
29445 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
29446 __NR_rt_sigqueueinfo.
29448 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29450 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
29451 assume __NR_rt_sigtimedwait.
29452 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
29453 and add LIBC_CANCEL_HANDLED for cancellation marking.
29454 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29456 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29457 (sysdeps_routines): Add memchr_noneon.
29458 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
29459 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
29460 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
29461 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
29462 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
29463 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
29464 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
29466 * sysdeps/arm/arm-ifunc.h: New file.
29467 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
29468 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
29469 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
29470 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
29471 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
29472 (__memcpy_neon): Avoid create hidden alias.
29473 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
29474 (__memcpy_vfp): Likewise.
29475 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29476 (sysdep_routines): Add memcpy_arm.
29477 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
29479 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
29482 * Makerules (make-link-multidir): New.
29483 * config.make.in (multidir): New.
29484 * configure.ac (libc_cv_multidir): New. AC_SUBST.
29485 * configure: Regenerated.
29486 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
29487 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
29488 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
29491 2017-11-06 Joseph Myers <joseph@codesourcery.com>
29494 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
29495 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
29497 2017-11-04 Mike FABIAN <mfabian@redhat.com>
29499 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
29502 2017-11-04 Florian Weimer <fweimer@redhat.com>
29504 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
29506 2017-11-03 Joseph Myers <joseph@codesourcery.com>
29508 * math/math.h [__HAVE_DISTINCT_FLOAT16
29509 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29510 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29511 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29512 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
29513 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
29514 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
29515 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29516 (__MATH_TG_F32): New macro.
29517 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29518 (__MATH_TG_F64X): Likewise.
29519 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29520 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
29522 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
29524 * po/de.po: Update translations.
29525 * po/ru.po: Likewise.
29527 2017-11-03 Florian Weimer <fweimer@redhat.com>
29529 * manual/filesys.texi (Hard Links): Document linkat.
29531 2017-11-03 Joseph Myers <joseph@codesourcery.com>
29533 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
29534 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29535 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29536 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29537 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29538 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29539 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
29540 the same as _Float128.
29541 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29542 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29543 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
29546 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
29548 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
29550 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
29552 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29553 (strtof32x): Likewise.
29554 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29555 (strtof64x): Likewise.
29556 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29557 (strtof128x): Likewise.
29558 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29559 (strfromf16): Likewise.
29560 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29561 (strfromf32): Likewise.
29562 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29563 (strfromf64): Likewise.
29564 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29565 (strfromf32x): Likewise.
29566 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29567 (strfromf64x): Likewise.
29568 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29569 (strfromf128x): Likewise.
29570 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
29571 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
29572 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
29573 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
29574 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
29575 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
29577 2017-11-03 Richard Henderson <rth@twiddle.net>
29579 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
29581 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29583 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
29585 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29587 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
29588 DT_TLSDESC_GOT initialization.
29589 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
29590 (_dl_tlsdesc_resolve_hold): Likewise.
29591 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
29592 (_dl_tlsdesc_resolve_hold): Likewise.
29593 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
29594 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29596 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29598 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
29600 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29603 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
29604 non-lazily for R_ARM_TLS_DESC.
29606 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29609 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
29610 R_ARM_TLS_DESC case.
29611 (elf_machine_lazy_rel): Remove the prelink check.
29613 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29615 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
29616 DT_TLSDESC_GOT initialization.
29617 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29618 (_dl_tlsdesc_resolve_rela): Likewise.
29619 (_dl_tlsdesc_resolve_hold): Likewise.
29620 (_dl_tlsdesc_undefweak): Remove ldar.
29621 (_dl_tlsdesc_dynamic): Likewise.
29622 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29623 (_dl_tlsdesc_resolve_rela): Likewise.
29624 (_dl_tlsdesc_resolve_hold): Likewise.
29625 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29626 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29627 (_dl_tlsdesc_resolve_rela): Likewise.
29628 (_dl_tlsdesc_resolve_hold): Likewise.
29630 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29632 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29633 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29635 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29637 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29638 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29640 2017-11-02 Joseph Myers <joseph@codesourcery.com>
29642 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29644 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29645 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29646 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29647 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29648 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29649 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29650 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29651 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29652 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29653 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29654 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29656 2017-11-02 Mike FABIAN <mfabian@redhat.com>
29659 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29660 * localedata/locales/tpi_PG: Add standard header.
29662 2017-11-02 Florian Weimer <fweimer@redhat.com>
29664 test-errno-linux: quotactl can fail with EPERM in containers.
29665 * sysdeps/unix/sysv/linux/test-errno-linux.c
29666 (LIST, LIST_FORWARD): New macros.
29667 (check_error_in_list): New function.
29668 (test_wrp_rv): Accept list of permitted error codes.
29669 (test_wrp_rv2): Remove.
29670 (test_wrp): Call test_wrp_rv with list of error codes.
29671 (test_wrp2): Accept list of error codes.
29672 (do_test): Adjust. Allow EPERM for quotactl.
29674 2017-11-02 Florian Weimer <fweimer@redhat.com>
29676 * stdio-common/bug16.c (do_test): Use array_length.
29677 * stdio-common/errlist.c (_sys_nerr): Likewise.
29678 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29679 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29680 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29681 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29682 (do_test): Use array_length.
29683 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29684 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29685 * stdio-common/tst-printf-round.c (do_test): Likewise.
29686 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29687 (CHECK): Use array_length.
29688 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29689 * stdio-common/tstscanf.c (main): Likewise.
29690 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29692 2017-11-02 Florian Weimer <fweimer@redhat.com>
29694 Add array_length and array_end macros.
29695 * include/array_length.h: New file.
29697 2017-11-02 Florian Weimer <fweimer@redhat.com>
29700 * posix/tst-glob-tilde.c (do_noescape): New variable.
29701 (one_test): Process it.
29702 (do_test): Set do_noescape. Add unescaping test case.
29704 2017-11-01 Joseph Myers <joseph@codesourcery.com>
29707 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29708 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29709 with appropriate macros defined and undefined.
29710 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29711 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29712 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29713 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29714 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29715 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29716 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29717 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29718 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29719 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29722 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29723 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29724 that for long double. Do not condition define and undefine of
29725 _Mdouble_complex_ on [__CFLOAT128].
29727 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29729 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29730 of <sysdeps/generic/sysdep.h>.
29731 (ALIGNARG): Removed.
29732 (ASM_SIZE_DIRECTIVE): Likewise.
29735 (ENTRY_CHK): Likewise.
29736 (END_CHK): Likewise.
29737 (syscall_error): Likewise.
29738 (mcount): Likewise.
29739 (PSEUDO_END): Likewise.
29741 (atom_text_section): Likewise.
29742 * sysdeps/x86/sysdep.h: New file.
29743 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29744 of <sysdeps/generic/sysdep.h>.
29745 (ALIGNARG): Removed.
29746 (ASM_SIZE_DIRECTIVE): Likewise.
29749 (ENTRY_CHK): Likewise.
29750 (END_CHK): Likewise.
29751 (syscall_error): Likewise.
29752 (mcount): Likewise.
29753 (PSEUDO_END): Likewise.
29755 (atom_text_section): Likewise.
29757 2017-10-31 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
29759 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29760 category of LC_CTYPE set to "i18n:2012".
29761 * localedata/locales/i18n_ctype: Regenerate.
29763 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
29765 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29766 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29767 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29768 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29770 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29771 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29772 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29773 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29775 2017-10-31 Joseph Myers <joseph@codesourcery.com>
29778 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29780 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29782 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29784 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29785 (CMPLXF32X): Likewise.
29786 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29787 (CMPLXF64X): Likewise.
29788 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29789 (CMPLXF128X): Likewise.
29792 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29793 (__MATH_EVAL_FMT2): Define to add 0.0f.
29795 2017-10-31 Alan Modra <amodra@gmail.com>
29797 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29813 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29814 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29815 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29816 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29817 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29818 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29819 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29820 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29821 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29822 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29823 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29824 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29825 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29826 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29827 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29828 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29829 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29830 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29831 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29832 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29833 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29834 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29835 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29836 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29837 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29838 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29839 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29840 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29841 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29842 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29843 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29844 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29845 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29846 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29847 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29848 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29849 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29850 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29851 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29852 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29853 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29854 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29855 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29856 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29857 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29858 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29859 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29860 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29861 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29862 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29863 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29864 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29865 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29866 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29867 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29870 include sysdep.h and math_ldbl_opt.h.
29872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29873 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29899 2017-10-31 Alan Modra <amodra@gmail.com>
29901 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29902 string/strncase_l.c, not string/strncase.c.
29903 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29904 (libc_hidden_def): Redefine.
29906 2017-10-31 Alan Modra <amodra@gmail.com>
29908 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29909 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29910 (__strcasecmp): Don't define.
29912 2017-10-31 Alan Modra <amodra@gmail.com>
29914 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29916 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29917 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29918 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29920 2017-10-31 Alan Modra <amodra@gmail.com>
29922 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29925 2017-10-31 Alan Modra <amodra@gmail.com>
29927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29928 Redefine only when SHARED.
29930 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29932 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29933 Include <bits/math-finite.h> with appropriate macros defined and
29935 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29936 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29937 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29938 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29939 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29941 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29942 [!_Mlong_double_] (_Mlong_double_): Likewise.
29943 [!_Mfloat16_] (_Mfloat16_): Likewise.
29944 [!_Mfloat32_] (_Mfloat32_): Likewise.
29945 [!_Mfloat64_] (_Mfloat64_): Likewise.
29946 [!_Mfloat128_] (_Mfloat128_): Likewise.
29947 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29948 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29949 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29950 (_Mdouble_): Define without indirection through those macros.
29951 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29952 [!_Mfloat128_] (_Mfloat128_): Likewise.
29953 [_Mlong_double_] (_Mlong_double_): Likewise.
29954 (_Mdouble_): Define without indirection through those macros.
29955 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29956 not add -D_Mlong_double_=double.
29957 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29958 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29960 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29962 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29964 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29966 * sysdeps/x86/libc-start.c: Reformat.
29968 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29971 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29972 (1): Renamed to ...
29975 (L(Src2)): Likewise.
29976 (L(1)): Renamed to ...
29979 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29981 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29982 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29983 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29984 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29985 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29986 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29987 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29988 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29989 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29990 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29991 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29992 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29993 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29994 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29995 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29996 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29997 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29998 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29999 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
30000 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
30001 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
30002 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
30003 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
30004 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
30005 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
30006 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
30007 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
30008 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
30009 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
30010 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
30011 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
30012 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
30013 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
30014 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
30015 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
30016 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
30017 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
30018 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
30019 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
30020 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
30021 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
30022 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
30023 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
30024 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
30025 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
30026 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
30027 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
30028 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
30029 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
30030 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
30031 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
30032 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
30033 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
30034 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
30035 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
30036 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
30037 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
30038 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
30039 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
30040 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
30041 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
30042 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
30043 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
30044 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
30045 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
30046 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
30048 2017-10-30 Florian Weimer <fweimer@redhat.com>
30050 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
30052 * io/tst-mkdirat.c (do_test): Likewise.
30053 * io/tst-mkfifoat.c (do_test): Likewise.
30054 * io/tst-mknodat.c (do_test): Likewise.
30055 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
30056 * locale/programs/locale.c (select_dirs): Likewise.
30057 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
30058 * posix/bug-glob2.c (my_readdir): Likewise.
30059 * posix/tst-dir.c (main): Likewise.
30060 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
30061 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
30063 2017-10-30 Florian Weimer <fweimer@redhat.com>
30065 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
30068 2017-10-30 Florian Weimer <fweimer@redhat.com>
30070 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
30071 Convert to support/test-driver.c.
30072 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
30073 New macro parameters.
30074 (PRINTF): Remove macro. Use test_verbose conditionals instead.
30075 * posix/tst-gnuglob.c: New file.
30076 * posix/tst-gnuglob64.c: Likewise.
30077 * posix/Makefile (tests): Add tst-gnuglob64.
30079 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
30082 * localedata/locales/csb_PL (LC_TIME): Fix âabmonâ for March
30083 and use a better translation for March in âmonâ.
30084 * localedata/locales/csb_PL: Use more ASCII to improve the
30085 readability of the source.
30087 2017-10-30 Mike FABIAN <mfabian@redhat.com>
30090 * localedata/locales/km_KH: Use ASCII as much
30091 as possible for better readability of the source and
30092 remove useless comments.
30093 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
30094 was commented out and apparently wrong anyway because it was
30095 using Lao characters. If Buddhist era should be used
30096 for km_KH, a native speaker should write the correct formaat
30098 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
30099 (According to CLDR, the first weekday for Cambodia is Sunday).
30100 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
30101 (These were using Lao characters which must be wrong. If we get
30102 the correct data from a native speaker, we could add it back, until
30103 then it is better not to have name_mr and name_mrs at all than
30106 2017-10-27 RafaĆ LuĆŒyĆski <digitalfreak@lingonborough.com>
30108 * locale/loadlocale.c: Correct size of
30109 _nl_value_type_LC_<category> arrays.
30111 2017-10-27 Joseph Myers <joseph@codesourcery.com>
30113 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
30114 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
30115 with appropriate macros defined and undefined.
30116 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
30117 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
30118 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
30119 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
30120 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
30122 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
30124 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
30127 2017-10-27 Mike FABIAN <mfabian@redhat.com>
30129 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
30130 with lowercase letters to make it agree with CLDR.
30132 2017-10-27 Mike FABIAN <mfabian@redhat.com>
30135 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
30136 first letters of yesstr and nostr in yesexpr and noexpr,
30137 not for the full words.
30138 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
30139 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
30140 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
30141 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
30142 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
30143 first letters of yesstr and nostr in yesexpr and noexpr,
30144 until now only English was matched in yesexpr and noexpr.
30145 * localedata/locales/tl_PH (LC_MESSAGES): Use âcopy "fil_PH"â
30146 instead of âcopy "en_US"â. CLDR has yesstr and nostr data for
30147 fil but not for tl. As tl and fil are very similar, using fil
30148 is probably better than using English.
30150 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
30153 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
30154 in yesstr and nostr.
30156 2017-10-26 Joseph Myers <joseph@codesourcery.com>
30158 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
30159 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
30160 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
30162 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
30164 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
30166 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
30168 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30169 (SNANF128X): Likewise.
30171 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
30172 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
30173 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30174 (HUGE_VAL_F32): Likewise.
30175 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30176 (HUGE_VAL_F64): Likewise.
30177 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30178 (HUGE_VAL_F32X): Likewise.
30179 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30180 (HUGE_VAL_F64X): Likewise.
30181 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30182 (HUGE_VAL_F128X): Likewise.
30184 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
30186 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
30187 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
30188 for the br_FR locale.
30190 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
30193 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
30195 2017-10-25 Carlos O'Donell <carlos@redhat.com>
30197 * locale/programs/record-status.h: Define globals, and function
30198 prototypes. Move function bodies...
30199 * locale/programs/record-status.c: ... to here. New file.
30200 * iconv/Makefile (iconv_prog-modules): Add record-status.
30201 * locale/Makefile (lib-modules): Likewise.
30202 * iconv/iconv_prog.c: Remove verbose.
30203 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
30204 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
30205 record a warning about ASCII compatibility.
30206 * locale/programs/ld-monetary.c (monetary_finish): If
30207 warn_int_curr_symbol is true then record a warning about the symbol
30208 not being in our ISO 4217 list.
30209 * locale/programs/locale.c: Include record-status.h. Remove verbose.
30210 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
30211 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
30212 (OPT_NO_WARN): Define.
30213 (OPT_WARN): Define.
30214 (options): Add entry for --no-warnings, and --warnings.
30215 (set_warnings): New function to enable/disable warnings.
30216 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
30217 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
30218 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
30219 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
30220 Pass flags to generate_locale.
30221 (generate_locale): Accept new flag argument and pass it to localedef
30223 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
30224 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
30226 * localedata/Makefile (test-input-data): Use full file name.
30227 * localedata/da_DK.in: Rename to...
30228 * localedata/da_DK.ISO-8859-1.in: ...this.
30229 * localedata/de_DE.in: Rename to...
30230 * localedata/de_DE.ISO-8859-1.in: ...this.
30231 * localedata/en_US.in: Rename to...
30232 * localedata/en_US.ISO-8859-1.in: ...this.
30233 * localedata/fr_FR.in: Rename to...
30234 * localedata/fr_FR.UTF-8.in: ... this.
30235 * localedata/hr_HR.in: Rename to...
30236 * localedata/hr_HR.ISO-8859-2.in: ...this.
30237 * localedata/hu_HU.in: Rename to...
30238 * localedata/hu_HU.UTF-8.in: ...this.
30239 * localedata/si_LK.in: Rename to...
30240 * localedata/si_LK.UTF-8.in: ...this.
30241 * localedata/sv_SE.in: Rename to...
30242 * localedata/sv_SE.ISO-8859-1.in: ...this.
30243 * localedata/tr_TR.in: Rename to...
30244 * localedata/tr_TR.UTF-8.in: ...this.
30245 * localedata/uk_UA.in: Rename to...
30246 * localedata/uk_UA.UTF-8.in: ...this.
30247 * localedata/sort-test.sh: Test file is locale name with the
30250 * localedata/unicode-gen/Makefile (check_i18n): Rename to
30251 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
30253 * localedata/locales/i18n_ctype: Regenerate.
30254 * localedata/locales/tr_TR: Likewise.
30255 * localedata/locales/translit_circle: Likewise.
30256 * localedata/locales/translit_cjk_compat: Likewise.
30257 * localedata/locales/translit_combining: Likewise.
30258 * localedata/locales/translit_compat: Likewise.
30259 * localedata/locales/translit_font: Likewise.
30260 * localedata/locales/translit_fraction: Likewise.
30262 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30264 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
30265 lxvd2x/stxvd2x with lvx/stvx.
30266 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
30268 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
30270 * include/alloc_buffer.h: Replace "if if " with "if " in
30272 * sysdeps/mips/memcpy.S: Likkewise.
30273 * sysdeps/mips/memset.S: Likewise.
30274 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30276 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
30278 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
30281 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30284 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
30285 yesexpr and noexpr.
30286 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
30287 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
30288 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
30289 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
30290 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
30291 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
30292 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
30294 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30296 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
30297 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
30298 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
30299 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
30300 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
30301 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
30302 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
30303 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
30304 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
30305 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
30306 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
30307 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
30309 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30311 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
30312 as possible for better readability of the source.
30313 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
30314 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
30315 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
30316 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
30317 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
30318 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
30319 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
30320 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
30321 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
30322 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
30323 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
30324 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
30325 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
30326 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
30327 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
30328 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
30329 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
30330 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
30331 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
30332 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
30333 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
30334 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
30335 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
30336 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
30337 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
30338 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
30339 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
30340 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
30341 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
30342 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
30343 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
30344 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
30345 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
30346 * localedata/locales/en_US (LC_MESSAGES): Likewise.
30347 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
30348 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
30349 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
30350 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
30351 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
30352 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
30353 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
30354 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
30355 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
30356 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
30357 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
30358 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
30359 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
30360 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
30361 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
30362 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
30363 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
30364 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
30365 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
30366 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
30367 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
30368 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
30369 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
30370 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
30371 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
30372 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
30373 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
30374 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
30375 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
30376 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
30377 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
30378 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
30379 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
30380 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
30381 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
30382 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
30383 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
30384 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
30385 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
30386 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
30387 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
30388 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
30389 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
30390 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
30391 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
30392 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
30393 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
30394 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
30395 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
30396 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
30397 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
30398 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
30399 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
30400 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
30401 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
30402 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
30403 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
30404 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
30405 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
30406 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
30407 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
30408 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
30409 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
30410 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
30411 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
30412 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
30413 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
30414 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
30415 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
30416 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
30417 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
30418 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
30419 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
30420 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
30421 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
30422 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
30423 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
30424 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
30425 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
30426 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
30427 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
30428 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
30429 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
30430 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
30431 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
30432 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
30433 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
30434 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
30435 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
30436 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
30437 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
30438 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
30439 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
30440 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
30441 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
30442 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
30443 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
30444 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
30445 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
30446 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
30447 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
30448 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
30449 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
30450 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
30451 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
30452 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
30453 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
30454 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
30455 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
30456 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
30457 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
30458 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
30459 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
30460 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
30461 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
30462 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
30463 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
30464 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
30465 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
30466 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
30467 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
30468 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
30469 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
30470 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
30471 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
30472 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
30473 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
30474 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
30475 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
30476 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
30477 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
30478 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
30479 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
30480 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
30481 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
30482 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
30483 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
30484 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
30485 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
30486 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
30488 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30490 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
30491 (Use first letters of yesstr and nostr correctly instead of using
30494 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30496 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
30497 (Use first letters of yesstr and nostr correctly).
30499 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30501 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
30502 also check for the first characters of yesstr and nostr.
30503 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
30504 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
30506 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30508 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
30509 also check for Chinese characters.
30511 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30513 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
30514 match also for the contents of yesstr and nostr. As the first letter
30515 of yesstr and nostr is equal, checking only for the first letter
30518 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30520 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
30521 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
30523 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30525 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
30526 of main contributor.
30528 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30530 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
30531 instead of using English.
30533 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30535 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
30536 by including the first letters of nostr and yesexpr in the regexp.
30537 Also make it more readable by using ASCII where possible.
30539 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30541 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
30542 the first letter of nostr in the regexp. It agrees with CLDR now.
30543 Also make it more readable by using ASCII where possible.
30545 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30547 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
30548 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
30549 these strings contain a U+17D6 (which somewhat looks like a colon)
30550 instead of a real colon to separate the full words for âyesâ
30551 and ânoâ from the single letter responses.
30553 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30555 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
30556 it agree with CLDR (include the first letter of yesstr).
30557 Also make it more readable by using ASCII where possible.
30559 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30561 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
30562 and improve yesexpr and noexpr. The yesstr and nostr apparently
30563 came from CLDR. And CLDR has a bug there: these strings contain
30564 a U+0903 (which looks like a colon) instead of a real colon
30565 to separate the full words for âyesâ and ânoâ from the single
30568 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30570 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
30571 letters of the full yesstr and nostr in yesexpr and noexpr.
30573 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30575 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
30576 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
30577 * localedata/locales/an_ES: Make source more readable by using ASCII
30580 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30583 * localedata/locales/yuw_PG: New file.
30584 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
30585 * locale/iso-639.def: Add Yau (Uruwa).
30587 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30589 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
30591 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30593 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
30594 (__libc_realloc): Likewise.
30595 (_mid_memalign): Likewise.
30596 (__libc_calloc): Likewise.
30598 2017-10-23 Mike FABIAN <mfabian@redhat.com>
30600 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
30601 by adding the generic +1 and -0 as in all other locales.
30602 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
30603 day names and make it more readable by using ASCII where possible.
30605 2017-10-24 Joseph Myers <joseph@codesourcery.com>
30607 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
30608 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
30610 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30612 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
30613 WNOHANG in waitpid call.
30615 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
30617 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30618 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30620 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30621 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30622 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30623 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30624 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30625 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30626 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30627 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30630 2017-10-23 Michael Collison <michael.collison@arm.com>
30632 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30633 with __builtin_sqrt.
30634 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30635 with __builtin_sqrtf.
30636 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30637 with __builtin_ceil.
30638 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30639 with __builtin_ceilf.
30640 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30641 with __builtin_floor.
30642 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30643 with __builtin_floorf.
30644 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30645 with __builtin_fma.
30646 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30647 with __builtin_fmaf.
30648 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30649 with __builtin_fmax.
30650 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30651 with __builtin_fmaxf.
30652 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30653 with __builtin_fmin.
30654 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30655 with __builtin_fminf.
30656 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30657 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30658 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30659 with builtin_rint and conversion to int.
30660 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30661 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30662 with builtin_llround.
30663 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30664 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30665 with builtin_rint and conversion to long int.
30666 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30667 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30668 with builtin_lround.
30669 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30670 with builtin_lroundf.
30671 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30672 statements with __builtin_nearbyint.
30673 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30674 statements with __builtin_nearbyintf.
30675 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30676 with __builtin_rint.
30677 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30678 with __builtin_rintf.
30679 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30680 with __builtin_round.
30681 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30682 with __builtin_roundf.
30683 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30684 with __builtin_trunc.
30685 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30686 with __builtin_truncf.
30687 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30688 and s_l[l]round[f].c too.
30690 2017-10-23 Alan Modra <amodra@gmail.com>
30692 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30693 Adjust stack after restoring regs. Add missing LR cfi_restore.
30695 2017-10-23 Alan Modra <amodra@gmail.com>
30697 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30698 Move LR save and frame setup/teardown and LR restore to
30699 immediately around memset call. Provide cfi.
30701 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30703 * sysdeps/i386/fpu/e_powf.S: Removed.
30704 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30705 * sysdeps/i386/fpu/w_powf.c: Likewise.
30706 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30707 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30708 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30710 (CFLAGS-e_powf-sse2.c): New.
30711 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30712 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30714 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30716 * sysdeps/i386/fpu/e_log2f.S: Removed.
30717 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30718 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30719 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30720 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30721 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30723 (CFLAGS-e_log2f-sse2.c): New.
30724 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30725 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30727 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30729 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30731 (CFLAGS-e_powf-fma.c): New.
30732 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30733 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30735 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30737 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30739 (CFLAGS-e_log2f-fma.c): New.
30740 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30741 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30743 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30745 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30747 (CFLAGS-e_logf-fma.c): New.
30748 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30749 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30751 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30753 * sysdeps/i386/fpu/e_logf.S: Removed.
30754 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30755 * sysdeps/i386/fpu/w_logf.c: Likewise.
30756 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30757 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30758 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30759 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30761 (CFLAGS-e_logf-sse2.c): New.
30762 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30763 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30765 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30767 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30768 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30769 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30770 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30771 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30773 (CFLAGS-e_exp2f-sse2.c): New.
30774 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30775 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30777 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30779 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30781 (CFLAGS-e_exp2f-fma.c): New.
30782 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30783 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30785 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30787 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30788 * sysdeps/i386/fpu/e_expf.S: Likewise.
30789 * sysdeps/i386/fpu/math_errf.c: Likewise.
30790 * sysdeps/i386/fpu/w_expf.c: Likewise.
30791 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30792 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30793 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30794 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30795 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30796 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30797 Remove e_expf-ia32.
30798 (CFLAGS-e_expf-sse2.c): New.
30799 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30800 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30802 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30804 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30805 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30806 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30807 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30809 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30811 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30812 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30814 (__redirect_expf): This.
30815 (SYMBOL_NAME): Changed to expf.
30816 (__ieee754_expf): Renamed to ...
30818 (__GI___expf): This.
30819 (__ieee754_expf): Add strong_alias.
30820 (__expf_finite): Likewise.
30822 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30824 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
30827 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30830 2017-10-21 Florian Weimer <fweimer@redhat.com>
30832 * posix/Makefile (tests): Add tst-glob-tilde.
30833 (tests-special): Add tst-glob-tilde-mem.out
30834 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30835 (tst-glob-tilde-mem.out): Add mtrace check.
30836 * posix/tst-glob-tilde.c: New file.
30838 2017-10-20 Joseph Myers <joseph@codesourcery.com>
30840 * bits/floatn-common.h: New file.
30841 * math/Makefile (headers): Add bits/floatn-common.h.
30842 * bits/floatn.h: Include <bits/floatn-common.h>.
30843 * sysdeps/ia64/bits/floatn.h: Likewise.
30844 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30845 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30846 * sysdeps/powerpc/bits/floatn.h: Likewise.
30847 * sysdeps/x86/bits/floatn.h: Likewise.
30849 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30851 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30852 indicates whether compiler emits an warning for alias for
30853 functions with incompatible types.
30856 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30857 the auxiliary process is terminated by a signal before calling _exit
30860 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30863 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30865 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30866 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30867 and bit_arch_XSAVEC_Usable if needed.
30868 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30869 and bit_arch_Use_dl_runtime_resolve_opt.
30870 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30872 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30873 (bit_arch_Prefer_No_AVX512): Updated.
30874 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30875 (bit_arch_XSAVEC_Usable): New.
30876 (STATE_SAVE_OFFSET): Likewise.
30877 (STATE_SAVE_MASK): Likewise.
30878 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30879 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30880 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30881 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30882 (index_arch_XSAVEC_Usable): New.
30883 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30884 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30885 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30887 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30888 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30889 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30890 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30891 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30892 _dl_runtime_resolve_xsavec.
30893 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30895 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30896 instead of VEC_SIZE.
30897 (REGISTER_SAVE_BND0): Removed.
30898 (REGISTER_SAVE_BND1): Likewise.
30899 (REGISTER_SAVE_BND3): Likewise.
30900 (REGISTER_SAVE_RAX): Always defined to 0.
30902 (_dl_runtime_resolve_avx): Likewise.
30903 (_dl_runtime_resolve_avx_slow): Likewise.
30904 (_dl_runtime_resolve_avx_opt): Likewise.
30905 (_dl_runtime_resolve_avx512): Likewise.
30906 (_dl_runtime_resolve_avx512_opt): Likewise.
30907 (_dl_runtime_resolve_sse): Likewise.
30908 (_dl_runtime_resolve_sse_vex): Likewise.
30910 (_dl_runtime_resolve_fxsave): Likewise.
30911 (USE_XSAVE): Likewise.
30912 (_dl_runtime_resolve_xsave): Likewise.
30913 (USE_XSAVEC): Likewise.
30914 (_dl_runtime_resolve_xsavec): Likewise.
30915 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30917 (_dl_runtime_resolve_avx512_opt): Likewise.
30918 (_dl_runtime_resolve_avx): Likewise.
30919 (_dl_runtime_resolve_avx_opt): Likewise.
30920 (_dl_runtime_resolve_sse): Likewise.
30921 (_dl_runtime_resolve_sse_vex): Likewise.
30922 (_dl_runtime_resolve_fxsave): New.
30923 (_dl_runtime_resolve_xsave): Likewise.
30924 (_dl_runtime_resolve_xsavec): Likewise.
30926 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
30930 * posix/glob.c (__glob): Fix one-byte overflow.
30932 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30934 * malloc/malloc.c (sysdep-cancel.h): Add include.
30936 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30938 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30940 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30942 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30943 (tests): Remove $(objpfx)ga_test depdendency.
30944 * resolv/ga_test.c: Remove file.
30946 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30949 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30950 * localedata/locales/kab_DZ: New file.
30952 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30954 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30955 _dl_relocate_static_pie instead of _dl_start to compute load
30956 address in static PIE.
30958 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30960 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30962 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30965 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30966 * localedata/locales/shn_MM: New file.
30968 2017-10-20 Florian Weimer <fweimer@redhat.com>
30971 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30972 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30973 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30974 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30975 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30976 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30978 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30980 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30982 2017-10-19 Joseph Myers <joseph@codesourcery.com>
30984 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30987 * sysdeps/mips/bits/long-double.h: Move to ....
30988 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30990 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30992 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30994 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30995 H.J. Lu <hongjiu.lu@intel.com>
30998 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30999 GLRO(dl_platform) to NULL.
31000 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
31001 (modules-names): Add tst-platformmod-1 and
31002 x86_64/tst-platformmod-2.
31003 (CFLAGS-tst-platform-1.c): New.
31004 (CFLAGS-tst-platformmod-1.c): Likewise.
31005 (CFLAGS-tst-platformmod-2.c): Likewise.
31006 (LDFLAGS-tst-platformmod-2.so): Likewise.
31007 ($(objpfx)tst-platform-1): Likewise.
31008 ($(objpfx)tst-platform-1.out): Likewise.
31009 (tst-platform-1-ENV): Likewise.
31010 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
31011 * sysdeps/x86_64/tst-platform-1.c: New file.
31012 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
31013 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
31015 2017-10-19 Mike FABIAN <mfabian@redhat.com>
31018 * locale/iso-639.def: Add Karbi.
31019 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
31020 * localedata/locales/mjw_IN: New file.
31022 2017-10-18 Joseph Myers <joseph@codesourcery.com>
31024 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
31025 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
31026 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
31027 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
31028 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
31029 (libm_alias_ldouble_other_r): Also create _Float128 alias.
31030 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
31032 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
31033 (libm_alias_ldouble_other_r): Also create _Float128 alias.
31034 * manual/math.texi (Mathematics): Document additional architecture
31035 support for _Float128.
31036 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
31037 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
31038 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
31039 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31040 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31041 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
31042 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
31043 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
31044 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31045 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
31046 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31047 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
31048 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31049 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
31050 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31052 2017-10-18 Renlin Li <renlin.li@arm.com>
31054 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
31055 _DYNAMIC symbol to calculate load address.
31057 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
31059 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
31060 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
31062 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
31063 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
31065 2017-10-18 Mike FABIAN <mfabian@redhat.com>
31068 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
31069 and improve readability by using more ASCII.
31070 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
31071 and improve readability by using more ASCII.
31073 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
31075 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
31076 not all targets support atomics on bool.
31078 2017-10-17 Joseph Myers <joseph@codesourcery.com>
31080 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
31081 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
31083 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
31084 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
31085 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
31086 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
31087 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
31088 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
31090 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31092 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
31095 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
31098 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
31099 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
31100 (do_check_remalloced_chunk): Fix build bug.
31101 (do_check_malloc_state): Add assert that checks arena->top.
31102 (malloc_consolidate): Remove initialization.
31103 (int_mallinfo): Remove call to malloc_consolidate.
31104 (__libc_mallopt): Clarify why malloc_consolidate is needed.
31106 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
31108 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
31109 (have_fastchunks): Remove.
31110 (clear_fastchunks): Remove.
31111 (set_fastchunks): Remove.
31112 (malloc_state): Add have_fastchunks.
31113 (malloc_init_state): Use have_fastchunks.
31114 (do_check_malloc_state): Remove incorrect invariant checks.
31115 (_int_malloc): Use have_fastchunks.
31116 (_int_free): Likewise.
31117 (malloc_consolidate): Likewise.
31119 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
31121 * malloc/malloc.c (tcache_put): Inline.
31122 (tcache_get): Inline.
31124 2017-10-17 Jordi Mallach <jordi@gnu.org>
31126 Aurelien Jarno <aurelien@aurel32.net>
31128 * localedata/locales/ca_ES@valencia: New file.
31129 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
31131 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
31134 * math/math.h: Let signbit use the builtin in C++ mode with gcc
31137 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31139 * scripts/build-many-glibcs.py (Context.add_all_configs):
31140 Add arm-linux-gnueabihf multiarch extra_glibcs.
31142 * sysdeps/generic/ifunc-init.h: New file.
31143 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
31145 2017-10-17 Mike FABIAN <mfabian@redhat.com>
31148 * localedata/locales/el_GR: Set n_cs_precedes to 0.
31149 * localedata/locales/el_CY: copy "el_GR" because it is identical.
31150 * stdlib/tst-strfmon_l.c: adapt test case.
31152 2017-10-16 Joseph Myers <joseph@codesourcery.com>
31154 * sysdeps/generic/float128-abi.h: New file.
31155 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
31156 non-__prefixed symbols to ....
31157 * math/Versions: ... here. Include <float128-abi.h>.
31158 * stdlib/Versions ... and here. Include <float128-abi.h>
31160 2017-10-16 Florian Weimer <fweimer@redhat.com>
31162 * version.h (VERSION): Switch to ".9000" as the development
31165 2017-10-16 Florian Weimer <fweimer@redhat.com>
31168 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
31169 compat_symbol_reference to access non-default version.
31171 2017-10-16 Florian Weimer <fweimer@redhat.com>
31173 * malloc/Makefile (others-extras): Set to mcheck-init.o.
31175 2017-10-16 Carlos O'Donell <carlos@redhat.com>
31177 * include/shlib-compat.h (compat_symbol_reference): Update
31180 2017-10-16 Joseph Myers <joseph@codesourcery.com>
31182 * math/Makefile (test-types): Add
31183 $(type-float128-$(float128-alias-fcts)).
31184 * math/test-float128.h (TYPE_STR): Define conditional on
31185 [FLT128_MANT_DIG == LDBL_MANT_DIG].
31186 (ULP_IDX): Likewise.
31187 (ULP_I_IDX): Likewise.
31189 * stdlib/strtold.c: Include <bits/floatn.h>
31190 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
31191 and later undefine as macro. Define as weak alias if
31193 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
31194 and later undefine as macro. Define as weak alias if
31196 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
31197 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
31198 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
31199 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
31200 Define and later undefine as macro. Define as weak alias if
31202 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
31204 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
31205 Define and later undefine as macro. Define as weak alias if
31207 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
31208 Define and later undefine as macro. Define as weak alias if
31211 2017-10-15 Carlos O'Donell <carlos@redhat.com>
31213 * localedata/collate-test.c (allocate_arrays): Don't use \n in
31214 record_verbose messages.
31216 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
31219 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
31220 to silence -O3 -Wall warning with GCC 7.
31222 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
31224 * Makeconfig (+link-static-before-libc): Use the first of
31225 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
31226 * gmon/Makefile (tests): Add tst-gmon-static.
31227 (tests-static): Likewise.
31228 (CFLAGS-tst-gmon-static.c): New.
31229 (CRT-tst-gmon-static): Likewise.
31230 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
31231 (tst-gmon-static-ENV): Likewise.
31232 (tests-special): Likewise.
31233 ($(objpfx)tst-gmon-static.out): Likewise.
31234 (clean-tst-gmon-static-data): Likewise.
31235 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
31236 * gmon/tst-gmon-static-gprof.sh: New file.
31237 * gmon/tst-gmon-static.c: Likewise.
31239 2017-10-13 Carlos O'Donell <carlos@redhat.com>
31242 * locale/programs/linereader.c (get_string): Don't warn on
31243 non-symbolic character.
31246 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
31250 * locale/programs/record-status.h: New file
31251 * locale/programs/locale.c: Add comment.
31252 * locale/programs/charmap-dir.c: Don't include error.h.
31253 (charmap_opendir): Use record_error.
31254 * locale/programs/charmap.c: Don't include error.h.
31255 (charmap_read): Use record_error, and record_warning.
31256 (parse_charmap): Likewise.
31257 * locale/programs/ld-address.c: Don't include error.h.
31258 (address_finish): Use record_error, and record_warning.
31259 * locale/programs/ld-collate.c: Don't include error.h.
31260 (collate_finish): Use record_error, and record_error_at_line.
31261 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
31262 (ctype_class_new): Likewise.
31263 (ctype_map_new): Likewise.
31264 (set_one_default): Likewise.
31265 (set_class_defaults): Likewise.
31266 (translit_flatten): Likewise.
31267 (allocate_arrays): Use record_error, and record_verbose.
31268 * locale/programs/ld-identification.c: Don't include error.h.
31269 (indentation_finish): Use record_error and record_warning.
31270 * locale/programs/ld-measurement.c: Don't include error.h.
31271 (measurement_finish): Use record_error.
31272 * locale/programs/ld-messages.c
31273 (message_finish): Likewise.
31274 * locale/programs/ld-monetary.c
31275 (monetary_finish): Likewise.
31276 * locale/programs/ld-name.c (name_finish): Use record_error
31277 and record_warning.
31278 * locale/programs/ld-numeric.c
31279 (numeric_finish): Use record_error.
31280 * locale/programs/ld-paper.c: Don't include error.h.
31281 (paper_finish): Use record_error.
31282 * locale/programs/ld-telephone.c: Don't include error.h.
31283 (telephone_finish): Use record_error.
31284 * locale/programs/ld-time.c (time_finish): Likewise.
31285 * locale/programs/linereader.h (lr_error): Make inline func.
31286 * locale/programs/localedef.c: Define recorded_warning_count,
31287 and recorded_error_count.
31288 (main): Use record_error. Use recorded_error_count and
31289 recorded_warning_count to issue correct error returns.
31290 (add_to_readlist): Use record_error.
31291 (find_locale): Likewise.
31292 (load_locale): Likewise.
31293 * locale/programs/localedef.h: Remove be_quiet
31294 and WITH_CUR_LOCALE.
31295 * locale/programs/locarchive.c (compare_from_file): Use
31297 * locale/programs/locfile.c (write_locale_data): Use
31299 * locale/programs/repertoire.c: Dont include error.h.
31300 (repertoire_complain): Use record_error.
31301 * localedata/tst-fmon.sh: Expect failures from localedef.
31302 * localedata/tst-locale.sh: Likewise.
31303 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
31305 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
31306 (REPORTS): Likewise.
31308 (i18n): Rename to...
31309 (i18n_ctype): ...this.
31310 (i18n-report): Rename to...
31311 (i18n_ctype-report): ...this.
31312 * localedata/locales/i18n_ctype: Regenerate.
31313 * localedata/locales/i18n: copy i18n_ctype.
31315 2017-10-13 Joseph Myers <joseph@codesourcery.com>
31317 * stdlib/strfroml.c: Include <bits/floatn.h>.
31318 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
31319 Define before include of <stdlib.h> and undefine afterwards, then
31320 define as weak alias.
31322 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
31323 Undefine and restore default definition. Use
31324 libm_alias_ldouble_other.
31326 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
31329 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
31332 2017-10-13 James Clarke <jrtc27@jrtc27.com>
31334 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31335 Assign sym_map to be map for local symbols, as TLS relocations
31336 use sym_map to determine whether the symbol is defined and to
31337 extract the TLS information.
31338 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31339 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31341 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31344 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
31345 (math_force_eval): Add powerpc version.
31348 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
31350 (do_test): Likewise.
31351 * stdio-common/tst-printf.sh: Likewise.
31352 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
31353 ifdef clause in order to set the carry bit right. Replace r0 by
31354 0 without changing the behavior.
31356 2017-10-13 Joseph Myers <joseph@codesourcery.com>
31358 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
31359 <libm-alias-ldouble.h>.
31360 (fabsl): Define using libm_alias_ldouble.
31361 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
31362 <libm-alias-ldouble.h>.
31363 (fabsl): Define using libm_alias_ldouble.
31365 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
31366 Remove conditional code.
31368 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
31369 Rename to __clog10_internal_l.
31370 (__clog10_internal_l): Define aliases using
31371 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
31374 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31376 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
31377 * benchtests/sincosf-inputs: New file.
31378 * benchtests/cosf-inputs: New file.
31379 * benchtests/sinf-inputs: New file.
31381 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
31383 * posix/tst-spawn.c (do_test): Wait for both children.
31385 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
31388 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
31389 tests-pie): Add tst-gmon-pie.
31390 (CFLAGS-tst-gmon-pie.c): New.
31391 (CRT-tst-gmon-pie): Likewise.
31392 (tst-gmon-pie-ENV): Likewise.
31393 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
31394 ($(objpfx)tst-gmon-pie.out): Likewise.
31395 (clean-tst-gmon-pie-data): Likewise.
31396 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
31397 * gmon/gmon.c [PIC]: Include <link.h>.
31398 [PIC] (callback): New function.
31399 (write_hist): Add an argument for load address. Subtract load
31401 (write_call_graph): Likewise.
31402 (write_gmon): Call __dl_iterate_phdr to get load address, pass
31403 it to write_hist and write_call_graph.
31404 * gmon/tst-gmon-pie.c: New file.
31406 2017-10-11 Joseph Myers <joseph@codesourcery.com>
31408 * math/Makefile (test-types-basic): New variable.
31409 (test-types): Likewise.
31410 (libm-test-support): Use $(test-types) instead of $(types).
31411 (libm-tests-base-normal): Likewise.
31412 (libm-tests-base-finite): Likewise.
31413 (libm-tests-base-inline): Likewise.
31414 (generated): Likewise.
31415 ($(objpfx)libm-test-support-$(t).c): Likewise.
31416 (libm-tests-for-type iterator): Likewise.
31417 (libm-test-support iterator): Likewise.
31418 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
31419 (ulp_idx): Use ULP_IDX.
31420 * math/test-ldouble.h: Include <float.h>.
31421 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
31422 (ULP_IDX): New macro.
31423 (ULP_I_IDX): Likewise.
31424 * math/test-double.h (ULP_IDX): Likewise.
31425 (ULP_I_IDX): Likewise.
31426 * math/test-float.h (ULP_IDX): Likewise.
31427 (ULP_I_IDX): Likewise.
31428 * math/test-float128.h (ULP_IDX): Likewise.
31429 (ULP_I_IDX): Likewise.
31431 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31433 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
31434 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31435 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31436 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
31437 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31438 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
31439 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
31440 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31441 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31442 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31443 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
31444 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31445 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31446 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31447 (SINGLE_THREAD_BY_GLOBAL): Define.
31448 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31450 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31452 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31454 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31456 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
31457 (SINGLE_THREAD_BY_GLOBAL): Likewise.
31458 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31461 2017-10-11 Andreas Schwab <schwab@suse.de>
31463 * nis/Makefile (aux): Remove.
31464 * nscd/Makefile (aux): Add nscd_hash.
31465 (nscd-modules): Likewise.
31466 ($(objpfx)nscd): Don't depend on libnsl.
31467 * nscd/nscd_hash.c: New file.
31468 * nscd/nscd_hash.h: Likewise.
31469 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
31470 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
31471 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
31472 instead of <nis/rpcsvc/nis.h>.
31473 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
31475 2017-10-11 Florian Weimer <fweimer@redhat.com>
31478 Avoid large NSS buffers with many addresses, aliases.
31479 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
31480 using dynarrays and struct alloc_buffer.
31481 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
31482 (tst-nss-files-hosts-multi): Link with -ldl.
31483 * nss/tst-nss-files-hosts-multi.c: New file.
31485 2017-10-11 Florian Weimer <fweimer@redhat.com>
31488 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
31489 scratch_buffer. Eliminate gotos.
31491 2017-10-11 Joseph Myers <joseph@codesourcery.com>
31493 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
31494 libm_alias_ldouble_other.
31495 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
31496 undefine and redefine.
31497 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31498 (exp10l): Do not define here.
31499 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
31500 (weak_alias): Undefine and redefine.
31501 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
31502 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31503 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
31504 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
31506 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
31507 [!__fma] (fma): Define using libm_alias_double.
31508 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
31509 [!__fmaf] (fmaf): Define using libm_alias_float.
31510 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
31511 (fmal): Define using libm_alias_ldouble.
31513 2017-10-10 Joseph Myers <joseph@codesourcery.com>
31515 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
31517 (libm_alias_double_other): Likewise.
31518 (libm_alias_double_r): Use libm_alias_double_other_r.
31519 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
31521 (libm_alias_float_other): Likewise.
31522 (libm_alias_float_r): Use libm_alias_float_other_r.
31523 * sysdeps/generic/libm-alias-float128.h
31524 (libm_alias_float128_other_r): New macro.
31525 (libm_alias_float128_other): Likewise.
31526 (libm_alias_float128_r): Use libm_alias_float128_other_r.
31527 * sysdeps/generic/libm-alias-ldouble.h
31528 (libm_alias_ldouble_other_r): New macro.
31529 (libm_alias_ldouble_other): Likewise.
31530 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31531 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
31532 (libm_alias_double_other_r): New macro.
31533 (libm_alias_double_other): Likewise.
31534 (libm_alias_double_r): Use libm_alias_double_other_r.
31535 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
31536 (libm_alias_ldouble_other_r): New macro.
31537 (libm_alias_ldouble_other): Likewise.
31538 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31539 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
31540 [!USE_AS_COMPAT]: Use libm_alias_double_other.
31541 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
31542 [!USE_AS_COMPAT]: Use libm_alias_float_other.
31543 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
31544 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
31545 * math/w_exp2f.c: Use libm_alias_float_other.
31546 * math/w_expf.c: Likewise.
31547 * math/w_log2f.c: Likewise.
31548 * math/w_logf.c: Likewise.
31549 * math/w_powf.c: Likewise.
31550 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
31551 [!__exp2f]: Use libm_alias_float_other.
31552 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
31553 [!__expf]: Use libm_alias_float_other.
31554 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
31555 [!__log2f]: Use libm_alias_float_other.
31556 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
31557 [!__logf]: Use libm_alias_float_other.
31558 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
31559 [!__powf]: Use libm_alias_float_other.
31561 2017-10-10 Florian Weimer <fweimer@redhat.com>
31563 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
31565 (_nss_files_gethostbyname3_r): Call it.
31567 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31569 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
31570 error. Remove default definition of declare_mgen_alias.
31571 [!declare_mgen_alias_r]: Likewise.
31572 * sysdeps/generic/math-type-macros-double.h
31573 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
31574 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
31575 (declare_mgen_alias_r): Likewise.
31576 * sysdeps/generic/math-type-macros-float128.h
31577 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31578 * sysdeps/generic/math-type-macros-ldouble.h
31579 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31580 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
31582 (declare_mgen_alias_r_s): Likewise.
31583 (declare_mgen_alias_r): Likewise.
31584 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
31585 (lgamma_r): Define using libm_alias_double_r.
31586 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
31587 (lgammaf_r): Define using libm_alias_float_r.
31588 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
31589 (lgammal_r): Define using libm_alias_ldouble_r.
31590 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
31591 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31593 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31595 * lib/glob.c (__glob_pattern_type): Remove now-spurious
31596 extern declaration.
31598 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31600 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
31602 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
31605 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
31606 [__cplusplus >= 201103] (__USE_ISOC99): Define.
31607 * math/Makefile (test-math-cxx11): New test.
31608 * math/test-math-cxx11.cc: New file.
31610 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
31612 * login/openpty.c (openpty): Close slave pty file descriptor on error.
31614 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
31615 call to allocate the slave pty file descriptor.
31617 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31619 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31620 [!__fma] (fma): Define using libm_alias_double.
31621 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31622 [!__fma] (fma): Define using libm_alias_double.
31624 * sysdeps/ieee754/float128/float128_private.h: Include
31625 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31626 (libm_alias_ldouble_r): Undefine and redefine.
31627 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31628 <libm-alias-ldouble.h>.
31629 (asinhl): Define using libm_alias_ldouble.
31630 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31631 <libm-alias-ldouble.h>.
31632 (atanl): Define using libm_alias_ldouble.
31633 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31634 <libm-alias-ldouble.h>.
31635 (cbrtl): Define using libm_alias_ldouble.
31636 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31637 <libm-alias-ldouble.h>.
31638 (ceill): Define using libm_alias_ldouble.
31639 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31640 <libm-alias-ldouble.h>.
31641 (copysignl): Define using libm_alias_ldouble.
31642 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31643 <libm-alias-ldouble.h>.
31644 (cosl): Define using libm_alias_ldouble.
31645 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31646 <libm-alias-ldouble.h>.
31647 (erfl): Define using libm_alias_ldouble.
31649 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31650 <libm-alias-ldouble.h>.
31651 (expm1l): Define using libm_alias_ldouble.
31652 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31653 <libm-alias-ldouble.h>.
31654 (fabsl): Define using libm_alias_ldouble.
31655 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31656 <libm-alias-ldouble.h>.
31657 (floorl): Define using libm_alias_ldouble.
31658 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31659 <libm-alias-ldouble.h>.
31660 (fmal): Define using libm_alias_ldouble.
31661 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31662 <libm-alias-ldouble.h>.
31663 (frexpl): Define using libm_alias_ldouble.
31664 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31665 libm_alias_ldouble.
31666 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31667 <libm-alias-ldouble.h>.
31668 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31669 libm_alias_ldouble.
31670 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31671 <libm-alias-ldouble.h>.
31672 (getpayloadl): Define using libm_alias_ldouble.
31673 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31674 <libm-alias-ldouble.h>.
31675 (llrintl): Define using libm_alias_ldouble.
31676 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31677 <libm-alias-ldouble.h>.
31678 (llroundl): Define using libm_alias_ldouble.
31679 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31680 <libm-alias-ldouble.h>.
31681 (logbl): Define using libm_alias_ldouble.
31682 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31683 <libm-alias-ldouble.h>.
31684 (lrintl): Define using libm_alias_ldouble.
31685 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31686 <libm-alias-ldouble.h>.
31687 (lroundl): Define using libm_alias_ldouble.
31688 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31689 <libm-alias-ldouble.h>.
31690 (modfl): Define using libm_alias_ldouble.
31691 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31692 <libm-alias-ldouble.h>.
31693 (nearbyintl): Define using libm_alias_ldouble.
31694 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31695 <libm-alias-ldouble.h>.
31696 (nextafterl): Define using libm_alias_ldouble.
31697 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31698 <libm-alias-ldouble.h>.
31699 (nextupl): Define using libm_alias_ldouble.
31700 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31701 <libm-alias-ldouble.h>.
31702 (remquol): Define using libm_alias_ldouble.
31703 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31704 <libm-alias-ldouble.h>.
31705 (rintl): Define using libm_alias_ldouble.
31706 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31707 <libm-alias-ldouble.h>.
31708 (roundevenl): Define using libm_alias_ldouble.
31709 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31710 <libm-alias-ldouble.h>.
31711 (roundl): Define using libm_alias_ldouble.
31712 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31713 using libm_alias_ldouble.
31714 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31715 <libm-alias-ldouble.h>.
31716 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31717 Define using libm_alias_ldouble.
31718 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31719 <libm-alias-ldouble.h>.
31720 (sincosl): Define using libm_alias_ldouble.
31721 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31722 <libm-alias-ldouble.h>.
31723 (sinl): Define using libm_alias_ldouble.
31724 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31725 <libm-alias-ldouble.h>.
31726 (tanhl): Define using libm_alias_ldouble.
31727 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31728 <libm-alias-ldouble.h>.
31729 (tanl): Define using libm_alias_ldouble.
31730 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31731 <libm-alias-ldouble.h>.
31732 (totalorderl): Define using libm_alias_ldouble.
31733 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31734 <libm-alias-ldouble.h>.
31735 (totalordermagl): Define using libm_alias_ldouble.
31736 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31737 <libm-alias-ldouble.h>.
31738 (truncl): Define using libm_alias_ldouble.
31739 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31740 libm_alias_ldouble.
31741 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31742 libm_alias_ldouble.
31743 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31744 <libm-alias-ldouble.h>.
31745 (weak_alias): Do not undefine and redefine.
31746 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31747 (copysignl): Define with long_double_symbol only if [IS_IN
31749 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31750 <libm-alias-ldouble.h>.
31751 (weak_alias): Do not undefine and redefine.
31752 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31753 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31754 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31755 <libm-alias-ldouble.h>.
31756 (weak_alias): Do not undefine and redefine.
31757 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31758 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31759 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31760 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31761 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31762 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31763 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31764 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31765 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31766 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31767 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31768 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31769 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31770 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31771 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31772 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31773 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31774 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31775 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31776 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31777 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31778 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31779 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31780 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31781 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31782 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31784 2017-10-06 Carlos O'Donell <carlos@redhat.com>
31787 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31788 (tcache_thread_freeres): Set tcache_shutting_down before
31789 freeing the tcache.
31790 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31791 * malloc/tst-malloc-tcache-leak.c: New file.
31793 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31795 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31796 back to powerpc32 file.
31797 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31798 (memrchr): Add __memrchr_power8 to ifunc list.
31799 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31800 extra bytes for unaligned inputs.
31802 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31804 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31805 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31806 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31807 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31808 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31810 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31812 * sysdeps/arm/libm-test-ulps: Update.
31814 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31815 <libm-alias-ldouble.h>.
31816 (asinhl): Define using libm_alias_ldouble.
31817 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31818 <libm-alias-ldouble.h>.
31819 (cbrtl): Define using libm_alias_ldouble.
31820 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31821 <libm-alias-ldouble.h>.
31822 (copysignl): Define using libm_alias_ldouble.
31823 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31824 <libm-alias-ldouble.h>.
31825 (cosl): Define using libm_alias_ldouble.
31826 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31827 <libm-alias-ldouble.h>.
31828 (erfl): Define using libm_alias_ldouble.
31830 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31831 <libm-alias-ldouble.h>.
31832 (fmal): Define using libm_alias_ldouble.
31833 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31834 <libm-alias-ldouble.h>.
31835 (frexpl): Define using libm_alias_ldouble.
31836 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31837 libm_alias_ldouble.
31838 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31839 <libm-alias-ldouble.h>.
31840 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31841 libm_alias_ldouble.
31842 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31843 <libm-alias-ldouble.h>.
31844 (getpayloadl): Define using libm_alias_ldouble.
31845 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31846 <libm-alias-ldouble.h>.
31847 (llrintl): Define using libm_alias_ldouble.
31848 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31849 <libm-alias-ldouble.h>.
31850 (llroundl): Define using libm_alias_ldouble.
31851 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31852 <libm-alias-ldouble.h>.
31853 (lrintl): Define using libm_alias_ldouble.
31854 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31855 <libm-alias-ldouble.h>.
31856 (lroundl): Define using libm_alias_ldouble.
31857 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31858 <libm-alias-ldouble.h>.
31859 (modfl): Define using libm_alias_ldouble.
31860 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31861 <libm-alias-ldouble.h>.
31862 (nextupl): Define using libm_alias_ldouble.
31863 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31864 <libm-alias-ldouble.h>.
31865 (remquol): Define using libm_alias_ldouble.
31866 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31867 <libm-alias-ldouble.h>.
31868 (roundevenl): Define using libm_alias_ldouble.
31869 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31870 <libm-alias-ldouble.h>.
31871 (roundl): Define using libm_alias_ldouble.
31872 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31873 using libm_alias_ldouble.
31874 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31875 <libm-alias-ldouble.h>.
31876 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31877 <libm-alias-ldouble.h>.
31878 (setpayloadsigl): Define using libm_alias_ldouble.
31879 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31880 <libm-alias-ldouble.h>.
31881 (sincosl): Define using libm_alias_ldouble.
31882 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31883 <libm-alias-ldouble.h>.
31884 (sinl): Define using libm_alias_ldouble.
31885 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31886 <libm-alias-ldouble.h>.
31887 (tanhl): Define using libm_alias_ldouble.
31888 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31889 <libm-alias-ldouble.h>.
31890 (tanl): Define using libm_alias_ldouble.
31891 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31892 <libm-alias-ldouble.h>.
31893 (totalorderl): Define using libm_alias_ldouble.
31894 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31895 <libm-alias-ldouble.h>.
31896 (totalordermagl): Define using libm_alias_ldouble.
31897 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31898 libm_alias_ldouble.
31899 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31900 libm_alias_ldouble.
31902 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31904 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31906 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31907 (__libc_ifunc_impl_list): Likewise.
31908 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31909 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31911 * benchtests/bench-memmove-walk.c: New file.
31912 * benchtests/Makefile (string-benchset): Add it.
31914 * benchtests/bench-memset-walk.c: New file.
31915 * benchtests/Makefile (string-benchset): Add it.
31917 * benchtests/bench-memcpy-walk.c: New file.
31918 * benchtests/Makefile (string-benchset): Add it.
31920 2017-10-05 Florian Weimer <fweimer@redhat.com>
31922 nscd: Eliminate compilation time dependency in the build output.
31923 * nscd/nscd_stat.c (STATDATA_VERSION)
31924 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31925 (STATDATA_VERSION_FULL): New macro definitions.
31926 (compilation): Remove.
31927 (struct statdata): Adjust version member.
31928 (send_stats): Set version from STATDATA_VERSION_FULL.
31929 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31931 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31933 * configure.ac (--enable-add-ons): Remove option.
31934 (machine): Do not mention add-ons in comment.
31935 (LIBC_PRECONFIGURE): Likewise.
31936 (add_ons): Remove variable and sanity checks and logic to locate
31938 (add_ons_automatic): Remove variable.
31939 (configured_add_ons): Likewise.
31940 (add_ons_sfx): Likewise.
31941 (add_ons_pfx): Likewise.
31942 (add_on_subdirs): Likewise.
31943 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31944 consideration of add-ons in Implies handling.
31945 (sysdeps_add_ons): Likewise.
31946 * configure: Regenerated.
31947 * libidn/configure.ac: Remove.
31948 * libidn/configure: Likewise.
31949 * sysdeps/unix/inet/configure.ac: New file.
31950 * sysdeps/unix/inet/configure: New generated file.
31951 * sysdeps/unix/inet/Subdirs: Add libidn.
31952 * Makeconfig (sysdeps-srcdirs): Remove variable.
31953 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31954 ($(common-objpfx)config.status): Do not depend on add-on files.
31955 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31957 (all-subdirs): Do not include $(add-on-subdirs).
31958 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31959 * config.make.in (add-ons): Remove variable.
31960 (add-on-subdirs): Likewise.
31961 (sysdeps-add-ons): Likewise.
31962 * manual/Makefile (add-chapters): Remove.
31963 ($(objpfx)texis): Do not depend on $(add-chapters).
31964 (nonexamples): Do not handle $(add-chapters).
31965 (examples): Do not handle $(add-ons).
31966 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31968 * manual/install.texi (Installation): Do not mention add-ons.
31969 (--enable-add-ons): Do not document configure option.
31970 * INSTALL: Regenerated.
31971 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31972 * manual/maint.texi (Hierarchy Conventions): Do not mention
31974 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31976 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31978 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31979 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31981 2017-10-05 Andreas Schwab <schwab@suse.de>
31984 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31985 (_IO_flush_all_lockp): Always lock list_all_lock.
31986 (_IO_flush_all_linebuffered): Likewise.
31987 (_IO_unbuffer_all): Likewise.
31989 2017-10-05 Florian Weimer <fweimer@redhat.com>
31992 Do not flush stdio streams on abort.
31993 * stdlib/abort.c (fflush): Remove macro definition.
31994 (abort): Remove stages related to stdio flushing.
31996 2017-10-05 Florian Weimer <fweimer@redhat.com>
31998 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
32000 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
32002 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32004 2017-10-05 Florian Weimer <fweimer@redhat.com>
32006 * support/support_format_hostent.c (support_format_hostent): Add
32007 more error information for NETDB_INTERNAL.
32009 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
32011 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
32012 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
32013 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
32014 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
32015 AC_DEFINE if multi-arch is enabled.
32016 * sysdeps/i386/configure: Regenerated.
32018 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
32020 * Makeconfig (+link-static-before-libc): Use
32021 $(DEFAULT-LDFLAGS-$(@F)).
32022 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
32023 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
32024 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
32026 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
32028 * elf/Makefile (tests): Add tst-main1.
32029 (modules-names): Add tst-main1mod.
32030 ($(objpfx)tst-main1): New.
32031 (CRT-tst-main1): Likewise.
32032 (LDFLAGS-tst-main1): Likewise.
32033 (LDLIBS-tst-main1): Likewise.
32034 (tst-main1mod.so-no-z-defs): Likewise.
32035 * elf/tst-main1.c: New file.
32036 * elf/tst-main1mod.c: Likewise.
32038 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
32040 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
32042 2017-10-04 Joseph Myers <joseph@codesourcery.com>
32044 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
32045 (fma): Define using libm_alias_double.
32046 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
32047 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
32049 (fmal): Do not define as compat symbol here.
32050 * sysdeps/alpha/fpu/s_fma.c: New file.
32052 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
32054 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
32056 2017-10-04 Joseph Myers <joseph@codesourcery.com>
32059 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
32061 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
32063 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
32064 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
32065 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
32066 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
32067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32068 Include <math_ldbl_opt.h>
32069 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
32071 (compat_symbol): Undefine and redefine.
32072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
32074 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
32075 (compat_symbol): Undefine and redefine.
32076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
32077 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
32078 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
32079 GLIBC_2_1 for libm.
32080 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
32081 GLIBC_2.0 copysignl symbol.
32082 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32083 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
32085 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
32087 2017-10-04 Florian Weimer <fweimer@redhat.com>
32089 * scripts/check-local-headers.sh: Ignore nspr4 header file
32090 directory in addition to nspr.
32092 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
32095 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
32096 * configure: Regenerate.
32097 * crypt/Makefile (nss-cpp-flags): New variable.
32098 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
32099 (CPPFLAGS-md5-crypt.c): Use it.
32100 * scripts/check-local-headers.sh: Ignore nspr header file
32103 2017-10-04 Andreas Schwab <schwab@suse.de>
32105 * nis/Makefile (services): Remove compat.
32106 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
32107 ($(objpfx)libnss_compat.so): Remove rule.
32108 * nis/Versions (libnss_compat): Remove.
32109 * nss/Makefile (services): Add compat.
32110 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
32111 * nss/Versions (libnss_compat): Define.
32112 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
32113 Don't include <rpc/types.h>. Replace bool_t by bool.
32114 * nss/nss_compat/compat-initgroups.c: Likewise.
32115 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
32116 instead of <rpcsrv/ypclnt.h>.
32117 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
32118 yp_get_default_domain.
32119 * nss/nss_compat/compat-pwd.c: Likewise.
32120 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
32121 yp_get_default_domain.
32122 * nss/nss_compat/nisdomain.c: New file.
32123 * nss/nss_compat/nisdomain.h: Likewise.
32125 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
32128 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
32129 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32131 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
32134 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
32135 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
32137 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32139 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
32140 "movl main@GOTOFF(%ebx), %eax".
32142 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32144 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
32145 allow undefined _DYNAMIC in PIE libc.a.
32146 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32149 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32151 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
32154 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32156 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
32159 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32161 * math/test-math-iscanonical.cc (error): Replace bool with int.
32163 2017-10-03 Joseph Myers <joseph@codesourcery.com>
32165 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
32166 (modf): Define using libm_alias_double, only if [!__modf].
32167 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
32168 <libm-alias-double.h>.
32169 (modf): Define using libm_alias_double, only if [!__modf].
32170 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
32171 compat symbol here.
32172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
32173 (weak_alias): Do not undefine and redefine.
32174 (strong_alias): Likewise.
32175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
32176 (weak_alias): Likewise.
32177 (strong_alias): Likewise.
32179 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
32180 (logb): Define using libm_alias_double, only if [!__logb].
32181 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
32182 <libm-alias-double.h>.
32183 (logb): Define using libm_alias_double, only if [!__logb].
32184 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
32185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
32186 (weak_alias): Do not undefine and redefine.
32187 (strong_alias): Likewise.
32188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
32189 (weak_alias): Likewise.
32190 (strong_alias): Likewise.
32192 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32194 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
32195 Check SHARED instead PIC.
32197 2017-10-03 Joseph Myers <joseph@codesourcery.com>
32199 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
32200 [!__fmaf] (fmaf): Define using libm_alias_float.
32202 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
32203 (frexp): Define using libm_alias_double.
32204 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
32205 <libm-alias-double.h>.
32206 (frexp): Define using libm_alias_double.
32207 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
32208 compat symbol here.
32210 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32213 * math/math.h: Trivial fix for unbalanced parentheses in comment.
32214 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
32215 (CFLAGS-test-math-iscanonical.cc): New variable.
32216 * math/test-math-iscanonical.cc: New file.
32217 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
32218 Provide a C++ implementation based on function overloading,
32219 rather than using __MATH_TG, which uses C-only builtins.
32220 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
32222 * sysdeps/powerpc/powerpc64le/Makefile
32223 (CFLAGS-test-math-iscanonical.cc): New variable.
32225 2017-10-03 Joseph Myers <joseph@codesourcery.com>
32227 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
32228 (ceil): Define using libm_alias_double.
32229 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
32230 (floor): Define using libm_alias_double.
32231 * sysdeps/ieee754/dbl-64/s_llround.c: Include
32232 <libm-alias-double.h>.
32233 (llround): Define using libm_alias_double.
32234 * sysdeps/ieee754/dbl-64/s_lround.c: Include
32235 <libm-alias-double.h>.
32236 (lround): Define using libm_alias_double.
32237 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
32238 <libm-alias-double.h>.
32239 (nearbyint): Define using libm_alias_double.
32240 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
32241 <libm-alias-double.h>.
32242 (remquo): Define using libm_alias_double.
32243 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
32244 (rint): Define using libm_alias_double.
32245 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
32246 (round): Define using libm_alias_double.
32247 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
32248 (trunc): Define using libm_alias_double.
32249 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
32250 <libm-alias-double.h>.
32251 (ceil): Define using libm_alias_double.
32252 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
32253 <libm-alias-double.h>.
32254 (floor): Define using libm_alias_double.
32255 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
32256 <libm-alias-double.h>.
32257 (llround): Define using libm_alias_double.
32258 [_LP64] (lround): Likewise.
32259 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
32260 <libm-alias-double.h>.
32261 [!_LP64] (lround): Define using libm_alias_double.
32262 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
32263 <libm-alias-double.h>.
32264 (nearbyint): Define using libm_alias_double.
32265 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
32266 <libm-alias-double.h>.
32267 (remquo): Define using libm_alias_double.
32268 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
32269 <libm-alias-double.h>.
32270 (rint): Define using libm_alias_double.
32271 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
32272 <libm-alias-double.h>.
32273 (round): Define using libm_alias_double.
32274 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
32275 <libm-alias-double.h>.
32276 (trunc): Define using libm_alias_double.
32277 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
32278 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
32279 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
32280 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
32281 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
32282 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
32283 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
32284 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
32285 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
32287 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
32289 * math/w_remainder.c: New file.
32290 * math/w_remainderf.c: New file.
32291 * math/w_remainderl.c: New file.
32293 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32295 * elf/rtld.c (BOOTSTRAP_MAP): New.
32296 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
32297 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
32299 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
32301 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
32304 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32306 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
32307 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
32308 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
32309 rtld_hidden_data_ver): Define to empty.
32310 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
32311 __assert_perror_fail): Likewise.
32312 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32313 (__rewinddir): Likewise.
32314 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32315 (__profile_frequency): Likewise.
32316 * include/setjmp.h (__sigsetjmp): Likewise.
32317 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
32318 __libc_sigaction): Likewise.
32319 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
32320 not set hidden attribute.
32321 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
32322 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
32323 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
32324 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
32325 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
32326 __fxstatat64): Likewise.
32327 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32328 (__uname): Likewise.
32329 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32330 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
32331 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
32332 (NO_RTLD_HIDDEN): Set.
32333 * sysdeps/mach/hurd/configure: Refresh.
32334 * config.h.in: Refresh.
32336 2017-10-02 Joseph Myers <joseph@codesourcery.com>
32338 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
32339 (atan): Define using libm_alias_double.
32340 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
32341 (tan): Define using libm_alias_double.
32342 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
32343 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
32345 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
32346 define as weak alias of __atan. Do not define any aliases if
32348 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
32349 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
32350 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
32351 as weak alias of __tan. Do not define any aliases if [__tan].
32352 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
32353 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
32354 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
32356 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
32357 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
32358 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
32359 and define as weak alias of __atan.
32360 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
32362 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
32363 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
32364 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
32365 define as weak alias of __tan.
32367 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32369 * math/w_lgamma.c: New file.
32370 * math/w_lgammaf.c: New file.
32371 * math/w_lgammal.c: New file.
32373 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32375 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
32376 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
32377 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
32378 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
32379 * sysdeps/ieee754/flt-32/w_logf.c: New file.
32380 * sysdeps/ieee754/flt-32/w_powf.c: New file.
32381 * sysdeps/i386/fpu/w_log2f.c: New file.
32382 * sysdeps/i386/fpu/w_logf.c: New file.
32383 * sysdeps/i386/fpu/w_powf.c: New file.
32384 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
32385 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
32386 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
32388 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32389 H.J. Lu <hongjiu.lu@intel.com>
32391 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
32392 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
32393 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
32394 * sysdeps/ieee754/flt-32/w_expf.c: New file.
32395 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
32397 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
32398 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
32399 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
32400 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
32401 * sysdeps/i386/fpu/w_exp2f.c: New file.
32402 * sysdeps/i386/fpu/w_expf.c: New file.
32403 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
32404 * sysdeps/x86_64/fpu/w_expf.c: New file.
32406 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32408 * math/Versions (logf): New libm symbol at GLIBC_2.27.
32411 * math/w_log2f.c: New file.
32412 * math/w_logf.c: New file.
32413 * math/w_powf.c: New file.
32414 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
32415 * math/w_logf_compat.c (__logf_compat): Likewise.
32416 * math/w_powf_compat.c (__powf_compat): Likewise.
32417 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
32418 * sysdeps/ia64/fpu/e_logf.S: Likewise.
32419 * sysdeps/ia64/fpu/e_powf.S: Likewise.
32420 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32421 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32422 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32423 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32424 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32425 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32426 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32427 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32428 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32429 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32430 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32431 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32440 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32441 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32442 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32443 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32444 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32449 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32450 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32451 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32453 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32455 * sysdeps/powerpc/powerpc64/multiarch/Makefile
32456 (sysdep_routines): Add memrchr_power8.
32457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32458 (memrchr): Add __memrchr_power8 to list of memrchr functions.
32459 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
32461 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
32462 (memrchr): Add __memrchr_power8 to ifunc list.
32463 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
32465 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32468 * sysdeps/unix/sysv/linux/posix_fadvise64.c
32469 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
32471 * sysdeps/unix/sysv/linux/posix_fallocate64.c
32472 (__posix_fallocate64_l64): Likewise.
32474 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32477 * sysdeps/unix/sysv/linux/sched_setaffinity.c
32478 (__sched_setaffinity_new): Add libc_hidden_proto and
32481 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32484 * include/glob.h (__glob64): Add libc_hidden_proto.
32485 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
32488 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32491 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
32494 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32497 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
32499 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32502 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
32505 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32508 * csu/version.c (__libc_print_version): Add attribute_hidden.
32510 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32513 * include/libc-internal.h (__init_misc): Add attribute_hidden.
32515 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32518 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
32520 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32523 * nscd/nscd_helper.c (__nis_hash): New prototype.
32525 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32528 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
32529 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
32531 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32532 * termios/tcgetattr.c (__tcgetattr): Likewise.
32534 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32537 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
32538 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
32539 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
32540 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
32541 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
32543 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32546 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
32548 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32551 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
32552 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
32554 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32557 * intl/hash-string.h (__hash_string): Add attribute_hidden.
32559 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32562 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
32563 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
32565 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32568 * include/ifreq.h: New file.
32569 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
32570 (__ifreq): Likewise.
32571 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
32572 (__ifreq): Likewise.
32574 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32577 * include/idna.h: New file.
32578 * inet/getnameinfo.c: Include <idna.h> instead of
32580 (__idna_to_unicode_lzlz): Removed.
32581 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
32583 (__idna_to_ascii_lz): Removed.
32584 (__idna_to_unicode_lzlz): Likewise.
32586 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32589 * include/plural-exp.h: New file.
32590 * intl/plural-exp.c: Include <plural-exp.h> instead of
32593 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32596 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
32597 "getsourcefilter.h".
32598 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
32599 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
32600 "getsourcefilter.h".
32601 (__get_sol): Removed.
32603 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32606 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
32608 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
32610 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32613 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
32616 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32619 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32621 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32624 * include/search.h (__tdestroy): Add libc_hidden_proto.
32625 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32627 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32630 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32632 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32635 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32638 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32641 * include/signal.h (__kill): Add libc_hidden_proto.
32642 (__sigblock): Likewise.
32643 (__sigprocmask): Likewise.
32644 (__sigaltstack): Likewise.
32645 * signal/kill.c (__kill): Add libc_hidden_def.
32646 * signal/sigblock.c (__sigblock): Likewise.
32647 * signal/sigprocmask.c (__sigprocmask): Likewise.
32648 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32649 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32650 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32651 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32652 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32654 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32656 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32657 (__sigprocmask): Likewise.
32658 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32660 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32661 (__sigprocmask): Likewise.
32662 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32668 * include/string.h (__strsep): Add libc_hidden_proto.
32669 * string/strsep.c (__strsep): Add libc_hidden_def.
32671 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32674 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32676 (__spawni): Likewise.
32678 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32681 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32682 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32685 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32688 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32690 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32693 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32694 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32695 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32696 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32697 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32699 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32700 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32702 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32705 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32706 (__dcigettext): Likewise.
32708 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32711 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32713 (__get_nprocs): Likewise.
32714 (__get_phys_pages): Likewise.
32715 (__get_avphys_pages): Likewise.
32716 (__get_child_max): Add attribute_hidden.
32717 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32718 (__get_nprocs): Likewise.
32719 (__get_phys_pages): Likewise.
32720 (__get_avphys_pages): Likewise.
32721 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32723 (__get_nprocs): Likewise.
32724 (__get_phys_pages): Likewise.
32725 (__get_avphys_pages): Likewise.
32726 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32728 (__get_nprocs_conf): Likewise.
32729 (__get_phys_pages): Likewise.
32730 (__get_avphys_pages): Likewise.
32732 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32735 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32737 (__netlink_close): Likewise.
32738 (__netlink_free_handle): Likewise.
32739 (__netlink_request): Likewise.
32741 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32744 * include/rpc/rpc.h (__rpc_thread_variables): Add
32746 (__rpc_thread_svc_cleanup): Likewise.
32747 (__rpc_thread_clnt_cleanup): Likewise.
32748 (__rpc_thread_key_cleanup): Likewise.
32750 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32753 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32754 (__writev): Likewise.
32755 * misc/readv.c (__readv): Add libc_hidden_def.
32756 * misc/writev.c (__writev): Likewise.
32757 * sysdeps/posix/readv.c (__readv): Likewise.
32758 * sysdeps/posix/writev.c (__writev): Likewise.
32759 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32760 (__readv): Likewise.
32761 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32762 (__writev): Likewise.
32764 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32767 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32768 (__regcomp): Add libc_hidden_proto.
32769 (__regexec): Likewise.
32770 (__regfree): Likewise.
32771 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32772 (__regfree): Likewise.
32773 * posix/regexec.c (__regexec): Likewise.
32775 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32778 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32779 (__getutent): Likewise.
32780 (__getutid): Likewise.
32781 (__getutline): Likewise.
32782 (__pututline): Likewise.
32783 (__getutent_r): Likewise.
32784 (__getutid_r): Likewise.
32785 (__getutline_r): Likewise.
32786 (__utmpname): Add attribute_hidden.
32787 (__setutent): Likewise.
32788 (__endutent): Likewise.
32789 * login/getutent.c (__getutent): Add libc_hidden_def.
32790 * login/getutent_r.c (__getutent_r): Likewise.
32791 (__pututline): Likewise.
32792 * login/getutid.c (__getutid): Likewise.
32793 * login/getutid_r.c (__getutid_r): Likewise.
32794 * login/getutline.c (__getutline): Likewise.
32795 * login/getutline_r.c (__getutline_r): Likewise.
32796 * login/updwtmp.c (__updwtmp): Likewise.
32798 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32801 * include/dirent.h (__opendir): Always add attribute_hidden.
32802 (__fdopendir): Likewise.
32803 (__closedir): Likewise.
32804 (__readdir): Likewise.
32805 (__readdir64): Add libc_hidden_proto.
32806 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32807 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32808 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32809 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32812 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32815 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32816 * include/netdb.h (__gethostbyaddr_r): Likewise.
32817 (__gethostbyname_r): Likewise.
32818 (__gethostbyname2_r): Likewise.
32819 (__getnetbyaddr_r): Likewise.
32820 (__getnetbyname_r): Likewise.
32821 (__getservbyname_r): Likewise.
32822 (__getservbyport_r): Likewise.
32823 (__getprotobyname_r): Likewise.
32824 (__getprotobynumber_r): Likewise.
32825 (__getnetgrent_r): Likewise.
32826 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32827 (__getrpcbynumber_r): Likewise.
32828 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32830 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32833 * include/stdio.h (__fcloseall): Add attribute_hidden.
32834 (__getline): Likewise.
32835 (__path_search): Likewise.
32836 (__gen_tempname): Likewise.
32837 (__libc_message): Likewise.
32838 (__flockfile): Likewise.
32839 (__funlockfile): Likewise.
32840 (__fxprintf): Likewise.
32841 (__fxprintf_nocancel): Likewise.
32843 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32846 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32847 (__sgetsgent_r): Likewise.
32849 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32852 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32853 (__statfs64): Likewise.
32854 (__fstatfs64): Likewise.
32855 * include/sys/statvfs.h (__statvfs64): Likewise.
32856 (__fstatvfs64): Likewise.
32857 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32858 (__statfs_filesize_max): Likewise.
32859 (__statfs_symlinks): Likewise.
32860 (__statfs_chown_restricted): Likewise.
32862 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32865 * include/time.h (__tzstring): Add attribute_hidden.
32866 (__tzfile_read): Likewise.
32867 (__tzfile_compute): Likewise.
32868 (__tzfile_default): Likewise.
32869 (__tzset_parse_tz): Likewise.
32870 (__offtime): Likewise.
32871 (__asctime_r): Likewise.
32872 (__tzset): Likewise.
32873 (__tz_convert): Likewise.
32874 (__getdate_r): Likewise.
32875 (__getclktck): Likewise.
32877 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32880 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32881 (__nscd_unmap): Likewise.
32882 (__nscd_cache_search): Likewise.
32883 (__nscd_get_nl_timestamp): Likewise.
32884 (__nscd_getpwnam_r): Likewise.
32885 (__nscd_getpwuid_r): Likewise.
32886 (__nscd_getgrnam_r): Likewise.
32887 (__nscd_getgrgid_r): Likewise.
32888 (__nscd_gethostbyname_r): Likewise.
32889 (__nscd_gethostbyname2_r): Likewise.
32890 (__nscd_gethostbyaddr_r): Likewise.
32891 (__nscd_getai): Likewise.
32892 (__nscd_getgrouplist): Likewise.
32893 (__nscd_getservbyname_r): Likewise.
32894 (__nscd_getservbyport_r): Likewise.
32895 (__nscd_innetgr): Likewise.
32896 (__nscd_setnetgrent): Likewise.
32898 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32901 * include/gmp.h: Declare internal functions only if _ISOMAC is
32903 (__mpn_extract_double): Add attribute_hidden.
32904 (__mpn_extract_long_double): Likewise.
32905 (__mpn_extract_float128): Likewise.
32906 (__mpn_construct_float): Likewise.
32907 (__mpn_construct_double): Likewise.
32908 (__mpn_construct_long_double): Likewise.
32909 (__mpn_construct_float128): Likewise.
32910 (mpn_add_1): Likewise.
32911 (mpn_addmul_1): Likewise.
32912 (mpn_add_n): Likewise.
32913 (mpn_cmp): Likewise.
32914 (mpn_divrem): Likewise.
32915 (mpn_lshift): Likewise.
32916 (mpn_mul): Likewise.
32917 (mpn_mul_1): Likewise.
32918 (mpn_rshift): Likewise.
32919 (mpn_sub_1): Likewise.
32920 (mpn_submul_1): Likewise.
32921 (mpn_sub_n): Likewise.
32923 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32926 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32927 (__wcscat): Likewise.
32928 (__btowc): Likewise.
32929 (__wcrtomb): Likewise.
32930 (__mbsrtowcs): Likewise.
32931 (__wcsrtombs): Likewise.
32932 (__mbsnrtowcs): Likewise.
32933 (__wcsnrtombs): Likewise.
32934 (__wcsncpy): Likewise.
32935 (__wcpncpy): Likewise.
32936 (__wmemcpy): Likewise.
32937 (__wmempcpy): Likewise.
32938 (__wmemmove): Likewise.
32939 (__wcschrnul): Likewise.
32940 (__vfwscanf): Likewise.
32941 (__vswprintf): Likewise.
32942 (__fwprintf): Likewise.
32943 (__vfwprintf): Likewise.
32945 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32948 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32949 (__getgrgid_r): Likewise.
32950 (__getgrnam_r): Likewise.
32951 * include/pwd.h (__getpwuid_r): Likewise.
32952 (__getpwnam_r): Likewise.
32953 (__fgetpwent_r): Likewise.
32954 * include/shadow.h (__getspnam_r): Likewise.
32955 (__sgetspent_r): Likewise.
32956 (__fgetspent_r): Likewise.
32958 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32961 * include/unistd.h (__access): Add attribute_hidden.
32962 (__lseek64): Likewise.
32963 (__libc_pread64): Likewise.
32964 (__pipe2): Likewise.
32965 (__sleep): Likewise.
32966 (__chdir): Likewise.
32967 (__fchdir): Likewise.
32968 (__getcwd): Likewise.
32969 (__rmdir): Likewise.
32970 (__execvpe): Likewise.
32971 (__execve): Likewise.
32972 (__setsid): Likewise.
32973 (__getuid): Likewise.
32974 (__geteuid): Likewise.
32975 (__getgid): Likewise.
32976 (__getegid): Likewise.
32977 (__getgroups): Likewise.
32978 (__group_member): Likewise.
32979 (__ttyname_r): Likewise.
32980 (__isatty): Likewise.
32981 (__readlink): Likewise.
32982 (__unlink): Likewise.
32983 (__gethostname): Likewise.
32984 (__profil): Likewise.
32985 (__getdtablesize): Likewise.
32987 (__ftruncate): Likewise.
32988 (__ftruncate64): Likewise.
32990 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32993 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32994 * argp/argp-fs-xinl.c: Likewise.
32995 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32996 * argp/argp-parse.c: Include <argp.h>.
32997 * argp/argp-xinl.c: Likewise.
32998 * include/argp-fmtstream.h: New file.
32999 * include/argp.h (__argp_error): Add attribute_hidden.
33000 (__argp_failure): Likewise.
33001 (__argp_input): Likewise.
33002 (__argp_state_help): Likewise.
33004 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
33007 * include/wchar.h (____wcstof_l_internal): New prototype.
33008 (____wcstod_l_internal): Likewise.
33009 (____wcstold_l_internal): Likewise.
33010 (____wcstol_l_internal): Likewise.
33011 (____wcstoul_l_internal): Likewise.
33012 (____wcstoll_l_internal): Likewise.
33013 (____wcstoull_l_internal): Likewise.
33014 (____wcstof128_l_internal): Likewise.
33015 * sysdeps/ieee754/float128/wcstof128.c
33016 (____wcstof128_l_internal): Removed.
33017 * sysdeps/ieee754/float128/wcstof128_l.c
33018 (____wcstof128_l_internal): Likewise.
33019 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
33020 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
33021 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
33022 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
33023 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
33024 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
33025 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
33026 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
33027 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
33028 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
33030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
33033 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
33034 instead of <sys/statvfs.h>.
33035 (__internal_statvfs): Removed.
33036 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
33037 instead of <sys/statvfs.h>.
33038 (__internal_statvfs64): Removed.
33039 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
33040 "internal_statvfs.h" instead of <sys/statvfs.h>.
33041 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
33042 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
33043 instead of <sys/statvfs.h>.
33044 (__internal_statvfs): Removed.
33045 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
33046 instead of <sys/statvfs.h>.
33047 (__internal_statvfs64): Removed.
33049 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
33052 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
33053 (__gconv_close): Likewise.
33054 (__gconv): Likewise.
33055 (__gconv_find_transform): Likewise.
33056 (__gconv_lookup_cache): Likewise.
33057 (__gconv_compare_alias_cache): Likewise.
33058 (__gconv_load_cache): Likewise.
33059 (__gconv_get_path): Likewise.
33060 (__gconv_close_transform): Likewise.
33061 (__gconv_release_cache): Likewise.
33062 (__gconv_find_shlib): Likewise.
33063 (__gconv_release_shlib): Likewise.
33064 (__gconv_get_builtin_trans): Likewise.
33065 (__gconv_compare_alias): Likewise.
33066 * include/dlfcn.h (_dlerror_run): Likewise.
33067 * include/stdio.h (__fortify_fail_abort): Likewise.
33068 * include/time.h (__tz_compute): Likewise.
33069 (__strptime_internal): Likewise.
33070 * intl/gettextP.h (_nl_find_domain): Likewise.
33071 (_nl_load_domain): Likewise.
33072 (_nl_find_msg): Likewise.
33073 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
33074 (EXTRACT_PLURAL_EXPRESSION): Likewise.
33075 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
33076 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
33077 (__gai_find_request): Likewise.
33078 (__gai_remove_request): Likewise.
33079 (__gai_notify): Likewise.
33080 (__gai_notify_only): Likewise.
33081 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33082 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33083 (_dl_non_dynamic_init): Likewise.
33084 (_dl_aux_init): Likewise.
33085 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
33086 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33088 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
33089 (__wcsmbs_clone_conv): Likewise.
33090 (__wcsmbs_named_conv): Likewise.
33092 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
33095 * include/stdlib.h (__random): Add attribute_hidden.
33096 (__random_r): Likewise.
33097 (__srandom_r): Likewise.
33098 (__initstate_r): Likewise.
33099 (__setstate_r): Likewise.
33100 (__erand48_r): Likewise.
33101 (__nrand48_r): Likewise.
33102 (__jrand48_r): Likewise.
33103 (__srand48_r): Likewise.
33104 (__seed48_r): Likewise.
33105 (__lcong48_r): Likewise.
33106 (__drand48_iterate): Likewise.
33107 (__setenv): Likewise.
33108 (__unsetenv): Likewise.
33109 (__clearenv): Likewise.
33110 (__ptsname_r): Likewise.
33111 (__posix_openpt): Likewise.
33112 (__add_to_environ): Likewise.
33113 (__realpath): Add libc_hidden_proto.
33114 (__ecvt_r): Likewise.
33115 (__fcvt_r): Likewise.
33116 (__qecvt_r): Likewise.
33117 (__qfcvt_r): Likewise.
33118 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
33119 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
33121 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
33124 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
33125 * include/time.h (__mktime_internal): Likewise.
33126 * libio/iolibio.h (__fopen_internal): Likewise.
33128 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
33130 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
33132 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
33133 Correct offset used to restore PIC register.
33135 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
33138 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
33139 code to load address of __getcontext_ret when generating PIC code.
33141 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
33143 * elf/Makefile (tests-static-internal): Add
33144 tst-tls1-static-non-pie.
33145 (LDFLAGS-tst-tls1-static-non-pie): New.
33146 * elf/tst-tls1-static-non-pie.c: New file.
33148 2017-09-29 Joseph Myers <joseph@codesourcery.com>
33150 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
33151 (asinh): Define using libm_alias_double.
33152 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
33153 (cbrt): Define using libm_alias_double.
33154 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
33155 <libm-alias-double.h>.
33156 (copysign): Define using libm_alias_double.
33157 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
33158 (erf): Define using libm_alias_double.
33160 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
33161 (expm1): Define using libm_alias_double.
33162 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
33163 (fabs): Define using libm_alias_double.
33164 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
33166 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
33167 <libm-alias-double.h>.
33168 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
33170 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
33171 <libm-alias-double.h>.
33172 (getpayload): Define using libm_alias_double.
33173 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
33174 <libm-alias-double.h>.
33175 (llrint): Define using libm_alias_double.
33176 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
33177 (lrint): Define using libm_alias_double.
33178 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
33179 <libm-alias-double.h>.
33180 (nextup): Define using libm_alias_double.
33181 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
33182 <libm-alias-double.h>.
33183 (roundeven): Define using libm_alias_double.
33184 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
33186 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
33187 <libm-alias-double.h>.
33188 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
33189 using libm_alias_double.
33190 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
33191 (cos): Define using libm_alias_double.
33193 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
33194 <libm-alias-double.h>.
33195 (sincos): Define using libm_alias_double.
33196 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
33197 (tanh): Define using libm_alias_double.
33198 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
33199 <libm-alias-double.h>.
33200 (totalorder): Define using libm_alias_double.
33201 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
33202 <libm-alias-double.h>.
33203 (totalordermag): Define using libm_alias_double.
33204 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
33206 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
33208 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
33209 <libm-alias-double.h>.
33210 (getpayload): Define using libm_alias_double.
33211 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
33212 <libm-alias-double.h>.
33213 (roundeven): Define using libm_alias_double.
33214 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
33215 <libm-alias-double.h>.
33216 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
33217 <libm-alias-double.h>.
33218 (totalorder): Define using libm_alias_double.
33219 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
33220 <libm-alias-double.h>.
33221 (totalordermag): Define using libm_alias_double.
33222 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
33223 libc compat symbol here.
33224 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
33225 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
33226 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
33227 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
33228 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
33229 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
33230 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
33231 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
33232 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
33233 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
33235 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
33237 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
33238 _dl_relocate_static_pie instead of _dl_start to compute load
33239 address in static PIE. Return 0 if _DYNAMIC is undefined for
33242 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
33244 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
33245 _DYNAMIC is undefined for static executable.
33247 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
33249 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
33251 2017-09-29 Joseph Myers <joseph@codesourcery.com>
33253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33255 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
33257 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
33258 (__ieee754_lgamma_r): Use fabs rather than __fabs.
33259 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33260 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33261 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
33262 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
33263 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33264 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
33265 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
33266 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
33267 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
33268 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
33269 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33270 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
33271 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
33272 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33273 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
33275 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
33277 * math/bits/cmathcalls.h (cimag): Remove inline.
33278 (creal): Remove inline.
33279 (conj): Remove inline.
33281 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33283 * math/Makefile (type-float-routines): Add e_powf_log2_data.
33284 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
33285 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
33286 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
33287 (issignalingf_inline): Likewise.
33288 (POWF_LOG2_TABLE_BITS): Likewise.
33289 (POWF_LOG2_POLY_ORDER): Likewise.
33290 (POWF_SCALE_BITS): Likewise.
33291 (POWF_SCALE): Likewise.
33292 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
33293 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
33294 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
33296 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33298 * math/Makefile (type-float-routines): Add e_log2f_data.
33299 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
33300 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
33301 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
33302 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
33303 * sysdeps/i386/fpu/e_log2f_data.c: New file.
33304 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
33305 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
33307 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33309 * math/Makefile (type-float-routines): Add e_logf_data.
33310 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
33311 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
33312 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
33313 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
33314 * sysdeps/i386/fpu/e_logf_data.c: New file.
33315 * sysdeps/ia64/fpu/e_logf_data.c: New file.
33316 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
33318 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
33320 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
33321 undefined _DYNAMIC in PIE libc.a.
33322 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
33325 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
33327 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
33328 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
33329 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
33330 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
33331 (__signbit): Remove.
33332 (__signbitl): Remove.
33333 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
33334 (__signbit): Remove.
33335 (__signbitl): Remove.
33336 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
33337 (__signbit): Remove.
33338 (__signbitl): Remove.
33339 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
33340 (__signbit): Remove.
33341 (__signbitl): Remove.
33342 * sysdeps/tile/bits/mathinline.h: Delete file.
33343 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
33344 (__signbit): Remove.
33345 (__signbitl): Remove.
33347 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
33349 * math/math.h: Improve handling of C99 isgreater macros.
33350 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
33351 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
33352 * sysdeps/powerpc/bits/mathinline.h: Likewise.
33353 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33354 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
33356 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
33358 * sysdeps/aarch64/libm-test-ulps: Update.
33360 2017-09-28 Joseph Myers <joseph@codesourcery.com>
33363 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33364 math_opt_barrier on argument when doing arithmetic on it.
33365 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33366 Likewise. Use math_force_eval not math_opt_barrier after
33368 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
33369 math_opt_barrier on argument when doing arithmetic on it.
33370 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33373 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
33375 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
33377 (__freeifaddrs): Likewise.
33379 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33381 * include/dirent.h (__dirfd): New declaration.
33382 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
33384 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
33385 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
33386 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
33387 * include/unistd.h (__revoke): New declaration.
33388 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
33390 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
33391 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
33393 * include/dirent.h (__seekdir): New declaration.
33394 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
33395 redefine as weak alias.
33396 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
33398 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
33399 and use libc_hidden_def on them.
33400 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
33402 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
33403 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
33404 instead of getifaddrs and freeifaddrs.
33406 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
33409 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
33410 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
33411 (__dso_handle): Remove declaration.
33412 * dlfcn/tstatexit.c (__dso_handle): Removed.
33413 (main): Don't check __dso_handle.
33414 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
33415 (main): Don't check __dso_handle.
33416 * include/dso_handle.h: New file.
33417 * malloc/mtrace.c: Include <dso_handle.h>.
33418 (mtrace): Pass __dso_handle directly.
33419 * nptl/pthread_atfork.c: Include <dso_handle.h>.
33420 (__dso_handle): Remove declaration.
33421 (__pthread_atfork): Pass __dso_handle directly.
33422 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
33423 (__dso_handle): Removed.
33424 * posix/wordexp-test.c: Include <dso_handle.h>.
33425 (__dso_handle): Remove declaration.
33426 (__app_register_atfork): Pass __dso_handle directly.
33427 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
33428 (__dso_handle): Remove declaration.
33429 (at_quick_exit): Pass __dso_handle directly.
33430 * stdlib/atexit.c: Include <dso_handle.h>.
33431 (__dso_handle): Remove declaration.
33432 (atexit): Pass __dso_handle directly.
33433 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
33434 (__dso_handle): Removed.
33436 2017-09-26 Joseph Myers <joseph@codesourcery.com>
33438 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
33441 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
33443 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
33444 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
33445 values to correct default value for given type.
33447 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
33450 * elf/Makefile (tests): Add tst-debug1.
33451 ($(objpfx)tst-debug1): New.
33452 ($(objpfx)tst-debug1.out): Likewise.
33453 ($(objpfx)tst-debug1mod1.so): Likewise.
33454 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
33455 with p_filesz == 0.
33456 * elf/tst-debug1.c: New file.
33458 2017-09-26 Joseph Myers <joseph@codesourcery.com>
33460 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
33461 Define using __ifunc.
33463 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33465 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
33468 2017-09-26 Joseph Myers <joseph@codesourcery.com>
33471 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
33473 2017-09-26 Florian Weimer <fweimer@redhat.com>
33475 * resolv/Makefile (tests-internal): Fix typo in comment.
33477 2017-09-26 Florian Weimer <fweimer@redhat.com>
33479 * resolv/nss_dns/dns-host.c: Fix typo in comment.
33481 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33483 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
33484 Use an union instead of a max_align_t array for __space,
33485 so that __space is the same size on all platforms.
33486 * malloc/scratch_buffer_grow_preserve.c
33487 (__libc_scratch_buffer_grow_preserve): Likewise.
33490 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
33492 * posix/Makefile (routines): Add glob-lstat-compat and
33493 glob64-lstat-compat.
33494 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
33495 * posix/glob-lstat-compat.c: New file.
33496 * posix/glob64-lstat-compat.c: Likewise.
33497 * posix/tst-glob_lstat_compat.c: Likewise.
33498 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
33499 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
33500 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
33501 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
33503 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
33504 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33505 * posix/glob.c (glob_lstat): New function.
33506 (glob): Rename to __glob and add versioned symbol to 2.27.
33507 (glob_in_dir): Use glob_lstat.
33508 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
33509 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
33510 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
33512 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
33513 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
33514 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
33515 gl_lstat on glob call.
33516 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
33517 and glob64 symbols.
33518 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
33519 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
33520 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
33521 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
33522 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
33523 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
33524 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
33525 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
33526 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
33527 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
33528 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
33529 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
33530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
33532 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
33533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
33534 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
33535 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
33536 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
33537 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
33538 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
33539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
33540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
33541 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
33542 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
33543 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
33545 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
33547 * configure.ac (AS): Require binutils 2.25 or later.
33548 * configure: Regenerated.
33550 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33553 * stdlib/test-atexit-race-common.c (do_test): Minimize required
33556 2017-09-25 DJ Delorie <dj@redhat.com>
33559 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
33562 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
33564 * sysdeps/ieee754/dbl-64/sincos32.h
33565 [SINCCOS32_H]: Remove define.
33566 [SINCOS32_H]: Define.
33568 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33570 * math/Versions (expf): New libm symbol at GLIBC_2.27.
33572 * math/w_exp2f.c: New file.
33573 * math/w_expf.c: New file.
33574 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
33575 * math/w_expf_compat.c (__expf_compat): Likewise.
33576 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
33577 * sysdeps/ia64/fpu/e_expf.S: Likewise.
33578 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
33579 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
33580 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
33581 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
33582 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
33583 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
33584 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
33585 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
33586 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
33587 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33588 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
33589 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
33590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
33592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
33596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
33598 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
33599 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
33600 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
33601 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
33602 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
33603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
33605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
33607 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
33608 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
33609 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
33611 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33613 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
33614 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
33615 (roundtoint, converttoint): Likewise.
33616 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
33617 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33618 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33619 * sysdeps/ieee754/flt-32/math_config.h: New file.
33620 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33621 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33622 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33623 * sysdeps/i386/fpu/math_errf.c: New file.
33624 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33625 * sysdeps/ia64/fpu/math_errf.c: New file.
33626 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33627 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33629 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33631 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33632 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33633 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33634 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33635 to make sure that these symbols are defined.
33636 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33638 (__need_NULL): Do not define.
33639 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33641 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33642 CMGROUP_MAX, cmsgcred): Do not define.
33643 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33645 * bits/socket.h: Likewise.
33646 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33647 __gettimeofday instead of gettimeofday.
33648 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33649 instead of settimeofday.
33651 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33653 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33654 (asinhf): Define using libm_alias_float.
33655 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33656 (atanf): Define using libm_alias_float.
33657 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33658 (cbrtf): Define using libm_alias_float.
33659 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33660 (ceilf): Define using libm_alias_float.
33661 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33662 <libm-alias-float.h>.
33663 (copysignf): Define using libm_alias_float.
33664 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33665 (cosf): Define using libm_alias_float.
33666 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33667 (erff): Define using libm_alias_float.
33669 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33670 (expm1f): Define using libm_alias_float.
33671 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33672 (fabsf): Define using libm_alias_float.
33673 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33674 (floorf): Define using libm_alias_float.
33675 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33676 (frexpf): Define using libm_alias_float.
33677 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33679 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33680 <libm-alias-float.h>.
33681 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33683 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33684 <libm-alias-float.h>.
33685 (getpayloadf): Define using libm_alias_float.
33686 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33687 <libm-alias-float.h>.
33688 (llrintf): Define using libm_alias_float.
33689 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33690 <libm-alias-float.h>.
33691 (llroundf): Define using libm_alias_float.
33692 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33693 (logbf): Define using libm_alias_float.
33694 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33695 (lrintf): Define using libm_alias_float.
33696 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33697 (lroundf): Define using libm_alias_float.
33698 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33699 (modff): Define using libm_alias_float.
33700 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33701 <libm-alias-float.h>.
33702 (nearbyintf): Define using libm_alias_float.
33703 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33704 <libm-alias-float.h>.
33705 (nextafterf): Define using libm_alias_float.
33706 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33707 <libm-alias-float.h>.
33708 (nextupf): Define using libm_alias_float.
33709 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33710 <libm-alias-float.h>.
33711 (remquof): Define using libm_alias_float.
33712 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33713 (rintf): Define using libm_alias_float.
33714 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33715 <libm-alias-float.h>.
33716 (roundevenf): Define using libm_alias_float.
33717 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33718 (roundf): Define using libm_alias_float.
33719 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33720 using libm_alias_float.
33721 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33722 <libm-alias-float.h>.
33723 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33724 Define using libm_alias_float.
33725 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33726 <libm-alias-float.h>.
33727 (sincosf): Define using libm_alias_float.
33728 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33729 (sinf): Define using libm_alias_float.
33730 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33731 (tanf): Define using libm_alias_float.
33732 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33733 (tanhf): Define using libm_alias_float.
33734 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33735 <libm-alias-float.h>.
33736 (totalorderf): Define using libm_alias_float.
33737 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33738 <libm-alias-float.h>.
33739 (totalordermagf): Define using libm_alias_float.
33740 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33741 (truncf): Define using libm_alias_float.
33742 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33744 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33747 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33750 math/math.h: Let fpclassify use the builtin in C++ mode, even
33751 when optimazing for size.
33753 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33755 * csu/Makefile (generated): Do not add version-info.h.
33756 (before-compile): Likewise.
33757 (all-Banner-files): Remove variable.
33758 ($(objpfx)version-info.h): Remove rule.
33759 * csu/version.c (banner): Do not include "version-info.h".
33760 * libidn/Banner: Remove.
33761 * manual/contrib.texi (Simon Josefsson): New entry.
33763 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33765 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33766 Remove conditionals on LDBL_MANT_DIG.
33767 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33768 (__ieee754_lgammal_r): Likewise.
33770 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33772 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33774 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33775 _Float128 and L(). Replace _Float128 with long double and L(x)
33776 with xL, throughout the file.
33777 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33778 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33779 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33780 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33782 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33784 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33785 sysdeps/ieee754/ldbl-128ibm.
33786 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33787 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33788 of including it. Keep _Float128 and L() intact. These will be
33789 reviewed by a separate patch.
33790 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33791 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33792 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33795 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33798 (__finitef128): Define to __redirect___finitef128.
33799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33800 (__isinff128): Define to __redirect___isinff128.
33801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33802 (__isnanf128): Define to __redirect___isnanf128.
33804 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33806 * sysdeps/powerpc/powerpc64le/Makefile
33807 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33808 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33810 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33811 Carlos O'Donell <carlos@redhat.com>
33814 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33815 * stdlib/test-dlclose-exit-race.c: New file.
33816 * stdlib/test-dlclose-exit-race-helper.c: New file.
33817 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33819 2017-09-21 Joseph Myers <joseph@codesourcery.com>
33821 * crypt/Banner: Remove file.
33822 * nptl/Banner: Likewise.
33823 * resolv/Banner: Likewise.
33824 * soft-fp/Banner: Likewise.
33825 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33826 ($(objpfx)version.d): Remove dependency on banner.h.
33827 ($(objpfx)version.os): Likewise.
33828 * nptl/version.c (banner): Do not include banner.h.
33829 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33830 Jelinek and BIND code.
33832 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33833 Carlos O'Donell <carlos@redhat.com>
33835 * support/xdlfcn.h: New file.
33836 * support/xdlfcn.c: New file.
33837 * support/Makefile (libsupport-routines): Add xdlfcn.
33838 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33840 2017-09-20 Joseph Myers <joseph@codesourcery.com>
33843 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33844 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33845 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33846 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33847 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33848 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33849 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33850 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33852 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33853 Ricky Zhou <rickyz@google.com>
33854 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
33857 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33859 (__new_exitfn): Fail registration when we finished at_exit processing.
33860 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33861 * stdlib/on_exit.c (__on_exit): Likewise.
33862 * stdlib/exit.c (__exit_funcs_done): New variable.
33863 (__run_exit_handlers): Use __exit_funcs_lock.
33864 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33866 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33867 (test-cxa_atexit-race, test-on_exit-race): New tests.
33868 * stdlib/test-atexit-race-common.c: New file.
33869 * stdlib/test-atexit-race.c: New file.
33870 * stdlib/test-at_quick_exit-race.c: New file.
33871 * stdlib/test-cxa_atexit-race.c: New file.
33872 * stdlib/test-on_exit-race.c: New file.
33874 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33876 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33877 * benchtests/exp2f-inputs: Copy of expf-inputs.
33878 * benchtests/log2f-inputs: Copy of logf-inputs.
33880 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33882 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33883 Explicitly take address of first element of array arguments in
33884 call to INLINE_SYSCALL.
33886 2017-09-19 Andreas Schwab <schwab@suse.de>
33889 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33891 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33893 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33894 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33895 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33896 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33897 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33898 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33899 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33900 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33901 * posix/Makefile (tests): Add tst-fexecve.
33902 * posix/tst-fexecve.c: New file.
33904 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33906 * benchtests/Makefile: Add logf benchmark.
33907 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33909 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33911 * benchtests/Makefile: Add expf benchmark.
33912 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33914 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33916 * csu/Makefile: Add -funwind-tables to libc-start.c.
33917 * debug/Makefile: Add -funwind-tables to backtrace.c.
33918 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33919 * sysdeps/arm/Makefile: Likewise.
33920 * sysdeps/i386/Makefile: Likewise.
33921 * sysdeps/m68k/Makefile: Likewise.
33922 * sysdeps/mips/Makefile: Likewise.
33923 * sysdeps/nios2/Makefile: Likewise.
33924 * sysdeps/sh/Makefile: Likewise.
33925 * sysdeps/sparc/Makefile: Likewise.
33927 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33929 * benchtests/Makefile (bench-math): Add trunc and truncf.
33930 (CFLAGS-bench-trunc.c): New variable.
33931 (CFLAGS-bench-truncf.c): Likewise.
33932 * benchtests/trunc-inputs: New file.
33933 * benchtests/truncf-inputs: Likewise.
33935 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33937 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33939 2017-09-18 Joseph Myers <joseph@codesourcery.com>
33941 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33942 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33944 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33945 (exp10l): Define as weak alias.
33946 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33947 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33949 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33950 (remainderl): Define as weak alias.
33952 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33953 (fmal): Define using libm_alias_ldouble.
33954 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33955 (acoshl): Define using libm_alias_ldouble.
33956 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33957 (acosl): Define using libm_alias_ldouble.
33958 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33959 (asinl): Define using libm_alias_ldouble.
33960 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33961 (atan2l): Define using libm_alias_ldouble.
33962 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33963 (atanhl): Define using libm_alias_ldouble.
33964 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33965 (coshl): Define using libm_alias_ldouble.
33966 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33967 (exp10l): Define using libm_alias_ldouble.
33968 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33969 (exp2l): Define using libm_alias_ldouble.
33970 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33971 (expl): Define using libm_alias_ldouble.
33972 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33973 (fmodl): Define using libm_alias_ldouble.
33974 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33975 (hypotl): Define using libm_alias_ldouble.
33976 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33977 (j0l): Define using libm_alias_ldouble.
33979 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33980 (j1l): Define using libm_alias_ldouble.
33982 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33983 (jnl): Define using libm_alias_ldouble.
33985 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33986 (log10l): Define using libm_alias_ldouble.
33987 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33988 (log2l): Define using libm_alias_ldouble.
33989 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33990 (logl): Define using libm_alias_ldouble.
33991 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33992 (powl): Define using libm_alias_ldouble.
33993 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33994 (remainderl): Define using libm_alias_ldouble.
33995 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33996 (sinhl): Define using libm_alias_ldouble.
33997 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33998 (sqrtl): Define using libm_alias_ldouble.
33999 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
34000 (tgammal): Define using libm_alias_ldouble.
34001 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
34002 (exp10l): Do not use long_double_symbol here.
34003 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
34004 [LIBM_SVID_COMPAT] (remainderl): Likewise.
34005 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
34006 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34007 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34008 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34009 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34010 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34011 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34012 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
34013 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34014 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34015 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34016 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34017 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34018 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34019 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34020 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34021 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34022 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34023 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34024 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34026 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
34028 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
34029 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
34031 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
34033 * io/read.c (read): Add libc_hidden_weak.
34034 * sysdeps/mach/hurd/read.c (read): Likewise.
34035 * io/write.c (write): Likewise.
34036 * sysdeps/mach/hurd/write.c (write): Likewise.
34037 * io/pread64.c (__pread64): Likewise.
34038 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
34039 * posix/pread64.c (__pread64): Add libc_hidden_def.
34041 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
34043 * benchtests/scripts/compare_strings.py: New option -g.
34044 (draw_graph): Print a message that a graph is being generated.
34045 (process_results): Generate graph only if -g is passed.
34046 (main): Process option -g.
34048 * benchtests/scripts/compare_strings.py (process_results):
34049 Better spacing for output.
34051 * benchtests/scripts/compare_strings.py: Use argparse.
34052 * benchtests/README: Document existence of compare_strings.py.
34054 2017-09-15 Joseph Myers <joseph@codesourcery.com>
34056 * math/s_fma.c: Include <libm-alias-double.h>.
34057 (fma): Define using libm_alias_double.
34058 * math/s_nextafter.c: Include <libm-alias-double.h>.
34059 (nextafter): Define using libm_alias_double.
34060 * math/w_acos_compat.c: Include <libm-alias-double.h>.
34061 (acos): Define using libm_alias_double.
34062 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
34063 (aocsh): Define using libm_alias_double.
34064 * math/w_asin_compat.c: Include <libm-alias-double.h>.
34065 (asin): Define using libm_alias_double.
34066 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
34067 (atan2): Define using libm_alias_double.
34068 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
34069 (atanh): Define using libm_alias_double.
34070 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
34071 (cosh): Define using libm_alias_double.
34072 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
34073 (exp10): Define using libm_alias_double.
34074 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
34075 (exp2): Define using libm_alias_double.
34076 * math/w_exp_compat.c: Include <libm-alias-double.h>.
34077 (exp): Define using libm_alias_double.
34078 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
34079 (fmod): Define using libm_alias_double.
34080 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
34081 (hypot): Define using libm_alias_double.
34082 * math/w_j0_compat.c: Include <libm-alias-double.h>.
34083 (j0): Define using libm_alias_double.
34085 * math/w_j1_compat.c: Include <libm-alias-double.h>.
34086 (j1): Define using libm_alias_double.
34088 * math/w_jn_compat.c: Include <libm-alias-double.h>.
34089 (jn): Define using libm_alias_double.
34091 * math/w_log10_compat.c: Include <libm-alias-double.h>.
34092 (log10): Define using libm_alias_double.
34093 * math/w_log2_compat.c: Include <libm-alias-double.h>.
34094 (log2): Define using libm_alias_double.
34095 * math/w_log_compat.c: Include <libm-alias-double.h>.
34096 (log): Define using libm_alias_double.
34097 * math/w_pow_compat.c: Include <libm-alias-double.h>.
34098 (pow): Define using libm_alias_double.
34099 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
34100 (remainder): Define using libm_alias_double.
34101 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
34102 (sinh): Define using libm_alias_double.
34103 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
34104 (sqrt): Define using libm_alias_double.
34105 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
34106 (tgamma): Define using libm_alias_double.
34107 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
34108 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
34109 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
34110 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
34111 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
34112 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
34113 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
34114 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
34115 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
34116 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
34117 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
34118 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
34119 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
34120 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
34121 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
34122 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
34123 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
34124 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
34125 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
34126 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
34127 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
34128 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
34129 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
34130 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
34131 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
34133 * math/e_acoshl.c: Remove.
34134 * math/e_acosl.c: Likewise.
34135 * math/e_asinl.c: Likewise.
34136 * math/e_atan2l.c: Likewise.
34137 * math/e_atanhl.c: Likewise.
34138 * math/e_coshl.c: Likewise.
34139 * math/e_expl.c: Likewise.
34140 * math/e_fmodl.c: Likewise.
34141 * math/e_gammal_r.c: Likewise.
34142 * math/e_hypotl.c: Likewise.
34143 * math/e_j0l.c: Likewise.
34144 * math/e_j1l.c: Likewise.
34145 * math/e_jnl.c: Likewise.
34146 * math/e_lgammal_r.c: Likewise.
34147 * math/e_log10l.c: Likewise.
34148 * math/e_log2l.c: Likewise.
34149 * math/e_logl.c: Likewise.
34150 * math/e_powl.c: Likewise.
34151 * math/e_rem_pio2l.c: Likewise.
34152 * math/e_sinhl.c: Likewise.
34153 * math/e_sqrtf128.c: Likewise.
34154 * math/e_sqrtl.c: Likewise.
34155 * math/k_cosl.c: Likewise.
34156 * math/k_sinl.c: Likewise.
34157 * math/k_tanl.c: Likewise.
34158 * math/s_asinhl.c: Likewise.
34159 * math/s_atanl.c: Likewise.
34160 * math/s_cbrtl.c: Likewise.
34161 * math/s_erfl.c: Likewise.
34162 * math/s_expm1l.c: Likewise.
34163 * math/s_log1pl.c: Likewise.
34164 * math/s_tanhl.c: Likewise.
34166 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
34170 [$(subdir) = math] (sysdep_calls): New variable. Has the
34171 previous contents of sysdep_routines, but re-sorted..
34172 [$(subdir) = math] (sysdep_routines): Re-use the contents from
34174 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
34175 defined in sysdep_calls and replace by the respective m_* names.
34176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
34177 (compat_symbol): Undefine to avoid duplicated compat symbols in
34180 2017-09-15 Joseph Myers <joseph@codesourcery.com>
34182 * math/s_fmaf.c: Include <libm-alias-float.h>.
34183 (fmaf): Define using libm_alias_float.
34184 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
34185 (acosf): Define using libm_alias_float.
34186 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
34187 (acoshf): Define using libm_alias_float.
34188 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
34189 (asinf): Define using libm_alias_float.
34190 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
34191 (atan2f): Define using libm_alias_float.
34192 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
34193 (atanhf): Define using libm_alias_float.
34194 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
34195 (coshf): Define using libm_alias_float.
34196 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
34197 (exp10f): Define using libm_alias_float.
34198 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
34199 (fmodf): Define using libm_alias_float.
34200 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
34201 (hypotf): Define using libm_alias_float.
34202 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
34203 (j0f): Define using libm_alias_float.
34205 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
34206 (j1f): Define using libm_alias_float.
34208 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
34209 (jnf): Define using libm_alias_float.
34211 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
34212 (log10f): Define using libm_alias_float.
34213 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
34214 (log2f): Define using libm_alias_float.
34215 * math/w_logf_compat.c: Include <libm-alias-float.h>.
34216 (logf): Define using libm_alias_float.
34217 * math/w_powf_compat.c: Include <libm-alias-float.h>.
34218 (powf): Define using libm_alias_float.
34219 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
34220 (remainderf): Define using libm_alias_float.
34221 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
34222 (sinhf): Define using libm_alias_float.
34223 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
34224 (sqrtf): Define using libm_alias_float.
34225 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
34226 (tgammaf): Define using libm_alias_float.
34228 2017-09-14 Joseph Myers <joseph@codesourcery.com>
34230 * include/math.h (roundeven): Change hidden_proto call to
34232 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
34234 [NO_LONG_DOUBLE] (__j0l): New strong alias.
34235 (y0): Rename to __y0 and define as weak alias.
34236 [NO_LONG_DOUBLE] (__y0l): New strong alias.
34237 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
34239 (y0f): Rename to __y0f and define as weak alias.
34240 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
34242 [NO_LONG_DOUBLE] (__j1l): New strong alias.
34243 (y1): Rename to __y1 and define as weak alias.
34244 [NO_LONG_DOUBLE] (__y1l): New strong alias.
34245 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
34247 (y1f): Rename to __y1f and define as weak alias.
34248 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
34250 [NO_LONG_DOUBLE] (__jnl): New strong alias.
34251 (yn): Rename to __yn and define as weak alias.
34252 [NO_LONG_DOUBLE] (__ynl): New strong alias.
34253 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
34255 (ynf): Rename to __ynf and define as weak alias.
34256 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
34257 (fromfp): Define as weak alias.
34258 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
34259 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
34260 (fromfpx): Define as weak alias.
34261 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
34262 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
34263 __getpayload and define as weak alias.
34264 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
34265 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
34266 __roundeven and define as weak alias.
34267 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
34268 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
34270 (setpayload): Define as weak alias.
34271 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
34272 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
34274 (setpayloadsig): Define as weak alias.
34275 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
34276 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
34277 __totalorder and define as weak alias.
34278 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
34279 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
34280 to __totalordermag and define as weak alias.
34281 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
34282 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
34283 (ufromfp): Define as weak alias.
34284 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
34285 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
34287 (ufromfpx): Define as weak alias.
34288 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
34289 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
34290 Rename to __getpayload and define as weak alias.
34291 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
34292 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
34293 Rename to __roundeven and define as weak alias.
34294 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
34295 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
34296 Rename to __totalorder and define as weak alias.
34297 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
34298 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
34299 (totalordermag): Rename to __totalordermag and define as weak
34301 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
34302 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
34304 (__roundevenl): Likewise.
34305 (__totalorderl): Likewise.
34306 (__totalordermagl): Likewise
34307 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
34309 (fromfpf128): Define as weak alias.
34310 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
34312 (fromfpxf128): Define as weak alias.
34313 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
34315 (setpayloadf128): Define as weak alias.
34316 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
34317 __setpayloadsigf128.
34318 (setpayloadsigf128): Define as weak alias.
34319 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
34321 (ufromfpf128): Define as weak alias.
34322 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
34324 (ufromfpxf128): Define as weak alias.
34325 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
34326 (fromfpf): Define as weak alias.
34327 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
34329 (fromfpxf): Define as weak alias.
34330 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
34331 __getpayloadf and define as weak alias.
34332 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
34333 __roundevenf and define as weak alias.
34334 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
34336 (setpayloadf): Define as weak alias.
34337 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
34339 (setpayloadsigf): Define as weak alias.
34340 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
34341 __totalorderf and define as weak alias.
34342 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
34343 Rename to __totalordermagf and define as weak alias.
34344 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
34346 (ufromfpf): Define as weak alias.
34347 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
34349 (ufromfpxf): Define as weak alias.
34350 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
34352 (fromfpl): Define as weak alias.
34353 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
34355 (fromfpxl): Define as weak alias.
34356 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
34357 to __getpayloadl and define as weak alias.
34358 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
34359 __roundevenl and define as weak alias.
34360 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
34362 (setpayloadl): Define as weak alias.
34363 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
34365 (setpayloadsigl): Define as weak alias.
34366 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
34367 to __totalorderl and define as weak alias.
34368 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
34369 Rename to __totalordermagl and define as weak alias.
34370 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
34372 (ufromfpl): Define as weak alias.
34373 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
34375 (ufromfpxl): Define as weak alias.
34376 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
34378 (fromfpl): Define as weak alias.
34379 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
34381 (fromfpxl): Define as weak alias.
34382 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
34383 Rename to __getpayloadl and define as weak alias.
34384 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
34385 to __roundevenl and define as weak alias. Call __roundeven
34386 instead of roundeven.
34387 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
34389 (setpayloadl): Define as weak alias.
34390 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
34392 (setpayloadsigl): Define as weak alias.
34393 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
34394 Rename to __totalorderl and define as weak alias.
34395 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
34396 Rename to __totalordermagl and define as weak alias.
34397 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
34399 (ufromfpl): Define as weak alias.
34400 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
34402 (ufromfpxl): Define as weak alias.
34403 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
34405 (fromfpl): Define as weak alias.
34406 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
34408 (fromfpxl): Define as weak alias.
34409 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
34410 __getpayloadl and define as weak alias.
34411 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
34412 __roundevenl and define as weak alias.
34413 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
34415 (setpayloadl): Define as weak alias.
34416 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
34418 (setpayloadsigl): Define as weak alias.
34419 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
34420 __totalorderl and define as weak alias.
34421 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
34422 Rename to __totalordermagl and define as weak alias.
34423 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
34425 (ufromfpl): Define as weak alias.
34426 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
34428 (ufromfpxl): Define as weak alias.
34430 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
34432 * benchtests/bench-string.h (realloc_bufs): New function.
34433 (test_init): Call it.
34434 * benchtests/bench-memset-large.c (do_test): Likewise.
34435 * benchtests/bench-memset.c (do_test): Likewise.
34437 * benchtests/bench-memset-large.c: Print output in JSON
34439 * benchtests/bench-memset.c: Likewise.
34441 2017-09-14 Mike FABIAN <mfabian@redhat.com>
34444 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
34445 * iconvdata/Makefile: Add IBM858.
34446 * iconvdata/gconv-modules: Likewise.
34447 * iconvdata/tst-tables.sh: Likewise.
34448 * iconvdata/ibm858.c: New file.
34449 * localedata/charmaps/IBM858: Likewise.
34451 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
34454 * locales/niu_NZ (LC_TIME): copy "niu_NU".
34455 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
34457 2017-09-14 Mike FABIAN <mfabian@redhat.com>
34460 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
34461 and add tel_int_fmt.
34463 2017-09-14 Joseph Myers <joseph@codesourcery.com>
34465 * sysdeps/generic/libm-alias-float128.h: New file.
34466 * sysdeps/generic/math-type-macros-float128.h: Include
34467 <libm-alias-float128.h>.
34468 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34470 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34472 * sysdeps/generic/libm-alias-ldouble.h: New file.
34473 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
34474 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
34475 * sysdeps/generic/math-type-macros-ldouble.h: Include
34476 <libm-alias-ldouble.h>.
34477 [!declare_mgen_alias] (declare_mgen_alias): Define to use
34478 libm_alias_ldouble.
34480 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
34482 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
34483 * math/w_exp_compat.c: ... here.
34484 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
34485 * math/w_expf_compat.c: ... here.
34486 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
34487 * math/w_expl_compat.c: ... here.
34488 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
34489 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
34490 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
34491 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
34493 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34495 * math/w_scalbln_template.c (strong_alias): Do not undefine and
34497 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
34499 (ldexpl): Only define as compat symbol for libc, not libm.
34500 (scalbnl): Define as compat symbol for libc here.
34501 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
34502 define for [IS_IN (libc)].
34503 (__ldexpl_2): Remove alias.
34504 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
34505 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
34506 name in long_double_symbol call.
34507 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
34508 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34509 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34510 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
34511 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
34513 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
34514 Define as compat symbol.
34516 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34518 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
34519 * sysdeps/unix/sysv/linux/alpha/Makefile
34520 [$(subdir) = csu] (sysdep_routines): Remove rule.
34522 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34524 * sysdeps/generic/libm-alias-double.h: New file.
34525 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
34526 * sysdeps/generic/math-type-macros-double.h: Include
34527 <libm-alias-double.h>.
34528 [declare_mgen_alias] (declare_mgen_alias): Define to use
34530 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
34531 (M_LIBM_NEED_COMPAT): Remove macro.
34532 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
34533 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
34534 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
34536 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34537 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34538 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34539 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34540 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34541 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34542 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34543 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34544 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34545 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34546 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34547 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34548 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34549 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34550 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34551 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34552 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34553 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34554 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34555 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34556 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34557 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34558 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34559 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34560 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34561 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34562 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34563 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
34564 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
34566 (declare_mgen_alias): New macro.
34567 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
34568 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
34569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
34570 (M_LIBM_NEED_COMPAT): Remove macro.
34571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
34572 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
34573 <first-versions.h>.
34574 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
34575 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
34577 2017-09-12 Joseph Myers <joseph@codesourcery.com>
34579 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
34580 (declare_mgen_alias_2): Remove.
34581 * sysdeps/generic/math-type-macros-double.h
34582 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
34584 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
34586 (ldexp): Define with declare_mgen_alias.
34587 (scalbn): Likewise.
34589 2017-09-12 Steve Ellcey <sellcey@cavium.com>
34591 * grp/initgroups.c: Include config.h.
34592 (DEFAULT_CONFIG): New macro.
34593 (internal_getgrouplist): Use DEFAULT_CONFIG.
34594 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34595 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
34596 (DEFAULT_DEFCONFIG): New macro.
34597 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
34598 * nss/grp-lookup.c: Include config.h
34599 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
34600 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
34601 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
34602 * manual/nss.texi: Update default values section.
34604 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
34607 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
34609 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34610 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34611 Handle MathVec_Prefer_No_AVX512.
34612 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
34613 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
34616 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34618 * posix/sched_primax.c (__sched_get_priority_max): Add
34620 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34621 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34622 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34623 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34624 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34625 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34626 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34627 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34630 2017-09-11 Joseph Myers <joseph@codesourcery.com>
34632 * sysdeps/generic/libm-alias-float.h: New file.
34633 * sysdeps/generic/math-type-macros-float.h: Include
34634 <libm-alias-float.h>.
34635 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34637 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34640 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34641 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34642 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34643 (HWCAP_IMPORTANT): Likewise.
34644 (HWCAP_X86_64): New enum.
34645 (HWCAP_X86_AVX512_1): Updated.
34646 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34647 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34648 (modules-names): Add x86_64/tst-x86_64mod-1.
34649 (LDFLAGS-tst-x86_64mod-1.so): New.
34650 ($(objpfx)tst-x86_64-1): Likewise.
34651 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34652 (tst-x86_64-1-clean): Likewise.
34653 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34654 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34656 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34658 * po/sv.po: Update translations.
34659 * po/fr.po: Likewise.
34661 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34663 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34665 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34667 * elf/rtld-Rules: Fix $(error) use.
34669 2017-09-09 Mike FABIAN <mfabian@redhat.com>
34672 * libio/tst-widetext.input: Change âBengaliâ to âBanglaâ.
34673 * locale/iso-639.def: Change âBengaliâ to âBanglaâ.
34674 * localedata/locales/bn_BD: âBengaliâ was still used in some
34675 comments. Change it to âBanglaâ.
34677 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34679 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34681 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34683 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34684 thunderx2t99p1 to list of cpu names.
34685 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34686 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34688 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34690 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34691 Use strcmp instead of tunable_is_name.
34693 2017-09-08 Joseph Myers <joseph@codesourcery.com>
34695 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34696 (F_GET_RW_HINT): New macro.
34697 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34698 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34699 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34700 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34701 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34702 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34703 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34704 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34705 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34707 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34708 (F_ADD_SEALS): New macro.
34709 [__USE_GNU] (F_GET_SEALS): Likewise.
34710 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34711 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34712 [__USE_GNU] (F_SEAL_GROW): Likewise.
34713 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34715 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34717 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34718 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34719 * posix/glob_internal.h (__glob_pattern_type):
34720 * posix/glob.c (glob):
34721 * posix/glob_pattern_p.c (__glob_pattern_p):
34724 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34725 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34726 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34727 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34728 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34730 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34731 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34732 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34733 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34734 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34735 * sysdeps/wordsize-64/glob.c: Likewise.
34736 * sysdeps/wordsize-64/glob64.c: Likewise.
34737 * sysdeps/wordsize-64/globfree.c: Likewise.
34738 * sysdeps/wordsize-64/globfree64.c: Likewise.
34739 * sysdeps/unix/sysv/linux/glob.c: New file.
34740 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34741 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34742 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34743 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34744 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34745 adds !GLOB_NO_OLD_VERSION as an extra condition.
34746 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34747 using relative path instead of absolute one.
34748 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34749 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34750 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34751 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34752 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34753 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34756 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34757 (glob): Use the same scratch buffer for both getlogin_r and
34758 getpwnam_r. Donât require preallocation of the login name. This
34759 simplifies storage allocation, and corrects the handling of
34763 * posix/glob.c (glob): Port recent patches to platforms
34764 lacking getpwnam_r.
34765 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34766 returns an error number rather than setting errno.
34768 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34769 instead of GCC extension.
34770 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34771 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34772 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34776 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34777 * posix/bug-glob1.c: Remove file.
34778 * posix/tst-glob_symlinks.c: New file.
34779 * posix/glob.c (__lstat64): New macro.
34780 (is_dir): New function.
34781 (glob, glob_in_dir): Match symlinks even if they are dangling.
34782 (link_stat, link_exists_p): Remove. All uses removed.
34786 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34787 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34792 * posix/Makefile (routines): Add globfree, globfree64, and
34794 * posix/flexmember.h: New file.
34795 * posix/glob_internal.h: Likewise.
34796 * posix/glob_pattern_p.c: Likewise.
34797 * posix/globfree.c: Likewise.
34798 * posix/globfree64.c: Likewise.
34799 * sysdeps/gnu/globfree64.c: Likewise.
34800 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34801 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34802 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34803 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34804 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34805 * sysdeps/wordsize-64/globfree.c: Likewise.
34806 * sysdeps/wordsize-64/globfree64.c: Likewise.
34807 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34808 [NDEBUG): Remove comments.
34809 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34810 (dirent_type): New type. Use uint_fast8_t not
34811 uint8_t, as C99 does not require uint8_t.
34812 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34813 (struct readdir_result): Use dirent_type. Do not define skip_entry
34814 unless it is needed; this saves a byte on platforms lacking d_ino.
34815 (readdir_result_type, readdir_result_skip_entry):
34816 New functions, replacing ...
34817 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
34818 these functions, which were removed. This makes the callers
34819 easier to read. All callers changed.
34820 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34821 (size_add_wrapv, glob_use_alloca): New static functions.
34822 (glob, glob_in_dir): Check for size_t overflow in several places,
34823 and fix some size_t checks that were not quite right.
34824 Remove old code using SHELL since Bash no longer
34826 (glob, prefix_array): Separate MS code better.
34827 (glob_in_dir): Remove old Amiga and VMS code.
34828 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34830 (glob_in_dir): Do not rely on undefined behavior in accessing
34831 struct members beyond their bounds. Use a flexible array member
34833 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34834 0/1. Caller changed.
34835 (glob): Fix memory leaks.
34836 * posix/glob64 (globfree64): Move to separate file.
34837 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34838 (globfree64): Remove hidden alias.
34839 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34841 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34843 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34845 Move compat code to separate file.
34846 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34849 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34851 * resolv/tst-resolv-qtypes.c (domain): Changed to
34852 "const char domain[] =".
34854 2017-09-07 Joseph Myers <joseph@codesourcery.com>
34856 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34859 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34860 (TCP_MD5SIG_EXT): Likewise.
34861 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34862 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34863 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34865 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34867 2017-09-07 Mike FABIAN <mfabian@redhat.com>
34869 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34871 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
34874 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34876 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34878 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34879 before assuming that the file is empty. Avoid testing buffer content
34882 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34885 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34887 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34889 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34891 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34893 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34895 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34897 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34900 2017-09-06 Florian Weimer <fweimer@redhat.com>
34902 * malloc/dynarray_emplace_enlarge.c
34903 (__libc_dynarray_emplace_enlarge): Add missing else.
34905 2017-09-06 Florian Weimer <fweimer@redhat.com>
34908 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34909 case of failure to obtain the global conf object.
34911 2017-09-06 Florian Weimer <fweimer@redhat.com>
34914 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34915 dynarray allocation failure.
34917 2017-09-06 Florian Weimer <fweimer@redhat.com>
34919 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34920 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34921 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34923 (response): Call them. Add 'p', '6' flag processing.
34924 (test_reverse): New function.
34925 (test_get2_any): Call it.
34926 (test_no_inet6): Add 'p' test.
34927 (test_inet6): Likewise.
34929 2017-09-06 Florian Weimer <fweimer@redhat.com>
34931 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34932 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34934 (test_gai): Adjust query names. Add additional tests.
34935 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34936 test_get2. Adjust query names. Add additional tests.
34937 (test_no_inet6): New function, extracted from threadfunc.
34938 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34939 Add additional tests.
34941 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34944 * localedata/unicode-gen/utf8_gen.py: Set the width for
34945 characters with Prepended_Concatenation_Mark property to 1
34946 * localedata/charmaps/UTF-8: Updated using the improved script.
34948 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34951 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34952 use the range notation for all ranges of neighbouring characters
34953 with the same width.
34955 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34957 * sysdeps/generic/math-type-macros-double.h: Include
34958 <math-svid-compat.h>.
34959 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34960 * sysdeps/generic/math-type-macros-float.h: Include
34961 <math-svid-compat.h>.
34962 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34963 * sysdeps/generic/math-type-macros-ldouble.h: Include
34964 <math-svid-compat.h>.
34965 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34966 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34968 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34969 * math/w_acosf_compat.c: Likewise.
34970 * math/w_acosh_compat.c: Likewise.
34971 * math/w_acoshf_compat.c: Likewise.
34972 * math/w_acoshl_compat.c: Likewise.
34973 * math/w_acosl_compat.c: Likewise.
34974 * math/w_asin_compat.c: Likewise.
34975 * math/w_asinf_compat.c: Likewise.
34976 * math/w_asinl_compat.c: Likewise.
34977 * math/w_atan2_compat.c: Likewise.
34978 * math/w_atan2f_compat.c: Likewise.
34979 * math/w_atan2l_compat.c: Likewise.
34980 * math/w_atanh_compat.c: Likewise.
34981 * math/w_atanhf_compat.c: Likewise.
34982 * math/w_atanhl_compat.c: Likewise.
34983 * math/w_cosh_compat.c: Likewise.
34984 * math/w_coshf_compat.c: Likewise.
34985 * math/w_coshl_compat.c: Likewise.
34986 * math/w_exp10_compat.c: Likewise.
34987 * math/w_exp10f_compat.c: Likewise.
34988 * math/w_exp10l_compat.c: Likewise.
34989 * math/w_exp2_compat.c: Likewise.
34990 * math/w_exp2f_compat.c: Likewise.
34991 * math/w_exp2l_compat.c: Likewise.
34992 * math/w_fmod_compat.c: Likewise.
34993 * math/w_fmodf_compat.c: Likewise.
34994 * math/w_fmodl_compat.c: Likewise.
34995 * math/w_hypot_compat.c: Likewise.
34996 * math/w_hypotf_compat.c: Likewise.
34997 * math/w_hypotl_compat.c: Likewise.
34998 * math/w_j0_compat.c: Likewise.
34999 * math/w_j0f_compat.c: Likewise.
35000 * math/w_j0l_compat.c: Likewise.
35001 * math/w_j1_compat.c: Likewise.
35002 * math/w_j1f_compat.c: Likewise.
35003 * math/w_j1l_compat.c: Likewise.
35004 * math/w_jn_compat.c: Likewise.
35005 * math/w_jnf_compat.c: Likewise.
35006 * math/w_jnl_compat.c: Likewise.
35007 * math/w_lgamma_r_compat.c: Likewise.
35008 * math/w_lgammaf_r_compat.c: Likewise.
35009 * math/w_lgammal_r_compat.c: Likewise.
35010 * math/w_log10_compat.c: Likewise.
35011 * math/w_log10f_compat.c: Likewise.
35012 * math/w_log10l_compat.c: Likewise.
35013 * math/w_log2_compat.c: Likewise.
35014 * math/w_log2f_compat.c: Likewise.
35015 * math/w_log2l_compat.c: Likewise.
35016 * math/w_log_compat.c: Likewise.
35017 * math/w_logf_compat.c: Likewise.
35018 * math/w_logl_compat.c: Likewise.
35019 * math/w_pow_compat.c: Likewise.
35020 * math/w_powf_compat.c: Likewise.
35021 * math/w_powl_compat.c: Likewise.
35022 * math/w_remainder_compat.c: Likewise.
35023 * math/w_remainderf_compat.c: Likewise.
35024 * math/w_remainderl_compat.c: Likewise.
35025 * math/w_sinh_compat.c: Likewise.
35026 * math/w_sinhf_compat.c: Likewise.
35027 * math/w_sinhl_compat.c: Likewise.
35028 * math/w_sqrt_compat.c: Likewise.
35029 * math/w_sqrtf_compat.c: Likewise.
35030 * math/w_sqrtl_compat.c: Likewise.
35031 * math/w_tgamma_compat.c: Likewise.
35032 * math/w_tgammaf_compat.c: Likewise.
35033 * math/w_tgammal_compat.c: Likewise.
35034 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
35035 [LIBM_SVID_COMPAT].
35036 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
35037 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
35038 [LIBM_SVID_COMPAT].
35039 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
35040 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
35041 [LIBM_SVID_COMPAT].
35042 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
35043 * sysdeps/i386/fpu/w_sqrt.c: New file.
35044 * sysdeps/ia64/fpu/w_acos.c: Likewise.
35045 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
35046 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
35047 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
35048 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
35049 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
35050 * sysdeps/ia64/fpu/w_asin.c: Likewise.
35051 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
35052 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
35053 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
35054 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
35055 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
35056 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
35057 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
35058 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
35059 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
35060 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
35061 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
35062 * sysdeps/ia64/fpu/w_exp.c: Likewise.
35063 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
35064 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
35065 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
35066 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
35067 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
35068 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
35069 * sysdeps/ia64/fpu/w_expf.c: Likewise.
35070 * sysdeps/ia64/fpu/w_expl.c: Likewise.
35071 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
35072 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
35073 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
35074 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
35075 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
35076 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
35077 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
35078 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
35079 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
35080 * sysdeps/ia64/fpu/w_log.c: Likewise.
35081 * sysdeps/ia64/fpu/w_log10.c: Likewise.
35082 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
35083 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
35084 * sysdeps/ia64/fpu/w_log2.c: Likewise.
35085 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
35086 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
35087 * sysdeps/ia64/fpu/w_logf.c: Likewise.
35088 * sysdeps/ia64/fpu/w_logl.c: Likewise.
35089 * sysdeps/ia64/fpu/w_pow.c: Likewise.
35090 * sysdeps/ia64/fpu/w_powf.c: Likewise.
35091 * sysdeps/ia64/fpu/w_powl.c: Likewise.
35092 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
35093 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
35094 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
35095 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
35096 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
35097 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
35098 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
35099 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
35100 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
35101 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
35102 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
35103 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
35104 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
35105 [LIBM_SVID_COMPAT].
35106 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
35107 * sysdeps/ieee754/k_standard.c: Likewise.
35108 * sysdeps/ieee754/k_standardf.c: Likewise.
35109 * sysdeps/ieee754/k_standardl.c: Likewise.
35110 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
35111 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
35112 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
35113 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
35114 long_double_symbol call on [LIBM_SVID_COMPAT].
35115 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
35116 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
35117 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
35118 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
35119 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
35120 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
35121 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
35122 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
35123 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
35124 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
35125 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
35126 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
35127 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
35128 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
35129 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
35130 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
35131 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
35132 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
35133 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
35134 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
35135 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
35136 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
35138 2017-09-05 Steve Ellcey <sellcey@cavium.com>
35140 * include/shlib-compat.h (TEST_COMPAT): New Macro.
35141 * malloc/tst-mallocstate.c: Convert from test-skeleton
35142 to test-driver. Ifdef code using TEST_COMPAT macro.
35143 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
35144 * math/test-matherr.c: Likewise.
35146 2017-09-05 Joseph Myers <joseph@codesourcery.com>
35149 * debug/pcprofiledump.c (main): Use byte-swapped mask when
35150 comparing word with byte-swapped constant.
35152 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
35155 * locale/iso-639.def: add Miskito.
35156 * localedata/SUPPORTED: Add miq_NI/UTF-8.
35157 * localedata/locales/miq_NI: New file.
35159 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
35162 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
35163 (__mkdir): Likewise.
35164 * io/chmod.c (__chmod): Add libc_hidden_def.
35165 * io/mkdir.c (__mkdir): Likewise.
35166 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
35167 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
35168 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
35169 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
35171 2017-09-04 Joseph Myers <joseph@codesourcery.com>
35173 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
35177 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
35178 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
35180 2017-09-04 Florian Weimer <fweimer@redhat.com>
35182 * math/math.h: Issue warning if log is defined.
35184 2017-09-04 Joseph Myers <joseph@codesourcery.com>
35186 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
35187 kernel version to 4.13.
35189 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
35191 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
35192 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
35194 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
35195 just <bits/types.h>.
35196 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
35197 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
35198 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
35199 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
35200 * misc/preadv2.c: Include <errno.h>.
35201 * misc/preadv64v2.c: Include <errno.h>.
35202 * misc/pwritev2.c: Include <errno.h>.
35203 * misc/pwritev64v2.c: Include <errno.h>.
35204 * sysdeps/posix/preadv2.c: Include <errno.h>.
35205 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
35206 Fix <unistd.h> inclusion.
35207 * sysdeps/posix/pwritev2.c: Include <errno.h>.
35208 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
35209 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
35210 __strtoul_internal): New functions.
35211 * sysdeps/posix/pause.c: Include <sigsetops.h>.
35212 * sysdeps/posix/system.c: Include <sigsetops.h>.
35213 * sysdeps/mach/hurd/i386/Makefile
35214 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
35215 [$(subdir) = csu] (sysdep-only-routines): Likewise.
35216 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
35217 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
35218 __feraiseexcept_renamed to feraiseexcept instead of
35219 __GI_feraiseexcept.
35220 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
35221 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
35222 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
35223 RWF_NOWAIT): Define to 0 if undefined already.
35224 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
35226 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
35227 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
35229 2017-09-01 Joseph Myers <joseph@codesourcery.com>
35231 * manual/math.texi (pow10): Do not document.
35232 (pow10f): Likewise.
35233 (pow10l): Likewise.
35234 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
35235 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
35236 * math/libm-test-exp10.inc (pow10_test): Remove.
35237 (do_test): Do not call pow10.
35238 * math/w_exp10_compat.c (pow10): Make into compat symbol.
35239 [NO_LONG_DOUBLE] (pow10l): Likewise.
35240 * math/w_exp10f_compat.c (pow10f): Likewise.
35241 * math/w_exp10l_compat.c (pow10l): Likewise.
35242 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
35243 (pow10): Make into compat symbol.
35244 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
35245 (pow10f): Make into compat symbol.
35246 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
35247 (pow10l): Make into compat symbol.
35248 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
35250 (CFLAGS-nldbl-pow10.c): Remove variable..
35251 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
35252 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
35253 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
35254 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
35255 Undefine and redefine.
35256 (pow10l): Make into compat symbol.
35257 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
35258 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35259 * sysdeps/arm/libm-test-ulps: Likewise.
35260 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
35261 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35262 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
35263 * sysdeps/microblaze/libm-test-ulps: Likewise.
35264 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35265 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35266 * sysdeps/nios2/libm-test-ulps: Likewise.
35267 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35268 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35269 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35270 * sysdeps/sh/libm-test-ulps: Likewise.
35271 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35272 * sysdeps/tile/libm-test-ulps: Likewise.
35273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35275 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
35277 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
35279 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
35281 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
35282 "../ChangeLog.old/ChangeLog.8".
35283 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
35284 "../ChangeLog.old/ChangeLog.14".
35286 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
35288 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
35291 2017-09-01 Joseph Myers <joseph@codesourcery.com>
35293 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
35295 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
35297 * csu/version.c (banner): Remove "by Roland McGrath et al.".
35298 * nptl/Banner: Remove "by Ulrich Drepper et al.".
35300 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
35302 * stdlib/tst-atexit-common.c (do_test): Test support for at least
35303 32 atexit handlers.
35305 2017-09-01 Zack Weinberg <zackw@panix.com>
35307 * math/math.h (HUGE_VAL): Improve commentary.
35309 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35310 Andreas Schwab <schwab@suse.de>
35313 * include/stdio.h (__gen_tempfd): New function.
35314 * stdio-common/Makefile (routines): Add gentempfd.
35315 * stdio-common/gentempfd.c: New file.
35316 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
35317 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
35318 unnamed file first.
35320 2017-09-01 Florian Weimer <fweimer@redhat.com>
35324 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
35325 result to determine success or failure, not the errno value.
35326 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
35327 (tst-nss-files-hosts-erange): Link with -ldl.
35328 * nss/tst-nss-files-hosts-erange.c: New file.
35329 * nss/tst-resolv-basic.c (response): Handle nodata.example.
35330 (do_test): Add NO_DATA tests.
35331 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
35332 (do_test): Call it.
35334 2017-09-01 Florian Weimer <fweimer@redhat.com>
35337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
35338 coming from gethostbyname2_r.
35340 2017-09-01 Florian Weimer <fweimer@redhat.com>
35342 * support/namespace.h (struct support_chroot_configuration): Add
35344 (struct support_chroot): Add path_hosts, path_host_conf.
35345 * support/support_chroot.c (write_file): New function.
35346 (support_chroot_create): Call it to process /etc/resolv.conf,
35347 /etc/hosts, /etc/host.conf.
35348 (support_chroot_free): Update.
35350 2017-09-01 Florian Weimer <fweimer@redhat.com>
35352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
35353 status indicates it is set.
35355 2017-09-01 Florian Weimer <fweimer@redhat.com>
35358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
35359 function lookup failures more reliable.
35361 2017-09-01 Florian Weimer <fweimer@redhat.com>
35363 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
35364 (getcanonname): Likewise.
35365 (gaih_inet): Likewise.
35367 2017-09-01 Florian Weimer <fweimer@redhat.com>
35369 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
35370 (getcanonname): Likewise.
35371 (gaih_inet): Likewise.
35373 2017-08-31 Steve Ellcey <sellcey@cavium.com>
35374 Richard Henderson <rth@twiddle.net>
35376 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
35377 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
35378 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
35379 (IREG_SIZE, OREG_SIZE): New macros.
35380 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
35381 (IREG_SIZE, OREG_SIZE): New macros.
35382 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
35383 (IREG_SIZE): New macro.
35384 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
35385 (IREG_SIZE): New macro.
35386 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
35388 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
35389 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
35390 (__CONCATX): Handle exceptions correctly on large values that may
35392 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
35393 Initialize if not already set.
35394 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
35396 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35398 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
35399 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
35401 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
35403 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
35405 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
35407 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
35409 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
35411 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
35413 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
35414 (NO_CANCELLATION): Likewise.
35415 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
35417 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
35419 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
35421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
35422 (NO_CANCELLATION): Likewise.
35423 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
35424 (NO_CANCELLATION): Likewise.
35425 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
35427 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
35429 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
35431 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
35433 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
35435 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
35436 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
35438 2017-08-31 Steve Ellcey <sellcey@cavium.com>
35440 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
35443 2017-08-31 Florian Weimer <fweimer@redhat.com>
35445 * include/libc-symbols.h (internal_function): Remove.
35447 2017-08-31 Florian Weimer <fweimer@redhat.com>
35449 * stdlib/fmtmsg.c (internal_addseverity): Remove
35452 2017-08-31 Florian Weimer <fweimer@redhat.com>
35454 * stdio-common/printf_fp.c (group_number): Remove
35456 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
35458 2017-08-31 Florian Weimer <fweimer@redhat.com>
35460 * posix/fnmatch.c (internal_function): Remove definition.
35461 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
35462 * posix/regcomp.c (peek_token, init_word_char)
35463 (duplicate_node_closure, fetch_token, peek_token)
35464 (peek_token_bracket, build_range_exp, build_collating_symbol):
35466 * posix/regex_internal.c (re_string_construct_common)
35467 (create_ci_newstate, create_cd_newstate, re_string_allocate)
35468 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
35469 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
35470 (re_string_translate_buffer, re_string_reconstruct)
35471 (re_string_peek_byte_case, re_string_fetch_byte_case)
35472 (re_string_destruct, re_string_context_at, re_node_set_alloc)
35473 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
35474 (re_node_set_add_intersect, re_node_set_init_union)
35475 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
35476 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
35477 (re_dfa_add_node, calc_state_hash, re_acquire_state)
35478 (re_acquire_state_context): Likewise.
35479 * posix/regex_internal.h (internal_function): Remove definition.
35480 (re_string_realloc_buffers, build_wcs_buffer)
35481 (build_wcs_upper_buffer, build_upper_buffer)
35482 (re_string_translate_buffer, re_string_context_at)
35483 (re_string_char_size_at, re_string_wchar_at)
35484 (re_string_elem_size_at): Likewise.
35485 * posix/regexec.c (match_ctx_init, match_ctx_clean)
35486 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
35487 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
35488 (re_search_internal, re_search_2_stub, re_search_stub)
35489 (re_copy_regs, prune_impossible_nodes, check_matching)
35490 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
35491 (free_fail_stack_return, sift_states_iter_mb)
35492 (sift_states_backward, build_sifted_states)
35493 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
35494 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
35495 (check_subexp_limits, sift_states_bkref, merge_state_array)
35496 (find_recover_state, transit_state, merge_state_with_log)
35497 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
35498 (transit_state_mb, transit_state_bkref, get_subexp)
35499 (get_subexp_sub, find_subexp_node, check_arrival)
35500 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
35501 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
35502 (check_node_accept_bytes, find_collation_sequence_value)
35503 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
35504 (acquire_init_state_context, check_halt_node_context)
35505 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
35506 (sub_epsilon_src_nodes): Likewise.
35507 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
35508 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
35509 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
35510 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
35511 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
35512 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
35513 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
35514 * sysdeps/posix/ttyname.c (getttyname): Likewise.
35515 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
35516 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
35517 (PREADV): Likewise.
35518 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
35519 (PREADV): Likewise.
35520 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
35521 (PWRITEV): Likewise.
35522 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
35523 (PWRITEV): Likewise.
35524 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
35525 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
35527 2017-08-31 Florian Weimer <fweimer@redhat.com>
35529 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
35530 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
35531 Remove internal_function.
35532 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
35533 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
35534 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
35535 (__deallocate_stack, __libc_pthread_init)
35536 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
35537 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
35538 (__libc_disable_asynccancel, __librt_disable_asynccancel):
35540 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
35541 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
35542 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
35544 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
35545 (__pthread_mutex_unlock_usercnt): Likewise.
35547 2017-08-31 Florian Weimer <fweimer@redhat.com>
35549 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
35550 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
35551 (fts_safe_changedir): Remove internal_function.
35552 * io/ftw.c (internal_function): Remove definition.
35553 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
35555 2017-08-31 Florian Weimer <fweimer@redhat.com>
35557 * inet/deadline.c (__deadline_current_time)
35558 (__deadline_from_timeval, __deadline_to_ms): Remove
35560 * inet/getnameinfo.c (nrl_domainname): Likewise.
35561 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
35562 * inet/inet6_option.c (add_pad): Likewise.
35563 * inet/net-internal.h (__deadline_current_time)
35564 (__deadline_from_timeval, __deadline_to_ms): Likewise.
35565 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
35566 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
35567 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
35569 2017-08-31 Joseph Myers <joseph@codesourcery.com>
35571 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
35572 include <bits/nan.h>.
35573 * math/Makefile (headers): Remove bits/nan.h.
35574 * bits/nan.h: Remove.
35575 * sysdeps/ieee754/bits/nan.h: Likewise.
35576 * sysdeps/mips/bits/nan.h: Likewise.
35578 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
35579 not include <bits/inf.h>.
35580 * math/Makefile (headers): Remove bits/inf.h.
35581 * bits/inf.h: Remove.
35582 * sysdeps/ieee754/bits/inf.h: Likewise.
35584 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
35585 bits/huge_vall.h or bits/huge_val_flt128.h.
35586 (HUGE_VAL): Define directly here.
35587 [__USE_ISOC99] (HUGE_VALF): Likewise.
35588 [__USE_ISOC99] (HUGE_VALL): Likewise.
35589 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35590 (HUGE_VAL_F128): Likewise.
35591 * math/Makefile (headers): Remove bits/huge_val.h,
35592 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
35593 * bits/huge_val.h: Remove.
35594 * bits/huge_val_flt128.h: Likewise.
35595 * bits/huge_valf.h: Likewise.
35596 * bits/huge_vall.h: Likewise.
35597 * sysdeps/ia64/bits/huge_vall.h: Likewise.
35598 * sysdeps/ieee754/bits/huge_val.h: Likewise.
35599 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
35600 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
35601 * sysdeps/sh/bits/huge_val.h: Likewise.
35602 * sysdeps/sparc/bits/huge_vall.h: Likewise.
35603 * sysdeps/x86/bits/huge_vall.h: Likewise.
35605 2017-08-31 Florian Weimer <fweimer@redhat.com>
35607 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
35609 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
35611 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
35612 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35613 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
35614 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
35615 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35616 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35617 * elf/dl-libc.c (dlerror_run): Likewise.
35618 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35619 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35620 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35621 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35623 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35624 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35625 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35626 * elf/dl-profile.c (_dl_start_profile): Likewise.
35627 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35628 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35630 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35631 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35632 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35633 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35634 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35635 (_dl_allocate_tls_storage): Likewise.
35636 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35637 (_dl_check_all_versions): Likewise.
35638 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35639 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35640 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35641 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35642 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35643 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35644 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35645 internal_function from __dl_start.
35646 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35647 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35648 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35649 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35650 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35651 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35652 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35653 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35654 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35655 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35656 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35657 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35658 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35659 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35660 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35662 (struct rtld_global_ro): Remove internal_function from the
35663 _dl_lookup_symbol_x member.
35664 (_dl_symbol_value): Remove. No longer defined anywhere.
35665 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35667 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35668 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35669 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35670 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35671 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35672 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35673 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35674 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35675 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35676 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35677 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35678 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35680 2017-08-31 Florian Weimer <fweimer@redhat.com>
35682 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35683 Remove internal_function.
35684 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35686 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35689 2017-08-31 Florian Weimer <fweimer@redhat.com>
35691 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35692 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35693 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35695 2017-08-31 Florian Weimer <fweimer@redhat.com>
35697 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35698 (__gai_enqueue_request): Remove internal_function.
35699 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35700 (__gai_remove_request, __gai_notify, __gai_notify_only)
35701 (__gai_sigqueue): Likewise.
35702 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35703 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35704 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35705 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35708 2017-08-31 Florian Weimer <fweimer@redhat.com>
35710 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35711 * include/dirent.h (__opendirat, __getdents, __getdents64)
35712 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35713 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35714 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35715 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35717 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35719 2017-08-31 Florian Weimer <fweimer@redhat.com>
35721 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35723 (GETCWD_RETURN_TYPE): Likewise.
35725 2017-08-31 Florian Weimer <fweimer@redhat.com>
35727 * include/time.h (__tz_compute, __strptime_internal): Remove
35729 * time/strptime_l.c (__strptime_internal): Likewise.
35730 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35732 2017-08-31 Florian Weimer <fweimer@redhat.com>
35734 * iconv/gconv.c (__gconv): Remove internal_function.
35735 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35736 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35737 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35738 (__gconv_release_cache): Likewise.
35739 * iconv/gconv_close.c (__gconv_close): Likewise.
35740 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35741 (read_conf_file, __gconv_get_path): Likewise.
35742 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35743 (__gconv_release_step, gen_steps, increment_counter)
35744 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35745 (__gconv_close_transform, free_modules_db): Likewise.
35746 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35748 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35749 (__gconv_find_transform, __gconv_lookup_cache)
35750 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35751 (__gconv_close_transform, __gconv_release_cache)
35752 (__gconv_loaded_object, __gconv_release_shlib)
35753 (__gconv_compare_alias): Likewise.
35754 * iconv/gconv_open.c (__gconv_open): Likewise.
35755 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35756 * iconv/iconvconfig.c (add_module): Likewise.
35757 * intl/dcigettext.c (plural_lookup, guess_category_value)
35758 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35759 * intl/eval-plural.h (plural_eval): Likewise.
35760 * intl/finddomain.c (_nl_find_domain): Likewise.
35761 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35762 (_nl_load_domain, _nl_find_msg): Likewise.
35763 (internal_function): Remove definition.
35764 * intl/loadinfo.h (internal_function): Likewise.
35765 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35767 * intl/localealias.c (internal_function): Remove definition.
35768 (read_alias_file): Remove internal_function.
35769 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35770 * intl/plural-exp.h (internal_function): Remove definition.
35771 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35773 * intl/plural.c: Regenerate.
35774 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35775 * locale/coll-lookup.c (__collidx_table_lookup)
35776 (__collseq_table_lookup): Likewise.
35777 * locale/coll-lookup.h (__collidx_table_lookup)
35778 (__collseq_table_lookup): Likewise.
35779 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35780 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35781 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35782 (_nl_unload_locale): Likewise.
35783 * locale/localeinfo.h (struct __locale_data): Remove
35784 internal_function from cleanup member.
35785 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35786 (_nl_remove_locale, _nl_load_locale_from_archive)
35787 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35788 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35789 (_nl_cleanup_time): Remove internal_function.
35790 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35791 (_nl_parse_alt_digit): Likewise.
35792 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35793 (_nl_select_era_entry): Likewise.
35794 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35795 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35796 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35797 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35798 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35800 2017-08-31 Florian Weimer <fweimer@redhat.com>
35802 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35803 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35804 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35805 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35807 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35808 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35809 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35810 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35812 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35814 2017-08-31 Florian Weimer <fweimer@redhat.com>
35816 * misc/getttyent.c (skip, value): Remove internal_function.
35817 * misc/syslog.c (openlog_internal): Likewise.
35818 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35820 2017-08-31 Florian Weimer <fweimer@redhat.com>
35822 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35823 (__nss_rewrite_field): Remove internal_function.
35824 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35825 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35826 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35827 * nss/nsswitch.c (nss_parse_file, nss_getline)
35828 (nss_parse_service_list, nss_new_service): Likewise.
35829 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35830 * nss/valid_field.c (__nss_valid_field): Likewise.
35831 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35833 2017-08-31 Florian Weimer <fweimer@redhat.com>
35835 * malloc/arena.c (__malloc_fork_lock_parent)
35836 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35837 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35838 internal_function from defintions.
35839 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35840 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35841 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35842 internal_function from declarations.
35843 * malloc/malloc.c (internal_function): Do not define.
35844 (mem2mem_check): Remove internal_function from declaration.
35845 (munmap_chunk, mremap_chunk): Remove internal_function.
35846 * malloc/mtrace.c (tr_where): Likewise.
35848 2017-08-31 Florian Weimer <fweimer@redhat.com>
35850 * include/rpc/pmap_clnt.h (__get_socket): Remove
35852 * sunrpc/auth_des.c (synchronize): Likewise.
35853 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35854 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35855 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35856 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35857 (key_call): Likewise.
35858 * sunrpc/pm_getport.c (__get_socket): Likewise.
35859 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35860 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35861 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35862 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35863 (invalidate): Likewise.
35864 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35865 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35866 (set_input_fragment, get_input_bytes): Likewise.
35868 2017-08-31 Florian Weimer <fweimer@redhat.com>
35870 * malloc/malloc.c (_int_free): Remove locked variable and related
35873 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35876 * Makerules (build-module-helper-objlist): Filter out
35877 $(elf-objpfx)sofini.os.
35878 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35881 2017-08-31 Florian Weimer <fweimer@redhat.com>
35883 * libio/fcloseall.c: Assume weak_alias is defined.
35884 * libio/feof.c: Likewise.
35885 * libio/fileno.c: Likewise.
35886 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35887 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35889 (_IO_file_open): Call __open directly.
35890 (_IO_new_file_sync): Assume ESPIPE is defined.
35891 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35892 (_IO_new_file_write): Call __write directly.
35893 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35894 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35895 * libio/genops.c: Assume _LIBC is defined.
35896 (save_for_backup): Remove internal_function.
35897 * libio/getc.c: Assume weak_alias is defined.
35898 * libio/getwc.c: Likewise.
35899 * libio/iofclose.c: Assume _LIBC is defined.
35900 * libio/iofdopen.c: Likewise.
35901 (_IO_fcntl): Remove macro definition.
35902 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35903 Call __fcntl directly.
35904 * libio/iofflush.c: Assume weak_alias is defined.
35905 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35907 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35908 * libio/iofgets.c: Likewise.
35909 * libio/iofopen.c: Assume _LIBC is defined.
35910 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35911 * libio/iofputs.c: Assume weak_alias is defined.
35912 * libio/iofread.c: Likewise.
35913 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35914 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35915 * libio/ioftell.c: Assume weak_alias is defined.
35916 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35917 * libio/iofwide.c: Assume _LIBC is defined.
35918 (_IO_fwide): Drop SHARED conditional because it is implied by
35920 * libio/iofwrite.c: Assume weak_alias is defined.
35921 * libio/iogetdelim.c: Likewise.
35922 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35923 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35924 (_IO_getwline): Call __wmemcpy directly.
35925 * libio/iopopen.c: Assume _LIBC is defined.
35926 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35927 (_IO_close): Remove macro definitions.
35928 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35930 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35932 * libio/ioputs.c: Assume weak_alias is defined.
35933 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35934 * libio/iosetbuffer.c: Assume weak_alias is defined.
35935 * libio/iosetvbuf.c: Likewise.
35936 * libio/ioungetc.c: Likewise.
35937 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35938 libc_hidden_def, libc_hidden_weak, NULL are defined.
35939 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35940 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35942 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35944 (_IO_old_file_init_internal): Drop SHARED conditional because it
35945 is implied by SHLIB_COMPAT.
35946 (_IO_old_file_fopen): Call __open directly.
35947 (_IO_old_file_sync): Assume ESPIPE is defined.
35948 (_IO_old_file_write): Call __write directly.
35949 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35950 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35951 Call __fcntl directly.
35952 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35953 (_IO_old_fgetpos): Assume EIO is defined.
35954 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35955 (_IO_old_fgetpos64): Assume EIO is defined.
35956 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35957 (_IO_old_fsetpos): Assume EIO is defined.
35958 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35959 (_IO_old_fsetpos64): Assume EIO is defined.
35960 * libio/oldiopopen.c: Assume _LIBC is defined.
35961 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35962 (_IO_close): Remove macro definitions.
35963 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35965 (_IO_old_proc_close): Call __close, __waitpid directly.
35966 * libio/put.c: Assume weak_alias is defined.
35967 * libio/stdfiles.c: Assume _LIBC is defined.
35968 * libio/stdio.c: Likewise.
35969 * libio/wfileops.c: Likewise.
35970 (_IO_wfile_sync): Assume ESPIPE is defined.
35971 * libio/wgenops.c: Assume _LIBC is defined.
35972 (save_for_wbackup): Remove internal_function.
35974 2017-08-31 Florian Weimer <fweimer@redhat.com>
35976 * malloc/malloc.c (top_check): Change return type to void. Remove
35978 * malloc/hooks.c (top_check): Likewise.
35979 (malloc_check, realloc_check, memalign_check): Adjust.
35981 2017-08-30 Joseph Myers <joseph@codesourcery.com>
35984 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35985 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35986 sigcontext and namespace requirements.
35987 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35988 * sysdeps/m68k/sys/ucontext.h: Likewise.
35989 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35990 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35991 <bits/sigcontext.h>.
35992 (__ctx): Define earlier.
35993 (mcontext_t): Define structure contents rather than using struct
35995 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35996 __glibc_reserved1 instead of __reserved.
35997 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35998 <bits/sigcontext.h>.
35999 (__ctx): Define earlier.
36000 (mcontext_t): Define structure contents rather than using struct
36002 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
36003 mcontext_t instead of struct sigcontext.
36004 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
36005 <bits/sigcontext.h>.
36006 (__ctx): Define earlier.
36007 (mcontext_t): Define structure contents rather than using struct
36009 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
36010 <bits/sigcontext.h>.
36011 (__ctx): Define earlier.
36012 (mcontext_t): Define structure contents rather than using struct
36014 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
36015 mcontext_t instead of struct sigcontext.
36016 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
36017 mcontext_t instead of struct sigcontext.
36018 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
36019 <bits/sigcontext.h>.
36020 (__ctx): New macro.
36021 (struct __ia64_fpreg_mcontext): New type.
36022 (mcontext_t): Define structure contents rather than using struct
36024 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
36025 (uc_sigmask): Define using __ctx.
36026 (uc_stack): Likewise.
36027 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
36028 <bits/sigcontext.h>.
36029 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36030 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
36031 <bits/sigcontext.h>.
36032 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
36033 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
36034 <bits/sigcontext.h>.
36035 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
36036 <bits/sigcontext.h>.
36037 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
36038 <bits/sigcontext.h>.
36039 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
36040 <bits/sigcontext.h>.
36041 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
36042 <bits/sigcontext.h>.
36043 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
36044 <bits/sigcontext.h>.
36045 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
36046 <bits/sigcontext.h>.
36047 (__ctx): Define earlier.
36048 (mcontext_t): Define structure contents rather than using struct
36050 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
36051 <bits/sigcontext.h>. Include <bits/types.h>.
36052 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
36053 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
36054 (test-xfail-XPG42/ucontext.h/conform): Likewise.
36055 (test-xfail-UNIX98/signal.h/conform): Likewise.
36056 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36057 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36058 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36059 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36060 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36061 (test-xfail-POSIX2008/signal.h/conform): Likewise.
36062 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36063 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36064 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36066 2017-08-30 Florian Weimer <fweimer@redhat.com>
36068 * malloc/dynarray_emplace_enlarge.c
36069 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
36070 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
36071 * malloc/tst-dynarray.c (test_long_overflow): New function.
36072 (do_test): Call it.
36074 2017-08-30 Florian Weimer <fweimer@redhat.com>
36076 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
36077 (set_arena_corrupt): Remove definitions.
36078 (mtrim): Do not check for corrupt arena.
36079 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
36082 2017-08-30 Florian Weimer <fweimer@redhat.com>
36085 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
36087 (ptmalloc_init): Do not set or use check_action.
36088 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
36089 call to malloc_printerr. Remove return statement.
36090 (free_check): Likewise. Remove arena unlock.
36091 (top_check): Update comment. Adjust call to malloc_printerr.
36092 Remove heap repair code.
36093 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
36094 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
36095 (sysmalloc): Adjust call to malloc_printerr.
36096 (munmap_chunk, __libc_realloc): Likewise. Remove return
36098 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
36099 Remove errout label and corresponding gotos.
36100 (_int_free): Likewise. Remove arena unlock.
36101 (do_set_mallopt_check): Do not set check_action.
36102 (malloc_printerr): Adjust parameter list. Do not mark arena as
36104 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
36106 * manual/probes.texi (Memory Allocation Probes): Remove
36107 memory_mallopt_check_action.
36109 2017-08-30 Steve Ellcey <sellcey@cavium.com>
36111 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
36112 Use pointer to uint64_t instead of long int for sp.
36114 2017-08-30 Florian Weimer <fweimer@redhat.com>
36117 * malloc/malloc.c (malloc_printerr): Always terminate the process,
36118 without printing a backtrace. Do not leak any information in the
36120 * manual/memory.texi (Heap Consistency Checking): Update.
36121 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
36123 2017-08-30 Florian Weimer <fweimer@redhat.com>
36125 Do not scale NPTL tests with available number of CPUs.
36126 * nptl/tst-cond16.c (count): Set to constant value of 8.
36127 * nptl/tst-cond18.c (count): Likewise.
36129 2017-08-29 Joseph Myers <joseph@codesourcery.com>
36132 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
36133 Define to take a second argument that is a macro that
36134 concatentates a suffix, not the suffix itself.
36135 (__CONCAT_d): New macro.
36136 (__CONCAT_f): Likewise.
36137 (__CONCAT_l): Likewise.
36139 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
36141 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
36144 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36145 Aurelien Jarno <aurelien@aurel32.net>
36146 Maciej W. Rozycki <macro@imgtec.com>
36149 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
36150 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
36151 `mips16-syscall6' and `mips16-syscall7'.
36152 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
36153 (CFLAGS-mips16-syscall7.c): Remove.
36154 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
36155 Remove `__mips16_syscall5', `__mips16_syscall6' and
36156 `__mips16_syscall7'.
36157 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
36158 (__mips16_syscall0): Rename `__mips16_syscall_return' to
36159 `__mips_syscall_return'.
36160 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
36161 (__mips16_syscall1): Likewise.
36162 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
36163 (__mips16_syscall2): Likewise.
36164 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
36165 (__mips16_syscall3): Likewise.
36166 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
36167 (__mips16_syscall4): Likewise.
36168 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
36170 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
36172 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
36174 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
36175 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
36176 `__mips16_syscall5'. Remove prototype.
36177 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
36178 `__mips16_syscall6'. Remove prototype.
36179 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
36180 `__mips16_syscall7'. Remove prototype.
36181 (__nomips16, __mips16_syscall_return): Move to...
36182 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
36183 (__nomips16, __mips_syscall_return): ... here.
36184 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
36185 `__mips16_syscall_return' to `__mips_syscall_return'.
36186 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
36187 `internal_syscall##nr'.
36188 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
36189 `internal_syscall##nr'.
36190 (FORCE_FRAME_POINTER): Remove.
36191 (__mips_syscall5): New prototype.
36192 (internal_syscall5): Rewrite to call `__mips_syscall5'.
36193 (__mips_syscall6): New prototype.
36194 (internal_syscall6): Rewrite to call `__mips_syscall6'.
36195 (__mips_syscall7): New prototype.
36196 (internal_syscall7): Rewrite to call `__mips_syscall7'.
36197 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
36198 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
36199 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
36200 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
36201 (sysdep_routines): Add libc-do-syscall.
36202 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
36203 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
36205 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36208 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
36209 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
36210 (advise_stack_range): New function.
36211 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
36212 stack non required to advise_stack_range at allocatestack.c
36214 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
36216 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
36218 2017-08-29 Florian Weimer <fweimer@redhat.com>
36221 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
36222 __end_fct. Mangle __end_fct after setting it to NULL.
36223 * iconv/Makefile (tests): Add tst-gconv-init-failure.
36224 (modules-names, modules-names-tests): Add
36225 tst-gconv-init-failure-mod.
36226 (gconv-modules): New target.
36227 (tst-gconv-init-failure-mod.so): Link against libsupport.
36228 (tst-gconv-init-failure): Depend on gconv-modules,
36229 tst-gconv-init-failure-mod.so.
36230 * iconv/tst-gconv-init-failure-mod.c: New file.
36231 * iconv/tst-gconv-init-failure.c: Likewise.
36232 * iconv/test-gconv-modules: Likewise.
36234 2017-08-29 Florian Weimer <fweimer@redhat.com>
36237 * iconv/gconv_db.c (free_derivation): Remove redundant
36239 (gen_steps): Unconditionally mangle __btowc_fct after
36241 (increment_counter): Likewise. Do not call init_fct for internal
36244 2017-08-29 Joseph Myers <joseph@codesourcery.com>
36247 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
36248 (_MSUF_): Remove macro.
36249 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
36251 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
36252 (__REDIRFROM_X): New macro.
36253 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
36255 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
36256 (__REDIRTO_X): Likewise.
36257 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
36259 (__MATH_REDIRCALL_2): Likewise.
36260 (__MATH_REDIRCALL_INTERNAL): Likewise.
36261 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
36262 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
36263 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
36264 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
36265 * math/test-finite-macros.c: New file.
36266 * math/Makefile (tests): Add test-finite-macros.
36267 (CFLAGS-test-finite-macros.c): New variable.
36269 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
36270 Jeff Law <law@redhat.com>
36273 Mangle NULL pointers in iconv/gconv.
36274 * iconv/gconv_cache.c (find_module): Demangle init_fct before
36275 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
36276 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
36277 is non-NULL before demangling the end_fct. Check for NULL
36278 end_fct after demangling.
36279 (__gconv_release_step): Demangle the end_fct before checking
36280 it for NULL. Remove assert on __shlibc_handle != NULL.
36281 (gen_steps): Don't check btowc_fct for NULL before mangling.
36282 Demangle init_fct before checking for NULL.
36283 (increment_counter): Likewise.
36284 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
36285 end_fct for NULL before mangling.
36286 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
36289 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
36292 * locale/iso-639.def: add Morisyen.
36294 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36297 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
36298 (iszero): New C++ implementation that does not use
36299 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
36300 signaling nans are enabled, since __builtin_types_compatible_p
36301 is a C-only feature.
36302 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
36303 defined, include ieee754_float128.h for access to the union and
36304 member ieee854_float128.ieee.
36305 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
36306 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
36307 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36308 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
36309 options of test-math-zero on powerpc64le.
36311 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
36313 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
36314 Change double to float.
36316 2017-08-28 Joseph Myers <joseph@codesourcery.com>
36318 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
36320 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
36321 conditional code; define contents only for [LIBM_SVID_COMPAT].
36323 2017-08-28 Florian Weimer <fweimer@redhat.com>
36325 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
36326 (abi-lp64_be-options): Remove.
36327 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
36328 (abi-hard-options): Likewise.
36329 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
36330 (abi-o32_hard-options, abi-o32_soft_2008-options)
36331 (abi-o32_hard_2008-options, abi-n32_soft-options)
36332 (abi-n32_hard-options, abi-n32_soft_2008-options)
36333 (abi-n32_hard_2008-options, abi-n64_soft-options)
36334 (abi-n64_hard-options, abi-n64_soft_2008-options)
36335 (abi-n64_hard_2008-options): Likewise.
36336 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
36337 (abi-64-v1-options, abi-64-v2-options): Likewise.
36338 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
36339 (abi-64-options): Likewise.
36340 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
36341 (abi-64-options): Likewise.
36342 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
36343 (abi-64-options): Likewise.
36344 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
36345 (abi-64-options, abi-x32-options): Likewise.
36347 2017-08-28 Florian Weimer <fweimer@redhat.com>
36349 Store supported list of SYS_* system calls in the source tree.
36350 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
36351 (bits/syscall.h): Generate from list file.
36352 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
36353 [$(subdir) = misc] (tests): Add tst-syscall-list.
36354 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
36355 [$(subdir) = misc] (tst-syscall-list-macros.list)
36356 [$(subdir) = misc] (tst-syscall-list-nr.list)
36357 (tst-syscall-list-sys.list): Helper targets for new
36358 tst-syscall-list test.
36359 [$(subdir) = misc] (tst-syscall-list.out): Run test script
36360 tst-syscall-list.sh.
36361 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
36362 target. Do not include bits/syscall.d.
36363 [$(subdir) = misc] (generated): Do not update.
36364 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
36365 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
36366 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
36367 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
36369 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
36371 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
36372 (tst-cxa_atexit, tst-on_exit): Likewise.
36373 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
36374 tst-cxa_atexit, and tst-on_exit.
36375 * stdlib/tst-atexit-common.c: New file.
36376 * stdlib/tst-atexit.c: New file.
36377 * stdlib/tst-at_quick_exit.c: New file.
36378 * stdlib/tst-cxa_atexit.c: New file.
36379 * stdlib/tst-on_exit.c: New file.
36381 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
36383 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
36384 * mach/stack_chk_fail_local.c: New file.
36385 * hurd/stack_chk_fail_local.c: New file.
36386 * mach/Machrules ($(interface-library)-routines): Add
36387 stack_chk_fail_local.
36388 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
36389 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
36390 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
36391 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
36392 * hurd/Makefile (CFLAGS-hurdstartup.o,
36393 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
36395 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
36397 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
36398 (index_cpu_*, index_arch_*): Removed.
36400 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
36402 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
36403 Use uint64_t instead of unsigned long.
36405 2017-08-25 Joseph Myers <joseph@codesourcery.com>
36407 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
36408 [__HAVE_DISTINCT_FLOAT128].
36410 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
36411 of <bits/math-finite.h>.
36412 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
36413 inclusion of <bits/math-finite.h>.
36414 * math/bits/math-finite.h (__REDIRTO_X): Do not define
36415 conditionally on [__MATH_DECLARING_LDOUBLE && defined
36416 __NO_LONG_DOUBLE_MATH].
36417 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
36418 (__MATH_REDIRCALL_2): Likewise.
36419 (__MATH_REDIRCALL_INTERNAL): Likewise.
36420 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
36421 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
36422 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
36424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
36426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
36428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
36430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
36432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
36434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
36436 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36437 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36438 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36439 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
36441 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
36442 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
36443 w_sqrtf_compat-ppc32.
36445 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36447 * math/math.h [defined __cplusplus] (issignaling): In the long
36448 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
36449 is not defined. Call __issignaling, otherwise.
36451 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36453 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
36454 syscall definitions and replace __builtin_expect with __glibc_likely.
36455 * sysdeps/unix/syscall-template.S: Update comment about cancellable
36457 (SYSCALL_CANCELLABLE): Removedefinition
36458 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
36460 (PSEUDO_END): Likewise.
36461 [IS_IN (libpthread)] (CENABLE): Likewise.
36462 [IS_IN (libpthread)] (CDISABLE): Likewise.
36463 [IS_IN (libc)] (CENABLE): Likewise.
36464 [IS_IN (libc)] (CENABLE): Likewise.
36465 [IS_IN (librt)] (CDISABLE): Likewise.
36466 [IS_IN (librt)] (CDISABLE): Likewise.
36467 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36468 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
36470 (PSEUDO_END): Likewise.
36471 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
36472 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
36473 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36474 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36475 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36476 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36477 (CENABLE): Likewise.
36478 (CDISABLE): Likewise.
36479 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36480 * sysdeps/unix/sysv/linux/arm/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/hppa/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/i386/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/ia64/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/m68k/sysdep-cancel.h (PSEUDO): Remove
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 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36530 * sysdeps/unix/sysv/linux/microblaze/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/mips/mips64/sysdep-cancel.h (PSEUDO):
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 (SINGLE_THREAD_P): Likewise.
36550 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
36552 (PSEUDO_END): Likewise.
36553 [IS_IN (libpthread)] (CENABLE): Likewise.
36554 [IS_IN (libpthread)] (CDISABLE): Likewise.
36555 [IS_IN (libc)] (CENABLE): Likewise.
36556 [IS_IN (libc)] (CENABLE): Likewise.
36557 [IS_IN (librt)] (CDISABLE): Likewise.
36558 [IS_IN (librt)] (CDISABLE): Likewise.
36559 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36560 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
36562 (PSEUDO_END): Likewise.
36563 [IS_IN (libpthread)] (CENABLE): Likewise.
36564 [IS_IN (libpthread)] (CDISABLE): Likewise.
36565 [IS_IN (libc)] (CENABLE): Likewise.
36566 [IS_IN (libc)] (CENABLE): Likewise.
36567 [IS_IN (librt)] (CDISABLE): Likewise.
36568 [IS_IN (librt)] (CDISABLE): Likewise.
36569 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36570 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
36571 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36572 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
36573 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
36585 (PSEUDO_END): Likewise.
36586 [IS_IN (libpthread)] (CENABLE): Likewise.
36587 [IS_IN (libpthread)] (CDISABLE): Likewise.
36588 [IS_IN (libc)] (CENABLE): Likewise.
36589 [IS_IN (libc)] (CENABLE): Likewise.
36590 [IS_IN (librt)] (CDISABLE): Likewise.
36591 [IS_IN (librt)] (CDISABLE): Likewise.
36592 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36593 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
36595 (PSEUDO_END): Likewise.
36596 [IS_IN (libpthread)] (CENABLE): Likewise.
36597 [IS_IN (libpthread)] (CDISABLE): Likewise.
36598 [IS_IN (libc)] (CENABLE): Likewise.
36599 [IS_IN (libc)] (CENABLE): Likewise.
36600 [IS_IN (librt)] (CDISABLE): Likewise.
36601 [IS_IN (librt)] (CDISABLE): Likewise.
36602 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
36604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36605 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
36606 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
36608 (PSEUDO_END): Likewise.
36609 [IS_IN (libpthread)] (CENABLE): Likewise.
36610 [IS_IN (libpthread)] (CDISABLE): Likewise.
36611 [IS_IN (libc)] (CENABLE): Likewise.
36612 [IS_IN (libc)] (CENABLE): Likewise.
36613 [IS_IN (librt)] (CDISABLE): Likewise.
36614 [IS_IN (librt)] (CDISABLE): Likewise.
36615 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36616 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36618 (PSEUDO_END): Likewise.
36619 [IS_IN (libpthread)] (CENABLE): Likewise.
36620 [IS_IN (libpthread)] (CDISABLE): Likewise.
36621 [IS_IN (libc)] (CENABLE): Likewise.
36622 [IS_IN (libc)] (CENABLE): Likewise.
36623 [IS_IN (librt)] (CDISABLE): Likewise.
36624 [IS_IN (librt)] (CDISABLE): Likewise.
36625 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36627 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36629 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36631 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36633 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36635 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36638 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36639 middle and outer with size_t instead of int. Repleace %d and
36640 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36641 "MAX (outer, nchars - 64)" to support unsigned outer and
36642 nchars. Also exit loop when outer == 0.
36644 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36646 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36647 * include/signal.h (__sigsuspend_nocancel): Likewise.
36648 * include/time.h (__nanosleep_nocancel): Likewise.
36649 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36650 * login/utmp_file.c: Include non cancellable syscall header.
36651 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36654 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36656 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36657 .byte sequences with AVX512F instructions.
36658 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36659 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36660 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36661 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36663 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36666 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36667 Steve Ellcey <sellcey@cavium.com>
36669 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36670 Use PTR_REG macro in cmp instruction.
36672 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36674 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36675 Change the return type of the ifunc resolver to match the return
36676 type of the target function.
36678 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36680 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36681 (preadv64): Likewise.
36682 (pwrite64(: Likewise.
36683 (pwritev64): Likewise.
36685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36686 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36687 (LOAD_ARGS_0): Likewise.
36688 (LOAD_ARGS_1): Likewise.
36689 (LOAD_ARGS_2): Likewise.
36690 (LOAD_ARGS_3): Likewise.
36691 (LOAD_ARGS_4): Likewise.
36692 (LOAD_ARGS_5): Likewise.
36693 (LOAD_ARGS_6): Likewise.
36694 (LOAD_REGS_0): Likewise.
36695 (LOAD_REGS_1): Likewise.
36696 (LOAD_REGS_2): Likewise.
36697 (LOAD_REGS_3): Likewise.
36698 (LOAD_REGS_4): Likewise.
36699 (LOAD_REGS_5): Likewise.
36700 (LOAD_REGS_6): Likewise.
36701 (ASM_ARGS_0): Likewise.
36702 (ASM_ARGS_1): Likewise.
36703 (ASM_ARGS_2): Likewise.
36704 (ASM_ARGS_3): Likewise.
36705 (ASM_ARGS_4): Likewise.
36706 (ASM_ARGS_5): Likewise.
36707 (ASM_ARGS_6): Likewise.
36708 (LOAD_ARGS_TYPES_1): Likewise.
36709 (LOAD_ARGS_TYPES_2): Likewise.
36710 (LOAD_ARGS_TYPES_3): Likewise.
36711 (LOAD_ARGS_TYPES_4): Likewise.
36712 (LOAD_ARGS_TYPES_5): Likewise.
36713 (LOAD_ARGS_TYPES_6): Likewise.
36714 (LOAD_REGS_TYPES_1): Likewise.
36715 (LOAD_REGS_TYPES_2): Likewise.
36716 (LOAD_REGS_TYPES_3): Likewise.
36717 (LOAD_REGS_TYPES_4): Likewise.
36718 (LOAD_REGS_TYPES_5): Likewise.
36719 (LOAD_REGS_TYPES_6): Likewise.
36720 (TYPEFY): New define.
36721 (ARGIFY): Likewise.
36722 (internal_syscall0): Likewise.
36723 (internal_syscall1): Likewise.
36724 (internal_syscall2): Likewise.
36725 (internal_syscall3): Likewise.
36726 (internal_syscall4): Likewise.
36727 (internal_syscall5): Likewise.
36728 (internal_syscall6): Likewise.
36729 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36730 (INTERNAL_SYSCALL_NCS): Remove define.
36731 (internal_syscall1): Add define.
36733 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36735 * math/w_remainder_compat.c: Remove duplicate inclusion of
36736 math-svid-compat.h.
36737 * math/w_remainderf_compat.c: Likewise.
36738 * math/w_remainderl_compat.c: Likewise.
36740 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36744 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36747 * math/tgmath.h (__floating_type): Simplify definitions.
36748 (__real_integer_type): New macro.
36749 (__complex_integer_type): Likewise.
36750 (__expr_is_real): Likewise.
36751 (__tgmath_real_type_sub): Update comment to describe handling of
36753 (__tgmath_complex_type_sub): New macro.
36754 (__tgmath_complex_type): Likewise.
36755 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36756 (__TGMATH_CF128): Use __expr_is_real.
36757 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36759 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36760 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36761 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36764 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36766 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36768 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36770 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36773 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36774 nanosleep_not_cancel with __nanosleep_nocancel.
36775 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36776 (__nanosleep_nocancel): New macro.
36777 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36779 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36781 (__nanosleep_nocancel): New prototype.
36783 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36784 pause_not_cancel with __pause_nocancel.
36785 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36786 (__pause_nocancel): New macro.
36787 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36789 (__pause_nocancel): New prototype.
36790 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36792 2017-08-22 Martin Sebor <msebor@redhat.com>
36794 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36795 to return a pointer to the same type as the target function.
36797 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36801 * include/printf.h (__printf_fphex): Add attribute_hidden.
36802 (__guess_grouping): New prototype.
36803 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36804 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36805 libc_hidden_proto and libc_hidden_def.
36806 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36807 (__vstrfmon_l): Remove the third argument passed to
36810 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36812 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36813 definition for issignaling that does not rely on __MATH_TG,
36814 since __MATH_TG uses __builtin_types_compatible_p, which is only
36815 available in C mode.
36816 (CFLAGS-test-math-issignaling.cc): New variable.
36817 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36818 * math/test-math-issignaling.cc: New test for C++ implementation
36819 of type-generic issignaling.
36820 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36821 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36822 options of test-math-issignaling on powerpc64le.
36824 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36826 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36828 (hidden_proto): Likewise.
36829 (hidden_tls_proto): Likewise.
36830 (__hidden_proto): Likewise.
36832 2017-08-22 Florian Weimer <fweimer@redhat.com>
36834 math: Statically link tests of internal functionality.
36835 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36837 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36838 (gmp-objs): Remove assignment.
36839 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36841 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36844 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36846 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36848 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36851 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36852 variable definitions above inclusion of ../Rules.
36854 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36856 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36857 case calling __builtin_unreachable.
36859 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36861 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36862 __waitpid_nocancel.
36863 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36864 (__waitpid_nocancel): New macro.
36865 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36867 (__waitpid_nocancel): Replace macro with a function.
36868 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36871 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36873 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36874 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36876 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36877 __writev_nocancel_nostatus.
36878 (write_call_graph): Likewise.
36879 (write_bb_counts): Likewise.
36880 * resolv/herror.c (herror): Likewise.
36881 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36883 (__writev_nocancel_nostatus): New macro.
36884 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36886 (__writev_nocancel_nostatus): New function.
36888 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36891 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36893 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36895 (hidden_proto): Likewise.
36896 (hidden_tls_proto): Likewise.
36897 (__hidden_proto): Likewise.
36900 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36901 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36910 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36911 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36912 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36913 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36914 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36915 GLIBC_2.0 sqrtl symbol.
36917 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36918 [__USE_MISC] (_LIB_VERSION): Likewise.
36919 [__USE_MISC] (struct exception): Likewise.
36920 [__USE_MISC] (matherr): Likewise.
36921 [__USE_MISC] (DOMAIN): Likewise.
36922 [__USE_MISC] (SING): Likewise.
36923 [__USE_MISC] (OVERFLOW): Likewise.
36924 [__USE_MISC] (UNDERFLOW): Likewise.
36925 [__USE_MISC] (TLOSS): Likewise.
36926 [__USE_MISC] (PLOSS): Likewise.
36927 [__USE_MISC] (HUGE): Likewise.
36928 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36929 * math/math-svid-compat.h: New file.
36930 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36932 * include/math.h [!_ISOMAC] (__matherr): Remove.
36933 * manual/arith.texi (FP Exceptions): Do not document matherr.
36934 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36935 (tests-internal): New variable.
36936 (install-lib): Do not add libieee.a.
36937 (non-lib.a): Likewise.
36938 (extra-objs): Do not add libieee.a and ieee-math.o.
36939 (CPPFLAGS-s_lib_version.c): Remove variable.
36940 ($(objpfx)libieee.a): Remove rule.
36941 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36942 * math/ieee-math.c: Remove.
36943 * math/libm-test-support.c (matherr): Remove.
36944 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36945 and license notices. Include <math-svid-compat.h> and
36947 (matherr): Undefine as macro. Use compat_symbol_reference.
36948 (_LIB_VERSION): Likewise.
36949 * math/test-matherr-2.c: New file.
36950 * math/test-matherr-3.c: Likewise.
36951 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36953 (__kernel_standard_f): Likewise.
36954 (__kernel_standard_l): Likewise.
36955 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36956 <math_private.h>. Include <math-svid-compat.h>.
36957 (_LIB_VERSION): Undefine as macro.
36958 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36959 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36960 [LIBM_SVID_COMPAT], use compat_symbol.
36961 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36962 <math_private.h>. Include <math-svid-compat.h>.
36963 (matherr): Undefine as macro.
36964 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36966 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36967 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36968 compat_symbol_reference.
36969 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36970 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36971 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36972 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36973 (MATHERR_D): Remove declaration.
36974 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36975 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36976 [LIBM_BUILD] (pmatherrf): Likewise.
36977 [LIBM_BUILD] (pmatherr): Likewise.
36978 [LIBM_BUILD] (pmatherrl): Likewise.
36979 (DOMAIN): Likewise.
36981 (OVERFLOW): Likewise.
36982 (UNDERFLOW): Likewise.
36985 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36986 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36988 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36989 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36991 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36992 * math/w_acos_compat.c: Likewise.
36993 * math/w_acosf_compat.c: Likewise.
36994 * math/w_acosh_compat.c: Likewise.
36995 * math/w_acoshf_compat.c: Likewise.
36996 * math/w_acoshl_compat.c: Likewise.
36997 * math/w_acosl_compat.c: Likewise.
36998 * math/w_asin_compat.c: Likewise.
36999 * math/w_asinf_compat.c: Likewise.
37000 * math/w_asinl_compat.c: Likewise.
37001 * math/w_atan2_compat.c: Likewise.
37002 * math/w_atan2f_compat.c: Likewise.
37003 * math/w_atan2l_compat.c: Likewise.
37004 * math/w_atanh_compat.c: Likewise.
37005 * math/w_atanhf_compat.c: Likewise.
37006 * math/w_atanhl_compat.c: Likewise.
37007 * math/w_cosh_compat.c: Likewise.
37008 * math/w_coshf_compat.c: Likewise.
37009 * math/w_coshl_compat.c: Likewise.
37010 * math/w_exp10_compat.c: Likewise.
37011 * math/w_exp10f_compat.c: Likewise.
37012 * math/w_exp10l_compat.c: Likewise.
37013 * math/w_exp2_compat.c: Likewise.
37014 * math/w_exp2f_compat.c: Likewise.
37015 * math/w_exp2l_compat.c: Likewise.
37016 * math/w_fmod_compat.c: Likewise.
37017 * math/w_fmodf_compat.c: Likewise.
37018 * math/w_fmodl_compat.c: Likewise.
37019 * math/w_hypot_compat.c: Likewise.
37020 * math/w_hypotf_compat.c: Likewise.
37021 * math/w_hypotl_compat.c: Likewise.
37022 * math/w_j0_compat.c: Likewise.
37023 * math/w_j0f_compat.c: Likewise.
37024 * math/w_j0l_compat.c: Likewise.
37025 * math/w_j1_compat.c: Likewise.
37026 * math/w_j1f_compat.c: Likewise.
37027 * math/w_j1l_compat.c: Likewise.
37028 * math/w_jn_compat.c: Likewise.
37029 * math/w_jnf_compat.c: Likewise.
37030 * math/w_jnl_compat.c: Likewise.
37031 * math/w_lgamma_main.c: Likewise.
37032 * math/w_lgamma_r_compat.c: Likewise.
37033 * math/w_lgammaf_main.c: Likewise.
37034 * math/w_lgammaf_r_compat.c: Likewise.
37035 * math/w_lgammal_main.c: Likewise.
37036 * math/w_lgammal_r_compat.c: Likewise.
37037 * math/w_log10_compat.c: Likewise.
37038 * math/w_log10f_compat.c: Likewise.
37039 * math/w_log10l_compat.c: Likewise.
37040 * math/w_log2_compat.c: Likewise.
37041 * math/w_log2f_compat.c: Likewise.
37042 * math/w_log2l_compat.c: Likewise.
37043 * math/w_log_compat.c: Likewise.
37044 * math/w_logf_compat.c: Likewise.
37045 * math/w_logl_compat.c: Likewise.
37046 * math/w_pow_compat.c: Likewise.
37047 * math/w_powf_compat.c: Likewise.
37048 * math/w_powl_compat.c: Likewise.
37049 * math/w_remainder_compat.c: Likewise.
37050 * math/w_remainderf_compat.c: Likewise.
37051 * math/w_remainderl_compat.c: Likewise.
37052 * math/w_scalb_compat.c: Likewise.
37053 * math/w_scalbf_compat.c: Likewise.
37054 * math/w_scalbl_compat.c: Likewise.
37055 * math/w_sinh_compat.c: Likewise.
37056 * math/w_sinhf_compat.c: Likewise.
37057 * math/w_sinhl_compat.c: Likewise.
37058 * math/w_sqrt_compat.c: Likewise.
37059 * math/w_sqrtf_compat.c: Likewise.
37060 * math/w_sqrtl_compat.c: Likewise.
37061 * math/w_tgamma_compat.c: Likewise.
37062 * math/w_tgammaf_compat.c: Likewise.
37063 * math/w_tgammal_compat.c: Likewise.
37064 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
37065 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
37066 * sysdeps/ieee754/k_standard.c: Likewise.
37067 * sysdeps/ieee754/k_standardf.c: Likewise.
37068 * sysdeps/ieee754/k_standardl.c: Likewise.
37069 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
37070 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
37071 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
37072 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
37073 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
37074 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
37075 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
37076 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
37077 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
37078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
37080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
37082 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
37083 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
37084 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
37085 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
37087 2017-08-21 Florian Weimer <fweimer@redhat.com>
37090 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
37091 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
37092 Move before inclusion of ../Rules.
37094 2017-08-21 Florian Weimer <fweimer@redhat.com>
37097 * assert/assert.h (assert): Use static_cast (bool) for C++.
37098 Use the ternary operator in the warning branch for GNU C.
37099 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
37100 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
37101 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
37102 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
37103 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
37105 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37108 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37109 (__syscall_clock_gettime): Add attribute_hidden.
37110 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
37111 (__start_context): Likewise.
37113 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37115 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
37117 (hidden_proto): Likewise.
37118 (hidden_tls_proto): Likewise.
37119 (__hidden_proto): Likewise.
37121 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37123 * include/libc-symbols.h (attribute_hidden): Enable hidden
37124 visibility in libc.a compiled with PIE.
37126 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37129 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
37130 Add attribute_hidden.
37132 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37135 * Makerules (all-nonlib): Add $(others-extras).
37136 * catgets/Makefile (others-extras): New.
37137 * elf/Makefile (others-extras): Likewise.
37138 * nss/Makefile (others-extras): Likewise.
37140 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37143 * csu/libc-start.c (__libc_multiple_libcs): Removed.
37144 * elf/dl-open.c: Include <libc-internal.h>.
37145 (__libc_multiple_libcs): Removed.
37146 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
37148 * include/libc-internal.h (__libc_multiple_libcs): New.
37149 * misc/sbrk.c: Include <libc-internal.h>.
37150 (__libc_multiple_libcs): Removed.
37152 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37155 * grp/initgroups.c (__nss_group_database): Removed.
37156 (__nss_initgroups_database): Likewise.
37157 * nscd/gai.c (__nss_hosts_database): Likewise.
37158 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
37159 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
37160 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
37161 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
37162 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
37163 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
37165 * nss/nsswitch.c (__nss_database_custom): Define only if
37166 USE_NSCD is defined.
37167 (__nss_configure_lookup): Use __nss_database_custom only if
37168 USE_NSCD is defined.
37169 * nss/nsswitch.h (__nss_database_custom): Declare only if
37170 USE_NSCD is defined. Add attribute_hidden.
37171 (__nss_setent): Add attribute_hidden.
37172 (__nss_endent): Likewise.
37173 (__nss_getent_r): Likewise.
37174 (__nss_getent): Likewise.
37175 (DEFINE_DATABASE): Declare __nss_##arg##_database.
37177 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37180 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
37181 libc_hidden_proto and libc_hidden_def.
37183 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37186 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
37187 Add libc_hidden_proto.
37188 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
37189 Add libc_hidden_def.
37191 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37194 * gmon/Makefile (routines): Remove bb_init_func and
37196 (elide-routines.os): Removed.
37197 * gmon/bb_exit_func.c: Likewise.
37198 * gmon/bb_init_func.c: Likewise.
37199 * include/sys/gmon.h (__bb): Likewise.
37200 (__bb_init_func): Likewise.
37201 (__bb_exit_func): Likewise.
37202 * sysdeps/alpha/bb_init_func.S: Likewise.
37204 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37206 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
37207 * include/setjmp.h (____longjmp_chk): Here. Add
37210 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
37213 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
37215 (__strspn_sse2): Likewise.
37217 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37219 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
37220 (close_not_cancel_no_status): Likewise.
37221 (__close_nocancel): New macro.
37222 (__close_nocancel_nostatus): Likewise.
37223 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
37225 (close_not_cancel): Likewise.
37226 (close_not_cancel_no_status): Likewise.
37227 (__close_nocancel): New prototype.
37228 (__close_nocancel_nostatus): New function.
37229 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
37230 * catgets/open_catalog.c (__open_catalog): Replace
37231 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
37232 * gmon/gmon.c (write_gmon): Likewise.
37233 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37234 * intl/loadmsgcat.c (close): Likewise.
37235 * io/ftw.c (open_dir_stream): Likewise.
37236 (ftw_startup): Likewise.
37237 * libio/fileops.c (_IO_file_open): Likewise.
37238 (_IO_file_close_mmap): Likewise.
37239 (_IO_file_close): Likewise.
37240 * libio/iopopen.c (_IO_dup2): Likewise.
37241 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37242 * locale/loadlocale.c (_nl_load_locale): Likewise.
37243 * login/utmp_file.c (pututline_file): Likewise.
37244 (endutent_file): Likewise.
37245 * misc/daemon.c (daemon): Likewise.
37246 * nscd/nscd_getai.c (__nscd_getai): Likewise.
37247 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37248 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
37249 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
37250 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37251 * nscd/nscd_helper.c (open_socket): Likewise.
37252 (__nscd_open_socket): Likewise.
37253 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
37254 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
37255 (__nscd_innetgr): Likewise.
37256 * nss/nss_db/db-open.c (internal_setent): Likewise.
37257 * resolv/res-close.c (__res_iclose): Likewise.
37258 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
37259 * sysdeps/posix/closedir.c (__closedir): Likewise.
37260 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
37261 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37262 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
37263 (opendir_tail): Likewise.
37264 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37265 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
37266 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37267 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37268 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37269 (gethostid): Likewise.
37270 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37271 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37273 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37274 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
37275 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37276 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37278 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
37279 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
37280 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37282 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
37283 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37285 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37287 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
37288 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37289 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37292 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
37293 (openat_not_cancel_3): Likewise.
37294 (openat64_not_cancel_3): Likewise).
37295 (openat_not_cancel_3): Likewise).
37296 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
37298 (openat_not_cancel_3): Likewise.
37299 (openat64_not_cancel): Likewise.
37300 (openat64_not_cancel_3): Likewise.
37301 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
37302 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
37303 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
37304 __open{64}_nocancel.
37305 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
37306 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37307 * sysdeps/posix/opendir.c (__opendirat): Likewise.
37309 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37312 * include/argz.h (__argz_create_sep): New function prototype.
37313 (__argz_append): Likewise.
37314 (__argz_add): Likewise.
37315 (__argz_add_sep): Likewise.
37316 (__argz_delete): Likewise.
37317 (__argz_insert): Likewise.
37318 (__argz_replace): Likewise.
37319 * string/argz.h (__argz_create_sep): Removed.
37320 (__argz_append): Likewise.
37321 (__argz_add): Likewise.
37322 (__argz_add_sep): Likewise.
37323 (__argz_delete): Likewise.
37324 (__argz_insert): Likewise.
37325 (__argz_replace): Likewise.
37327 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37329 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
37330 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
37331 (GNU_PROPERTY_STACK_SIZE): Likewie.
37332 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
37333 (GNU_PROPERTY_LOPROC): Likewise.
37334 (GNU_PROPERTY_HIPROC): Likewise.
37335 (GNU_PROPERTY_LOUSER): Likewise.
37336 (GNU_PROPERTY_HIUSER): Likewise.
37337 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
37338 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
37339 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
37340 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
37341 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
37342 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
37343 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
37344 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
37345 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
37346 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
37347 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
37348 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
37349 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
37350 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
37351 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
37352 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
37353 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
37354 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
37355 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
37356 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
37357 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
37358 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
37359 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
37361 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37363 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
37366 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37369 * math/math.h (isinf): Check if in C or C++ mode before using
37370 __builtin_types_compatible_p, since this is a C mode feature.
37372 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37374 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
37375 (__write_nocancel): New macro.
37376 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
37377 Rewrite as a function prototype.
37378 (write_not_cancel): Remove macro.
37379 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
37380 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
37381 (write_gmon): Likewise.
37382 * libio/fileops.c (_IO_new_file_write): Likewise.
37383 * login/utmp_file.c (pututline_file): Likewise.
37384 (updwtmp_file): Likewise.
37385 * stdio-common/psiginfo.c (psiginfo): Likewise.
37386 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37387 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37388 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37390 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37393 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
37394 (__read_nocancel): New macro.
37395 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37397 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
37399 (__read_nocancel): New prototype.
37400 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
37401 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
37402 with __read_nocancel.
37403 * intl/loadmsgcat.c (read): Likewise.
37404 * libio/fileops.c (_IO_file_read): Likewise.
37405 * locale/loadlocale.c (_nl_load_locale): Likewise.
37406 * login/utmp_file.c (getutent_r_file): Likewise.
37407 (internal_getut_r): Likewise.
37408 (getutline_r_file): Likewise.
37409 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
37410 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
37411 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37412 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37414 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
37415 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37416 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37418 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37420 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37422 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37424 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37426 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37429 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
37430 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
37433 2017-08-17 DJ Delorie <dj@redhat.com>
37435 * bug17079.c: Update to new test harness.
37436 * test-digits-dots.c: Likewise.
37437 * test-netdb.c: Likewise.
37438 * tst-field.c: Likewise.
37439 * tst-nss-getpwent.c: Likewise.
37440 * tst-nss-static.c: Likewise.
37441 * tst-nss-test1.c: Likewise.
37442 * tst-nss-test2.c: Likewise.
37443 * tst-nss-test3.c: Likewise.
37444 * tst-nss-test4.c: Likewise.
37445 * tst-nss-test5.c: Likewise.
37447 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37449 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
37450 (open_not_cancel_2): Likewise.
37451 (open_nocancel): New macro.
37452 (open64_nocancel): Likewise.
37453 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
37454 (open_not_cancel_2): Likewise.
37455 (__open_nocancel): New prototype.
37456 (__open64_nocancel): Likewise.
37457 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37459 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
37460 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
37461 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
37462 with __open_nocancel.
37463 * csu/check_fds.c (check_one_fd): Likewise.
37464 * gmon/gmon.c (write_gmon): Likewise.
37465 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
37466 * intl/loadmsgcat.c (open): Likewise.
37467 * libio/fileops.c (_IO_file_open): Likewise.
37468 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37469 * locale/loadlocale.c (_nl_load_locale): Likewise.
37470 * login/utmp_file.c (setutent_file): Likewise.
37471 * misc/daemon.c (daemon): Likewise.
37472 * nss/nss_db/db-open.c (internal_setent): Likewise.
37473 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
37474 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
37475 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
37476 (__opendir): Likewise.
37477 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37478 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
37479 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37480 (gethostid): Likewise.
37481 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37482 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37484 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37485 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
37486 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37487 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37489 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37491 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37493 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37495 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37497 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37499 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
37500 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37502 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
37504 * benchtests/bench-skeleton.c (main): Add support for
37505 latency benchmarking.
37506 * benchtests/scripts/bench.py: Add support for latency benchmarking.
37508 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
37510 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
37511 the startup object.
37513 2017-08-17 Florian Weimer <fweimer@redhat.com>
37515 * include/sys/socket.h (__opensock): Remove internal_function.
37516 * socket/opensock.c (__opensock): Likewise.
37517 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
37519 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37522 * signal/bits/types/__sigval_t.h: New file.
37523 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
37524 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
37525 and define sigval_t using __sigval_t.
37526 * include/bits/types/__sigval_t.h: New file.
37527 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
37528 instead of <bits/types/__sigval_t.h>.
37529 (struct sigevent): Use __sigval_t instead of sigval_t.
37530 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
37531 instead of <bits/types/__sigval_t.h>.
37532 (siginfo_t): Use __sigval_t instead of sigval_t.
37533 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
37534 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37535 (struct sigevent): Use __sigval_t instead of sigval_t.
37536 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
37537 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37538 (siginfo_t): Use __sigval_t instead of sigval_t.
37539 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
37541 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37543 * NEWS: Remove "[Add new features here]" for 2.27.
37545 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37547 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
37550 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37552 * NEWS: Mention x86-64 FMA optimization.
37554 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37557 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37559 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
37560 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
37561 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
37563 2017-08-16 Andreas Schwab <schwab@suse.de>
37567 * elf/ldd.bash.in: Never run file directly.
37569 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
37572 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
37573 (L(SP_INF_0)): Likewise.
37575 2017-08-15 Florian Weimer <fweimer@redhat.com>
37577 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
37580 2017-08-15 Florian Weimer <fweimer@redhat.com>
37582 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
37583 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
37584 BROKEN_THREAD_SIGNALS code.
37585 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
37586 request_list): Remove caller_pid member used for
37587 BROKEN_THREAD_SIGNALS.
37588 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
37589 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
37590 Remove BROKEN_THREAD_SIGNALS support.
37591 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
37592 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
37594 2017-08-15 Florian Weimer <fweimer@redhat.com>
37596 * gmon/Makefile (tests): Add tst-gmon.
37597 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
37599 (tests-special): Add tst-gmon-prof.out.
37600 (tst-gmon.out): Depend on clean-tst-gmon-data.
37601 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
37602 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
37603 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
37605 * aclocal.m4 (GPROF): Set and substitute.
37606 * config.amke.in (GPROF): Set.
37607 * configure: Regenerate.
37609 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
37611 * elf/elf.h A (NT_PPC_TAR): New macro.
37612 (NT_PPC_PPR): Likewise.
37613 (NT_PPC_DSCR): Likewise.
37614 (NT_PPC_EBB): Likewise.
37615 (NT_PPC_PMU): Likewise.
37616 (NT_PPC_TM_CGPR): Likewise.
37617 (NT_PPC_TM_CFPR): Likewise.
37618 (NT_PPC_TM_CVMX): Likewise.
37619 (NT_PPC_TM_CVSX): Likewise.
37620 (NT_PPC_TM_SPR): Likewise.
37621 (NT_PPC_TM_CTAR): Likewise.
37622 (NT_PPC_TM_CPPR): Likewise.
37623 (NT_PPC_TM_CDSCR): Likewise.
37625 2017-08-15 Florian Weimer <fweimer@redhat.com>
37627 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37628 regparm (2) instead of internal_function.
37629 (_MCOUNT_DECL): Adjust.
37631 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37633 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37634 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37636 2017-08-14 Joseph Myers <joseph@codesourcery.com>
37638 * conform/data/sys/wait.h-data (si_value): Do not expect for
37641 2017-08-14 Florian Weimer <fweimer@redhat.com>
37644 NSS: Create stubs for accidentally exported lookup functions.
37645 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37646 Remove declaration.
37647 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37648 (ether_hostton): Call __nss_ethers_lookup2 instead.
37649 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37650 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37651 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37652 (setup): Call __nss_netgroup_lookup2 instead.
37653 * nss/Makefile (routines): Add compat-lookup.
37654 * nss/Versions (GLIBC_2.27): Add symbol version.
37655 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37656 (DB_COMPAT_FCT): Remove.
37657 * nss/compat-lookup.c: New file.
37658 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37659 from databases.def.
37660 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37661 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37662 (netname2user): Call __nss_publickey_lookup2 instead.
37663 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37664 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37667 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37668 Sergei Trofimovich <slyfox@inbox.ru>
37671 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37672 Rename to MMAP2_PAGE_UNIT.
37673 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37674 __OFF_T_MATCHES_OFF64_T is not defined.
37675 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37677 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37678 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37680 2017-08-14 Florian Weimer <fweimer@redhat.com>
37682 i386: Do not set internal_function.
37683 * config.h.in (USE_REGPARMS, internal_function): Remove.
37684 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37685 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37687 2017-08-14 Florian Weimer <fweimer@redhat.com>
37689 * elf/dl-init.c (_dl_init): Remove internal_function.
37690 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37691 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37693 2017-08-14 Florian Weimer <fweimer@redhat.com>
37695 * elf/rtld.c (_dl_start): Remove internal_function.
37696 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37699 2017-08-14 Florian Weimer <fweimer@redhat.com>
37701 * elf/dl-fini.c (_dl_fini): Remove internal_function
37702 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37704 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37706 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
37707 (bit_cpu_SHSTK): Likewise.
37708 (index_cpu_IBT): Likewise.
37709 (index_cpu_SHSTK): Likewise.
37710 (reg_IBT): Likewise.
37711 (reg_SHSTK): Likewise.
37712 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37713 Handle index_cpu_IBT and index_cpu_SHSTK.
37715 2017-08-14 Mike FABIAN <mfabian@redhat.com>
37718 * po/fr.po: Fix spelling mistake.
37720 2017-08-13 Florian Weimer <fweimer@redhat.com>
37722 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37723 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37724 (_dl_catch_error, _dl_receive_error): Likewise.
37725 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37726 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37727 (_dl_deallocate_tls): Likewise.
37728 * include/dlfcn.h (_dl_addr): Likewise.
37729 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37730 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37731 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37734 2017-08-13 Florian Weimer <fweimer@redhat.com>
37736 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37737 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37739 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37741 2017-08-13 Florian Weimer <fweimer@redhat.com>
37743 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37745 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37746 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37747 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37748 internal_function from _dl_make_stack_executable_hook member.
37749 (_dl_make_stack_executable): Remove internal_function.
37750 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37752 * sysdeps/unix/sysv/linux/dl-execstack.c
37753 (_dl_make_stack_executable): Likewise.
37755 2017-08-13 Florian Weimer <fweimer@redhat.com>
37757 * sysdeps/unix/sysv/linux/netlinkaccess.h
37758 (__netlink_assert_response): Remove internal_function.
37759 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37760 (__netlink_assert_response): Likewise.
37762 2017-08-13 Florian Weimer <fweimer@redhat.com>
37764 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37766 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37768 2017-08-13 Florian Weimer <fweimer@redhat.com>
37770 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37772 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37773 * inet/netgroup.h (__internal_setnetgrent)
37774 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37775 * inet/getnetgrent_r.c (__internal_setnetgrent)
37776 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37777 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37778 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37779 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37780 * nss/nsswitch.h (db_lookup_function): Likewise.
37782 2017-08-13 Florian Weimer <fweimer@redhat.com>
37784 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37785 Remove internal_function.
37786 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37787 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37788 message argument on the stack.
37789 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37792 2017-08-12 Mike FABIAN <mfabian@redhat.com>
37794 Adapt test case data to the changes in the thousands
37798 * localedata/tst-langinfo.sh: Adapt test case data.
37799 * stdlib/tst-strfmon_l.c: Likewise.
37800 * stdlib/tst-strtod4.c: Likewise.
37801 * stdlib/tst-strtod5i.c: Likewise.
37803 2017-08-11 Florian Weimer <fweimer@redhat.com>
37806 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37807 Suppress pedantic warning resulting from statement expression.
37808 (__ASSERT_FUNCTION): Add missing __extension__.
37810 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37812 * benchtests/bench-memmove-large.c: Print output in JSON
37814 * benchtests/bench-memmove.c: Likewise.
37816 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37817 * benchtests/bench-memchr.c (do_one_test): Likewise.
37818 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37819 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37820 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37821 * benchtests/bench-memmove.c (do_one_test): Likewise.
37822 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37823 * benchtests/bench-memset.c (do_one_test): Likewise.
37824 * benchtests/bench-string.h (test_init): Remove memsets.
37826 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37829 (Computing the Width of an Integer Data Type): Rename section to
37830 "Width of an Integer Type". Remove inaccurate statement regarding
37831 lack of C language facilities for determining width of integer
37832 types, and reorder content to improve flow and context of
37835 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37837 * lang.texi (va_copy): Change standard from ISO to C99.
37838 (__va_copy): Add standard and header annotation.
37839 Update description for clarity of origins and current use.
37841 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37844 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37845 xssqrtqp requires operands to be in Vector Registers
37846 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37847 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37848 (__ieee754_sqrtf128): Likewise.
37850 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37852 * sysdeps/aarch64/memcmp.S (memcmp):
37853 Rewrite of optimized memcmp.
37855 2017-08-10 Florian Weimer <fweimer@redhat.com>
37857 Introduce ld.so exceptions.
37858 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37859 (_dl_exception_create, _dl_exception_create_format)
37860 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37861 (_dl_catch_exception): Declare.
37862 (_dl_catch_error): Update comment.
37863 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37864 errstring, malloced members with exception member.
37865 (_dl_out_of_memory): Remove.
37866 (fatal_error): New function, extracted from _dl_signal_error.
37867 (_dl_signal_exception, _dl_signal_cexception): New functions.
37868 (_dl_signal_error): Call _dl_exception_create to allocate an
37870 (_dl_catch_exception): New function, based on _dl_catch_error.
37871 (_dl_catch_error): Implement using _dl_catch_exception.
37872 * elf/dl-exception.c: New file.
37873 * elf/Makefile (dl-routines): Add dl-exception.
37874 (elide-routines.os): Likewise.
37875 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37876 _dl_exception_create_format, _dl_exception_free.
37877 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37878 _dl_signal_exception.
37879 * elf/dl-lookup.c (make_string): Remove.
37880 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37881 _dl_signal_cexception, _dl_exception_free.
37882 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37883 _dl_signal_exception.
37884 * elf/dl-sym.c (do_sym): Likewise.
37885 * elf/dl-version.c (make_string): Remove.
37886 (match_symbol): Use _dl_exception_create_format,
37887 _dl_signal_cexception, _dl_exception_free.
37888 (_dl_check_map_versions): Likewise.
37889 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37890 _dl_catch_exception.
37891 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37892 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37893 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37894 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37895 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37896 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37897 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37898 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37900 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37907 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37908 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37909 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37911 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37913 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37915 2017-08-10 Florian Weimer <fweimer@redhat.com>
37917 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37918 attribute_hidden, internal_function.
37919 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37922 2017-08-10 Florian Weimer <fweimer@redhat.com>
37924 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37925 function which calls __builtin_unreachable.
37927 2017-08-10 Mike FABIAN <mfabian@redhat.com>
37929 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37930 Indian monetary formatting
37931 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37934 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37936 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37937 Fix typo in comment.
37940 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37941 PTRACE_SEIZE_DEVEL): Remove.
37942 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37943 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37944 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37945 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37946 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37948 2017-08-09 Joseph Myers <joseph@codesourcery.com>
37950 * posix/bits/types.h (__qaddr_t): Remove.
37953 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37954 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37956 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37957 (ucontext_t): Use __ctx with uc_flags.
37958 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37959 (__ctxt): Likewise.
37960 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37962 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37963 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37965 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37966 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37968 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37970 (ucontext_t): Use __ctx with uc_flags.
37971 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37972 (ucontext_t): Use __ctx with uc_flags.
37973 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37974 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37975 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37976 (ucontext_t): Use __ctx with uc_flags.
37977 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37978 undefine further down.
37979 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37981 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37982 undefine further down.
37983 (ucontext_t): Use __ctx with uc_flags.
37984 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37985 undefine further down.
37986 (ucontext_t): Use __ctx with uc_flags.
37987 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37988 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37989 Rename uc_pad to __glibc_reserved1.
37990 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37991 undefine further down.
37992 (ucontext_t): Use __ctx with uc_flags.
37993 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37995 (ucontext_t): Use __ctx with uc_flags.
37996 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37997 __ctx with uc_flags.
37998 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37999 (ucontext_t): Use __ctx with uc_flags.
38000 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
38001 __ctx with uc_flags.
38003 2017-08-09 Florian Weimer <fweimer@redhat.com>
38006 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
38007 before early return.
38009 2017-08-09 Andreas Schwab <schwab@suse.de>
38012 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
38016 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
38017 tst-compat-forwarder.
38018 (modules-names): Add tst-compat-forwarder-mod.
38019 ($(objpfx)tst-compat-forwarder): Depend on
38020 $(objpfx)tst-compat-forwarder-mod.so.
38021 * nptl/tst-compat-forwarder.c: New file.
38022 * nptl/tst-compat-forwarder-mod.c: New file.
38024 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
38026 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
38029 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
38030 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
38032 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
38034 (__libc_ifunc_impl_list): Add __memcpy_falkor.
38035 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
38036 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
38037 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
38039 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
38042 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38045 * manual/setjmp.texi (getcontex): Document uc_stack value
38046 compatibility differences.
38048 2017-08-08 Joseph Myers <joseph@codesourcery.com>
38050 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
38051 (old_malloc_hook): Likewise.
38052 (old_memalign_hook): Likewise.
38053 (old_realloc_hook): Likewise.
38054 (struct hdr): Likewise.
38056 (freehook): Likewise.
38057 (mallochook): Likewise.
38058 (memalignhook): Likewise.
38059 (reallochook): Likewise.
38060 (mprobe): Likewise.
38061 * malloc/mtrace.c (mallwatch): Likewise.
38062 (tr_old_free_hook): Likewise.
38063 (tr_old_malloc_hook): Likewise.
38064 (tr_old_realloc_hook): Likewise.
38065 (tr_old_memalign_hook): Likewise.
38066 (tr_where): Likewise.
38067 (lock_and_info): Likewise.
38068 (tr_freehook): Likewise.
38069 (tr_mallochook): Likewise.
38070 (tr_reallochook): Likewise.
38071 (tr_memalignhook): Likewise.
38072 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
38073 * misc/mmap.c (__mmap): Likewise.
38074 * misc/mmap64.c (__mmap64): Likewise.
38075 * misc/mprotect.c (__mprotect): Likewise.
38076 * misc/msync.c (msync): Likewise.
38077 * misc/munmap.c (__munmap): Likewise.
38078 * posix/posix_madvise.c (posix_madvise): Likewise.
38079 * socket/send.c (__send): Likewise.
38080 * socket/sendto.c (__sendto): Likewise.
38081 * socket/setsockopt.c (__setsockopt): Likewise.
38082 * string/memcmp.c (__ptr_t): Remove macro.
38083 (MEMCMP): Use void * instead of ptr_t.
38084 * string/memrchr.c (__ptr_t): Remove macro.
38085 (__memrchr): Use void * instead of ptr_t.
38086 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
38087 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
38088 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
38089 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
38090 * sysdeps/mach/msync.c (msync): Likewise.
38091 * sysdeps/mach/munmap.c (__munmap): Likewise.
38092 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
38094 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
38095 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
38096 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
38097 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
38098 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
38099 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38100 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
38101 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
38103 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38104 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
38105 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
38106 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
38107 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
38108 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
38109 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
38110 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
38111 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
38113 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
38114 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
38115 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
38116 (MEMCMP): Use void * instead of ptr_t.
38117 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
38118 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
38120 2017-08-08 Florian Weimer <fweimer@redhat.com>
38122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
38125 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
38128 * csu/libc-tls.c: Include <startup.h> first.
38129 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
38130 * elf/dl-tunables.c: Include <startup.h> first.
38131 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
38132 * sysdeps/generic/startup.h: New file.
38133 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
38134 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
38135 (I386_USE_SYSENTER): New. Defined to 0.
38137 2017-08-08 Andreas Schwab <schwab@suse.de>
38140 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
38141 * nptl/pt-system.c (system): Likewise.
38143 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38146 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
38148 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
38149 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
38150 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
38151 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
38152 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
38153 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
38154 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
38156 2017-08-07 Joseph Myers <joseph@codesourcery.com>
38159 * bits/sigaction.h (struct sigaction): Define sa_handler and
38160 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
38161 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38162 [__USE_XOPEN_EXTENDED].
38163 (SA_RESTART): Likewise.
38164 (SA_NODEFER): Likewise.
38165 (SA_RESETHAND): Likewise.
38166 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
38167 (struct sigaction): Define sa_handler and sa_sigaction using union
38168 also for [__USE_XOPEN_EXTENDED].
38169 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38170 [__USE_XOPEN_EXTENDED].
38171 (SA_RESTART): Likewise.
38172 (SA_NODEFER): Likewise.
38173 (SA_RESETHAND): Likewise.
38174 * sysdeps/unix/sysv/linux/bits/sigaction.h
38175 (struct sigaction): Define sa_handler and sa_sigaction using union
38176 also for [__USE_XOPEN_EXTENDED].
38177 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38178 [__USE_XOPEN_EXTENDED].
38179 (SA_RESTART): Likewise.
38180 (SA_NODEFER): Likewise.
38181 (SA_RESETHAND): Likewise.
38182 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
38183 (struct sigaction): Define sa_handler and sa_sigaction using union
38184 also for [__USE_XOPEN_EXTENDED].
38185 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38186 [__USE_XOPEN_EXTENDED].
38187 (SA_RESTART): Likewise.
38188 (SA_NODEFER): Likewise.
38189 (SA_RESETHAND): Likewise.
38190 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
38191 (struct sigaction): Define sa_handler and sa_sigaction using union
38192 also for [__USE_XOPEN_EXTENDED].
38193 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38194 [__USE_XOPEN_EXTENDED].
38195 (SA_RESTART): Likewise.
38196 (SA_NODEFER): Likewise.
38197 (SA_RESETHAND): Likewise.
38198 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
38199 (struct sigaction): Define sa_handler and sa_sigaction using union
38200 also for [__USE_XOPEN_EXTENDED].
38201 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38202 [__USE_XOPEN_EXTENDED].
38203 (SA_RESTART): Likewise.
38204 (SA_NODEFER): Likewise.
38205 (SA_RESETHAND): Likewise.
38206 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38207 (struct sigaction): Define sa_handler and sa_sigaction using union
38208 also for [__USE_XOPEN_EXTENDED].
38209 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38210 [__USE_XOPEN_EXTENDED].
38211 (SA_RESTART): Likewise.
38212 (SA_NODEFER): Likewise.
38213 (SA_RESETHAND): Likewise.
38214 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38215 (struct sigaction): Define sa_handler and sa_sigaction using union
38216 also for [__USE_XOPEN_EXTENDED].
38217 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38218 [__USE_XOPEN_EXTENDED].
38219 (SA_RESTART): Likewise.
38220 (SA_NODEFER): Likewise. Define directly rather than as alias.
38221 (SA_RESETHAND): Likewise.
38222 (SA_INTERRUPT): Define only for [__USE_MISC].
38223 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
38224 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
38226 (SA_STACK): Define only for [__USE_MISC].
38227 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
38228 (struct sigaction): Define sa_handler and sa_sigaction using union
38229 also for [__USE_XOPEN_EXTENDED].
38230 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38231 [__USE_XOPEN_EXTENDED].
38232 (SA_RESTART): Likewise.
38233 (SA_NODEFER): Likewise.
38234 (SA_RESETHAND): Likewise.
38235 (SA_NOPTRACE): Define only for [__USE_MISC].
38237 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
38238 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
38239 (struct catalog_info): Likewise.
38240 * inet/htontest.c (lo): Likewise.
38242 * inet/inet_lnaof.c (inet_lnaof): Likewise.
38243 * inet/inet_net.c (inet_network): Likewise.
38244 * inet/inet_netof.c (inet_netof): Likewise.
38245 * inet/rcmd.c (__ivaliduser): Likewise.
38246 (iruserok): Likewise.
38247 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
38248 * locale/programs/locale-spec.c (locale_special): Likewise.
38249 * nis/nis_findserv.c (struct findserv_req): Likewise.
38250 (__nis_findfastest_with_timeout): Likewise.
38251 * nss/test-netdb.c (test_network): Likewise.
38252 * resolv/inet_neta.c (inet_neta): Likewise.
38253 * resolv/ns_date.c (ns_datetosecs): Likewise.
38254 (SECS_PER_DAY): Likewise.
38255 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
38257 * resolv/res_comp.c (__putlong): Likewise.
38258 (__putshort): Likewise.
38259 (_getlong): Likewise.
38260 (_getshort): Likewise.
38261 * resolv/res_debug.c (p_time): Likewise.
38262 (precsize_ntoa): Likewise.
38263 (precsize_aton): Likewise.
38264 (latlon2ul): Likewise.
38265 (loc_aton): Likewise.
38266 (loc_ntoa): Likewise.
38267 * resolv/res_hconf.c (struct netaddr): Likewise.
38268 (_res_hconf_reorder_addrs): Likewise.
38269 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
38270 (clnttcp_control): Likewise.
38271 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38272 (clntudp_control): Likewise.
38273 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
38274 (clntunix_control): Likewise.
38275 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
38276 * sunrpc/rpc/auth.h (union des_block): Likewise.
38277 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
38278 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
38279 (xdrrec_create): Likewise.
38280 (xdrrec_endofrecord): Likewise.
38281 (flush_out): Likewise.
38282 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
38283 (xdrstdio_putlong): Likewise.
38284 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
38287 * misc/sys/cdefs.h (__long_double_t): Remove.
38288 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
38289 instead of __long_double_t,
38290 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
38292 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
38294 * benchtests/scripts/compare_strings.py: Avoid display error when
38295 running on a text terminal.
38297 * benchtests/scripts/compare_strings.py (main): Add an
38298 optional -base option.
38299 (process_results): New argument base_func.
38301 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
38303 * benchtests/bench-memcpy-large.c (test_name): Likewise.
38304 * benchtests/bench-memcpy-random.c (test_name): Likewise.
38306 2017-08-07 Andreas Schwab <schwab@suse.de>
38308 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
38309 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38310 * intl/Makefile ($(objpfx)tst-gettext.out)
38311 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
38312 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
38313 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38314 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38315 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
38316 * posix/Makefile ($(objpfx)globtest.out)
38317 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
38318 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
38319 ($(objpfx)tst-printf.out): Likewise.
38320 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
38321 ($(objpfx)tst-setcontext3.out): Likewise.
38323 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
38325 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38326 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
38327 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
38328 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
38329 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
38331 (CFLAGS-doasin-fma.c): New.
38332 (CFLAGS-dosincos-fma.c): Likewise.
38333 (CFLAGS-e_asin-fma.c): Likewise.
38334 (CFLAGS-e_atan2-fma.c): Likewise.
38335 (CFLAGS-e_exp-fma.c): Likewise.
38336 (CFLAGS-e_log-fma.c): Likewise.
38337 (CFLAGS-e_pow-fma.c): Likewise.
38338 (CFLAGS-halfulp-fma.c): Likewise.
38339 (CFLAGS-mpa-fma.c): Likewise.
38340 (CFLAGS-mpatan-fma.c): Likewise.
38341 (CFLAGS-mpatan2-fma.c): Likewise.
38342 (CFLAGS-mpexp-fma.c): Likewise.
38343 (CFLAGS-mplog-fma.c): Likewise.
38344 (CFLAGS-mpsqrt-fma.c): Likewise.
38345 (CFLAGS-mptan-fma.c): Likewise.
38346 (CFLAGS-s_atan-fma.c): Likewise.
38347 (CFLAGS-sincos32-fma.c): Likewise.
38348 (CFLAGS-slowexp-fma.c): Likewise.
38349 (CFLAGS-slowpow-fma.c): Likewise.
38350 (CFLAGS-s_sin-fma.c): Likewise.
38351 (CFLAGS-s_tan-fma.c): Likewise.
38352 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
38353 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
38354 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
38355 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
38356 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
38357 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
38358 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
38359 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
38360 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
38361 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
38362 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
38363 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
38364 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
38365 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
38366 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
38367 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
38368 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
38369 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
38370 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
38371 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
38372 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
38373 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
38374 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
38375 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
38376 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38377 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38378 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38379 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
38380 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38381 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38382 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38384 2017-08-04 Joseph Myers <joseph@codesourcery.com>
38386 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
38387 (min_of_type_f): New macro.
38388 (min_of_type_): Likewise.
38389 (min_of_type_l): Likewise.
38390 (min_of_type_f128): Likewise.
38391 (min_of_type): Define using __MATH_TG and taking an expression
38393 (math_check_force_underflow): Pass expression instead of type to
38395 (math_check_force_underflow_nonneg): Likewise.
38397 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38399 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
38400 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
38401 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
38403 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38406 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
38407 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
38408 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
38409 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
38410 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
38411 memcpy_chk-nonshared, mempcpy_chk-nonshared,
38412 memmove_chk-nonshared and memset_chk-nonshared
38413 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
38414 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
38415 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
38416 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
38417 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
38418 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
38419 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
38420 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
38421 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
38422 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
38423 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
38424 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
38425 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
38426 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
38427 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
38428 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
38429 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
38430 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
38431 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
38432 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
38433 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
38434 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
38435 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
38436 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
38437 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
38438 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
38439 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
38440 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
38441 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
38442 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
38443 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
38444 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
38445 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
38446 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38447 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38448 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
38449 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
38450 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
38451 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
38452 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
38453 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
38454 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
38455 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
38456 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
38457 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
38458 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
38459 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
38460 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
38461 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
38462 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
38463 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
38464 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
38465 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
38466 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
38467 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
38468 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
38469 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
38470 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
38471 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
38472 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
38473 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
38474 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
38475 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
38476 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
38477 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
38478 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
38479 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
38480 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
38481 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
38482 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
38483 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
38484 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38485 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38486 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38487 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38488 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38489 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38490 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38491 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38492 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38493 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38494 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38495 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38496 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38497 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38498 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38499 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38500 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38501 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38502 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38503 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38504 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38505 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38506 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38507 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38508 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38509 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38510 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38511 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38512 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38513 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38514 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38515 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38516 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38517 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38518 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38519 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38520 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38522 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38524 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
38525 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
38526 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
38527 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
38528 svml_d_log2_core-sse2, svml_d_log4_core-sse,
38529 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
38530 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
38531 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
38532 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
38533 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
38534 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
38535 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
38536 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
38537 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
38538 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
38539 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
38540 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
38541 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
38542 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
38543 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
38544 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
38545 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
38546 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
38547 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
38548 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
38549 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
38550 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
38551 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
38552 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
38553 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
38554 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
38555 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
38556 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
38557 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
38558 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
38559 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
38560 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
38561 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
38562 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
38563 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
38564 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
38565 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
38566 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
38567 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
38568 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
38569 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
38570 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
38571 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
38572 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
38573 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
38574 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
38575 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
38576 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
38577 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
38578 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
38579 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
38580 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
38581 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
38582 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
38584 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
38585 Don't include <sysdep.h> nor <init-arch.h>.
38586 (_ZGVbN2v_cos): Removed.
38587 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
38589 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
38590 Don't include <sysdep.h> nor <init-arch.h>.
38591 (_ZGVdN4v_cos): Removed.
38592 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
38594 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
38595 Don't include <sysdep.h> nor <init-arch.h>.
38596 (_ZGVeN8v_cos): Removed.
38597 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
38599 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
38600 Don't include <sysdep.h> nor <init-arch.h>.
38601 (_ZGVbN2v_exp): Removed.
38602 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
38604 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
38605 Don't include <sysdep.h> nor <init-arch.h>.
38606 (_ZGVdN4v_exp): Removed.
38607 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
38609 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
38610 Don't include <sysdep.h> nor <init-arch.h>.
38611 (_ZGVeN8v_exp): Removed.
38612 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
38614 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
38615 Don't include <sysdep.h> nor <init-arch.h>.
38616 (_ZGVbN2v_log): Removed.
38617 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38619 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38620 Don't include <sysdep.h> nor <init-arch.h>.
38621 (_ZGVdN4v_log): Removed.
38622 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38624 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38625 Don't include <sysdep.h> nor <init-arch.h>.
38626 (_ZGVeN8v_log): Removed.
38627 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38629 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38630 Don't include <sysdep.h> nor <init-arch.h>.
38631 (_ZGVbN2vv_pow): Removed.
38632 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38634 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38635 Don't include <sysdep.h> nor <init-arch.h>.
38636 (_ZGVdN4vv_pow): Removed.
38637 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38639 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38640 Don't include <sysdep.h> nor <init-arch.h>.
38641 (_ZGVeN8vv_pow): Removed.
38642 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38644 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38645 Don't include <sysdep.h> nor <init-arch.h>.
38646 (_ZGVbN2v_sin): Removed.
38647 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38649 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38650 Don't include <sysdep.h> nor <init-arch.h>.
38651 (_ZGVbN4v_sin): Removed.
38652 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38654 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38655 Don't include <sysdep.h> nor <init-arch.h>.
38656 (_ZGVbN8v_sin): Removed.
38657 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38659 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38660 Don't include <sysdep.h> nor <init-arch.h>.
38661 (_ZGVbN2vvv_sincos): Removed.
38662 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38664 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38665 Don't include <sysdep.h> nor <init-arch.h>.
38666 (_ZGVdN4vvv_sincos): Removed.
38667 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38669 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38670 Don't include <sysdep.h> nor <init-arch.h>.
38671 (_ZGVeN8vvv_sincos): Removed.
38672 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38674 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38675 Don't include <sysdep.h> nor <init-arch.h>.
38676 (_ZGVeN16v_cosf): Removed.
38677 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38679 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38680 Don't include <sysdep.h> nor <init-arch.h>.
38681 (_ZGVbN4v_cosf): Removed.
38682 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38684 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38685 Don't include <sysdep.h> nor <init-arch.h>.
38686 (_ZGVdN8v_cosf): Removed.
38687 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38689 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38690 Don't include <sysdep.h> nor <init-arch.h>.
38691 (_ZGVeN16v_expf): Removed.
38692 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38694 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38695 Don't include <sysdep.h> nor <init-arch.h>.
38696 (_ZGVbN4v_expf): Removed.
38697 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38699 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38700 Don't include <sysdep.h> nor <init-arch.h>.
38701 (_ZGVdN8v_expf): Removed.
38702 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38704 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38705 Don't include <sysdep.h> nor <init-arch.h>.
38706 (_ZGVeN16v_logf): Removed.
38707 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38709 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38710 Don't include <sysdep.h> nor <init-arch.h>.
38711 (_ZGVbN4v_logf): Removed.
38712 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38714 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38715 Don't include <sysdep.h> nor <init-arch.h>.
38716 (_ZGVdN8v_logf): Removed.
38717 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38719 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38720 Don't include <sysdep.h> nor <init-arch.h>.
38721 (_ZGVeN16vv_powf): Removed.
38722 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38724 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38725 Don't include <sysdep.h> nor <init-arch.h>.
38726 (_ZGVbN4vv_powf): Removed.
38727 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38729 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38730 Don't include <sysdep.h> nor <init-arch.h>.
38731 (_ZGVdN8vv_powf): Removed.
38732 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38734 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38735 Don't include <sysdep.h> nor <init-arch.h>.
38736 (_ZGVeN16vvv_sincosf): Removed.
38737 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38739 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38740 Don't include <sysdep.h> nor <init-arch.h>.
38741 (_ZGVbN4vvv_sincosf): Removed.
38742 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38744 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38745 Don't include <sysdep.h> nor <init-arch.h>.
38746 (_ZGVdN8vvv_sincosf): Removed.
38747 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38749 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38750 Don't include <sysdep.h> nor <init-arch.h>.
38751 (_ZGVeN16v_sinf): Removed.
38752 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38754 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38755 Don't include <sysdep.h> nor <init-arch.h>.
38756 (_ZGVbN4v_sinf): Removed.
38757 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38759 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38760 Don't include <sysdep.h> nor <init-arch.h>.
38761 (_ZGVdN8v_sinf): Removed.
38763 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38765 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38766 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38767 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38768 s_rint-sse4_1 and s_rintf-sse4_1.
38769 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38770 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38771 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38772 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38773 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38774 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38775 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38776 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38777 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38778 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38779 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38780 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38782 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38783 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38784 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38785 (__ceilf): Removed.
38786 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38787 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38788 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38789 (__floor): Removed.
38790 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38791 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38792 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38793 (__floorf): Removed.
38794 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38795 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38796 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38797 (__nearbyint): Removed.
38798 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38799 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38800 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38801 (__nearbyintf): Removed.
38802 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38803 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38804 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38806 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38807 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38808 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38809 (__rintf): Removed.
38811 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38813 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38814 SHARED. Avoid dynamic relocation against main in static PIE.
38816 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38819 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38820 (LDFLAGS-tst-prelink): Likewise.
38822 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38824 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38825 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38826 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38827 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38828 (INTERNAL_SYSCALL_NCS): Likewise.
38829 (LOADARGS_1): Likewise.
38830 (LOADARGS_5): Likewise.
38831 (RESTOREARGS_1): Likewise.
38832 (RESTOREARGS_5): Likewise.
38834 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38836 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38837 (MEMPCPY_SYMBOL): Likewise.
38838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38839 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38840 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38842 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38843 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38845 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38846 (__hidden_ver1): Don't use in libc.a.
38847 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38848 (__mempcpy): Don't create a weak alias in libc.a.
38849 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38851 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38852 (__hidden_ver1): Don't use in libc.a.
38854 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38856 * config.make.in (have-insert): New.
38857 * configure.ac (libc_cv_insert): New. Set to yes if linker
38858 supports INSERT in linker script.
38859 (AC_SUBST(libc_cv_insert): New.
38860 * configure: Regenerated.
38861 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38862 if $(have-insert) == yes.
38864 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38866 * elf/Makefile (tests): Add vismain only if
38867 $(have-protected-data) == yes.
38868 (tests-pie): Likewise.
38870 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38873 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38874 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38876 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38879 * sysdeps/i386/i586/memset.S
38880 (__memset_zero_constant_len_parameter): Removed.
38881 * sysdeps/i386/i686/memset.S
38882 (__memset_zero_constant_len_parameter): Likewise.
38883 * sysdeps/i386/i686/multiarch/memset_chk.S
38884 (__memset_zero_constant_len_parameter): Likewise.
38885 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38888 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38890 * stdlib/getentropy.c (getentropy): Change return type to int.
38892 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38894 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38896 2017-08-03 Joseph Myers <joseph@codesourcery.com>
38898 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38900 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38901 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38903 (ieee_float_shape_type): Likewise.
38904 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38905 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38906 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38907 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38908 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38909 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38910 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38911 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38912 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38914 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38915 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38916 (__ieee754_yn): Likewise.
38917 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38918 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38919 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38921 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38922 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38923 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38924 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38925 (__erfc): Likewise.
38926 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38927 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38928 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38929 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38930 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38931 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38933 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38934 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38935 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38936 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38937 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38938 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38939 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38940 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38941 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38942 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38943 (__issignaling): Likewise.
38944 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38945 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38946 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38948 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38949 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38950 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38951 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38953 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38955 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38956 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38957 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38958 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38959 (__erfcf): Likewise.
38960 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38961 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38962 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38963 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38965 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38966 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38968 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38969 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38970 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38971 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38972 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38973 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38974 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38975 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38977 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38979 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38981 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38982 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38984 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38986 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38987 (__ieee754_ynl): Likewise.
38988 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38989 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38991 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38993 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38994 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38995 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38997 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38998 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38999 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
39000 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
39001 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
39002 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
39003 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
39004 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
39006 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
39007 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
39008 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
39010 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
39011 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
39012 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
39013 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
39014 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
39015 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
39017 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39019 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39021 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39023 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
39024 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39025 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39026 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
39027 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
39028 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
39029 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
39031 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39033 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39034 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39036 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
39037 (__ieee754_remainderl): Likewise.
39038 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39039 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39040 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39041 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39043 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39044 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39046 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39047 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
39048 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
39049 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
39050 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
39051 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39053 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
39054 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
39055 (__ieee754_y0l): Likewise.
39058 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39059 (__ieee754_y1l): Likewise.
39062 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
39063 (__ieee754_ynl): Likewise.
39064 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
39065 (__ieee754_lgammal_r): Likewise.
39066 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
39068 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
39069 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
39070 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
39071 (__erfcl): Likewise.
39072 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
39073 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
39075 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
39076 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
39077 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
39078 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
39079 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
39080 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39081 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39083 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
39084 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39085 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
39086 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
39087 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39089 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
39090 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
39092 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
39093 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
39094 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
39095 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39096 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
39098 2017-08-03 Florian Weimer <fweimer@redhat.com>
39101 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
39102 on memory allocation failure.
39104 2017-08-03 Alan Modra <amodra@gmail.com>
39106 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
39107 tst-tlsopt-powerpc.c with function name change and no test harness.
39108 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
39109 Call tls_get_addr_opt_test.
39110 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
39111 (modules-names): Add mod-tlsopt-powerpc.
39112 (mod-tlsopt-powerpc.so-no-z-defs): Define.
39113 (tst-tlsopt-powerpc): Depend on .so.
39114 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
39115 define. Expand use in TLS_GD and TLS_LD.
39117 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39119 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
39121 * sysdeps/posix/shm_open.c: Include <pthread.h>.
39123 2017-08-02 Joseph Myers <joseph@codesourcery.com>
39126 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
39127 comparing size with that of double.
39128 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
39129 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
39130 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
39131 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
39132 (__TGMATH_BINARY_REAL_IMAG): Likewise.
39133 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
39134 unsigned __int128 types.
39136 2017-08-02 Steve Ellcey <sellcey@cavium.com>
39138 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
39139 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
39140 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
39141 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
39142 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
39144 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
39146 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
39148 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
39150 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
39152 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
39153 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39154 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39155 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39156 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39157 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39158 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39160 2017-08-02 Joseph Myers <joseph@codesourcery.com>
39163 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
39164 bit-field expressions passed to sizeof or typeof.
39165 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
39166 (__TGMATH_F128): Likewise.
39167 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
39168 (__TGMATH_CF128): Likewise.
39169 (__TGMATH_UNARY_REAL_ONLY): Likewise.
39170 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
39171 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
39172 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
39173 (__TGMATH_BINARY_REAL_ONLY): Likewise.
39174 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
39175 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
39176 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
39177 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
39178 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
39179 (__TGMATH_UNARY_REAL_IMAG): Likewise.
39180 (__TGMATH_UNARY_IMAG): Likewise.
39181 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
39182 (__TGMATH_BINARY_REAL_IMAG): Likewise.
39183 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
39185 (define_vars_for_type): Handle bit_field type specially.
39186 (Tests.__init__): Declare structure with bit-field element.
39188 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
39191 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
39192 (MEMCPY_CHK): Define only if SHARED is defined.
39193 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
39195 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
39198 See ChangeLog.18 for earlier changes.