1 2019-10-07 Florian Weimer <fweimer@redhat.com>
3 nptl: Move pthread_attr_setschedparam implementation into libc.
4 * nptl/Makefile (routines): Add pthread_attr_setschedparam.
5 (libpthread-routines): Remove pthread_attr_setschedparam.
6 * nptl/Versions (libpthread GLIBC_2.0): Remove
7 pthread_attr_setschedparam.
8 * nptl/forward.c (pthread_attr_setschedparam): Remove definition.
9 * nptl/nptl-init.c (pthread_functions): Remove initializer for
10 ptr_pthread_attr_setschedparam.
11 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
12 Remove ptr_pthread_attr_setschedparam member.
13 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
14 Remove pthread_attr_setschedparam.
15 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
17 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
19 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
21 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
23 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
25 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
27 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
29 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
30 (GLIBC_2.4): Likewise.
31 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
32 (GLIBC_2.0): Likewise.
33 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
34 (GLIBC_2.18): Likewise.
35 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
36 (GLIBC_2.18): Likewise.
37 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
38 (GLIBC_2.0): Likewise.
39 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
40 (GLIBC_2.0): Likewise.
41 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
43 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
44 (GLIBC_2.0): Likewise.
45 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
46 (GLIBC_2.3): Likewise.
47 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
48 (GLIBC_2.17): Likewise.
49 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
50 (GLIBC_2.27): Likewise.
51 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
52 (GLIBC_2.0): Likewise.
53 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
54 (GLIBC_2.2): Likewise.
55 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
57 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
59 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
60 (GLIBC_2.0): Likewise.
61 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
62 (GLIBC_2.2): Likewise.
63 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
64 (GLIBC_2.2.5): Likewise.
65 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
66 (GLIBC_2.16): Likewise.
68 2019-10-07 Florian Weimer <fweimer@redhat.com>
70 riscv: Remove support for variable page sizes.
71 * sysdeps/unix/sysv/linux/riscv/Makefile [$(subdir) == elf]
72 (sysdep_routines): Do not add dl-static.
73 * sysdeps/unix/sysv/linux/riscv/dl-static.c: Remove file.
74 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
76 2019-10-07 Florian Weimer <fweimer@redhat.com>
78 nptl: Move pthread_attr_getschedparam implementation into libc.
79 * nptl/Makefile (routines): Add pthread_attr_getschedparam.
80 (libpthread-routines): Remove pthread_attr_getschedparam.
81 * nptl/Versions (libpthread GLIBC_2.0): Remove
82 pthread_attr_getschedparam.
83 * nptl/forward.c (pthread_attr_getschedparam): Remove definition.
84 * nptl/nptl-init.c (pthread_functions): Remove initializer for
85 ptr_pthread_attr_getschedparam.
86 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
87 Remove ptr_pthread_attr_getschedparam member.
88 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
89 Remove pthread_attr_getschedparam.
90 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
92 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
94 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
96 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
98 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
100 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
102 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
104 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
105 (GLIBC_2.4): Likewise.
106 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
107 (GLIBC_2.0): Likewise.
108 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
109 (GLIBC_2.18): Likewise.
110 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
111 (GLIBC_2.18): Likewise.
112 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
113 (GLIBC_2.0): Likewise.
114 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
115 (GLIBC_2.0): Likewise.
116 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
119 (GLIBC_2.0): Likewise.
120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
121 (GLIBC_2.3): Likewise.
122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
123 (GLIBC_2.17): Likewise.
124 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
125 (GLIBC_2.27): Likewise.
126 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
127 (GLIBC_2.0): Likewise.
128 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
129 (GLIBC_2.2): Likewise.
130 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
132 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
134 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
135 (GLIBC_2.0): Likewise.
136 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
137 (GLIBC_2.2): Likewise.
138 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
139 (GLIBC_2.2.5): Likewise.
140 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
141 (GLIBC_2.16): Likewise.
143 2019-10-04 Florian Weimer <fweimer@redhat.com>
146 * elf/dl-load.c (_dl_map_object_from_fd): Only assign TLS modid if
147 the link map will be returned to the caller.
148 * elf/Makefile [$(have-fpie) && $(build-shared)] (tests, tests-pie):
149 Add tst-dlopen-aout-pie.
150 (tst-tst-dlopen-aout-no-pie): Set.
151 (CFLAGS-tst-dlopen-aout-pie.c): Build with -fpie.
152 (tst-dlopen-aout-pie): Link with -ldl -lpthread.
153 * elf/tst-dlopen-aout-pie.c: New file.
155 2019-10-04 Florian Weimer <fweimer@redhat.com>
158 * elf/dl-load.c (_dl_map_object_from_fd): Do not use the file ID
159 when loading the executable as part of an explicit loader
162 2019-10-04 Florian Weimer <fweimer@redhat.com>
164 nptl: Move pthread_attr_setinheritsched implementation into libc.
165 * nptl/Makefile (routines): Add pthread_attr_setinheritsched.
166 (libpthread-routines): Remove pthread_attr_setinheritsched.
167 * nptl/Versions (libpthread GLIBC_2.0): Remove
168 pthread_attr_setinheritsched.
169 * nptl/forward.c (pthread_attr_setinheritsched): Remove definition.
170 * nptl/nptl-init.c (pthread_functions): Remove initializer for
171 ptr_pthread_attr_setinheritsched.
172 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
173 Remove ptr_pthread_attr_setinheritsched member.
174 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
175 Remove pthread_attr_setinheritsched.
176 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
178 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
180 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
182 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
184 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
186 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
188 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
190 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
191 (GLIBC_2.4): Likewise.
192 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
193 (GLIBC_2.0): Likewise.
194 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
195 (GLIBC_2.18): Likewise.
196 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
197 (GLIBC_2.18): Likewise.
198 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
199 (GLIBC_2.0): Likewise.
200 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
201 (GLIBC_2.0): Likewise.
202 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
205 (GLIBC_2.0): Likewise.
206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
207 (GLIBC_2.3): Likewise.
208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
209 (GLIBC_2.17): Likewise.
210 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
211 (GLIBC_2.27): Likewise.
212 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
213 (GLIBC_2.0): Likewise.
214 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
215 (GLIBC_2.2): Likewise.
216 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
218 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
220 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
221 (GLIBC_2.0): Likewise.
222 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
223 (GLIBC_2.2): Likewise.
224 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
225 (GLIBC_2.2.5): Likewise.
226 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
227 (GLIBC_2.16): Likewise.
229 2019-10-02 Joseph Myers <joseph@codesourcery.com>
231 * sunrpc/clnt_udp.c: Include <libc-diag.h>.
232 (clntudp_call): Disable -Wmaybe-uninitialized around declaration
235 2019-10-02 Alistair Francis <alistair.francis@wdc.com>
237 * string/endian.h: Restore the __USE_MISC conditionals.
239 2019-10-02 Joseph Myers <joseph@codesourcery.com>
241 * string/tester.c: Ignore -Warray-bounds and
242 -Wmemset-transposed-args at top level.
243 [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict and -Wstringop-overflow=
245 [__GNUC_PREREQ (8, 0)]: Ignore -Wstringop-truncation at top level.
246 (test_stpncpy): Do not ignore warnings here.
247 (test_strncat): Likewise.
248 (test_strncpy): Likewise.
249 (test_memset): Likewise.
251 2019-10-02 Łukasz Majewski <lukma@denx.de>
252 * include/time.h: Add #include <bits/types/struct_timeval.h>
254 2019-10-02 Paul A. Clarke <pc@us.ibm.com>
256 * sysdeps/powerpc/fpu/fenv_private.h:
257 (__TEST_AND_BEGIN_NON_STOP): New.
258 (__TEST_AND_END_NON_STOP): New.
259 (libc_feholdexcept_setround_ppc): Use __TEST_AND_BEGIN_NON_STOP.
260 (__libc_femergeenv_ppc): Use __TEST_AND_BEGIN_NON_STOP and
261 __TEST_AND_END_NON_STOP.
262 (libc_feholdsetround_noex_ppc_ctx): Use __TEST_AND_END_NON_STOP.
264 2019-10-02 Arjun Shankar <arjun@redhat.com>
266 debugglibc.sh: Implement program arguments
267 * Makefile (debugglibc): Change variable definition.
269 2019-10-01 Alistair Francis <alistair.francis@wdc.com>
271 * time/bits/types/struct_timespec.h: Add padding for the timespec if
274 2019-10-01 Zack Weinberg <zackw@panix.com>
275 Alistair Francis <alistair.francis@wdc.com>
277 * string/endian.h: Unconditionally define LITTLE_ENDIAN,
278 BIG_ENDIAN, PDP_ENDIAN, and BYTE_ORDER. Condition byteswapping
279 macros only on !__ASSEMBLER__. Move the definitions of
280 __BIG_ENDIAN, __LITTLE_ENDIAN, __PDP_ENDIAN, __FLOAT_WORD_ORDER,
281 and __LONG_LONG_PAIR to...
282 * string/bits/endian.h: ...this new file, which includes
283 the renamed header bits/endianness.h for the definition of
284 __BYTE_ORDER and possibly __FLOAT_WORD_ORDER.
286 * string/Makefile: Install bits/endianness.h.
287 * include/bits/endian.h: New wrapper.
289 * bits/endian.h: Rename to bits/endianness.h.
290 Add multiple-include guard. Rewrite the comment explaining what
291 the machine-specific variants of this file should do.
293 * sysdeps/unix/sysv/linux/ia64/bits/endian.h:
294 Move to sysdeps/ia64.
296 * sysdeps/aarch64/bits/endian.h
297 * sysdeps/alpha/bits/endian.h
298 * sysdeps/arm/bits/endian.h
299 * sysdeps/csky/bits/endian.h
300 * sysdeps/hppa/bits/endian.h
301 * sysdeps/ia64/bits/endian.h
302 * sysdeps/m68k/bits/endian.h
303 * sysdeps/microblaze/bits/endian.h
304 * sysdeps/mips/bits/endian.h
305 * sysdeps/nios2/bits/endian.h
306 * sysdeps/powerpc/bits/endian.h
307 * sysdeps/riscv/bits/endian.h
308 * sysdeps/s390/bits/endian.h
309 * sysdeps/sh/bits/endian.h
310 * sysdeps/sparc/bits/endian.h
311 * sysdeps/x86/bits/endian.h:
312 Rename to endianness.h; canonicalize form of file; remove
313 redundant definitions of __FLOAT_WORD_ORDER.
315 * sysdeps/powerpc/bits/endianness.h: Remove logic to check for
319 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
320 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
321 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h
322 * sysdeps/ia64/ieee754.h
323 * sysdeps/ieee754/ieee754.h
324 * sysdeps/ieee754/ldbl-128/ieee754.h
325 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
326 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
327 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
328 * sysdeps/mips/ieee754/ieee754.h
329 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
330 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
331 * sysdeps/nptl/pthread.h
332 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h
333 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
334 * sysdeps/sparc/sparc32/ieee754.h
335 * sysdeps/unix/sysv/linux/generic/bits/stat.h
336 * sysdeps/unix/sysv/linux/generic/bits/statfs.h
337 * sysdeps/unix/sysv/linux/sys/acct.h
338 * wctype/bits/wctype-wchar.h:
339 Include bits/endian.h, not endian.h.
341 * sysdeps/unix/sysv/linux/hppa/pthread.h: Don’t include endian.h.
343 * sysdeps/mips/ieee754/ieee754.h: Use __LDBL_MANT_DIG__
344 in ifdefs, instead of LDBL_MANT_DIG. Only include float.h
345 when __LDBL_MANT_DIG__ is not predefined, in which case
346 define __LDBL_MANT_DIG__ to equal LDBL_MANT_DIG.
348 2019-09-17 Mike FABIAN <mfabian@redhat.com>
350 * localedata/locales/az_AZ: Make lang_name agree with CLDR
351 * localedata/locales/be_BY@latin: Make lang_name agree with langtable
352 * localedata/locales/ber_DZ: Make language, country_name, lang_name agree with langtable
353 * localedata/locales/ber_MA: Add country_name from langtable, make language, lang_name agree with langtable
354 * localedata/locales/bhb_IN: Add country_name from langtable, make lang_name agree with langtable
355 * localedata/locales/bho_IN: Add country_name from langtable
356 * localedata/locales/chr_US: Make country_name agree with CLDR
357 * localedata/locales/crh_UA: Make lang_name agree with langtable
358 * localedata/locales/csb_PL: Add country_name from langtable
359 * localedata/locales/doi_IN: Add country_name from langtable
360 * localedata/locales/dv_MV: Add country_name from langtable
361 * localedata/locales/eo: Fix capitalisation of lang_name, agree with CLDR
362 * localedata/locales/hak_TW: Make lang_name agree with langtable
363 * localedata/locales/hif_FJ: Make lang_name agree with langtable
364 * localedata/locales/hne_IN: Add country_name from langtable
365 * localedata/locales/ia_FR: Fix capitalisation of lang_name, agree with CLDR
366 * localedata/locales/id_ID: Make lang_name agree with CLDR
367 * localedata/locales/ig_NG: Make country_name, lang_name agree with CLDR
368 * localedata/locales/kab_DZ: Make country_name agree with CLDR
369 * localedata/locales/ks_IN: Make country_name agree with CLDR
370 * localedata/locales/ku_TR: Make country_name, lang_name agree with CLDR
371 * localedata/locales/mag_IN: Add country_name from langtable
372 * localedata/locales/mfe_MU: Make country_name agree with CLDR
373 * localedata/locales/mhr_RU: Add lang_name from langtable
374 * localedata/locales/mi_NZ: Make lang_name agree with CLDR
375 * localedata/locales/ms_MY: Make lang_name agree with CLDR
376 * localedata/locales/nan_TW: Make lang_name agree with langtable
377 * localedata/locales/nan_TW@latin: Make lang_name agree with langtable
378 * localedata/locales/nds_DE: Make lang_name agree with langtable
379 * localedata/locales/nds_NL: Make lang_name agree with langtable
380 * localedata/locales/nhn_MX: Add country_name from langtable, make lang_name agree with langtable
381 * localedata/locales/niu_NU: Add country_name, lang_name from langtable
382 * localedata/locales/niu_NZ: Add lang_name from langtable
383 * localedata/locales/nr_ZA: Fix capitalisation of lang_name from langtable
384 * localedata/locales/oc_FR: Fix capitalisation of lang_name from langtable
385 * localedata/locales/or_IN: Fix spelling of language from langtable
386 * localedata/locales/pa_PK: Make country_name agree with CLDR
387 * localedata/locales/ps_AF: Make country_name agree with CLDR
388 * localedata/locales/quz_PE: Make language, lang_name agree with langtable
389 * localedata/locales/raj_IN: Make country_name, lang_name agree with langtable
390 * localedata/locales/rw_RW: Make country_name agree with CLDR
391 * localedata/locales/sah_RU: Make langauge, country_name, lang_name agree with CLDR
392 * localedata/locales/sat_IN: Make country_name, lang_name agree with langtable
393 * localedata/locales/sc_IT: Fix capitalisaton of lang_name according to langtable
394 * localedata/locales/sd_IN: Make country_name, lang_name agree with CLDR
395 * localedata/locales/sd_IN@devanagari: Make lang_name agree with langtable
396 * localedata/locales/shn_MM: Make country_name agree with langtable
397 * localedata/locales/shs_CA: Make language, lang_name agree with langtable
398 * localedata/locales/sm_WS: Make country_name agree with langtable
399 * localedata/locales/ss_ZA: Fix capitalisation of lang_name from langtable
400 * localedata/locales/szl_PL: Add country_name from langtable
401 * localedata/locales/te_IN: Fix country_name from CLDR
402 * localedata/locales/tg_TJ: Add lang_name from CLDR
403 * localedata/locales/the_NP: Add country_name, lang_name from langtable
404 * localedata/locales/tk_TM: Make lang_name agree with CLDR
405 * localedata/locales/tl_PH: Add lang_name from langtable
406 * localedata/locales/to_TO: Make lang_name agree with CLDR
407 * localedata/locales/tpi_PG: Make country_name, lang_name agree with langtable
408 * localedata/locales/tt_RU@iqtelif: Add country_name, lang_name from langtable
409 * localedata/locales/ug_CN: Add lang_name from CLDR
410 * localedata/locales/unm_US: Add lang_name from langtable
411 * localedata/locales/wa_BE: Fix capitalisation of lang_name from langtable
412 * localedata/locales/wo_SN: Add lang_name from CLDR
413 * localedata/locales/xh_ZA: Fix capitalisation of country_name, lang_name from CLDR
414 * localedata/locales/yo_NG: Make country_name agree with CLDR
415 * localedata/locales/yuw_PG: Make langauge, lang_name agree with langtable
416 * localedata/locales/zh_HK: Add lang_name from langtable
417 * localedata/locales/zh_SG: Add lang_name from langtable
419 2019-09-30 Joseph Myers <joseph@codesourcery.com>
421 * scripts/build-many-glibcs.py (Context.checkout): Default
422 binutils version to 2.33 branch.
424 2019-10-01 Lukasz Majewski <lukma@denx.de>
426 * include/time.h (valid_timeval_to_timespec64): Add.
427 * include/time.h (valid_timespec_to_timespec64): Likewise.
428 * include/time.h (valid_timespec64_to_timespec): Likewise.
429 * include/time.h (valid_timespec64_to_timeval): Likewise.
431 2019-09-30 Joseph Myers <joseph@codesourcery.com>
433 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
434 (MAP_SYNC): New macro.
435 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
436 (MAP_SYNC): Likewise.
437 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
438 kernel version number to 5.3.
440 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
442 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): Rename to
444 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
445 rename of fesetenv_mode to fegetenv_control.
446 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
447 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
448 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Likewise.
449 (libc_feholdsetround_noex_ppc_ctx): Likewise.
451 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
453 * sysdeps/powerpc/fpu/fenv_private.h
454 (libc_feholdsetround_noex_ppc_ctx): Call fesetenv_mode instead
455 of fesetenv_register.
457 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
459 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status): Rename to
461 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
462 rename of fegetenv_status to fegetenv_control.
463 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
464 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
465 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Likewise.
466 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
467 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
469 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
471 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline): Use
472 'mffscrn' instruction on POWER9.
473 (__fesetround_inline_nocheck): Likewise.
475 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
477 * sysdeps/powerpc/fpu/fenv_libc.h (FPSCR_EXCEPTIONS_MASK): New.
478 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Optimize
479 to write FPSCR control only, if exceptions have not changed.
481 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
483 * sysdeps/powerpc/fpu/fenv_libc.h:
484 (__TEST_AND_ENTER_NON_STOP): New.
485 (__TEST_AND_EXIT_NON_STOP): New.
486 * sysdeps/powerpc/fpu/fenv_private.h
487 (_FPU_ALL_TRAPS): Delete, replace with FPSCR_ENABLES_MASK.
488 (_FPU_MASK_RN): Delete.
489 (_FPU_MASK_NOT_RN_NI): Delete.
490 (_FPU_MASK_TRAPS_RN): Delete, replace with ~FPSCR_CONTROL_MASK.
491 (_FPU_MASK_FRAC_INEX_RET_CC): Delete, replace with ~FPSCR_STATUS_MASK.
492 (__libc_feholdbits_ppc): Delete, move code into
493 libc_feholdexcept_setround_ppc.
494 (libc_feholdexcept_ppc): Delete.
495 (libc_fesetround_ppc): Delete.
496 (libc_fetestexcept_ppc): Delete.
497 (libc_feholdsetround_ppc): Delete.
498 (__libc_femergeenv_ppc): Use __TEST_AND_ENTER/EXIT_NON_STOP.
499 (libc_feholdsetround_noex_ppc_ctx): Likewise.
500 (libc_feupdateenv_test_ppc): Use FPSCR defines.
501 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
502 __TEST_AND_ENTER_NON_STOP.
503 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
504 * sysdeps/powerpc/fpu/feholdexcpt.c (__feholdexcept): Likewise.
505 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
506 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
507 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
508 (_FPU_MASK_ALL): Delete.
510 2019-09-27 Joseph Myers <joseph@codesourcery.com>
512 * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
514 2019-09-26 Lukasz Majewski <lukma@denx.de>
516 * include/time.h: Add struct __timespec64 definition
518 2019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
520 * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
523 2019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
525 * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
526 * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
528 * sysdeps/unix/sysv/linux/Makefile
529 (CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
530 CFLAGS-tst-sigcontext-get_pc.c.
532 2019-09-24 Alistair Francis <alistair.francis@wdc.com>
534 * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
536 2019-09-24 Andreas Schwab <schwab@suse.de>
538 * sysdeps/unix/sysv/linux/arm/sysdep.h
539 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
540 not "__vdso_gettimeofday".
541 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
542 "__vdso_clock_gettime".
543 * sysdeps/unix/sysv/linux/mips/sysdep.h
544 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
545 not "__vdso_gettimeofday".
546 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
547 "__vdso_clock_gettime".
549 2019-09-19 Paul A. Clarke <pc@us.ibm.com>
551 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
553 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
554 Do not clear enable bits, remove obsolete code, use
556 (libc_feresetround_ppc): Remove obsolete code, use
559 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
561 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
563 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
565 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
566 (_HP_TIMING_S390_H): Define.
568 2019-09-18 Joseph Myers <joseph@codesourcery.com>
570 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
572 (clone3): New syscall.
573 (pidfd_open): Likewise.
575 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
578 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
580 * sysdeps/s390/hp-timing.h: New file.
582 2019-09-18 Joseph Myers <joseph@codesourcery.com>
584 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
586 (CLONE_VM): New macro.
587 (CLONE_VFORK): Likewise.
589 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
591 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
592 Rearrange subprocesses.
593 (pldd_process): New function.
594 * support/Makefile (libsupport-routines): Add support_ptrace.
595 * support/xptrace.h: New file.
596 * support/support_ptrace.c: Likewise.
598 2019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
600 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
602 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
603 (INTERNAL_VSYSCALL_CALL): Remove.
604 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
605 (INTERNAL_VSYSCALL_CALL): Likewise.
606 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
607 (INTERNAL_VSYSCALL_CALL): Likewise.
608 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
611 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
613 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
614 (__get_timebase_freq): Remove use of
615 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
616 (get_timebase_freq_fallback): New symbol.
617 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
618 HAVE_GETTIMEOFDAY_VSYSCALL.
619 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
621 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
624 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
626 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
627 * .../sysv/linux/powerpc/powerpc64/sysdep.h
628 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
629 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
630 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
632 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
633 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
634 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
636 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
637 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
638 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
639 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
640 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
641 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
642 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
643 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
644 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
645 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
646 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
647 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
648 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
649 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
650 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
651 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
652 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
653 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
655 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
656 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
657 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
658 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
659 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
660 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
661 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
662 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
663 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
664 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
665 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
666 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
667 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
668 HAVE_GETCPU_VSYSCALL): Likewise.
669 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
670 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
671 HAVE_GETCPU_VSYSCALL): Likewise.
672 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
673 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
675 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
676 HAVE_GETCPU_VSYSCALL): Likewise.
677 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
678 invalid names if architecture does not define them.
679 (get_vdso_mangle_symbol): New symbol.
680 * sysdeps/unix/sysv/linux/init-first.c: New file.
681 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
682 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
683 clock_gettime, clock_getres, getcpu, time): Remove declaration.
684 (__libc_vdso_platform_setup_arch): Likewise and use
685 get_vdso_mangle_symbol to setup vDSO symbols.
686 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
688 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
689 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
692 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
693 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
694 Use get_vdso_symbol instead of _dl_vdso_vsym.
695 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
696 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
697 (__lookup_riscv_flush_icache): Likewise.
698 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
700 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
701 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
702 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
703 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
704 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
705 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
706 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
707 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
708 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
709 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
710 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
711 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
713 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
715 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
717 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
719 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
723 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
724 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
726 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
727 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
728 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
729 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
731 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
733 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
735 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
736 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
737 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
738 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
739 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
740 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
741 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
742 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
743 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
744 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
745 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
746 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
747 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
748 (get_vdso_symbol): New function.
750 2019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
752 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
753 position of string null termination.
755 2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
758 * sysdeps/unix/alpha/getegid.S: Move to ...
759 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
760 * sysdeps/unix/alpha/geteuid.S: Move to ...
761 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
762 * sysdeps/unix/alpha/getppid.S: Move to ...
763 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
765 2019-09-09 Paul Eggert <eggert@cs.ucla.edu>
767 Fix http: URL in 'configure'
768 * configure.ac: Add URL to AC_INIT so that it generates an
769 https: URL instead of an http: URL.
770 * configure: Regenerate.
772 Regenerate charmap-kw.h, locfile-kw.h
773 This propagates the recent http->https URL changes.
774 Since I used gperf 3.1 to regenerate, this is also a minor
775 internal-to-localedef API change.
776 URL problem reported by Joseph Myers in:
777 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
778 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
779 Regenerate with gperf 3.1.
780 * locale/programs/linereader.h (kw_hash_fct_t):
781 * locale/programs/repertoire.c (repertoiremap_hash):
782 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
784 2019-09-05 Florian Weimer <fweimer@redhat.com>
787 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
788 (_nl_category_names_get): New function.
789 * intl/dcigettext.c (category_to_name): Call it.
790 * locale/findlocale.c (_nl_find_locale): Likewise.
791 * intl/loadlocale.c (_nl_load_locale): Likewise.
792 * locale/newlocale.c (__newlocale): Likewise.
793 * locale/setlocale.c (_nl_category_names): Adjust definition.
794 (_nl_category_name_idxs): Likewise.
795 (new_composite_name): Call _nl_category_names_get.
796 (setlocale): Likewise.
798 2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
800 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
801 const attribute with pure attribute.
803 2019-09-04 Lukasz Majewski <lukma@denx.de>
805 * sysdeps/unix/sysv/linux/kernel-features.h
806 (__ASSUME_TIME64_SYSCALLS): New macro.
808 2019-09-04 Zack Weinberg <zackw@panix.com>
811 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
812 * rt/clock_getres.c: Move to time/clock_getres.c.
813 * rt/clock_gettime.c: Move to time/clock_gettime.c.
814 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
815 * rt/clock_settime.c: Move to time/clock_settime.c.
816 * rt/tst-clock.c: Move to time/tst-clock.c.
817 * rt/tst-clock2.c: Move to time/tst-clock2.c.
818 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
819 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
820 * rt/clock-compat.c: Delete file.
822 * time/clock_getcpuclockid.c
823 * time/clock_getres.c
824 * time/clock_gettime.c
825 * time/clock_nanosleep.c
826 * time/clock_settime.c
827 * sysdeps/posix/clock_getres.c
828 * sysdeps/unix/clock_gettime.c
829 * sysdeps/unix/clock_nanosleep.c
830 * sysdeps/unix/clock_settime.c
831 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
832 * sysdeps/unix/sysv/linux/clock_getres.c
833 * sysdeps/unix/sysv/linux/clock_gettime.c
834 * sysdeps/unix/sysv/linux/clock_nanosleep.c
835 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
836 defined by this file with default symbol version GLIBC_2_17,
837 and optionally a compatibility alias at symbol version GLIBC_2_2.
838 * include/time.h: Remove internal prototypes for clock_getres,
839 clock_nanosleep, and clock_getcpuclockid.
841 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
842 Remove unused function realtime_gettime.
844 * rt/Makefile (clock-routines, routines): Remove variable.
845 (librt-routines): Remove clock-compat.
846 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
848 * time/Makefile (routines): Add clock_getres, clock_gettime,
849 clock_settime, clock_getcpuclockid, and clock_nanosleep.
850 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
853 * rt/Versions (libc): Remove entire stanza.
854 (librt GLIBC_2.2): Remove all clock_* functions.
855 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
856 Add clock_getres, clock_gettime, clock_settime,
857 clock_getcpuclockid, and clock_nanosleep.
858 (libc GLIBC_PRIVATE): Add __clock_gettime.
860 * sysdeps/mach/hurd/i386/librt.abilist
861 * sysdeps/unix/sysv/linux/alpha/librt.abilist
862 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
863 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
864 * sysdeps/unix/sysv/linux/hppa/librt.abilist
865 * sysdeps/unix/sysv/linux/i386/librt.abilist
866 * sysdeps/unix/sysv/linux/ia64/librt.abilist
867 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
868 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
869 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
870 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
871 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
872 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
875 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
876 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
877 * sysdeps/unix/sysv/linux/sh/librt.abilist
878 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
879 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
880 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
881 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
882 Remove entries for clock_getres, clock_gettime, clock_settime,
883 clock_getcpuclockid, and clock_nanosleep.
885 * sysdeps/mach/hurd/i386/libc.abilist
886 * sysdeps/unix/sysv/linux/alpha/libc.abilist
887 * sysdeps/unix/sysv/linux/arm/libc.abilist
888 * sysdeps/unix/sysv/linux/hppa/libc.abilist
889 * sysdeps/unix/sysv/linux/i386/libc.abilist
890 * sysdeps/unix/sysv/linux/ia64/libc.abilist
891 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
892 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
893 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
894 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
895 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
896 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
900 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
901 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
902 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
903 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
904 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
905 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
906 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
907 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
908 Add another set of entries for clock_getres, clock_gettime,
909 clock_settime, clock_getcpuclockid, and clock_nanosleep at
910 whatever version GLIBC_2.2 maps to.
912 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
914 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
916 2019-09-03 Florian Weimer <fweimer@redhat.com>
919 * locale/programs/charmap.h (struct charseq): Turn bytes into a
920 flexible array member.
921 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
924 2019-09-02 Florian Weimer <fweimer@redhat.com>
926 * misc/tst-mntent-autofs.c: New file.
927 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
929 2019-09-02 Ian Kent <ikent@redhat.com>
931 Use autofs "ignore" mount hint in getmntent_r/getmntent.
932 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
934 (__getmntent_r): Call it. Filter out autofs entries with an
935 "ignore" mount option.
937 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
939 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
940 (generic_memcpy): Include generic C memcpy.
941 * benchtests/bench-memmove.c (simple_memmove): Remove.
942 (generic_memmove): Include generic C memmove.
943 * benchtests/bench-memset.c (simple_memset): Remove.
944 (generic_memset): Include generic C memset.
945 * benchtests/bench-memset-large.c (simple_memset): Remove.
946 (generic_memset): Include generic C memset.
947 * benchtests/bench-memset-walk.c (simple_memset): Remove.
948 (generic_memset): Include generic C memset.
949 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
950 * string/memset.c (MEMSET): Likewise.
951 * sysdeps/x86_64/memcopy.h: Remove empty file.
953 2019-08-30 Florian Weimer <fweimer@redhat.com>
955 nptl: Move pthread_attr_getinheritsched implementation into libc.
956 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
957 (libpthread-routines): Remove pthread_attr_getinheritsched.
958 * nptl/Versions (libpthread GLIBC_2.0): Remove
959 pthread_attr_getinheritsched.
960 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
961 * nptl/nptl-init.c (pthread_functions): Remove initializer for
962 ptr_pthread_attr_getinheritsched.
963 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
964 Remove ptr_pthread_attr_getinheritsched member.
965 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
966 Remove pthread_attr_getinheritsched.
967 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
969 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
971 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
973 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
975 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
977 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
979 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
981 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
982 (GLIBC_2.4): Likewise.
983 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
984 (GLIBC_2.0): Likewise.
985 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
986 (GLIBC_2.18): Likewise.
987 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
988 (GLIBC_2.18): Likewise.
989 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
990 (GLIBC_2.0): Likewise.
991 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
992 (GLIBC_2.0): Likewise.
993 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
996 (GLIBC_2.0): Likewise.
997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
998 (GLIBC_2.3): Likewise.
999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1000 (GLIBC_2.17): Likewise.
1001 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1002 (GLIBC_2.27): Likewise.
1003 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1004 (GLIBC_2.0): Likewise.
1005 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1006 (GLIBC_2.2): Likewise.
1007 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
1009 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
1011 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1012 (GLIBC_2.0): Likewise.
1013 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1014 (GLIBC_2.2): Likewise.
1015 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1016 (GLIBC_2.2.5): Likewise.
1017 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1018 (GLIBC_2.16): Likewise.
1020 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1022 * sysdeps/mach/hurd/getcwd.c
1023 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
1024 slash if we got an unknown root directory. (__getcwd): Do not fail with
1025 EGRATUITOUS if we got an unknown root directory.
1026 * hurd/hurdselect.c (SELECT_ERROR): New macro.
1028 - Add `error' field to `d' structures array.
1029 - If a poll descriptor is bogus, set EBADF, but continue with a zero
1031 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
1032 EBADF there is any bit set above _hurd_dtablesize.
1033 - Do not request io_select on bogus descriptors (SELECT_ERROR).
1034 - On io_select request error, record the error.
1035 - On io_select bogus reply, use EIO error code.
1036 - On io_select bogus or error reply, record the error.
1037 - Do not destroy reply port for bogus FDs.
1038 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
1039 EBADF case, or else POLLERR.
1040 - On error, make select simulated readiness.
1043 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
1046 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
1047 unlocks SS and returns to the saved PC.
1048 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
1049 thread stack instead of the saved PC.
1051 2019-08-30 Richard Braun <rbraun@sceen.net>
1053 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
1055 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
1056 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
1057 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
1059 (_hurd_select): Replace the call to __io_select with either
1060 __io_select_request or __io_select_timeout_request, depending on the
1061 timeout. Count the number of ready descriptors (replies for which at
1062 least one type bit is set). Implement the timeout locally when there is
1065 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
1067 * elf/dl-addr.c (determine_info): Calculate the symbol index
1068 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
1069 * elf/dl-lookup.c (do_lookup_x): Ditto.
1070 (_dl_setup_hash): Initialize MIPS xhash translation table.
1071 * elf/elf.h (SHT_MIPS_XHASH): New define.
1072 (DT_MIPS_XHASH): New define.
1073 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
1075 (ELF_MACHINE_HASH_SYMIDX): Ditto.
1076 (ELF_MACHINE_XHASH_SETUP): Ditto.
1077 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
1079 (ELF_MACHINE_HASH_SYMIDX): Ditto.
1080 (ELF_MACHINE_XHASH_SETUP): Ditto.
1081 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
1082 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
1084 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
1086 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1088 * sysdeps/sh/preconfigure.ac: New file.
1089 * sysdeps/sh/preconfigure: Regenerate.
1090 * sysdeps/sh/be/sh3/Implies: New file.
1091 * sysdeps/sh/be/sh4/Implies: Likewise.
1092 * sysdeps/sh/le/sh3/Implies: Likewise.
1093 * sysdeps/sh/le/sh4/Implies: Likewise.
1094 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
1095 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
1096 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
1097 sysdeps/unix/sysv/linux/sh/le/*.abilist.
1098 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
1100 * sysdeps/microblaze/preconfigure.ac: New file.
1101 * sysdeps/microblaze/preconfigure: Regenerate.
1102 * sysdeps/microblaze/be/implies: New file.
1103 * sysdeps/microblaze/le/implies: Likewise.
1104 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
1105 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
1106 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
1107 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
1108 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
1110 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
1111 * sysdeps/arm/preconfigure: Regenerate.
1112 * sysdeps/arm/be/Implies: New file.
1113 * sysdeps/arm/be/armv6/Implies: Likewise.
1114 * sysdeps/arm/be/armv6t2/Implies: Likewise.
1115 * sysdeps/arm/be/armv7/Implies: Likewise.
1116 * sysdeps/arm/le/Implies: Likewise.
1117 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
1118 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
1119 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
1120 sysdeps/unix/sysv/linux/arm/le/*.abilist.
1121 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
1123 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
1125 Fix posix/tst-regex by using UTF-8 and own test input
1126 Problem reported by Stefan Liebler in:
1127 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
1128 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
1129 (do_test, test_expr): Adjust to the fact that this source file,
1130 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
1131 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
1132 so that it is now UTF-8.
1134 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
1136 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
1137 (fegetenv_status): Generate 'mffsl' unconditionally.
1139 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
1141 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
1143 (_FPU_MASK_ALL): Delete.
1145 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
1147 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
1148 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
1150 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
1151 with simpler required steps, set fewer FPSCR bits if possible.
1153 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
1155 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
1156 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
1157 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
1158 weight access to FPSCR; remove unnecessary second FPSCR read and
1160 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1161 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
1162 access to FPSCR; Use macros in fenv_libc.h in favor of local.
1164 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
1166 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
1167 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
1168 (fenv_exceptions_to_reg): New.
1169 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
1170 operation with call to fenv_exceptions_to_reg().
1171 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1173 2019-08-28 Florian Weimer <fweimer@redhat.com>
1175 * misc/mntent.c (struct mntent_buffer): Define.
1176 (mntent_buffer): Adjust type to void *.
1177 (allocate): Adjust for allocate_once.
1178 (deallocate): New function.
1179 (getmntent): Call allocate_once.
1181 2019-08-28 Florian Weimer <fweimer@redhat.com>
1183 nptl: Move pthread_attr_setdetachstate implementation into libc.
1184 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
1185 (libpthread-routines): Remove pthread_attr_setdetachstate.
1186 * nptl/Versions (libpthread GLIBC_2.0): Remove
1187 pthread_attr_setdetachstate.
1188 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
1189 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1190 ptr_pthread_attr_setdetachstate.
1191 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1192 Remove ptr_pthread_attr_setdetachstate member.
1193 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1194 Remove pthread_attr_setdetachstate.
1195 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1197 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1199 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1201 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1203 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1205 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1207 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1208 (GLIBC_2.4): Likewise.
1209 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1210 (GLIBC_2.0): Likewise.
1211 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1212 (GLIBC_2.18): Likewise.
1213 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1214 (GLIBC_2.0): Likewise.
1215 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1216 (GLIBC_2.0): Likewise.
1217 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1220 (GLIBC_2.0): Likewise.
1221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1222 (GLIBC_2.3): Likewise.
1223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1224 (GLIBC_2.17): Likewise.
1225 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1226 (GLIBC_2.27): Likewise.
1227 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1228 (GLIBC_2.0): Likewise.
1229 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1230 (GLIBC_2.2): Likewise.
1231 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1233 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1234 (GLIBC_2.0): Likewise.
1235 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1236 (GLIBC_2.2): Likewise.
1237 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1238 (GLIBC_2.2.5): Likewise.
1239 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1240 (GLIBC_2.16): Likewise.
1242 2019-08-28 Florian Weimer <fweimer@redhat.com>
1245 * login/Makefile (tests): Add tst-pututxline-lockfail.
1246 (tst-pututxline-lockfail): Link with -lpthread.
1247 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
1248 (__libc_getutid_r): Adjust.
1249 (__libc_pututline): Likewise. Check for file_offset == -1.
1250 * login/tst-pututxline-lockfail.c: New file.
1252 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
1254 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
1255 * posix/tst-regex.input: New file.
1257 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
1260 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
1262 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
1263 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
1264 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
1265 * sysdeps/mips/tst-undefined-weak.c: Likewise.
1266 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
1267 Increment highest valid ABIVERSION value.
1269 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1271 * sysdeps/unix/sysv/linux/mips/Makefile
1272 (test-xfail-check-execstack):
1273 Move under mips-has-gnustack != yes.
1274 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
1275 Apply -Wa,-execstack if mips-force-execstack == yes.
1276 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1277 * sysdeps/unix/sysv/linux/mips/configure.ac
1278 (mips-force-execstack): New var.
1279 Set to yes for hard-float builds with minimum_kernel < 4.8.0
1280 or minimum_kernel not set at all.
1281 (mips-has-gnustack): New var.
1282 Use value of libc_cv_as_noexecstack
1283 if mips-force-execstack != yes, otherwise set to no.
1285 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1286 Florian Weimer <fweimer@redhat.com>
1288 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
1289 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1290 Make a compat_symbol.
1291 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
1292 (__profil_counter_global): Likewise.
1294 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
1295 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
1297 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
1298 sigcontext_get_pc and return aligned cast to uintptr_t.
1299 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
1300 * sysdeps/posix/profil.c (profil_count): Change PC argument to
1302 (__profil): Use SA_SIGINFO.
1303 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
1305 (__sprofil): Use SA_SIGINFO.
1306 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
1307 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
1308 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1309 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
1310 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
1311 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
1312 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
1313 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
1314 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
1315 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
1316 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
1317 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
1318 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
1319 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
1320 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
1321 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
1322 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
1323 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
1324 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
1325 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
1326 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
1327 GET_PC, __sigaction, sigaction): Remove defines.
1328 (sigcontext_get_pc): New function.
1329 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1330 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1331 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1332 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
1333 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1334 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
1335 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
1336 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
1337 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
1338 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
1339 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
1340 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1341 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
1342 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
1343 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1344 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1345 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
1346 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
1347 Handle CTX argument as ucontext_t.
1348 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1350 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
1351 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1352 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1353 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
1354 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
1355 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1356 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1357 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1358 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
1359 tst-sigcontextinfo-get_pc.
1360 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
1361 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
1363 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1365 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
1368 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
1371 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
1372 * localedata/locales/ug_CN (first_weekday): Likewise.
1373 * localedata/locales/zh_CN (first_weekday): Likewise.
1375 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
1377 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
1378 field name in mcontext_t struct.
1380 2019-08-22 Joseph Myers <joseph@codesourcery.com>
1382 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
1383 unsupported with libidn2 before 2.0.5.
1384 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
1386 * manual/time.texi (strftime): Document %Ob and %OB as C2X
1389 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
1391 Remove dead regex code
1392 * posix/regex_internal.c (re_node_set_insert):
1393 Remove unnecessary assignment. Reported by Tim Rühsen in:
1394 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
1396 Fix bad pointer / leak in regex code
1397 This was found by Coverity (CID 1484201). [BZ#24844]
1398 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
1399 pointer and/or memory leak when storage is exhausted.
1401 2019-08-21 Zack Weinberg <zackw@panix.com>
1403 * misc/syslog.c (__vsyslog_internal)
1404 * time/getdate.c (__getdate_r)
1405 * time/tst_wcsftime.c (main):
1406 Use return value of time, not its argument.
1408 * string/strfry.c (strfry)
1409 * sysdeps/mach/sleep.c (__sleep):
1410 Remove unnecessary casts of NULL in calls to time.
1412 2019-08-21 Joseph Myers <joseph@codesourcery.com>
1414 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
1415 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
1416 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
1417 (__TGMATH_2_NARROW_F): Likewise.
1418 (__TGMATH_2_NARROW_D): New macro.
1419 (__TGMATH_2_NARROW_F16): Likewise.
1420 (__TGMATH_2_NARROW_F32): Likewise.
1421 (__TGMATH_2_NARROW_F64): Likewise.
1422 (__TGMATH_2_NARROW_F32X): Likewise.
1423 (__TGMATH_2_NARROW_F64X): Likewise.
1424 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
1425 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
1426 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
1427 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
1428 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
1429 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
1430 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
1431 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
1432 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
1433 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
1434 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
1435 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
1436 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
1437 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
1439 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
1441 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
1443 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
1445 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
1447 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
1449 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
1451 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
1453 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1454 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
1455 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1456 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
1457 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1458 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
1459 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1460 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
1461 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
1463 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
1465 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
1467 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
1469 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1470 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
1471 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1472 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
1473 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1474 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
1475 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1476 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
1477 * math/gen-tgmath-tests.py (Type): Add members
1478 non_standard_real_argument_types_list, long_double_type,
1479 complex_float64_type and float32x_ext_type.
1480 (Type.__init__): Set the new members.
1481 (Type.floating_type): Add new argument floatn.
1482 (Type.real_floating_type): Likewise.
1483 (Type.can_combine_types): Likewise.
1484 (Type.combine_types): Likewise.
1485 (Type.init_types): Create internal Float32x_ext type.
1486 (Tests.__init__): Define Float32x_ext in generated C code.
1487 (Tests.add_tests): Handle narrowing functions.
1488 (Tests.add_all_tests): Likewise.
1489 (Tests.tests_text): Allow variation in mant_dig for narrowing
1490 functions with compilers before GCC 8.
1491 * math/Makefile (tgmath3-narrow-types): New variable.
1492 (tgmath3-narrow-macros): Likewise.
1493 (tgmath3-macros): Add $(tgmath3-narrow-macros).
1495 2019-08-20 Andreas Schwab <schwab@suse.de>
1497 * sysdeps/i386/fpu/libm-test-ulps: Update.
1499 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1501 * nscd/nscd.conf: Add warning and comment about shared option.
1503 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1505 * nss/nsswitch.conf: Expand comments, and simplify defaults.
1506 * manual/nss.texi (NSS Basics): List all known databases.
1507 (Services in the NSS configuration): Mention automount.
1509 2019-08-19 Florian Weimer <fweimer@redhat.com>
1511 Do not print backtraces on fatal errors.
1512 * debug/fortify_fail.c (__libc_argv): Remove declaration.
1513 (__fortify_fail_abort): Remove definition.
1514 (__fortify_fail): Call __libc_message directly.
1515 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
1516 (__stack_chk_fail): Call __fortify_fail instead of
1517 __fortify_fail_abort.
1518 * include/stdio.h (__fortify_fail_abort): Remove declaration.
1519 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
1521 (__libc_message): Do not handle do_backtrace. Do not call
1523 (__libc_fatal): Do not pass do_backtrace to __libc_message.
1524 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
1525 (before_abort): Remove definitions.
1527 2019-08-16 Florian Weimer <fweimer@redhat.com>
1529 nptl: Move pthread_attr_getdetachstate implementation into libc.
1530 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
1531 (libpthread-routines): Remove pthread_attr_getdetachstate.
1532 * nptl/Versions (libpthread GLIBC_2.0): Remove
1533 pthread_attr_getdetachstate.
1534 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
1535 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1536 ptr_pthread_attr_getdetachstate.
1537 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1538 Remove ptr_pthread_attr_getdetachstate member.
1539 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1540 Remove pthread_attr_getdetachstate.
1541 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1543 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1545 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1547 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1549 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1551 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1553 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1554 (GLIBC_2.4): Likewise.
1555 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1556 (GLIBC_2.0): Likewise.
1557 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1558 (GLIBC_2.18): Likewise.
1559 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1560 (GLIBC_2.0): Likewise.
1561 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1562 (GLIBC_2.0): Likewise.
1563 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1566 (GLIBC_2.0): Likewise.
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1568 (GLIBC_2.3): Likewise.
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1570 (GLIBC_2.17): Likewise.
1571 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1572 (GLIBC_2.27): Likewise.
1573 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1574 (GLIBC_2.0): Likewise.
1575 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1576 (GLIBC_2.2): Likewise.
1577 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1579 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1580 (GLIBC_2.0): Likewise.
1581 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1582 (GLIBC_2.2): Likewise.
1583 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1584 (GLIBC_2.2.5): Likewise.
1585 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1586 (GLIBC_2.16): Likewise.
1588 2019-08-16 Joseph Myers <joseph@codesourcery.com>
1590 * math/libm-test-compat_totalorder.inc (do_test)
1591 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1592 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1593 * math/libm-test-compat_totalordermag.inc (do_test)
1594 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1596 2019-08-15 Florian Weimer <fweimer@redhat.com>
1598 nptl: Move pthread_attr_init implementation into libc.
1599 * nptl/Makefile (routines): Add pthread_attr_init.
1600 (libpthread-routines): Remove pthread_attr_init.
1601 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1602 (libpthread GLIBC_2.0): Likewise.
1603 * nptl/pthread_attr_init.c: Check for libc compat version instead
1604 of libpthread compat version.
1605 * nptl/forward.c (__pthread_attr_init_2_0)
1606 (__pthread_attr_init_2_1): Remove definitions.
1607 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1608 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1609 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1610 Remove members ptr___pthread_attr_init_2_0,
1611 ptr___pthread_attr_init_2_1.
1612 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1613 Remove pthread_attr_init.
1614 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1616 (GLIBC_2.1): Likewise.
1617 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1619 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1621 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1623 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1625 (GLIBC_2.1): Likewise.
1626 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1628 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1629 (GLIBC_2.4): Likewise.
1630 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1631 (GLIBC_2.0): Likewise.
1632 (GLIBC_2.1): Likewise.
1633 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1634 (GLIBC_2.18): Likewise.
1635 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1636 (GLIBC_2.0): Likewise.
1637 (GLIBC_2.1): Likewise.
1638 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1639 (GLIBC_2.0): Likewise.
1640 (GLIBC_2.1): Likewise.
1641 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1644 (GLIBC_2.0): Likewise.
1645 (GLIBC_2.1): Likewise.
1646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1647 (GLIBC_2.3): Likewise.
1648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1649 (GLIBC_2.17): Likewise.
1650 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1651 (GLIBC_2.27): Likewise.
1652 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1653 (GLIBC_2.0): Likewise.
1654 (GLIBC_2.1): Likewise.
1655 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1656 (GLIBC_2.2): Likewise.
1657 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1659 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1660 (GLIBC_2.0): Likewise.
1661 (GLIBC_2.1): Likewise.
1662 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1663 (GLIBC_2.2): Likewise.
1664 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1665 (GLIBC_2.2.5): Likewise.
1666 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1667 (GLIBC_2.16): Likewise.
1669 2019-08-15 Florian Weimer <fweimer@redhat.com>
1672 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1673 new object in __RTLD_OPENEXEC mode (except for the origin).
1674 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1675 check for the error message.
1676 (do_test): Call it. Add check using relative path.
1677 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1678 (tst-dlopen-aout-container): Link with libpthread.
1679 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1681 2019-08-15 Joseph Myers <joseph@codesourcery.com>
1683 * math/bits/mathcalls.h
1684 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1685 (totalorder): Take pointer arguments.
1686 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1687 (totalordermag): Likewise.
1688 * manual/arith.texi (totalorder): Likewise.
1689 (totalorderf): Likewise.
1690 (totalorderl): Likewise.
1691 (totalorderfN): Likewise.
1692 (totalorderfNx): Likewise.
1693 (totalordermag): Likewise.
1694 (totalordermagf): Likewise.
1695 (totalordermagl): Likewise.
1696 (totalordermagfN): Likewise.
1697 (totalordermagfNx): Likewise.
1698 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1699 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1700 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1701 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1702 totalorderl, totalordermag, totalordermagf, totalordermagl,
1703 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1704 totalordermagf64, totalordermagf32x, totalorderf64x,
1705 totalordermagf64x, totalorderf128 and totalordermagf128.
1706 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1707 and compat_totalordermag.
1708 (libm-test-funcs-compat): New variable.
1709 (libm-tests-compat): Likewise.
1710 (tests): Do not include compat tests.
1711 (tests-internal): Add compat tests.
1712 ($(foreach t,$(libm-tests-base),
1713 $(objpfx)$(t)-compat_totalorder.o)): Depend
1714 on $(objpfx)libm-test-totalorder.c.
1715 ($(foreach t,$(libm-tests-base),
1716 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1717 $(objpfx)libm-test-totalordermag.c.
1718 (tgmath3-macros): Remove totalorder and totalordermag.
1719 * math/libm-test-compat_totalorder.inc: New file.
1720 * math/libm-test-compat_totalordermag.inc: Likewise.
1721 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1722 (RUN_TEST_fpfp_b): New macro.
1723 (RUN_TEST_LOOP_fpfp_b): Likewise.
1724 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1726 (totalorder_test): Condition on [!COMPAT_TEST].
1727 (do_test): Likewise.
1728 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1730 (totalordermag_test): Condition on [!COMPAT_TEST].
1731 (do_test): Likewise.
1732 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1733 totalorder and totalordermag.
1734 * math/test-tgmath.c (NCALLS): Change to 132.
1735 (F(compile_test)): Do not call totalorder or totalordermag.
1736 (F(totalorder)): Remove.
1737 (F(totalordermag)): Likewise.
1738 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1739 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1740 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1742 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1743 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1744 [!_ISOMAC] (TEST_ALIGN): Likewise.
1745 [!_ISOMAC] (TEST_OFFSET): Likewise.
1746 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1747 and <first-versions.h>.
1748 (__totalorder): Take pointer arguments. Add symbol versions and
1750 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1751 <shlib-compat.h> and <first-versions.h>.
1752 (__totalordermag): Take pointer arguments. Add symbol versions
1754 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1755 <shlib-compat.h> and <first-versions.h>.
1756 (__totalorder): Take pointer arguments. Add symbol versions and
1758 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1759 <shlib-compat.h> and <first-versions.h>.
1760 (__totalordermag): Take pointer arguments. Add symbol versions
1762 * sysdeps/ieee754/float128/float128_private.h
1763 (__totalorder_compatl): New macro.
1764 (__totalordermag_compatl): Likewise.
1765 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1766 and <first-versions.h>.
1767 (__totalorderf): Take pointer arguments. Add symbol versions and
1769 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1770 <shlib-compat.h> and <first-versions.h>.
1771 (__totalordermagf): Take pointer arguments. Add symbol versions
1773 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1774 <shlib-compat.h> and <first-versions.h>.
1775 (__totalorderl): Take pointer arguments. Add symbol versions and
1777 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1778 <shlib-compat.h> and <first-versions.h>.
1779 (__totalordermagl): Take pointer arguments. Add symbol versions
1781 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1783 (__totalorderl): Take pointer arguments. Add symbol versions and
1785 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1787 (__totalordermagl): Take pointer arguments. Add symbol versions
1789 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1790 <shlib-compat.h> and <first-versions.h>.
1791 (__totalorderl): Take pointer arguments. Add symbol versions and
1793 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1794 <shlib-compat.h> and <first-versions.h>.
1795 (__totalordermagl): Take pointer arguments. Add symbol versions
1797 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1799 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1801 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1802 (do_test): Update calls to totalorderl and totalordermagl.
1803 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1804 Update calls to totalorderl and totalordermagl.
1805 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1806 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1807 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1808 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1809 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1810 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1811 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1812 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1813 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1814 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1815 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1816 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1817 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1818 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1827 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1828 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1829 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1830 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1831 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1832 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1833 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1834 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1836 2019-08-15 Florian Weimer <fweimer@redhat.com>
1839 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1840 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1841 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1843 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1844 __attribute_nonstring__ to ut_id.
1845 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1848 2019-08-15 Florian Weimer <fweimer@redhat.com>
1851 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1852 (file_locking_unlock): Likewise.
1854 2019-08-15 Florian Weimer <fweimer@redhat.com>
1857 login: Disarm timer after utmp lock acquisition.
1858 * login/utmp_file.c (struct file_locking): Remove.
1859 (try_file_lock): Adjust.
1860 (file_lock_restore): Remove function.
1861 (__libc_getutent_r): .
1862 (internal_getut_r): Likewise.
1863 (__libc_getutline_r): Likewise.
1864 (__libc_pututline): Likewise.
1865 (__libc_updwtmp): Likewise.
1867 2019-08-15 Florian Weimer <fweimer@redhat.com>
1869 nptl: Remove pthread_self compatibility symbol from libpthread.
1870 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1872 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1873 * nptl/compat-pthread_self.c: Remove file.
1874 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1875 Remove pthread_self.
1876 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1878 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1880 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1882 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1884 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1886 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1887 (GLIBC_2.4): Likewise.
1888 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1889 (GLIBC_2.0): Likewise.
1890 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1891 (GLIBC_2.18): Likewise.
1892 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1893 (GLIBC_2.0): Likewise.
1894 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1895 (GLIBC_2.0): Likewise.
1896 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1899 (GLIBC_2.0): Likewise.
1900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1901 (GLIBC_2.3): Likewise.
1902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1903 (GLIBC_2.17): Likewise.
1904 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1905 (GLIBC_2.0): Likewise.
1906 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1907 (GLIBC_2.2): Likewise.
1908 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1910 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1911 (GLIBC_2.0): Likewise.
1912 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1913 (GLIBC_2.2): Likewise.
1914 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1915 (GLIBC_2.2.5): Likewise.
1916 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1917 (GLIBC_2.16): Likewise.
1919 2019-08-15 Florian Weimer <fweimer@redhat.com>
1921 nptl: Move pthread_attr_destroy implementation into libc.
1922 * nptl/Makefile (routines): Add pthread_attr_destroy.
1923 (libpthread-routines): Remove pthread_attr_destroy.
1924 * nptl/Versions (libpthread GLIBC_2.0): Remove
1925 pthread_attr_destroy.
1926 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1927 libc compat version instead of libpthread compat version.
1928 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1929 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1930 ptr_pthread_attr_destroy.
1931 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1932 Remove ptr_pthread_attr_destroy member.
1933 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1934 Remove pthread_attr_destroy.
1935 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1937 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1939 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1941 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1943 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1945 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1947 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1948 (GLIBC_2.4): Likewise.
1949 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1950 (GLIBC_2.0): Likewise.
1951 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1952 (GLIBC_2.18): Likewise.
1953 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1954 (GLIBC_2.0): Likewise.
1955 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1956 (GLIBC_2.0): Likewise.
1957 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1960 (GLIBC_2.0): Likewise.
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1962 (GLIBC_2.3): Likewise.
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1964 (GLIBC_2.17): Likewise.
1965 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1966 (GLIBC_2.27): Likewise.
1967 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1968 (GLIBC_2.0): Likewise.
1969 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1970 (GLIBC_2.2): Likewise.
1971 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1973 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1974 (GLIBC_2.0): Likewise.
1975 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1976 (GLIBC_2.2): Likewise.
1977 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1978 (GLIBC_2.2.5): Likewise.
1979 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1980 (GLIBC_2.16): Likewise.
1982 2019-08-15 Andreas Schwab <schwab@suse.de>
1984 * sysdeps/i386/fpu/libm-test-ulps: Update.
1986 2019-08-15 Florian Weimer <fweimer@redhat.com>
1988 * malloc/Makefile (tests): Only add tst-mxfast for
1990 * malloc/tst-mxfast.c: Fix copyright year.
1991 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1994 2019-08-15 Florian Weimer <fweimer@redhat.com>
1996 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1998 * login/Makefile (tests): Add tst-updwtmpx.
1999 * login/tst-updwtmpx.c: New file.
2001 2019-08-15 Florian Weimer <fweimer@redhat.com>
2003 nptl: Move pthread_equal implementation into libc.
2004 * nptl/Makefile (routines): Add pthread_equal.
2005 * nptl/forward.c (pthread_equal): Remove definition.
2006 * nptl/nptl-init.c (pthread_functions): Remove initializer for
2008 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
2009 Remove ptr_pthread_equal member.
2010 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2011 Remove pthread_equal.
2012 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2014 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2016 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
2018 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2020 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2022 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2024 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2025 (GLIBC_2.4): Likewise.
2026 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2027 (GLIBC_2.0): Likewise.
2028 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2029 (GLIBC_2.18): Likewise.
2030 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2031 (GLIBC_2.0): Likewise.
2032 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2033 (GLIBC_2.0): Likewise.
2034 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
2036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2037 (GLIBC_2.0): Likewise.
2038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2039 (GLIBC_2.3): Likewise.
2040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2041 (GLIBC_2.17): Likewise.
2042 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2043 (GLIBC_2.27): Likewise.
2044 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2045 (GLIBC_2.0): Likewise.
2046 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2047 (GLIBC_2.2): Likewise.
2048 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2050 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2051 (GLIBC_2.0): Likewise.
2052 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2053 (GLIBC_2.2): Likewise.
2054 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2055 (GLIBC_2.2.5): Likewise.
2056 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2057 (GLIBC_2.16): Likewise.
2059 2019-08-14 Florian Weimer <fweimer@redhat.com>
2061 * support/support_descriptors.c: Include <support/descriptors.h>.
2063 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
2065 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
2066 Disable DC ZVA code if this macro is defined as zero.
2067 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
2068 Change to zero to disable using DC ZVA.
2070 2019-08-13 Joseph Myers <joseph@codesourcery.com>
2072 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
2074 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
2075 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
2076 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
2077 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
2080 2019-08-13 Florian Weimer <fweimer@redhat.com>
2082 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
2084 (struct file_locking): New.
2085 (try_file_lock, file_unlock, file_lock_restore): New functions.
2086 (__libc_getutent_r): Use the new functions.
2087 (internal_getut_r): Likewise.
2088 (__libc_getutline_r): Likewise.
2089 (__libc_pututline): Likewise.
2090 (__libc_updwtmp): Likewise.
2092 2019-08-13 Joseph Myers <joseph@codesourcery.com>
2094 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
2096 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
2097 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
2098 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
2099 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2100 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2101 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2102 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2104 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2105 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2106 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2108 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2110 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2112 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2114 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2116 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2118 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2120 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
2121 (IEC_60559_BFP_EXT)]: Likewise.
2122 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2124 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2126 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2128 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2130 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2132 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2134 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2136 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2138 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2139 Likewise, except for totalorder, totalordermag, getpayload,
2140 setpayload and setpayloadsig.
2141 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
2142 except for totalorder and totalordermag.
2144 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
2146 (strndup): Likewise.
2148 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
2149 Undefine and define to 1 if [_GNU_SOURCE].
2150 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
2151 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
2152 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
2153 (__USE_ISOC99): Likewise.
2154 (__USE_ISOC95): Likewise.
2155 * manual/creature.texi (_ISOC2X_SOURCE): Document.
2157 2019-08-13 Florian Weimer <fweimer@redhat.com>
2159 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
2161 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
2162 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
2163 * login/getutmpx.c (getutmpx): Likewise.
2164 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
2166 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
2167 _HAVE_UT_TV are always true.
2168 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
2169 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
2170 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
2171 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
2173 (internal_getut_r): _HAVE_UT_TYPE is always true.
2174 (__libc_pututline): Likewise.
2175 * login/programs/utmpdump.c (print_entry): Assume that
2176 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
2177 _HAVE_UT_TV are always true.
2178 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
2179 _HAVE_UT_ID are always true.
2180 * sysdeps/gnu/bits/utmp.h: Move to ...
2181 * bits/utmp.h: ... here, replacing the old file.
2183 2019-08-12 Florian Weimer <fweimer@redhat.com>
2185 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
2186 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
2188 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
2189 (do_test): Open the executable using an absolute path. Print
2190 error message to standard output.
2192 2019-08-09 DJ Delorie <dj@redhat.com>
2194 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
2195 * manual/tunables.texi: Document it.
2196 * malloc/malloc.c (do_set_mxfast): New.
2197 (__libc_mallopt): Call it.
2198 * malloc/arena.c: Add mxfast tunable.
2199 * malloc/tst-mxfast.c: New.
2200 * malloc/Makefile: Add it.
2202 2019-08-08 Niklas Hambüchen <mail@nh2.me>
2203 Carlos O'Donell <carlos@redhat.com>
2206 * malloc/malloc.c (__malloc_info): Account for top chunk.
2208 2019-08-07 Joseph Myers <joseph@codesourcery.com>
2210 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2211 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
2213 2019-08-06 Joseph Myers <joseph@codesourcery.com>
2215 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
2217 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2219 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
2221 2019-08-05 Joseph Myers <joseph@codesourcery.com>
2223 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
2226 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2229 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
2231 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
2233 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
2235 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
2237 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2238 (ALWAYS_USE_VSYSCALL): Likewise.
2239 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2240 (ALWAYS_USE_VSYSCALL): Likewise.
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2242 (ALWAYS_USE_VSYSCALL): Likewise.
2243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2244 (ALWAYS_USE_VSYSCALL): Likewise.
2245 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
2247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2248 (ALWAYS_USE_VSYSCALL): Likewise.
2249 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2250 (ALWAYS_USE_VSYSCALL): Likewise.
2251 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
2253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
2255 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
2256 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
2257 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
2258 USE_VSYSCALL): Remove defitions.
2261 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
2262 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
2263 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
2267 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
2268 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
2269 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2270 (ALWAYS_USE_VSYSCALL): Define.
2271 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2272 (ALWAYS_USE_VSYSCALL): Likewise.
2275 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
2276 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
2277 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
2280 * sysdeps/sh/libm-test-ulps: Update.
2282 2019-08-05 Florian Weimer <fweimer@redhat.com>
2285 * login/uptmp-private.h (struct ufuncs): Remove definition.
2286 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
2287 (__libc_utmp_jump_table): Remove declarations.
2288 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
2289 (__libc_getutline_r, __libc_pututline, __libc_endutent)
2290 (__libc_updwtmp): Declare.
2291 * login/getutent_r.c (__libc_utmp_unknown_functions)
2292 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
2293 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
2294 (endutent_unknown): Remove definitions.
2295 (__setutent): Call __libc_setutent.
2296 (__getutent_r): Call __libc_getutent_r.
2297 (__pututline): Call __libc_pututline.
2298 (__endutent): Call __libc_endutent.
2299 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
2300 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
2301 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
2302 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
2303 (__libc_setutent): Rename from stetutent_file. Drop static.
2304 (maybe_setutent): New function.
2305 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
2306 Check for initialization.
2307 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
2308 Check for initialization.
2309 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
2310 Check for initialization.
2311 (__libc_pututline): Rename from pututline_file. Drop static.
2312 Check for initialization.
2313 (__libc_endutent): Rename from endutent_file. Drop static. Check
2315 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
2316 * login/utmpname.c (__utmpname): Call __libc_endutent.
2317 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
2318 __libc_getutlien_r, __libc_endutent.
2319 * manual/users.texi (Who Logged In, Manipulating the Database):
2322 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
2324 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
2326 2019-08-02 Joseph Myers <joseph@codesourcery.com>
2328 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
2330 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
2331 kernel version number to 5.2.
2333 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
2335 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
2336 mnemonics and set .machine power8.
2337 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2338 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
2339 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2340 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2341 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2342 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2343 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2344 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2345 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2346 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2348 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2350 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2352 2019-08-01 Florian Weimer <fweimer@redhat.com>
2355 * malloc/malloc.c (__malloc_info): Remove unwanted leading
2358 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2361 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
2364 2019-08-01 Carlos O'Donell <carlos@redhat.com>
2366 * version.h (RELEASE): Set to "stable".
2367 (VERSION): Set to "2.30".
2368 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
2370 * manual/install.texi: Update component versions.
2371 * INSTALL: Regenerate.
2374 2019-07-31 Carlos O'Donell <carlos@redhat.com>
2376 * po/be.po: Update translations.
2377 * po/bg.po: Likewise.
2378 * po/ca.po: Likewise.
2379 * po/cs.po: Likewise.
2380 * po/da.po: Likewise.
2381 * po/de.po: Likewise.
2382 * po/el.po: Likewise.
2383 * po/eo.po: Likewise.
2384 * po/es.po: Likewise.
2385 * po/fi.po: Likewise.
2386 * po/fr.po: Likewise.
2387 * po/gl.po: Likewise.
2388 * po/hr.po: Likewise.
2389 * po/hu.po: Likewise.
2390 * po/ia.po: Likewise.
2391 * po/id.po: Likewise.
2392 * po/it.po: Likewise.
2393 * po/ja.po: Likewise.
2394 * po/ko.po: Likewise.
2395 * po/lt.po: Likewise.
2396 * po/nb.po: Likewise.
2397 * po/nl.po: Likewise.
2398 * po/pl.po: Likewise.
2399 * po/pt_BR.po: Likewise.
2400 * po/ru.po: Likewise.
2401 * po/rw.po: Likewise.
2402 * po/sk.po: Likewise.
2403 * po/sl.po: Likewise.
2404 * po/sv.po: Likewise.
2405 * po/tr.po: Likewise.
2406 * po/uk.po: Likewise.
2407 * po/vi.po: Likewise.
2408 * po/zh_CN.po: Likewise.
2409 * po/zh_TW.po: Likewise.
2411 2019-07-31 Florian Weimer <fweimer@redhat.com>
2415 iconv, libio: Revert reference counting changes.
2416 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
2417 free the steps array.
2418 * libio/Makefile (tests): Remove tst-wfile-gconv.
2419 (tests-container): Do not add tst-wfile-ascii.
2420 (tst-wfile-gconv-ENV): Do not set.
2421 (generated): Do not add tst-wfile-gconv.mtrace,
2422 tst-wfile-gconv.check.
2423 [($run-built-tests)] (tests-special): Do not add
2424 tst-wfile-gconv-mem.out.
2425 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
2426 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
2427 instead of __wcsmbs_clone_conv.
2428 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
2429 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
2431 2019-07-30 Joseph Myers <joseph@codesourcery.com>
2433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2434 (__CONTEXT_FUNC_NAME): Restore setting of r31.
2436 2019-07-30 Florian Weimer <fweimer@redhat.com>
2438 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
2439 type to uintptr_t. Update comment.
2440 (check_stack_top): Adjust.
2442 2019-07-29 Florian Weimer <fweimer@redhat.com>
2444 Linux: Move declaration of getdents64 to <dirent.h>.
2445 * bits/dirent_ext.h: New file.
2446 * dirent/Makefile (headers): Add bits/dirent_ext.h.
2447 * dirent/dirent.h: Include <bits/dirent_ext.h>.
2448 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
2449 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
2451 * manual/filesys.texi (Low-level Directory Access): Update header
2454 2019-07-29 DJ Delorie <dj@redhat.com>
2455 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2458 * Makeconfig (all-subdirs): Improved source comments.
2459 * Makefile (testroot.pristine/install.stamp): Pass
2460 subdirs='$(sorted-subdirs)' to make install.
2462 2019-07-25 Florian Weimer <fweimer@redhat.com>
2465 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
2466 counter before freeing array.
2468 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
2471 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
2473 * sysdeps/x86_64/configure: Regenerated.
2474 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
2475 to -mprefer-vector-width=128 if supported.
2477 2019-07-24 Florian Weimer <fweimer@redhat.com>
2479 * scripts/build-many-glibcs.py (Context.checkout): Default to
2482 2019-07-24 Florian Weimer <fweimer@redhat.com>
2485 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
2486 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
2487 (sysdep_headers): Add bits/socket-constants.h.
2488 (tests-special): Add tst-socket-consts.out.
2489 (tst-socket-consts.out): New target.
2490 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
2491 around <asm/unistd.h>.
2492 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
2493 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
2495 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
2496 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
2497 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
2498 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
2499 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
2500 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
2502 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
2504 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2507 * Makefile (testroot.pristine/install.stamp): Pass
2508 subdirs='$(all-subdirs)' to make install.
2510 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
2511 the same arguments used in all tests.
2513 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2515 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
2517 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
2520 * locale/C-translit.h.in: Add Cyrillic transliteration.
2522 2019-07-19 Florian Weimer <fweimer@redhat.com>
2524 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
2526 (fsconfig): Add system call name.
2527 (fsmount): Likewise.
2530 (move_mount): Likewise.
2531 (open_tree): Likewise.
2533 2019-07-18 Carlos O'Donell <carlos@redhat.com>
2535 * po/libc.pot: Regenerate.
2537 2019-07-18 Mike Crowe <mac@mcrowe.com>
2539 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
2540 functions recently added to sysdeps/nptl/pthread.h:
2541 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
2542 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
2544 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
2545 pthread_cond_clockwait forwarding functions. There are no internal
2546 users, so it is unnecessary to expose these functions in libc.so.
2547 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2548 unnecessary ptr___pthread_cond_clockwait member.
2549 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2552 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2555 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2556 begin with an uppercase letter now.
2558 (mon): Update from CLDR, reword February from "Kudo" to
2559 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2560 and August from "Liiqen" to "Leqeeni".
2561 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2562 April from "Agda Baxisso" to "Agda Baxis" and August from
2563 "Leqeeni" to "Liiqen".
2564 * localedata/locales/aa_ER@saaho (mon): Likewise.
2565 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2566 abbreviated February from "Kud" to "Nah".
2567 (mon): Update from CLDR, reword February from "Kudo" to
2568 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2570 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2573 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2575 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
2578 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2579 name_mrs, name_miss, and name_ms.
2580 * localedata/locales/nl_NL (LC_NAME): Likewise.
2582 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2585 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2586 * localedata/locales/en_IE (first_weekday): Likewise.
2588 2019-07-12 Mike Crowe <mac@mcrowe.com>
2590 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2591 that is only useful if futex_supports_exact_relative_timeouts ()
2593 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2595 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2596 timeouts potentially being imprecise since it's no longer true.
2597 Remove declaration of futex_supports_exact_relative_timeouts.
2598 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2599 of futex_supports_exact_relative_timeouts.
2601 * NEWS: Mention recently-added pthread_cond_clockwait,
2602 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2603 sem_clockwait functions.
2605 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2606 works like pthread_mutex_timedlock but takes a clockid parameter to
2607 measure the abstime parameter against.
2608 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2609 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2610 * nptl/pthread_mutex_timedlock.c
2611 (__pthread_mutex_clocklock_common): Rename from
2612 __pthread_mutex_timedlock and add clockid parameter. Pass this
2613 parameter to lll_clocklock and lll_clocklock_elision in place of
2614 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2615 LIBC_PROBE and validate clockid parameter before calling
2616 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2617 implementation to add LIBC_PROBE and calls
2618 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2620 * nptl/Makefile: Add tst-mutex11.c.
2621 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2622 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2623 clockid parameters to pthread_mutex_clocklock.
2624 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2625 clockid parameter to indicate which clock to be used. Call
2626 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2627 (do_test): Call do_test_clock to separately test
2628 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2629 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2630 * nptl/tst-mutex9.c: Likewise.
2631 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2632 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2634 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2636 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2638 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2640 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2642 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2644 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2646 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2647 (GLIBC_2.30): Likewise.
2648 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2649 (GLIBC_2.30): Likewise.
2650 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2651 (GLIBC_2.30): Likewise.
2652 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2653 (GLIBC_2.30): Likewise.
2654 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2655 (GLIBC_2.30): Likewise.
2656 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2659 (GLIBC_2.30): Likewise.
2660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2661 (GLIBC_2.30): Likewise.
2662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2663 (GLIBC_2.30): Likewise.
2664 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2665 (GLIBC_2.30): Likewise.
2666 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2667 (GLIBC_2.30): Likewise.
2668 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2669 (GLIBC_2.30): Likewise.
2670 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2672 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2673 (GLIBC_2.30): Likewise.
2674 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2675 (GLIBC_2.30): Likewise.
2676 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2677 (GLIBC_2.30): Likewise.
2678 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2679 (GLIBC_2.30): Likewise.
2681 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2682 parameter to indicate the clock that the abstime parameter should
2683 be measured against in preparation for adding
2684 pthread_mutex_clocklock.
2685 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2686 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2687 from __lll_timedlock and add clockid parameter.
2688 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2690 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2691 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2692 rather than __gettimeofday so that clockid can be used. This means
2693 that conversion from struct timeval is no longer required.
2694 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2696 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2697 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2698 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2699 from lll_timedlock_elision, add clockid parameter and use
2700 meaningful names for other parameters. (__pthread_mutex_timedlock):
2701 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2702 lll_clocklock_elision.
2703 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2704 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2705 clockid parameter. (__lll_clocklock_elision): Rename from
2706 __lll_timedlock_elision and add clockid parameter.
2707 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2708 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2709 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2710 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2711 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2712 (LLL_LOCK): Likewise.
2713 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2714 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2716 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2717 pthread_rwlock_clockwrlock which behave like
2718 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2719 respectively, except they always measure abstime against the
2720 supplied clockid. The functions currently support CLOCK_REALTIME
2721 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2723 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2724 pthread_wrlock_clockwrlock.
2725 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2726 pthread_rwlock_clockwrlock.c.
2727 * nptl/pthread_rwlock_clockrdlock.c: Implement
2728 pthread_rwlock_clockrdlock.
2729 * nptl/pthread_rwlock_clockwrlock.c: Implement
2730 pthread_rwlock_clockwrlock.
2731 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2732 clockid parameter and verify that it indicates a supported clock on
2733 entry so that we fail even if it doesn't end up being used. Pass
2734 that clock on to futex_abstimed_wait when necessary.
2735 (__pthread_rwlock_wrlock_full): Likewise.
2736 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2737 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2738 be used because there's no timeout.
2739 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2740 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2741 be used because there is no timeout.
2742 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2743 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2745 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2746 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2748 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2749 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2750 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2751 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2752 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2753 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2754 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2755 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2756 (GLIBC_2.30): Likewise.
2757 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2758 (GLIBC_2.30): Likewise.
2759 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2760 (GLIBC_2.30): Likewise.
2761 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2762 (GLIBC_2.30): Likewise.
2763 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2764 (GLIBC_2.30): Likewise.
2765 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2767 (GLIBC_2.30): Likewise.
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2769 (GLIBC_2.30): Likewise.
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2771 (GLIBC_2.30): Likewise.
2772 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2773 (GLIBC_2.30): Likewise.
2774 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2775 (GLIBC_2.30): Likewise.
2776 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2777 (GLIBC_2.30): Likewise.
2778 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2779 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2780 (GLIBC_2.30): Likewise.
2781 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2782 (GLIBC_2.30): Likewise.
2783 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2784 (GLIBC_2.30): Likewise.
2785 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2786 (GLIBC_2.30): Likewise.
2787 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2788 pthread_rwlock_clockwrlock timeout tests to match the existing
2789 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2790 * nptl/tst-rwlock14.c (do_test): Likewise.
2791 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2792 ancillary output throughout. (tf): Accept thread_args structure so
2793 that rwlock, a clockid and function name can be passed to the
2794 thread. (do_test_clock): Rename from do_test. Accept clockid
2795 parameter to specify test clock. Use the magic clockid value of
2796 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2797 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2798 specified clockid to pthread_rwlock_clockrdlock and
2799 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2800 (do_test): Call do_test_clock to test each clockid in turn.
2801 * nptl/tst-rwlock7.c: Likewise.
2802 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2803 thread_args structure so that the (now int) thread number, the
2804 clockid and the function name can be passed to the thread.
2805 (do_test_clock): Renamed from do_test. Pass the necessary
2806 thread_args when creating the reader and writer threads. Use
2807 xpthread_create and xpthread_join.
2808 (do_test): Call do_test_clock to test each clockid in turn.
2809 * manual/threads.texi: Add documentation for
2810 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2812 nptl: pthread_rwlock: Move timeout validation into _full functions
2813 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2814 Check validity of abstime parameter.
2815 (__pthread_rwlock_rwlock_full): Likewise.
2816 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2817 Remove check for validity of abstime parameter.
2818 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2821 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2822 like pthread_cond_timedwait except it always measures abstime
2823 against the supplied clockid.
2824 * nptl/Makefile: Add tst-cond26 and tst-cond27
2825 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2826 * sysdeps/nptl/pthread.h: Likewise
2827 * nptl/forward.c: Add __pthread_cond_clockwait
2828 * nptl/forward.c: Likewise
2829 * nptl/pthreadP.h: Likewise
2830 * sysdeps/nptl/pthread-functions.h: Likewise
2831 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2832 clockid parameter and comment describing why we don't need to check
2833 its value. Use that value when calling
2834 futex_abstimed_wait_cancelable rather than reading the clock from
2835 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2836 (__pthread_cond_timedwait): Read clock from flags and pass it to
2837 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2838 function with weak alias from pthread_cond_clockwait.
2839 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2840 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2841 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2842 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2843 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2844 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2845 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2846 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2847 (GLIBC_2.30): Likewise.
2848 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2849 (GLIBC_2.30): Likewise.
2850 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2851 (GLIBC_2.30): Likewise.
2852 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2853 (GLIBC_2.30): Likewise.
2854 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2855 (GLIBC_2.30): Likewise.
2856 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2858 (GLIBC_2.30): Likewise.
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2860 (GLIBC_2.30): Likewise.
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2862 (GLIBC_2.30): Likewise.
2863 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2864 (GLIBC_2.30): Likewise.
2865 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2866 (GLIBC_2.30): Likewise.
2867 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2868 (GLIBC_2.30): Likewise.
2869 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2870 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2871 (GLIBC_2.30): Likewise.
2872 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2873 (GLIBC_2.30): Likewise.
2874 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2875 (GLIBC_2.30): Likewise.
2876 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2877 (GLIBC_2.30): Likewise.
2878 * nptl/tst-cond11.c (run_test): Support testing
2879 pthread_cond_clockwait too by using a special magic
2880 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2881 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2882 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2883 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2884 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2885 clocks to pthread_cond_clockwait.
2886 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2887 struct timespec and pthread_cond_clockwait.
2888 * manual/threads.texi: Document pthread_cond_clockwait.
2890 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2891 sem_timedwait, but measures abstime against the specified clock.
2892 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2893 clockid parameters to indicate the clock which abstime should be
2895 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2896 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2897 __new_sem_wait_slow.
2898 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2900 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2901 sem_clockwait.c to match those used for sem_timedwait.c.
2902 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2903 * nptl/Versions (GLIBC_2.30): Likewise.
2904 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2905 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2906 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2907 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2908 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2909 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2910 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2911 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2912 (GLIBC_2.30): Likewise.
2913 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2914 (GLIBC_2.30): Likewise.
2915 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2916 (GLIBC_2.30): Likewise.
2917 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2918 (GLIBC_2.30): Likewise.
2919 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2920 (GLIBC_2.30): Likewise.
2921 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2923 (GLIBC_2.30): Likewise.
2924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2925 (GLIBC_2.30): Likewise.
2926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2927 (GLIBC_2.30): Likewise.
2928 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2929 (GLIBC_2.30): Likewise.
2930 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2931 (GLIBC_2.30): Likewise.
2932 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2933 (GLIBC_2.30): Likewise.
2934 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2935 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2936 (GLIBC_2.30): Likewise.
2937 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2938 (GLIBC_2.30): Likewise.
2939 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2940 (GLIBC_2.30): Likewise.
2941 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2942 (GLIBC_2.30): Likewise.
2943 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2945 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2946 tests to also test sem_clockwait.
2947 * manual/threads.texi: Document sem_clockwait.
2949 nptl: Add clockid parameter to futex timed wait calls
2950 * sysdeps/nptl/lowlevellock-futex.h,
2951 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2952 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2953 takes a clockid rather than a special clockbit.
2954 * sysdeps/nptl/lowlevellock-futex.h: Add
2955 lll_futex_supported_clockid so that client functions can check
2956 whether their clockid parameter is valid even if they don't
2957 ultimately end up calling lll_futex_clock_wait_bitset.
2958 * sysdeps/nptl/futex-internal.h,
2959 sysdeps/unix/sysv/linux/futex-internal.h
2960 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2961 clockid_t parameter to indicate which clock the absolute time
2962 passed should be measured against. Pass that clockid onto
2963 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2965 * sysdeps/nptl/futex-internal.h,
2966 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2967 futex_abstimed_supported_clockid so that client functions can check
2968 whether their clockid parameter is valid even if they don't
2969 ultimately end up calling futex_abstimed_wait.
2970 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2971 code to calculate relative timeout for
2972 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2973 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2974 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2975 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2976 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2977 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2978 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2980 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2983 * posix/tst-mmap-offset.c: Mention BZ #24699.
2984 (do_test_bz21270): Rename to do_test_large_offset and use
2985 mmap64_maximum_offset to check for maximum expected offset value.
2986 * sysdeps/generic/mmap_info.h: New file.
2987 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2988 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2991 2019-07-10 DJ Delorie <dj@redhat.com>
2992 Sergei Trofimovich <slyfox@inbox.ru>
2996 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2998 * nss/tst-nss-db-endgrent.c: New.
2999 * nss/tst-nss-db-endgrent.root: New.
3000 * nss/tst-nss-db-endpwent.c: New.
3001 * nss/tst-nss-db-endpwent.root: New.
3002 * nss/Makefile: Add new tests.
3003 * support/links-dso-program-c.c: Add selinux dependency.
3004 * support/links-dso-program.cc: Add selinux dependency.
3005 * support/Makefile: Build those with -lselinux if enabled.
3007 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
3009 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
3010 DT_AARCH64_VARIANT_PCS check.
3011 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
3012 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
3015 2019-07-10 Andreas Schwab <schwab@suse.de>
3018 * malloc/malloc.h (__malloc_check_init): Don't declare.
3019 * include/malloc.h (__malloc_check_init): Likewise.
3020 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
3021 * manual/memory.texi (__malloc_check_init): Don't mention it.
3023 2019-07-10 Mao Han <han_mao@c-sky.com>
3025 * locale/Makefile: Fix tst-locale-locpath arguments passing.
3027 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
3029 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
3030 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
3032 2019-07-08 DJ Delorie <dj@redhat.com>
3035 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
3036 * io/tst-ftw-lnk.c: New test.
3037 * io/Makefile: Run it.
3039 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3041 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
3042 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
3043 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
3044 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
3045 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
3046 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
3047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
3048 Adjust implementation path.
3049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
3050 Adjust implementation path.
3051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
3052 Adjust implementation path.
3053 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3054 (libm-sysdep_routines): Add s_log* objects.
3055 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
3056 CFLAGS-s_logb-power7.c): New fule.
3057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
3059 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
3061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
3063 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
3065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
3066 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
3067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
3069 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
3071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
3073 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
3075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
3076 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
3077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
3079 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
3081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
3083 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
3085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
3086 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
3087 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
3088 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
3089 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3090 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3092 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
3093 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
3094 powerpc32 integer 0 converting to -0.
3096 * benchtests/Makefile (bench-math): Add logb.
3097 * benchtests/logb-inputs: New file.
3098 * benchtests/logbf-inputs: New file.
3100 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
3101 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
3102 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
3103 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
3104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3108 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
3109 sysdep_routines): Add s_modf* objects.
3110 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
3111 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
3112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
3114 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
3116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
3118 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
3120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
3121 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
3122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
3124 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
3126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
3127 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
3129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
3130 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
3132 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
3133 twoM500, twoM600, two60factor, pdnum): Remove.
3134 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
3135 (__ieee754_hypot): Replace static variables with inline definition,
3136 remove ununsed branches.
3137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3138 (libm-sysdep_routines): Remove e_hypot-* objects.
3139 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
3140 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
3142 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
3143 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
3144 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
3145 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
3146 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
3148 * benchtests/Makefile (bench-math): Add hypot.
3149 * benchtests/hypot-inputs: New file.
3151 2019-07-08 Vincent Chen <vincentc@andestech.com>
3153 * sysdeps/unix/sysv/linux/dl-vdso.h
3154 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
3156 2019-07-04 Andreas Schwab <schwab@suse.de>
3159 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
3161 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3163 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
3164 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
3165 * sysdeps/aarch64/sys/ifunc.h: New file.
3166 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
3167 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
3169 2019-07-01 Florian Weimer <fweimer@redhat.com>
3172 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
3173 Replace __vfork with __libpthread_version_placeholder for
3175 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
3176 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
3178 * nptl/pt-vfork.c: Remove file.
3179 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
3180 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
3181 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3182 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3183 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
3184 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
3185 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
3186 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
3187 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
3188 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
3189 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
3190 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
3191 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
3192 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
3193 Remove vfork, __vfork.
3194 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
3196 (GLIBC_2.1.2): Replace __vfork with
3197 __libpthread_version_placeholder.
3198 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
3199 Remove vfork, __vfork.
3200 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
3202 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
3204 (GLIBC_2.1.2): Replace __vfork with
3205 __libpthread_version_placeholder.
3206 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
3208 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
3209 (GLIBC_2.4): Remove vfork, __vfork.
3210 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
3211 (GLIBC_2.0): Remove vfork.
3212 (GLIBC_2.1.2): Replace __vfork with
3213 __libpthread_version_placeholder.
3214 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
3215 (GLIBC_2.18): Remove vfork, __vfork.
3216 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
3217 (GLIBC_2.0): Remove vfork.
3218 (GLIBC_2.2): Remove __vfork.
3219 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
3220 (GLIBC_2.2): Remove vfork, __vfork.
3221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
3222 (GLIBC_2.0): Remove vfork.
3223 (GLIBC_2.1.2): Replace __vfork with
3224 __libpthread_version_placeholder.
3225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
3226 (GLIBC_2.3): Remove vfork, __vfork.
3227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
3228 (GLIBC_2.17): Likewise.
3229 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
3230 (GLIBC_2.0): Remove vfork.
3231 (GLIBC_2.1.2): Replace __vfork with
3232 __libpthread_version_placeholder.
3233 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
3234 (GLIBC_2.2): Remove vfork, __vfork.
3235 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
3237 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
3238 (GLIBC_2.0): Remove vfork.
3239 (GLIBC_2.1.2): Replace __vfork with
3240 __libpthread_version_placeholder.
3241 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
3242 (GLIBC_2.2): Remove vfork, __vfork.
3243 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
3244 (GLIBC_2.2.5): Likewise.
3245 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
3246 (GLIBC_2.16): Likewise.
3247 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
3248 Remove __errno_location.
3250 2019-07-02 Florian Weimer <fweimer@redhat.com>
3253 * malloc/Depend: Add nptl and htl, due to potential indirect
3254 libpthread dependency of memusagestat.
3256 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
3258 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
3261 2019-07-01 Florian Weimer <fweimer@redhat.com>
3263 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
3264 variant for arm-linux-gnueabi.
3266 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
3269 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
3271 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
3272 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
3273 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
3274 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
3275 and tst-cet-legacy-mod-6c.
3276 (CFLAGS-tst-cet-legacy-5a.c): New.
3277 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
3278 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
3279 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
3280 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
3281 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
3282 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
3283 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
3284 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
3285 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
3286 ($(objpfx)tst-cet-legacy-5a): Likewise.
3287 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
3288 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
3289 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
3290 ($(objpfx)tst-cet-legacy-5b): Likewise.
3291 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
3292 (tst-cet-legacy-5b-ENV): Likewise.
3293 ($(objpfx)tst-cet-legacy-6a): Likewise.
3294 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
3295 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
3296 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
3297 ($(objpfx)tst-cet-legacy-6b): Likewise.
3298 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
3299 (tst-cet-legacy-6b-ENV): Likewise.
3300 * sysdeps/x86/tst-cet-legacy-5.c: New file.
3301 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
3302 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
3303 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
3304 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
3305 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
3306 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
3307 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
3308 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
3309 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
3310 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
3311 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
3312 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
3313 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
3315 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
3317 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
3318 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
3319 (__fegetround_ISA300) New.
3320 (__fegetround_ISA2) New.
3321 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
3322 (_FPU_MFFS): Move implementation...
3324 (_FPU_MFFSL): Move implementation....
3325 (_FPU_GET_RC_ISA300): Here. New.
3326 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
3327 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
3328 (fegetenv_status): New.
3329 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
3330 instead of fegetenv_register().
3331 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
3333 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
3335 * benchtests/bench-math-inlines.c: Increase iterations.
3336 * benchtests/bench-memcmp.c: Likewise.
3337 * benchtests/bench-rawmemchr.c: Likewise.
3338 * benchtests/bench-strcmp.c: Likewise.
3339 * benchtests/bench-strcpy_chk.c: Likewise.
3340 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
3341 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
3342 (INNER_LOOP_ITERS_SMALL): Likewise.
3343 * benchtests/bench-strncat.c: Increase iterations.
3344 * benchtests/bench-strncmp.c: Increase iterations.
3345 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
3346 * benchtests/bench-strrchr.c: Increase iterations.
3347 * benchtests/bench-strstr.c: Keep iterations unchanged.
3348 * benchtests/bench-strtod.c: Increase iterations.
3350 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3352 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
3353 with INNER_LOOP_ITERS_LARGE.
3354 * benchtests/bench-memchr.c: Likewise.
3355 * benchtests/bench-rawmemchr.c: Likewise.
3356 * benchtests/bench-strcat.c: Likewise.
3357 * benchtests/bench-strchr.c: Likewise.
3358 * benchtests/bench-string.h: Likewise.
3359 * benchtests/bench-strlen.c: Likewise.
3360 * benchtests/bench-strncpy.c: Likewise.
3361 * benchtests/bench-strnlen.c: Likewise.
3363 2019-06-28 Florian Weimer <fweimer@redhat.com>
3365 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
3366 Use mmap instead of malloc. malloc with M_PERTURB writes to the
3367 entire allocated memory range.
3369 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
3371 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
3372 (prepare_version_base): New helper inline function.
3373 (prepare_version): New macro replacing PREPARE_VERSION.
3374 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
3376 2019-06-28 Florian Weimer <fweimer@redhat.com>
3379 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
3380 mismatch in a versioned symbol reference.
3381 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
3382 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
3383 tst-sonamemove-dlopen.
3384 (module-names): Add tst-sonamemove-linkmod1,
3385 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
3386 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
3387 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
3388 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
3389 (tst-sonamemove-runmod1.so): Link against
3390 tst-sonamemove-runmod2.so.
3391 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
3392 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
3393 tst-sonamemove-runmod2.so.
3394 (tst-sonamemove-dlopen): Link with -ldl.
3395 (tst-sonamemove-dlopen.out): Likewise.
3396 * elf/tst-sonamemove-link.c: New file.
3397 * elf/tst-sonamemove-dlopen.c: Likewise.
3398 * elf/tst-sonamemove-linkmod1.c: Likewise.
3399 * elf/tst-sonamemove-linkmod1.map: Likewise.
3400 * elf/tst-sonamemove-runmod1.c: Likewise.
3401 * elf/tst-sonamemove-runmod1.map: Likewise.
3402 * elf/tst-sonamemove-runmod2.c: Likewise.
3403 * elf/tst-sonamemove-runmod2.map: Likewise.
3405 2019-06-28 Florian Weimer <fweimer@redhat.com>
3407 * support/xdlfcn.h (xdlvsym): Declare function.
3408 * support/xdlfcn.c (xdlvsym): Define funciton.
3410 2019-06-28 Florian Weimer <fweimer@redhat.com>
3413 io: Remove the copy_file_range emulation.
3414 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
3415 not define and call copy_file_range_compat.
3416 * io/Makefile (tests-static, tests-internal): Do not add
3417 tst-copy_file_range-compat.
3418 * io/copy_file_range-compat.c: Remove file.
3419 * io/copy_file_range.c (copy_file_range): Define as stub.
3420 * io/tst-copy_file_range-compat.c: Remove file.
3421 * io/tst-copy_file_range.c (xdevfile): Remove variable.
3422 (typical_sizes): Update comment. Remove 16K sizes.
3423 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
3425 (find_maximum_offset, pipe_as_source, pipe_as_destination)
3426 (delayed_write_failure_beginning, delayed_write_failure_end)
3427 (cross_device_failure, enospc_failure_1, enospc_failure)
3428 (oappend_failure): Remove functions.
3429 (tests): Adjust test case list.
3430 (do_test): Remove file system search code. Check for ENOSYS from
3431 copy_file_range. Do not free xdevfile.
3432 * manual/llio.texi (Copying File Data): Document ENOSYS error from
3433 copy_file_range. Do not document the EXDEV error, which future
3434 kernels may not report. Update the wording to reflect that
3435 further errors are possible.
3436 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3437 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
3439 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3440 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3442 * sysdeps/unix/sysv/linux/kernel-features.h
3443 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
3445 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3446 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
3448 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3449 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3452 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3454 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
3455 used as a mask for the mode argument of __vfprintf_internal.
3456 * stdio-common/printf-parse.h (printf_arg): New union member:
3458 * stdio-common/vfprintf-internal.c
3459 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
3460 (PARSE_FLOAT_VA_ARG): Likewise.
3461 (SETUP_FLOAT128_INFO): Likewise.
3462 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
3463 SETUP_FLOAT128_INFO.
3464 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
3465 floating-point value to the new union member, pa_float128.
3466 (printf_positional): Zero-initialize args_value[cnt] with memset.
3468 2019-06-27 Florian Weimer <fweimer@redhat.com>
3471 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
3472 buffer size if necessary.
3473 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3475 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
3477 (large_buffer_checks): Likewise.
3478 (do_test): Call large_buffer_checks.
3480 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
3482 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
3483 * sysdeps/x86/dl-lookupcfg.h: Here.
3484 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
3486 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3489 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
3490 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
3492 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3493 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3494 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
3495 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3496 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
3498 * sysdeps/powerpc/powerpc32/fpu/Makefile
3499 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
3500 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
3501 and fctidz optimization.
3502 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
3503 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
3504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3505 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
3506 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
3507 CFLAGS-s_lround-power5+.c): New rule.
3508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
3510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
3512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
3514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
3516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
3518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3528 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3529 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
3530 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3531 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
3532 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3533 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
3536 2019-06-26 Vincent Chen <vincentc@andestech.com>
3538 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
3539 specific system calls, fp_udfiex_crtl and udftrap.
3541 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3543 * nptl/tst-eintr1.c (tf1): Add return statement.
3544 (do_test): Remove unused th variable.
3546 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3548 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3549 Return error if get_character fails.
3551 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
3553 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3555 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
3558 * localedata/locales/szl_PL (day): Use the correct Unicode
3559 sequences instead of non-ASCII characters.
3561 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3564 * localedata/locales/szl_PL (abday): Spelling corrections.
3568 (alt_mon): This, then apply spelling corrections.
3569 (mon): New entry, month names in the genitive case.
3571 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
3574 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3575 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3576 (thousands_sep): Likewise.
3577 (grouping): Set to 3;3.
3579 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
3581 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3582 PREPARE_VERSION_KNOWN.
3583 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3584 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3586 (VDSO_HASH_LINUX_2_6_39): Likewise.
3587 (VDSO_NAME_LINUX_4_9): Likewise.
3588 (VDSO_HASH_LINUX_4_9): Likewise.
3589 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3590 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3591 (_libc_vdso_platform_setup): Likewise.
3592 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3593 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3595 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3598 2019-06-20 Mike Crowe <mac@mcrowe.com>
3600 * nptl/eintr.c: Use libsupport.
3601 * nptl/tst-eintr1.c: Likewise.
3602 * nptl/tst-eintr2.c: Likewise.
3603 * nptl/tst-eintr3.c: Likewise.
3604 * nptl/tst-eintr4.c: Likewise.
3605 * nptl/tst-eintr5.c: Likewise.
3606 * nptl/tst-mutex-errorcheck.c: Likewise.
3607 * nptl/tst-mutex5.c: Likewise.
3609 * support/test-driver.h: Add verbose_printf macro.
3611 * support/xtime.h: Add xclock_now() helper function.
3613 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3614 Florian Weimer <fweimer@redhat.com>
3617 * libio/genops.c (_IO_unbuffer_all)
3618 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3619 buffers and access _IO_FILE_complete members of legacy libio streams.
3620 * libio/tst-bz24228.c: New file.
3621 * libio/tst-bz24228.map: Likewise.
3622 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3623 [build-shared] (generated): Add tst-bz24228.mtrace and
3625 [run-built-tests && build-shared] (tests-special): Add
3626 $(objpfx)tst-bz24228-mem.out.
3627 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3628 ($(objpfx)tst-bz24228-mem.out): New rule.
3630 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
3632 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3633 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3634 (__FPU_MFFSL): Likewise.
3635 (_FPU_SETCW): Likewise.
3637 2019-06-19 Stan Shebs <stanshebs@google.com>
3638 Raoni Fassina Firmino <raoni@linux.ibm.com>
3641 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3642 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3643 static-linking version.
3644 * sysdeps/unix/sysv/linux/powerpc/Makefile
3645 (tests-static): Add test-gettimebasefreq-static.
3647 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3650 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
3653 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3654 between the currency symbol and the minus sign).
3655 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3657 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
3660 * string/test-strcasestr.c (check_result): Add NULL check.
3661 * nss/tst-field.c (check_rewrite): Likewise.
3662 * benchtests/bench-strstr.c (do_one_test): Likewise.
3663 * string/test-strstr.c (check_result): Likewise.
3664 * argp/argp-test.c (popt): Increase size of buf to 12.
3665 * benchtests/bench-malloc-simple.c (bench):
3666 Do not initialize tests array out of bounds.
3668 2019-06-19 Florian Weimer <fweimer@redhat.com>
3671 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3674 2019-06-18 Florian Weimer <fweimer@redhat.com>
3677 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3678 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3679 fail when called from dlopen.
3680 * elf/Makefile [have-fpie && build-shared] (tests): Add
3682 (tst-dlopen-pie): Link with -ldl.
3683 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3684 * elf/tst-dlopen-pie.c (do_test): New file.
3686 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
3689 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3690 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3691 between the currency symbol and the minus sign).
3692 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3693 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3695 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3697 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3698 sysdep-rtld-routines): Remove rules.
3699 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3700 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3701 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3702 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3703 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3704 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3705 vDSO path for SHARED.
3706 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3707 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3708 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3709 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3710 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3711 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3713 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3714 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3715 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3716 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3717 CFLAGS-s_llround-power5+.c): New rule.
3718 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3720 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3722 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3724 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3726 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3729 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3731 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3733 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3734 * sysdeps/powerpc/powerpc64/fpu/Makefile
3735 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3737 (libm-sysdep_routines): Remove s_llround-* objects.
3738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3748 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3749 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3750 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3751 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3752 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3753 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3754 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3755 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3756 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3757 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3758 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3759 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3760 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3761 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3763 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3764 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3765 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3766 * sysdeps/powerpc/powerpc32/fpu/Makefile
3767 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3768 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3770 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3771 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3772 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3774 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3775 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3776 CFLAGS-s_lrint-ppc32.c): New rule.
3777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3787 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3788 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3789 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3790 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3802 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3803 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3805 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3806 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3808 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3810 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3813 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3815 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3817 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3818 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3819 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3820 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3821 (libm-sysdep_routines): Remove s_llrint-* objects.
3822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3827 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3828 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3829 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3830 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3831 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3832 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3833 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3834 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3835 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3837 2019-06-14 Florian Weimer <fweimer@redhat.com>
3839 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3840 argument to __glibc_has_include to inhibit macro expansion.
3842 2019-06-14 Florian Weimer <fweimer@redhat.com>
3844 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3845 function-like macro, so that __has_include can inhibit expansion
3848 2019-06-13 Joseph Myers <joseph@codesourcery.com>
3850 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3854 Allow memset in libc.so.
3856 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3858 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3859 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3860 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3861 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3862 symbols at load time.
3863 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3865 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3867 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3868 (DT_AARCH64_VARIANT_PCS): Define.
3870 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3873 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3883 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3884 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3885 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3886 Remove s_finite* objects.
3887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3893 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3894 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3895 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3896 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3898 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3899 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3902 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3912 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3913 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3915 Remove s_isinf* and s_isinf* objects.
3916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3922 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3923 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3924 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3925 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3927 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3928 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3930 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3931 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3932 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3934 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3950 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3951 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3952 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3953 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3954 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3955 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3957 Remove s_isnan-* and s_isnanf-* objects.
3958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3967 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3968 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3969 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3970 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3971 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3972 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3973 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3974 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3976 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3977 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3979 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3980 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3981 CFLAGS-bench-isfinite.c): New rule.
3982 * benchtests/isnan-input: New file.
3983 * benchtests/isinf-input: New file.
3984 * benchtests/isfinite-input: New file.
3986 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3987 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3988 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3989 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3991 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
4001 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4002 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
4003 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
4004 Remove s_copysign-power6 s_copysign-ppc64.
4005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
4007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
4009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
4011 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4012 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
4013 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4014 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
4016 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
4017 round_to_integer_float, round_mode): Add RINT handling.
4018 (reset_fenv_mode): New symbol.
4019 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
4020 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
4021 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
4022 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4023 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4024 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4026 2019-06-12 Florian Weimer <fweimer@redhat.com>
4029 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
4030 * libio/freopen.c (freopen): Use it.
4032 2019-06-12 Florian Weimer <fweimer@redhat.com>
4034 Linux: Deprecate sysctl.
4035 * include/sysctl.h (__sysctl): Remove declaration.
4036 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
4038 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
4039 (sysctl): Add deprecation attribute.
4040 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
4041 directly, to avoid the deprecation warning. Do not include
4043 (__sysctl): Remove hidden alias.
4045 2019-06-12 Florian Weimer <fweimer@redhat.com>
4047 Linux: Use kernel headers for statx definitions if available.
4048 * include/bits/statx-generic.h: New file.
4049 * include/bits/types/struct_statx.h: Likewise.
4050 * include/bits/types/struct_statx_timestamp.h: Likewise.
4051 * io/Makefile (headers): Add bits/statx-generic.h.
4052 * io/bits/statx-generic.h: New file. Partly copied from
4054 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
4055 define original_statx.
4056 * io/bits/types/struct_statx.h: Likewise.
4057 * io/bits/types/struct_statx_timestamp.h: Likewise.
4058 (statx_generic): Use original_statx.
4059 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
4060 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
4062 2019-06-12 Florian Weimer <fweimer@redhat.com>
4064 * misc/sys/cdefs.h (__glibc_has_include): Define.
4066 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
4068 * string/memmem.c (__memmem): Rewrite to improve performance.
4070 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
4072 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
4074 (two_way_long_needle): Block inlining.
4075 * string/strstr.c (strstr2): Add new function.
4076 (strstr3): Likewise.
4077 (STRSTR): Completely rewrite strstr to improve performance.
4079 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
4081 * benchtests/bench-strstr.c (test_hard_needle): New function.
4083 2019-06-10 Joseph Myers <joseph@codesourcery.com>
4085 * malloc/tst-calloc.c: Include <libc-diag.h>.
4086 (null_test): Ignore -Wunused-result around calls to calloc.
4087 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
4088 (do_test): Ignore -Wunused-result around call to malloc.
4090 2019-06-07 Florian Weimer <fweimer@redhat.com>
4092 Linux: Add getdents64 system call.
4093 * include/dirnent.h (getdents): Add comment and change buffer
4094 argument type to void *.
4095 (getdents64): Likewise. Add hidden prototype.
4096 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
4098 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
4100 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
4101 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
4102 argument type to void *.
4103 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
4104 Add hidden definition and getdents64 alias.
4105 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
4107 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
4108 * manual/filesys.texi (Accessing Directories): Add Low-level
4109 Directory Access node reference.
4110 (Opening a Directory): Cross-reference it.
4111 (Low-level Directory Access): New node.
4112 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4114 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4116 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4117 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4119 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4121 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4123 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4125 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4127 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4129 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4131 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4132 (GLIBC_2.30): Likewise.
4133 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4134 (GLIBC_2.30): Likewise.
4135 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4136 (GLIBC_2.30): Likewise.
4137 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4138 (GLIBC_2.30): Likewise.
4139 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4142 (GLIBC_2.30): Likewise.
4143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4144 (GLIBC_2.30): Likewise.
4145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4146 (GLIBC_2.30): Likewise.
4147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4148 (GLIBC_2.30): Likewise.
4149 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4151 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4153 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4155 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4156 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4158 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4160 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4162 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4165 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
4167 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
4171 (_FPU_GETCW): Use __FPU_MFFS().
4172 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
4174 2019-06-06 Florian Weimer <fweimer@redhat.com>
4176 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
4177 internal GCC preprocessor identifier __has_include__.
4179 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
4181 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
4182 with call to equivalent function.
4184 2019-06-04 Florian Weimer <fweimer@redhat.com>
4186 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
4187 (do_release_shlib): Adjust for __twalk_r.
4188 (__gconv_release_shlib): Call __twalk_r.
4190 2019-06-04 Andreas Schwab <schwab@suse.de>
4193 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
4194 no irreversible characters occurred.
4195 * iconv/gconv_simple.c (internal_ucs4_loop)
4196 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
4197 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4198 (ucs4_internal_loop_single, internal_ucs4le_loop)
4199 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
4200 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4201 (ucs4le_internal_loop_single): Add const to outend.
4202 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
4203 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
4204 * iconv/Makefile (tests): Add tst-iconv7.
4205 * iconv/tst-iconv7.c: New file.
4207 2019-06-03 Joseph Myers <joseph@codesourcery.com>
4209 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
4211 2019-06-01 Florian Weimer <fweimer@redhat.com>
4213 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
4214 * sysdeps/unix/sysv/linux/arm/Makefile
4215 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
4216 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
4217 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
4218 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
4219 compatibility symbols.
4221 2019-05-31 Florian Weimer <fweimer@redhat.com>
4223 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
4224 system calls for the arm architecture: breakpoint, get_tls,
4225 set_tls, usr26, usr32.
4227 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
4229 * sysdeps/powerpc/Makefile
4230 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
4231 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
4232 Declare '.machine power7' to get support for ldbrx.
4233 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
4234 directive based on the directory of the file.
4235 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
4236 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
4237 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
4238 '.machine' directive.
4239 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
4240 (VADDUQM_V7_V8): Remove.
4241 (__STRCASECMP): Replace macros with actual instructions.
4242 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
4243 '.machine' directive.
4244 (VCLZD_V8_v7): Remove.
4245 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
4247 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4249 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
4251 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
4253 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4255 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4257 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
4258 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
4259 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
4260 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
4261 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
4262 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4264 2019-05-28 mansayk <6688000@gmail.com>
4267 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
4269 2019-05-28 mansayk <6688000@gmail.com>
4272 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
4273 (abmon): Likewise, but remove the trailing dots.
4275 2019-05-28 Joseph Myers <joseph@codesourcery.com>
4277 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
4279 2019-05-27 Florian Weimer <fweimer@redhat.com>
4281 * nptl/nptl-init.c: Add comment.
4283 2019-05-24 Florian Weimer <fweimer@redhat.com>
4285 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
4286 struct in_addr/struct in6_addr alignment.
4288 2019-05-23 Joseph Myers <joseph@codesourcery.com>
4290 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4291 (F_SEAL_FUTURE_WRITE): New macro.
4293 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
4295 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
4296 * elf/tst-ldconfig-bad-aux-cache.c: New file.
4297 * elf/tst-ldconfig_aux-cache.root: New directory.
4298 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
4299 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
4300 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
4302 2019-05-22 Zack Weinberg <zackw@panix.com>
4304 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
4306 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
4307 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
4309 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
4310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
4311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
4314 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
4315 Issue an #error if used with a compiler in SPE-float mode.
4316 * sysdeps/powerpc/powerpc32/__longjmp_common.S
4317 * sysdeps/powerpc/powerpc32/setjmp_common.S
4318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
4320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
4321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
4322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4324 Remove code to preserve SPE register state.
4326 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4327 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4328 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
4329 Remove __SPE__ ifndefs.
4331 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
4333 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
4334 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
4335 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
4336 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
4337 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
4338 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
4339 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
4340 (INNER_LOOP_ITERS_MEDIUM): New define.
4341 (INNER_LOOP_ITERS_SMALL): New define.
4342 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
4343 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
4344 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
4345 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
4346 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
4348 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4350 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
4352 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
4353 (SEMTIMEDOP_IPC_ARGS): Likewise.
4355 2019-05-21 Florian Weimer <fweimer@redhat.com>
4358 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
4359 before updating __counter field and release it afterwards. Add
4361 * iconv/gconv.h (struct __gconv_step): Mention synchronization
4362 requirement for __counter member.
4364 2019-05-21 Florian Weimer <fweimer@redhat.com>
4367 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
4368 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
4369 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
4370 instead of __gconv_release_step.
4371 * libio/Makefile (tests): Add tst-wfile-gconv.
4372 (tests-container): Add tst-wfile-ascii.
4373 (tst-wfile-gconv-ENV): Enable mtrace.
4374 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
4375 (tests-special): Add tst-wfile-gconv-mem.out.
4376 (tst-wfile-gconv.out): Depend on locales.
4377 (tst-wfile-gconv-mem.out): Add mtrace rule.
4378 * libio/tst-wfile-ascii.c: New file.
4379 * libio/tst-wfile-gconv.c: Likewise.
4381 2019-05-20 Florian Weimer <fweimer@redhat.com>
4384 libio: Remove codecvt vtable.
4385 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
4387 * libio/iofgetpos.c (_IO_new_fgetpos): Call
4388 __libio_codecvt_encoding.
4389 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
4390 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4391 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
4392 * libio/iofwide.c (__libio_codecvt): Remove variable.
4393 (_IO_fwide): Do not copy __libio_codecvt.
4394 (__libio_codecvt_out): Rename from do_out and export.
4395 (do_unshift): Remove function.
4396 (__libio_codecvt_in): Rename from do_in and export.
4397 (__libio_codecvt_encoding): Rename from do_encoding and export.
4398 (do_always_noconv): Remove function.
4399 (__libio_codecvt_length): Rename from do_length and export.
4400 (do_max_length): Remove function.
4401 * libio/libio.h (enum __codecvt_result): Remove definition; moved
4403 (struct _IO_codecvt): Remove fields __codecvt_destr,
4404 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
4405 __codecvt_do_encoding, __codecvt_do_always_noconv,
4406 __codecvt_do_length, __codecvt_do_max_length.
4407 * libio/libioP.h (enum __codecvt_result): Define; moved from
4409 (__libio_codecvt_out, __libio_codecvt_in)
4410 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
4412 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
4413 (_IO_wfile_underflow): Call __libio_codecvt_in.
4414 (_IO_wfile_underflow): Likewise.
4415 (_IO_wfile_underflow_mmap): Likewise.
4416 (_IO_wfile_sync): Call __libio_codecvt_encoding,
4417 __libio_codecvt_length.
4418 (adjust_wide_data): Call __libio_codecvt_encoding,
4420 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
4421 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
4422 __libio_codecvt_length.
4424 2019-05-20 Florian Weimer <fweimer@redhat.com>
4426 * support/support.h (support_sbindir_prefix): Declare.
4427 (support_install_rootsbindir): Update comment.
4428 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
4429 * support/support_paths.c (support_sbindir_prefix): Define.
4431 2019-05-20 Mike Crowe <mac@mcrowe.com>
4433 * support/timespec.c: Add backslash to correct newline in failure
4436 * support/timespec.h: Correct confusing comment.
4438 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4440 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
4442 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
4443 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
4444 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
4445 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
4448 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
4451 2019-05-20 Joseph Myers <joseph@codesourcery.com>
4453 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
4454 (NT_ARM_PACG_KEYS): Likewise.
4456 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
4458 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
4459 (tcache_put): Remove redundant assert.
4460 (tcache_get): Remove redundant asserts.
4461 (__libc_malloc): Check tcache count is not zero.
4462 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
4464 2019-05-17 Florian Weimer <fweimer@redhat.com>
4466 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
4468 2019-05-16 Joseph Myers <joseph@codesourcery.com>
4470 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4471 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
4473 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
4475 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4476 (__ASSUME_STATX): Likewise.
4478 2019-05-16 Florian Weimer <fweimer@redhat.com>
4480 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
4482 (LINE_PARSER): Do not map IPv4 addresses.
4483 (internal_nis_gethostent_r): Remove flags argument. Adjust call
4485 (_nss_nis_gethostent_r): Always pass AF_INET to
4486 internal_nis_gethostent_r.
4487 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4489 (_nss_nis_gethostbyname2_r): Adjust call to
4490 internal_nis_gethostent_r.
4491 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
4492 call to internal_nis_gethostent_r.
4493 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
4495 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
4496 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
4497 Remove flags argument. Do not map IPv4 addresses.
4498 (internal_nisplus_gethostent_r): Adjust call to
4499 _nss_nisplus_parse_hostent.
4500 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4501 to _nss_nisplus_parse_hostent.
4502 (_nss_nisplus_gethostbyname2_r): Adjust call to
4503 internal_gethostbyname2_r.
4504 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
4505 Adjust call to internal_gethostbyname2_r.
4506 (_nss_nisplus_gethostbyaddr_r): Adjust call to
4507 _nss_nisplus_parse_hostent.
4508 (_nss_nisplus_gethostbyname4_r): Adjust call to
4509 internal_gethostbyname2_r.
4511 2019-05-16 Florian Weimer <fweimer@redhat.com>
4513 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4515 (LINE_PARSER): Remove address mapping.
4516 (EXTRA_ARGS_VALUE): Remove flags argument.
4517 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
4518 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
4519 gethostbyname3_multi.
4520 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
4521 _nss_files_gethostbyname3_r.
4522 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
4524 2019-05-16 Florian Weimer <fweimer@redhat.com>
4526 * support/support_test_compare_blob.c (report_blob): Report
4527 incorrect NULL blobs.
4529 2019-05-15 Mark Wielaard <mark@klomp.org>
4532 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
4533 __libc_once_get (once) and static_buf == NULL.
4534 (__dlerror): Check we have a valid key, set result to static_buf
4537 2019-05-15 Andreas Schwab <schwab@suse.de>
4540 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
4541 __codecvt_do_length.
4542 * libio/Makefile (tests): Add tst-wfile-sync.
4543 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
4544 * libio/tst-wfile-sync.c: New file.
4545 * libio/tst-wfile-sync.input: New file.
4547 2019-05-15 Florian Weimer <fweimer@redhat.com>
4549 nss: Turn __nss_database_lookup into a compatibility symbol.
4550 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4551 __nss_database_lookup.
4552 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4553 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4554 __nss_database_lookup.
4555 (__nss_next): Move to …
4556 * nss/compat-lookup.c (nss_next): … here. Change it to fail
4558 (__nss_database_lookup): New function.
4559 * nss/Versions (GLIBC_2.0): Update comment.
4560 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4561 * grp/initgroups.c (internal_getgrouplist): Call
4562 __nss_database_lookup2 instead of __nss_database_lookup.
4563 * nscd/aicache.c (addhstaiX): Likewise.
4564 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4565 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4566 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4567 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4568 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4570 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4571 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4574 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
4576 * support/support.h (support_install_rootsbindir): New variable.
4577 * support/support_paths.c: Likewise.
4578 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4580 2019-05-15 Florian Weimer <fweimer@redhat.com>
4582 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4583 * iconv/gconv_int.h (__gconv_transliterate): … here.
4584 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4585 * iconv/skeleton.c: Likewise.
4587 2019-05-14 Florian Weimer <fweimer@redhat.com>
4589 Linux: Add the tgkill function.
4590 * bits/signal_ext.h: New file.
4591 * manual/signal.texi (Signaling Another Process): Document tgkill.
4592 * signal/Makefile (headers): Add bits/signal_ext.h.
4593 * signal/signal.h: Include <bits/signal_ext.h>.
4594 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4595 (tst-tgkill): Link with libpthread.
4596 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4597 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4598 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4599 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4601 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4602 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4603 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4604 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4605 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4606 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4607 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4608 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4609 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4610 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4611 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4613 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4614 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4615 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4624 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4625 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4626 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4627 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4628 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4629 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4630 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4631 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4633 2019-05-14 Carlos O'Donell <carlos@redhat.com>
4635 * manual/search.texi (Tree Search Function): Adjust twalk_r
4638 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4641 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4644 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4645 * support/support.h (support_bindir_prefix): New variable.
4646 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4648 * config.make.in (bindir): New variable.
4650 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4651 (lll_trylock): Call __lll_trylock.
4652 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4653 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4654 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4655 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4656 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4657 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4658 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4659 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4660 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4661 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4662 lowlevellock-futex.h.
4664 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4665 initialization for LLL_LOCK_INITIALIZER different than 0.
4666 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4667 Assume LLL_LOCK_INITIALIZER being 0.
4668 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4669 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4671 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4672 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4674 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4675 Optimize futex call and add systemtap probe.
4677 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4678 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4679 __libc_disable_asynccancel, __librt_enable_asynccancel,
4680 __libc_disable_asynccancel, __librt_enable_asynccancel,
4681 __librt_disable_asynccancel): Move to ...
4682 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4683 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4684 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4685 * sysdeps/generic/single-thread.h: New file.
4686 * sysdeps/unix/sysdep.h: Include single-thread.h.
4687 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4688 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4690 2019-05-08 Mike FABIAN <mfabian@redhat.com>
4693 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4694 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4696 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4697 * localedata/unicode-gen/PropList.txt: Likewise.
4698 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4699 * localedata/charmaps/UTF-8: Regenerate.
4700 * localedata/locales/i18n_ctype: Likewise.
4701 * localedata/locales/tr_TR: Likewise.
4702 * localedata/locales/translit_circle: Likewise.
4703 * localedata/locales/translit_cjk_compat: Likewise.
4704 * localedata/locales/translit_combining: Likewise.
4705 * localedata/locales/translit_compat: Likewise.
4706 * localedata/locales/translit_font: Likewise.
4707 * localedata/locales/translit_fraction: Likewise.
4709 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4712 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4713 (do_set_tcache_count): Only update if count is small enough.
4714 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4716 2019-05-10 Florian Weimer <fweimer@redhat.com>
4718 * nptl/sem_close.c (struct walk_closure): Define.
4719 (walker): Adjust for __twalk_r.
4720 (sem_close): Call __twalk_r.
4722 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4724 * support/timespec.c (test_timespec_before_impl,
4725 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4728 2019-05-09 Mike Crowe <mac@mcrowe.com>
4730 * nptl/tst-abstime.c: Use libsupport.
4732 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4733 small bug where only tv.tv_usec was checked which could cause an
4734 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4737 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4740 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4741 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4743 * nptl/tst-cond11.c: Use libsupport.
4745 * support/timespec.h: New file. Provide timespec helper functions
4746 along with macros in the style of those in check.h.
4747 * support/timespec.c: New file. Implement check functions declared
4748 in support/timespec.h.
4749 * support/timespec-add.c: New file from gnulib containing
4750 timespec_add implementation that handles overflow.
4751 * support/timespec-sub.c: New file from gnulib containing
4752 timespec_sub implementation that handles overflow.
4753 * support/README: Mention timespec.h.
4755 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4758 * nptl/Makefile: Move tst-eintr1 to xtests.
4760 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4762 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4764 (round_mode): Add definition for TRUNC.
4765 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4766 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4767 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4768 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4769 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4771 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4773 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4775 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4777 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4779 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4781 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4783 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4785 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4786 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4787 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4788 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4789 s_truncf-power5+, and s_truncf-ppc64.
4790 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4791 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4793 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4795 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4796 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4798 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4801 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4803 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4804 s_truncf-power5+, and s_truncf-ppc64.
4805 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4807 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4808 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4810 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4811 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4812 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4813 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4814 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4816 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4818 (round_mode): Add definition for ROUND.
4819 (round_to_integer_float): Likewise.
4820 * sysdeps/powerpc/fpu/s_round.c: New file.
4821 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4822 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4823 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4824 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4826 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4828 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4830 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4832 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4834 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4836 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4838 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4840 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4841 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4842 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4843 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4844 s_roundf-power5+, and s_roundf-ppc64.
4845 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4846 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4848 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4850 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4851 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4853 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4856 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4857 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4858 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4859 s_roundf-power5+, and s_roundf-ppc64.
4860 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4862 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4863 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4865 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4866 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4867 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4868 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4869 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4871 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4873 (round_mode): Add definition for FLOOR.
4874 * sysdeps/powerpc/fpu/s_floor.c: New file.
4875 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4876 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4877 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4894 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4895 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4896 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4897 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4898 s_floorf-power5+, and s_floorf-ppc64.
4899 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4900 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4902 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4904 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4905 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4907 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4910 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4911 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4912 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4913 s_floorf-power5+, and s_floorf-ppc64.
4914 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4922 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4923 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4924 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4925 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4927 2019-05-08 Mike Crowe <mac@mcrowe.com>
4929 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4930 clock_gettime wrapper for use in tests that fails the test rather
4931 than returning failure.
4933 * support/xtime.h: New file to declare xclock_gettime.
4935 * support/Makefile: Add xclock_gettime.c.
4937 * support/README: Mention xtime.h.
4939 2019-05-08 Florian Weimer <fweimer@redhat.com>
4941 malloc/tst-mallocfork2: Use process-shared barriers.
4942 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4943 (signal_count, sigusr1_sender_pid): Remove.
4944 (iterations): Define constant.
4945 (shared): New variable.
4946 (sigusr1_received): Update comment.
4947 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4948 (signal_sender): Optional use barriers to avoid sending signals
4949 during irrelevant times.
4950 (do_it): Initialize variable shared. Use xfork for error
4951 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4952 the iteration count, independent of signal delivery. Check for
4953 deadlocks in fork. Introduce barriers for reducing signal
4954 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4955 replaced by the barriers. Count signals during fork/free/malloc
4957 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4959 2019-05-07 Joseph Myers <joseph@codesourcery.com>
4961 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4963 (clock_adjtime64) New syscall.
4964 (clock_getres_time64) Likewise.
4965 (clock_gettime64) Likewise.
4966 (clock_nanosleep_time64) Likewise.
4967 (clock_settime64) Likewise.
4968 (futex_time64) Likewise.
4969 (io_pgetevents_time64) Likewise.
4970 (io_uring_enter) Likewise.
4971 (io_uring_register) Likewise.
4972 (io_uring_setup) Likewise.
4973 (mq_timedreceive_time64) Likewise.
4974 (mq_timedsend_time64) Likewise.
4975 (pidfd_send_signal) Likewise.
4976 (ppoll_time64) Likewise.
4977 (pselect6_time64) Likewise.
4978 (recvmmsg_time64) Likewise.
4979 (rt_sigtimedwait_time64) Likewise.
4980 (sched_rr_get_interval_time64) Likewise.
4981 (semtimedop_time64) Likewise.
4982 (timer_gettime64) Likewise.
4983 (timer_settime64) Likewise.
4984 (timerfd_gettime64) Likewise.
4985 (timerfd_settime64) Likewise.
4986 (utimensat_time64) Likewise.
4988 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4989 version to 9 branch.
4991 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4993 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4994 __memmove_thunderx2 to the list of implementations
4995 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4996 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4997 (__memmove_thunderx2): Rewritten using SIMD ld/st
4998 (__memcpy_thunderx2): Fixed handling overlapping cases.
4999 Used ldp/stp instead of ldr/str if possible. Made loops
5002 2019-05-03 Florian Weimer <fweimer@redhat.com>
5004 * misc/tst-tsearch.c (walk_tree): Add more error checking.
5006 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5009 * elf/tst-pldd.c (in_str_list): New function.
5010 (do_test): Add default names for ld and libc as one option.
5012 2019-05-02 Florian Weimer <fweimer@redhat.com>
5014 misc: Add twalk_r function.
5015 * include/search.h (__twalk_r): Declare.
5016 * manual/examples/twalk.c: New file.
5017 * manual/search.texi (Tree Search Function): Document twalk_r.
5018 * misc/Versions (2.30): Export twalk_r.
5019 (GLIBC_PRIVATE): Export __twalk_r.
5020 * misc/search.h [__USE_GNU] (twalk_r): Declare.
5021 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
5022 (twalk_r): Add weak alias.
5023 * misc/tst-tsearch.c (struct walk_trace_element): Define.
5024 (walk_trace): New variable.
5025 (struct twalk_with_twalk_r_closure): Define.
5026 (twalk_with_twalk_r_action): New function.
5027 (twalk_with_twalk_r): Likewise.
5028 (walk_action): Call walk_trace_add.
5029 (walk_tree_with): Rename from walk_tree. Add walk argument.
5030 (walk_tree): New function.
5031 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
5032 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
5034 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
5036 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
5037 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
5038 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
5039 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
5040 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
5041 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
5043 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
5045 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
5047 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5048 (GLIBC_2.30): Likewise.
5049 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5050 (GLIBC_2.30): Likewise.
5051 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5052 (GLIBC_2.30): Likewise.
5053 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5054 (GLIBC_2.30): Likewise.
5055 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
5057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5058 (GLIBC_2.30): Likewise.
5059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5060 (GLIBC_2.30): Likewise.
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
5062 (GLIBC_2.30): Likewise.
5063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
5064 (GLIBC_2.30): Likewise.
5065 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
5067 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
5069 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
5071 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
5072 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
5074 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
5076 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
5078 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
5081 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
5083 Make mktime etc. compatible with __time64_t
5084 Keep these functions compatible with Gnulib while adding
5085 __time64_t support. The basic idea is to move private API
5086 declarations from include/time.h to time/mktime-internal.h, since
5087 the former file cannot easily be shared with Gnulib whereas the
5089 Also, do some other minor cleanup while in the neighborhood.
5090 * include/time.h: Include stdbool.h, time/mktime-internal.h.
5091 (__mktime_internal): Move this prototype to time/mktime-internal.h,
5092 since Gnulib needs it.
5093 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
5094 Move these macros to time/mktime-internal.h, since Gnulib needs them.
5095 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
5096 (in_time_t_range): New static function.
5097 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
5098 so that glibc users are not tempted to use __time64_t.
5099 * time/mktime-internal.h: Rewrite so that it does both glibc
5100 and Gnulib work. Include time.h if not _LIBC.
5101 (mktime_offset_t) [!_LIBC]: Define for gnulib.
5102 (__time64_t): New type or macro, moved here from
5104 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
5105 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
5106 from include/time.h.
5107 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
5108 New macros, taken from GNulib.
5109 (__mktime_internal): New prototype, moved here from include/time.h.
5110 * time/mktime.c (mktime_min, mktime_max, convert_time)
5111 (ranged_convert, __mktime_internal, __mktime64):
5112 * time/timegm.c (__timegm64):
5113 Use __time64_t, not time_t.
5114 * time/mktime.c: Stop worrying about whether time_t is floating-point.
5115 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
5117 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
5118 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
5119 for libc_hidden_def.
5121 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
5123 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
5125 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
5128 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
5129 from `-Wmaybe-uninitialized'.
5130 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
5132 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5134 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
5136 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
5137 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
5138 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
5139 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
5140 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5142 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
5143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
5147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
5151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
5153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
5155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
5157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
5159 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
5160 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
5161 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
5162 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
5164 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
5166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
5167 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
5168 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
5170 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
5172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
5173 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
5175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5176 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
5177 s_ceilf-power5+, and s_ceilf-ppc64.
5178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
5180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
5181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
5182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
5183 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
5184 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
5185 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
5186 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
5188 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
5189 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
5190 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
5192 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
5194 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
5195 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
5196 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
5197 (sem_getvalue): Likewise.
5199 2019-04-26 Florian Weimer <fweimer@redhat.com>
5201 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
5202 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
5204 2019-04-26 Florian Weimer <fweimer@redhat.com>
5206 Makeconfig: Move -Wl,-rpath-link options before library references.
5207 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
5208 (link-libc): Remove $(link-libc-rpath-link).
5210 2019-04-25 Florian Weimer <fweimer@redhat.com>
5212 * Makeconfig (+link-pie-before-libc): Remove $(CC).
5213 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
5214 (+link-static-before-libc): Remove $(CC).
5215 (+link-static, +link-static-tests): Add $(CC).
5216 (+link-before-libc): Remove $(CC).
5217 (+link, +link-pie, +link-pie-printers): Add $(CC).
5219 2019-04-26 Florian Weimer <fweimer@redhat.com>
5221 * Makeconfig (+link-pie-before-libc): Remove $(CC).
5222 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
5223 (+link-static-before-libc): Remove $(CC).
5224 (+link-static, +link-static-tests): Add $(CC).
5225 (+link-before-libc): Remove $(CC).
5226 (+link, +link-pie, +link-pie-printers): Add $(CC).
5228 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
5231 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
5233 2019-04-25 Florian Weimer <fweimer@redhat.com>
5235 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
5236 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
5237 (bench-link-targets): New variable.
5238 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
5240 2019-04-25 Florian Weimer <fweimer@redhat.com>
5242 Also enable BIND_NOW for programs if --enable-bind-now.
5243 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
5244 (+link-pie): Use $(link-extra-flags).
5245 (+link-static): Likewise.
5246 [! $(build-pie-default)] (+link): Likewise.
5247 * manual/install.texi (Configuring and compiling): Update
5248 --enable-bind-now description.
5249 * INSTALL: Regenerated.
5251 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
5253 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
5254 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
5256 2019-04-24 Mike Frysinger <vapier@gentoo.org>
5259 * malloc/Makefile (others): Add memusagestat.
5260 ($(objpfx)memusagestat): Delete rule.
5261 (LDLIBS-memusagestat): New variable.
5263 2019-04-24 Florian Weimer <fweimer@redhat.com>
5265 * locale/Makefile (tests-special): Guard setting by
5266 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
5267 to run while cross-compiling.
5269 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5272 * elf/Makefile (tests-container): Add tst-pldd.
5273 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
5274 (E(find_maps)): Avoid use alloca, use default read file operations
5275 instead of explicit LFS names, and fix infinite loop.
5276 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
5277 (get_process_info): Use _Static_assert instead of assert, use default
5278 directory operations instead of explicit LFS names, and free some
5280 * elf/tst-pldd.c: New file.
5282 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
5284 * malloc/arena.c (do_set_mallopt_check): Removed.
5286 2019-04-23 Florian Weimer <fweimer@redhat.com>
5288 locale: Add LOCPATH diagnostics to the locale program.
5289 * locale/programs/locale.c (setlocale_failed): New variable.
5290 (try_setlocale): New function.
5291 (quote_string): Likewise.
5292 (setlocale_diagnostics): Likewise.
5293 (main): Call try_setlocale instead of setlocale. Call
5294 setlocale_diagnostics.
5295 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
5296 (tst-locale-locpath.out): New target.
5297 * locale/tst-locale-locpath.sh: New file.
5299 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5301 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
5304 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5307 * malloc/hooks.c (malloc_check, realloc_check): Use
5308 __builtin_add_overflow on overflow check and adapt to
5309 checked_request2size change.
5310 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
5311 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
5312 allocation size to PTRDIFF_MAX.
5313 (REQUEST_OUT_OF_RANGE): Remove macro.
5314 (checked_request2size): Change to inline function and limit maximum
5315 requested size to PTRDIFF_MAX.
5316 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
5317 maximum allocation size to PTRDIFF_MAX.
5318 (_mid_memalign): Use _int_memalign call for overflow check.
5319 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
5320 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
5321 limit maximum requested size to PTRDIFF_MAX.
5322 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
5323 valloc, pvalloc): Add __attribute_alloc_size__.
5324 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
5325 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
5326 larger than PTRDIFF_MAX.
5327 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
5328 around tests of malloc with negative sizes.
5329 * malloc/tst-posix_memalign.c (do_test): Likewise.
5330 * malloc/tst-pvalloc.c (do_test): Likewise.
5331 * malloc/tst-valloc.c (do_test): Likewise.
5332 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
5333 with resulting size allocation larger than PTRDIFF_MAX with
5334 reallocarray_nowarn.
5335 (reallocarray_nowarn): New function.
5336 * NEWS: Mention the malloc function semantic change.
5338 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5340 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
5341 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
5343 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
5344 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
5345 * sysdeps/powerpc/fpu/s_fma.c: New file.
5346 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
5348 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
5349 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
5351 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
5352 the magic flag store.
5353 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5355 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
5357 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
5358 Remove rt_sigreturn call.
5360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5361 Remove rt_sigreturn call.
5362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
5365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5367 * support/Makefile (libsupport-routines): Add support_subprocess,
5368 xposix_spawn, xposix_spawn_file_actions_addclose, and
5369 xposix_spawn_file_actions_adddup2.
5370 (tst-support_capture_subprocess-ARGS): New rule.
5371 * support/capture_subprocess.h (support_capture_subprogram): New
5373 * support/support_capture_subprocess.c (support_capture_subprocess):
5374 Refactor to use support_subprocess and support_capture_poll.
5375 (support_capture_subprogram): New function.
5376 * support/tst-support_capture_subprocess.c (write_mode_to_str,
5377 str_to_write_mode, test_common, parse_int, handle_restart,
5378 do_subprocess, do_subprogram, do_multiple_tests): New functions.
5379 (do_test): Add support_capture_subprogram tests.
5380 * support/subprocess.h: New file.
5381 * support/support_subprocess.c: Likewise.
5382 * support/xposix_spawn.c: Likewise.
5383 * support/xposix_spawn_file_actions_addclose.c: Likewise.
5384 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
5385 * support/xspawn.h: Likewise.
5387 2019-04-17 Mike Gerow <gerow@google.com>
5389 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
5392 2019-04-11 Florian Weimer <fweimer@redhat.com>
5394 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
5395 domain with empty string.
5396 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5398 2019-04-11 Florian Weimer <fweimer@redhat.com>
5400 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
5402 (alloc_buffer_next): Change return type to non-const. Update
5405 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
5407 * manual/time.texi (Formatting Calendar Time): Add missing percent
5408 sign to conversion specifier.
5410 2019-04-09 Carlos O'Donell <carlos@redhat.com>
5411 Kwok Cheung Yeung <kcy@codesourcery.com>
5414 * malloc/mtrace.c: Define prototypes for all hooks.
5415 (set_default_hooks): New function.
5416 (set_trace_hooks): Likewise.
5417 (save_default_hooks): Likewise.
5418 (tr_freehook): Use new s*_hooks functions.
5419 (tr_mallochook): Likewise.
5420 (tr_reallochook): Likewise.
5421 (tr_memalignhook): Likewise.
5423 (muntrace): Likewise.
5425 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5427 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
5428 (generic_stpcpy): New function.
5429 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
5430 (generic_stpncpy): New function.
5431 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
5432 (generic_strcat): New function.
5433 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
5434 (generic_strcpy): New function.
5435 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
5436 (STUPID_STRNCAT): Remove function.
5437 (generic_strncat): New function.
5438 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
5439 (STUPID_STRNCPY): Remove function.
5440 (generic_strncpy): New function.
5441 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
5442 (generic_strnlen): New function.
5443 (memchr_strnlen): New function.
5444 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
5445 (memchr_strlen): Likewise.
5447 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5449 * benchtests/bench-strstr.c (input): Add realistic input text.
5450 (stupid_strstr): Remove function.
5451 (basic_strstr): Add function.
5452 (twoway_strstr): Add function.
5453 (do_one_test): Add result checking.
5454 (do_test): Use new input text. Remove accidental early matches.
5455 (test_main): Improve range of tests, reduce unaligned cases.
5457 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5459 * benchtests/bench-memmem.c (simple_memmem): Remove function.
5460 (basic_memmem): Add function.
5461 (twoway_memmem): Add function.
5463 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5465 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
5466 * benchtests/bench-malloc-thread.c: Likewise.
5467 * benchtests/bench-skeleton.c: Likewise.
5468 * benchtests/bench-strtod.c: Likewise.
5469 * benchtests/bench-timing.h: Likewise.
5471 2019-04-08 Florian Weimer <fweimer@redhat.com>
5473 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
5475 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
5476 RES_INSECURE2 security checks.
5477 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
5478 RES_INSECURE2 handling.
5480 2019-04-08 Florian Weimer <fweimer@redhat.com>
5482 resolv: Remove support for RES_USE_INET6 and the inet6 option.
5483 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
5484 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
5486 * resolv/Makefile (tests): Remove tst-res_use_inet6.
5487 (tests-internal): Update justification for tst-resolv-res_init,
5488 tst-resolv-res_init-thread.
5489 (tst-res_use_inet6): Remove target.
5490 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
5491 * resolv/res_debug.c (p_option): Remove "inet6" support.
5492 * resolv/res_init.c (res_setoptions): Likewise.
5493 * resolv/res_use_inet6.h: Remove file.
5494 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
5496 (res_use_inet6): Always return false.
5497 * resolv/resolv.h (RES_USE_INET6): Remove definition.
5498 * resolv/resolv_context.h: Adjust file comment.
5499 (struct resolv_context): Update comment on __next field.
5500 (__resolv_context_put): Update comment.
5501 * resolv/tst-res_use_inet6.c: Remove file.
5502 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
5504 (test_cases): Adjust test case.
5505 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
5506 (thread_byname2_af_inet6): Use old byname_inet6 code.
5507 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
5508 (gai): Remove do_inet6 argument.
5509 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
5510 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
5511 (thread_gai_unspec_inet6): Remove functions.
5512 (do_test): Adjust thread_funcs.
5513 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
5515 (gaih_inet): Do not disable RES_USE_INET6 flag.
5517 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5519 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
5520 and remove redundant code.
5522 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5524 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
5526 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
5527 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
5529 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
5531 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
5533 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5534 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
5535 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
5536 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
5537 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5538 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
5539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5540 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
5542 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
5543 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5544 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5545 Remove wcsrchr optimizations.
5546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5548 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5551 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5553 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5554 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5556 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5558 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5560 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5561 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5562 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5563 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5564 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5565 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5566 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5567 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5569 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5571 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5572 Remove wcschr optimizations.
5573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5575 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5578 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5580 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5581 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5583 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5585 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5587 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5588 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5589 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5590 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5591 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5592 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5593 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5594 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5596 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5599 Remove wcscpy optimizations.
5600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5602 * include/loop_unroll.h: New file.
5603 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5604 besides generic implementation.
5606 2019-04-03 DJ Delorie <dj@redhat.com>
5608 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5609 snprintf truncating output.
5611 2019-04-02 DJ Delorie <dj@redhat.com>
5613 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5616 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5619 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5621 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5622 (mkreftable): Add rules for the new Japanese era and the new dates.
5624 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5625 Rafał Lużyński <digitalfreak@lingonborough.com>
5627 * time/tst-strftime2.c (date_t): Explicitly define the type.
5628 (dates): Use natural month and year numbers to express a date.
5629 (is_before): New function to compare dates.
5630 (mkreftable): Minor improvements to simplify maintenance.
5631 (do_test): Reflect the changes in dates array.
5634 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5635 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5636 * time/tst-strftime2.c (locales): Likewise.
5637 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5638 2010-04-01, and 2011-04-01.
5639 (mkreftable): Add rules for the new locales and the new dates.
5641 2019-04-01 Carlos O'Donell <carlos@redhat.com>
5643 * localedata/locales/ja_JP: Add comments to era entries.
5645 2019-04-01 DJ Delorie <dj@redhat.com>
5648 * time/strptime_l.c (%Ey): Fix fencepost error.
5649 * time/tst-strftime3.c: New.
5650 * time/Makefile (tests): Add tst-strftime3.
5652 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
5654 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5655 conditional branch to DIVBYZERO. Fix unwind info.
5656 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5657 excb after conditional branch to $powerof2. Add missing unop
5658 instructions and .align directives and reorder instructions to
5661 2019-04-01 Richard Henderson <rth@twiddle.net>
5663 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5665 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5668 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
5670 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5671 $libc_cv_riscv_float_abi in `test' invocation.
5672 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5674 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
5676 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5678 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5680 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5681 (_GET_SI_FPSCR): Likewise.
5682 (_SET_SI_FPSCR): Likewise.
5684 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5686 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5688 (signbit): Use builtin for clang 3.3.
5689 (isinf): Use builtin for clang 3.7.
5691 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5693 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5695 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5697 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5700 2019-03-25 Mike Crowe <mac@mcrowe.com>
5702 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5703 pthread_rwlock_timedrdlock with calls to
5704 pthread_rwlock_timedwrlock to ensure that the latter is tested
5705 too. Use new function name in diagnostic messages too.
5707 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5708 (do_test) Use libsupport test macros rather than hand-coded
5709 conditionals and error messages. Ensure that sem_init returns zero
5710 rather than not -1. Use <support/test-driver.c> rather than
5713 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5714 test macros rather than hand-coded conditionals and error messages.
5715 Use <support/test-driver.c> rather than test-skeleton.c.
5717 2019-03-25 Joseph Myers <joseph@codesourcery.com>
5719 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5721 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5722 (NT_MIPS_MSA): Likewise.
5724 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5726 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5727 * benchtests/README: Update description.
5728 * benchtests/bench-timing.h: Default to hp-timing.
5729 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5730 HP_TIMING_PRINT): Remove.
5731 (HP_TIMING_NOW): Add generic implementation.
5732 (hp_timing_t): Change to uint64_t.
5734 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5736 * nptl/descr.h: Likewise.
5737 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5738 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5739 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5740 Abstract hp-timing usage with RTLD_* macros.
5741 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5742 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5743 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5744 HP_TIMING_NONAVAIL): Likewise.
5745 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5747 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5748 HP_SMALL_TIMING_AVAIL): Likewise.
5749 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5750 HP_SMALL_TIMING_AVAIL): Likewise.
5751 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5752 HP_SMALL_TIMING_AVAIL): Likewise.
5753 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5754 HP_SMALL_TIMING_AVAIL): Likewise.
5755 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5757 * sysdeps/generic/hp-timing-common.h: Update comment with
5758 HP_TIMING_AVAIL removal.
5760 * include/random-bits.h: New file.
5761 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5762 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5764 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5765 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5768 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5769 * rt/Makefile (clock-routines): Remove get_clockfreq.
5770 * rt/get_clockfreq.c: Remove file.
5771 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5772 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5773 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5774 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5775 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5777 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5778 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5779 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5780 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5781 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5783 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5784 pthread_clock_settime.
5785 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5786 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5787 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5788 * elf/rtld.c (_dl_start_final): Likewise.
5789 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5790 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5792 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5793 (_dl_cpuclock_offset): Remove.
5794 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5795 cpuclock_offset_ununsed.
5796 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5797 cpuclock_offset set.
5798 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5799 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5800 * nptl/pthread_clock_gettime.c: Remove file.
5801 * nptl/pthread_clock_settime.c: Likewise.
5802 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5803 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5804 and CLOCK_PROCESS_CPUTIME_ID support.
5805 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5806 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5807 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5808 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5809 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5811 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5813 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5815 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5816 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5817 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5819 * sysdeps/s390/memmem-arch13.S: New file.
5820 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5821 if it is only used as fallback.
5822 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5823 * sysdeps/s390/multiarch/ifunc-impl-list.c
5824 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5826 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5828 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5829 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5830 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5832 * sysdeps/s390/multiarch/ifunc-impl-list.c
5833 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5834 * sysdeps/s390/strstr-arch13.S: New file.
5835 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5836 if it is only used as fallback.
5837 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5839 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5841 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5842 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5843 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5844 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5846 * sysdeps/s390/multiarch/ifunc-impl-list.c
5847 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5848 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5849 S390_IS_ARCH13_MIE3): New defines.
5851 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5853 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5854 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5855 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5856 * sysdeps/s390/configure: Regenerated.
5858 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5860 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5861 Add vxe2, vxp, dflt, sort flags.
5862 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5863 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5865 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5866 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5867 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5868 HWCAP_S390_DFLT): Define.
5870 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5873 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5874 of compiler warning.
5875 * locale/programs/ld-collate.c (collate_output): Likewise.
5877 2019-03-21 DJ Delorie <dj@redhat.com>
5880 * iconv/iconvconfig.c (write_output): Replace floating point math
5881 with integer math to avoid imprecise results.
5882 * locale/programs/ld-collate.c (collate_output): Likewise.
5884 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
5886 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5887 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5889 2019-03-20 mansayk <6688000@gmail.com>
5892 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5893 (abday): Likewise, but remove the trailing dots.
5895 2019-03-19 Joseph Myers <joseph@codesourcery.com>
5897 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5899 (HWCAP_PACA): Likewise.
5900 (HWCAP_PACG): Likewise.
5901 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5903 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5905 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5907 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5910 2019-03-15 Joseph Myers <joseph@codesourcery.com>
5912 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5914 (old_getpagesize): New syscall.
5916 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5919 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5920 * localedata/locales/cmn_TW (era): Likewise.
5921 * localedata/locales/hak_TW (era): Likewise.
5922 * localedata/locales/lzh_TW (era): Likewise.
5923 * localedata/locales/nan_TW (era): Likewise.
5925 2019-03-14 Adam Maris <amaris@redhat.com>
5927 * malloc/malloc.c (_int_malloc): Check for large bin list
5928 corruption when inserting unsorted chunk.
5930 2019-03-14 Florian Weimer <fweimer@redhat.com>
5932 Remove obsolete, never-implemented XSI STREAMS declarations.
5933 * manual/terminal.texi (Allocation): Remove portability note and
5935 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5937 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5938 * sysdeps/unix/inet/Subdirs (streams): Remove.
5939 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5940 (conformtest-headers-UNIX98): Likewise.
5941 (conformtest-headers-XOPEN2K): Likewise.
5942 (conformtest-headers-POSIX2008): Likewise.
5943 * posix/compat-streams.c: New file.
5944 * posix/Makefile (routines): Add it.
5945 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5946 getpmsg, isastream, putmsg, putpmsg.
5947 (GLIBC_2.30): New section.
5948 * bits/stropts.h: Remove file.
5949 * bits/xtitypes.h: Likewise.
5950 * conform/data/stropts.h-data: Likewise.
5951 * include/stropts.h: Likewise.
5952 * include/sys/stropts.h: Likewise.
5953 * include/xtitypes.h: Likewise.
5954 * streams/Makefile: Likewise.
5955 * streams/fattach.c: Likewise.
5956 * streams/fdetach.c: Likewise.
5957 * streams/getmsg.c: Likewise.
5958 * streams/getpmsg.c: Likewise.
5959 * streams/isastream.c: Likewise.
5960 * streams/putmsg.c: Likewise.
5961 * streams/putpmsg.c: Likewise.
5962 * streams/stropts.h: Likewise.
5963 * streams/sys/stropts.h: Likewise.
5964 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5965 * sysdeps/s390/bits/xtitypes.h: Likewise.
5966 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5967 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5968 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5969 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5970 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5971 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5972 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5973 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5974 * sysdeps/x86/bits/xtitypes.h: Likewise.
5976 2019-03-14 Florian Weimer <fweimer@redhat.com>
5978 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5980 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5981 but not with libnss_files.
5982 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5984 2019-03-14 Zack Weinberg <zackw@panix.com>
5986 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5987 Specify encoding="utf-8" when opening headers to check.
5989 2019-03-13 Joseph Myers <joseph@codesourcery.com>
5991 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5993 (Context.checkout_tar): Handle variable major version for Linux
5996 2019-03-13 Florian Weimer <fweimer@redhat.com>
5999 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
6001 2019-03-13 Zack Weinberg <zackw@panix.com>
6003 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
6005 * include/inttypes.h: Adjust to match.
6006 * include/stdint.h: New wrapper.
6008 2019-03-13 Zack Weinberg <zackw@panix.com>
6010 * scripts/check-obsolete-constructs.py: New test script.
6011 * scripts/check-installed-headers.sh: Remove tests for
6012 obsolete typedefs, superseded by check-obsolete-constructs.py.
6013 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
6014 as a special test. Update commentary.
6015 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
6016 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
6018 * posix/sys/types.h (__u_intN_t): Remove.
6019 (u_int8_t): Typedef using __uint8_t.
6020 (u_int16_t): Typedef using __uint16_t.
6021 (u_int32_t): Typedef using __uint32_t.
6022 (u_int64_t): Typedef using __uint64_t.
6024 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
6026 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
6028 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
6029 Ignore types other than AT_HWCAP.
6030 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
6031 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
6033 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
6034 in the case of falling back to generic output mechanism.
6035 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
6038 2019-03-12 Florian Weimer <fweimer@redhat.com>
6040 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
6042 2019-03-12 Florian Weimer <fweimer@redhat.com>
6045 resolv: Enable full ICMP errors for UDP DNS sockets
6046 * resolv/res_enable_icmp.c: New file.
6047 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
6048 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
6049 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
6052 2019-03-11 Mao Han <han_mao@c-sky.com>
6054 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
6055 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
6057 2019-03-11 Mao Han <han_mao@c-sky.com>
6059 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
6060 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6061 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6063 2019-03-11 Mao Han <han_mao@c-sky.com>
6065 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
6067 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
6070 2019-03-11 Mao Han <han_mao@c-sky.com>
6072 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
6073 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
6076 2019-03-08 Mike FABIAN <mfabian@redhat.com>
6079 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
6080 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
6082 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
6083 * localedata/unicode-gen/PropList.txt: Likewise.
6084 * localedata/unicode-gen/UnicodeData.txt: Likewise.
6085 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
6086 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
6087 * localedata/charmaps/UTF-8: Regenerate.
6088 * localedata/locales/i18n_ctype: Likewise.
6089 * localedata/locales/tr_TR: Likewise.
6090 * localedata/locales/translit_circle: Likewise.
6091 * localedata/locales/translit_cjk_compat: Likewise.
6092 * localedata/locales/translit_combining: Likewise.
6093 * localedata/locales/translit_compat: Likewise.
6094 * localedata/locales/translit_font: Likewise.
6095 * localedata/locales/translit_fraction: Likewise.
6097 2019-03-07 Joseph Myers <joseph@codesourcery.com>
6099 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
6100 than after operators.
6101 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
6102 (setitimer_locked): Likewise.
6103 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
6104 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
6105 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
6106 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
6107 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
6108 (PPC_CPU_SUPPORTED): Likewise.
6109 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
6110 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
6111 (stat_overflow): Likewise.
6112 (statfs_overflow): Likewise.
6113 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
6114 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
6115 (eq_ttyname_r): Likewise.
6116 (run_chroot_tests): Likewise.
6118 2019-03-07 Florian Weimer <fweimer@redhat.com>
6120 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
6123 2019-03-07 Martin Liska <mliska@suse.cz>
6125 * math/Makefile: Change location where math-vector-fortran.h is
6127 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
6128 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
6129 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
6130 * scripts/check-installed-headers.sh: Skip Fortran header files.
6131 * scripts/check-wrapper-headers.py: Likewise.
6133 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6135 * nptl/nptl-init.c (__have_futex_clock_realtime,
6136 __have_futex_clock_realtime): Remove definition.
6137 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
6138 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
6139 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
6140 __ASSUME_FUTEX_CLOCK_REALTIME support.
6141 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
6142 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6143 * sysdeps/unix/sysv/linux/kernel-features.h
6144 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
6145 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
6148 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6150 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
6151 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
6152 __GI___wcscpy and wcscpy.
6154 2019-03-04 Florian Weimer <fweimer@redhat.com>
6156 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
6158 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
6161 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
6163 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
6164 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6166 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
6169 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
6170 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
6172 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6174 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
6176 (do_test): Likewise.
6177 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6178 (do_test_call_varg): Likewise.
6179 (do_test_call_rarg): Likewise.
6180 * sysdeps/ieee754/ldbl-opt/Makefile
6181 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
6183 ($(objpfx)tst-nldbl-warn.c): New rule.
6184 ($(objpfx)tst-nldbl-error.c): Likewise.
6185 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
6188 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6191 * include/bits/error-ldbl.h: New file.
6192 * include/error.h: Include stdarg.h. Declare internal functions
6193 __error_internal and __error_at_line_internal.
6194 * misc/Makefile (headers): Add bits/error-ldbl.h.
6195 * misc/bits/error-ldbl.h: New file.
6196 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
6197 avoid the inclusion of bits/error.h.
6198 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
6199 and __nldbl_error_at_line.
6200 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
6201 (__nldbl_error, __ndlbl_error_at_line): New functions.
6202 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
6203 Redirect error and error_at_line.
6204 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
6205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6213 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6214 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6215 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6217 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6220 * include/bits/err-ldbl.h: New file.
6221 * include/err.h: Add prototypes for the internal functions:
6222 __vwarnx_internal and __vwarn_internal.
6223 * misc/Makefile (headers): Add bits/err-ldbl.h.
6224 * misc/bits/err-ldbl.h: New file.
6225 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
6226 defined, i.e.: when -mlong-double-64 is in use.
6227 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
6228 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
6229 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
6230 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
6231 (VA_CALL): New macro.
6232 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
6233 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
6235 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
6236 declare prototypes for the new functions.
6237 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
6238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6246 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6247 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6248 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6250 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6252 * sysdeps/ieee754/ldbl-opt/Makefile
6253 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
6254 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
6255 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
6257 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6260 * argp/Makefile (headers): Add bits/argp-ldbl.h.
6261 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
6262 * argp/bits/argp-ldbl.h: New file.
6263 * include/argp.h: Include stdarg.h. Add prototypes for internal
6264 functions: __argp_error_internal and __argp_failure_internal.
6265 * include/bits/argp-ldbl.h: New file.
6266 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
6267 __nldbl_argp_error and __nldbl_argp_failure.
6268 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
6269 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
6270 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
6271 Redirect argp_error and argp_failure calls.
6272 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
6273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6281 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6282 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6283 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6285 2019-03-01 Florian Weimer <fweimer@redhat.com>
6288 * elf/tst-big-note-lib.S: Create a syntactically valid note.
6289 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
6290 code, to avoid creating an ABI tag note.
6291 (modules-names-nobuild): Add tst-big-note-lib.
6293 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
6295 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
6296 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
6298 2019-03-01 Florian Weimer <fweimer@redhat.com>
6301 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6302 (__netlink_assert_response): Add additional missing newlines.
6304 2019-02-28 Joseph Myers <joseph@codesourcery.com>
6306 * sysdeps/powerpc/powerpc32/dl-machine.c
6307 (__elf_machine_fixup_plt): Use space before '('.
6308 (__process_machine_rela): Likewise.
6309 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
6311 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
6313 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
6315 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
6316 (pattern): Likewise.
6318 (check_result): Likewise.
6319 (check_excepts): Likewise.
6320 (check_op): Likewise.
6321 (fail_xr): Likewise.
6322 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
6323 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
6325 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
6328 (__makecontext): Likewise.
6329 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
6332 2019-02-28 Florian Weimer <fweimer@redhat.com>
6335 elf: Add test with a local IFUNC resolver.
6336 * elf/ifuncmain9.c: New file.
6337 * elf/ifuncmain9pic.c: Likewise.
6338 * elf/ifuncmain9picstatic.c: Likewise.
6339 * elf/ifuncmain9pie.c: Likewise.
6340 * elf/ifuncmain9static.c: Likewise.
6341 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
6342 ifuncmain9static, ifuncmain9picstatic.
6343 * elf/Makefile [multi-arch && build-shared] (tests-internal):
6344 Add ifuncmain9, ifuncmain9pic.
6345 * elf/Makefile [multi-arch && build-shared && have-fpie]
6346 (ifunc-pie-tests): Add ifuncmain9pie.
6347 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
6348 (CFLAGS-ifuncmain9picstatic.c): Likewise.
6349 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
6351 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
6353 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
6354 * configure: Regenerated.
6355 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
6357 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6359 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
6360 symbol as __wcspcy instead of wcscpy.
6362 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6364 * include/stdio.h (__renameat2): New hidden prototype.
6365 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
6366 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
6367 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
6368 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
6370 2019-02-27 Joseph Myers <joseph@codesourcery.com>
6372 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
6375 * benchtests/bench-strcpy.c (do_test): Use space before '('.
6376 * benchtests/bench-string.h (cmdline_process_function): Likewise.
6377 * benchtests/bench-strlen.c (do_test): Likewise.
6378 (test_main): Likewise.
6379 * catgets/gencat.c (read_old): Likewise.
6380 * elf/cache.c (load_aux_cache): Likewise.
6381 * iconvdata/bug-iconv8.c (do_test): Likewise.
6382 * math/test-tgmath-ret.c (do_test): Likewise.
6383 * nis/nis_call.c (rec_dirsearch): Likewise.
6384 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6385 * nptl/tst-audit-threads.c (do_test): Likewise.
6386 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
6387 * nss/nss_test1.c (init): Likewise.
6388 * nss/test-netdb.c (test_hosts): Likewise.
6389 * posix/execvpe.c (maybe_script_execute): Likewise.
6390 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
6391 * stdio-common/tst-printf.c (do_test): Likewise.
6392 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
6393 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
6394 * stdlib/qsort.c (STACK_SIZE): Likewise.
6395 * stdlib/test-canon.c (do_test): Likewise.
6396 * stdlib/tst-swapcontext1.c (do_test): Likewise.
6397 * string/memcmp.c (OPSIZ): Likewise.
6398 * string/test-strcpy.c (do_test): Likewise.
6399 (do_random_tests): Likewise.
6400 * string/test-strlen.c (do_test): Likewise.
6401 (test_main): Likewise.
6402 * string/test-strrchr.c (do_test): Likewise.
6403 (do_random_tests): Likewise.
6404 * string/tester.c (test_memrchr): Likewise.
6405 (test_memchr): Likewise.
6406 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
6407 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
6408 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
6409 (read_encoded_value_with_base): Likewise.
6410 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
6411 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
6412 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
6413 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6414 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
6415 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
6417 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
6419 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
6420 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
6421 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
6423 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
6425 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
6427 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6429 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
6430 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
6431 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6432 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
6433 * time/test_time.c (main): Likewise.
6435 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6437 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
6439 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
6442 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
6445 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6447 * include/wchar.h (__wcscpy): New prototype.
6448 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
6449 (__wcscpy): Route internal symbol to generic implementation.
6450 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
6451 Add internal __wcscpy alias.
6452 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
6453 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
6454 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
6455 * wcsmbs/wcscpy.c (wcscpy): Add
6456 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
6457 use generic implementation.
6458 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
6460 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
6463 * sysdeps/m68k/wcpcpy.c: Remove file.
6464 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6466 2019-02-26 Joseph Myers <joseph@codesourcery.com>
6468 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
6469 than after operators.
6470 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6471 * sysdeps/mach/hurd/getcwd.c
6472 (__hurd_canonicalize_directory_name_internal): Likewise.
6473 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
6474 (pthread_mutex_consistent): Likewise.
6475 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
6477 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
6478 (__pthread_mutex_transfer_np): Likewise.
6479 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
6480 (__pthread_mutex_unlock): Likewise.
6481 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
6482 (mtx_owned_p): Likewise.
6483 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
6484 (pthread_mutexattr_getrobust): Likewise.
6485 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
6486 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6488 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6489 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
6490 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
6491 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
6492 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6493 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6494 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
6496 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
6498 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
6499 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
6500 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
6501 (____longjmp_chk): Likewise.
6502 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
6504 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6505 (INTERNAL_SYSCALL): Likewise.
6506 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6507 (INTERNAL_SYSCALL): Likewise.
6508 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6509 (__get_clockfreq_via_cpuinfo): Likewise.
6511 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
6513 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
6514 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
6515 (WORD_COPY_BWD): Likewise.
6516 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6517 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6519 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
6520 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
6522 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
6524 2019-02-25 Joseph Myers <joseph@codesourcery.com>
6526 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
6527 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
6528 rather than after operators.
6529 * elf/cache.c (print_cache): Likewise.
6530 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
6531 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
6532 * hurd/hurdinit.c (_hurd_setproc): Likewise.
6533 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
6534 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
6535 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
6536 (reauth_proc): Likewise.
6537 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
6538 (__file_name_split_at): Likewise.
6539 (__directory_name_split_at): Likewise.
6540 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6541 * hurd/port2fd.c (_hurd_port2fd): Likewise.
6542 * iconv/gconv_dl.c (do_print): Likewise.
6543 * inet/netinet/in.h (struct sockaddr_in): Likewise.
6544 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
6545 * locale/setlocale.c (new_composite_name): Likewise.
6546 * malloc/memusagestat.c (main): Likewise.
6547 * misc/fstab.c (fstab_convert): Likewise.
6548 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6550 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6551 (getgrent_next_file): Likewise.
6552 (internal_getgrnam_r): Likewise.
6553 (internal_getgrgid_r): Likewise.
6554 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6556 (internal_getgrent_r): Likewise.
6557 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6558 (getpwent_next_nss): Likewise.
6559 (getpwent_next_file): Likewise.
6560 (internal_getpwnam_r): Likewise.
6561 (internal_getpwuid_r): Likewise.
6562 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6564 (getspent_next_nss): Likewise.
6565 (internal_getspnam_r): Likewise.
6566 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6567 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6568 * string/strchr.c (STRCHR): Likewise.
6569 * string/strchrnul.c (STRCHRNUL): Likewise.
6570 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6571 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6572 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6573 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6574 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6576 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6577 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6578 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6579 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6580 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6581 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6582 (open_file): Likewise.
6583 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6584 (pthread_mutexattr_setprotocol): Likewise.
6585 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6586 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6587 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6588 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6589 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6591 (elf_machine_rela): Likewise.
6592 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6593 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6594 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6595 * sysdeps/posix/rename.c (rename): Likewise.
6596 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6597 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6598 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6599 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6600 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6601 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6602 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6604 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6606 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6607 * time/tzfile.c (__tzfile_compute): Likewise.
6609 2019-02-22 Joseph Myers <joseph@codesourcery.com>
6611 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6612 rather than after operators.
6613 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6614 * crypt/md5.c (md5_finish_ctx): Likewise.
6615 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6616 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6617 * elf/cache.c (load_aux_cache): Likewise.
6618 * elf/dl-load.c (open_verify): Likewise.
6619 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6620 * elf/readelflib.c (process_elf_file): Likewise.
6621 * elf/rtld.c (dl_main): Likewise.
6622 * elf/sprof.c (generate_call_graph): Likewise.
6623 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6624 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6625 * hurd/dtable.c (reauth_dtable): Likewise.
6626 * hurd/getdport.c (__getdport): Likewise.
6627 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6628 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6629 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6631 * hurd/hurdioctl.c (fioctl): Likewise.
6632 * hurd/hurdselect.c (_hurd_select): Likewise.
6633 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6634 (STOPSIGS): Likewise.
6635 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6636 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6637 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6638 * hurd/msgportdemux.c (msgport_server): Likewise.
6639 * hurd/setauth.c (_hurd_setauth): Likewise.
6640 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6641 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6642 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6643 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6644 * login/tst-utmp.c (do_check): Likewise.
6645 (simulate_login): Likewise.
6646 * mach/lowlevellock.h (lll_lock): Likewise.
6647 (lll_trylock): Likewise.
6648 * math/test-fenv.c (ALL_EXC): Likewise.
6649 * math/test-fenvinline.c (ALL_EXC): Likewise.
6650 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6651 * nis/nis_call.c (__do_niscall3): Likewise.
6652 * nis/nis_callback.c (cb_prog_1): Likewise.
6653 * nis/nis_defaults.c (searchaccess): Likewise.
6654 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6655 * nis/nis_ismember.c (internal_ismember): Likewise.
6656 * nis/nis_local_names.c (nis_local_principal): Likewise.
6657 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6658 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6660 * nis/ypclnt.c (yp_match): Likewise.
6661 (yp_first): Likewise.
6662 (yp_next): Likewise.
6663 (yp_master): Likewise.
6664 (yp_order): Likewise.
6665 * nscd/hstcache.c (cache_addhst): Likewise.
6666 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6667 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6668 (internal_getpwuid_r): Likewise.
6669 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6670 * posix/glob.h (__GLOB_FLAGS): Likewise.
6671 * posix/regcomp.c (peek_token): Likewise.
6672 (peek_token_bracket): Likewise.
6673 (parse_expression): Likewise.
6674 * posix/regexec.c (sift_states_iter_mb): Likewise.
6675 (check_node_accept_bytes): Likewise.
6676 * posix/tst-spawn3.c (do_test): Likewise.
6677 * posix/wordexp-test.c (testit): Likewise.
6678 * posix/wordexp.c (parse_tilde): Likewise.
6679 (exec_comm): Likewise.
6680 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6681 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6682 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6683 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6684 * stdio-common/tst-fileno.c (do_test): Likewise.
6685 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6686 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6687 * stdlib/strtod_l.c (round_and_return): Likewise.
6688 (____STRTOF_INTERNAL): Likewise.
6689 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6690 * string/strcspn.c (STRCSPN): Likewise.
6691 * string/test-memmem.c (simple_memmem): Likewise.
6692 * termios/tcsetattr.c (tcsetattr): Likewise.
6693 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6694 * time/asctime.c (asctime_internal): Likewise.
6695 * time/strptime_l.c (__strptime_internal): Likewise.
6696 * time/sys/time.h (timercmp): Likewise.
6697 * time/tzfile.c (__tzfile_compute): Likewise.
6699 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6702 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
6704 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6706 * argp/argp-help.c (__argp_error_internal): New function,
6707 renamed from __argp_error, but that takes a 'mode_flags'
6708 parameter to control the format of long double parameters.
6709 (__argp_error): Converted into a call __argp_error_internal.
6710 (__argp_failure_internal): New function, renamed from
6711 __argp_failure, but that takes a 'mode_flags' parameter.
6712 (__argp_failure): Converted into a call __argp_failure_internal.
6713 * misc/err.c (__vwarnx_internal): New function, renamed from
6714 vwarnx, but that takes a 'mode_flags' parameter.
6715 (vwarnx): Converted into a call to __vwarnx_internal.
6716 (__vwarn_internal): New function, renamed from vwarn, but that
6717 takes a 'mode_flags' parameter.
6718 (vwarn): Converted into a call to __vwarn_internal.
6719 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6720 call to __vfxprintf with 'mode_flags'.
6721 (__error_internal): New function, renamed from error, but that
6722 takes a 'mode_flags' parameter.
6723 (error): Converted into a call to __error_internal.
6724 (__error_at_line_internal): New function, renamed from
6725 error_at_line, but that takes a 'mode_flags' parameter.
6726 (error_at_line): Converted into a call to
6727 __error_at_line_internal.
6728 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6729 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6732 2019-02-20 Martin Liska <mliska@suse.cz>
6734 * math/Makefile: Install math-vector-fortran.h.
6735 * bits/math-vector-fortran.h: New file.
6736 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6738 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6740 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6741 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6743 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
6745 * nptl/pthread_mutex_trylock.c: Fix comment.
6747 2019-02-19 Carlos O'Donell <carlos@redhat.com>
6749 * nptl/pthread_tryjoin.c: Fix comment.
6751 2019-02-18 Joseph Myers <joseph@codesourcery.com>
6754 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6755 after R_SPARC_H34 case.
6757 2019-02-18 Florian Weimer <fweimer@redhat.com>
6759 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6760 (getanswer): Do not call Dprintf.
6761 (res_gethostbyname2_context): Likewise.
6762 (res_gethostbyaddr_context): Likewise.
6764 2019-02-18 Florian Weimer <fweimer@redhat.com>
6766 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6768 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6770 * libio/stdfiles.c: Update comment.
6771 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6772 set _IO_stdin, _IO_stdout, _IO_stderr.
6773 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6774 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6776 (_IO_deallocate_file): New inline function.
6777 * libio/iolibio.h (_IO_vprintf): Remove definition.
6778 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6779 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6780 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6782 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6783 __builtin_expect. Use _IO_legacy_file.
6785 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
6787 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6788 Initialize ctid with a known value and remove update of ctid
6790 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6791 as assumed current value of ctid_ptr.
6793 2019-02-16 Florian Weimer <fweimer@redhat.com>
6795 Check that non-sysdeps headers have wrapper headers.
6796 * scripts/check-wrapper-headers.py: New file.
6797 * Makefile (tests-special): Add check-wrapper-headers.out.
6798 (check-wrapper-headers.out): New target.
6799 * Rules (tests-special): Add check-wrapper-headers.out.
6800 (check-wrapper-headers.out): New target.
6802 2019-02-16 Florian Weimer <fweimer@redhat.com>
6804 Add missing header wrappers under include/.
6805 * include/ar.h: New file.
6806 * include/bits/mqueue2.h: Likewise.
6807 * include/bits/stdio.h: Likewise.
6808 * include/bits/stdio2.h: Likewise.
6809 * include/fstab.h: Likewise.
6810 * include/fts.h: Likewise.
6811 * include/lastlog.h: Likewise.
6812 * include/netinet/icmp6.h: Likewise.
6813 * include/netinet/igmp.h: Likewise.
6814 * include/netinet/ip6.h: Likewise.
6815 * include/re_comp.h: Likewise.
6816 * include/regexp.h: Likewise.
6817 * include/rpcsvc/bootparam.h: Likewise.
6818 * include/rpcsvc/yp_prot.h: Likewise.
6819 * include/sys/random.h: Likewise.
6820 * include/sys/stropts.h: Likewise.
6821 * include/sys/ttychars.h: Likewise.
6822 * include/sys/vfs.h: Likewise.
6823 * include/wait.h: Likewise.
6825 2019-02-16 Florian Weimer <fweimer@redhat.com>
6827 * nptl_db/proc_service.h: Move to ...
6828 * sysdeps/nptl/proc_service.h: ... here.
6829 * nptl_db/thread_db.h: Move to ...
6830 * sysdeps/nptl/thread_db.h: ... here.
6831 * nptl/descr.h: Include <thread_db.h>.
6833 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6835 * io/Makefile (tests): Add tst-lockf.
6836 * io/lockf.c (lockf): Use __fcntl and only define for
6837 !__OFF_T_MATCHES_OFF64_T.
6838 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6839 __OFF_T_MATCHES_OFF64_T case.
6840 * io/tst-lockf.c: New file.
6841 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6842 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6843 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6844 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6845 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6847 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6848 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6849 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6851 2019-02-15 Florian Weimer <fweimer@redhat.com>
6854 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6855 pd->result after the thread descriptor has been freed.
6857 2019-02-15 Joseph Myers <joseph@codesourcery.com>
6859 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6860 from function return type.
6862 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6864 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6866 * scripts/test_printers_common.py: Set TERM to a known harmless
6869 2019-02-14 Joseph Myers <joseph@codesourcery.com>
6871 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6872 (xdr_u_int): Likewise.
6873 (xdr_enum): Likewise.
6874 (xdr_bytes): Reword fall-through comment.
6875 (xdr_string): Likewise.
6877 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6880 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6881 (tests): Add tst-join8 tst-join9.
6882 * nptl/lll_timedwait_tid.c: Remove file.
6883 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6884 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6885 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6886 * nptl/pthread_join_common.c (timedwait_tid): New function.
6887 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6889 * nptl/tst-join5.c (thread_join): New function.
6890 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6892 * nptl/tst-join8.c: New file.
6893 * nptl/tst-join9.c: Likewise.
6894 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6895 lll_futex_timed_wait_cancel): Add generic macros.
6896 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6898 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6899 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6900 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6901 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6903 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6905 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6906 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6907 (lll_futex_timed_wait_cancel): New macro.
6909 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6911 * benchtests/Makefile: Add malloc-simple benchmark.
6912 * benchtests/bench-malloc-simple.c: New benchmark.
6914 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6916 * benchtests/bench-memmove.c (do_one_test): Remove unused
6919 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6923 2019-01-13 Jim Wilson <jimw@sifive.com>
6926 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6927 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6929 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6931 * nptl/Makefile (tests): Add tst-unwind-thread.
6932 (CFLAGS-tst-unwind-thread.c): Define.
6933 * nptl/tst-unwind-thread.c: New file.
6934 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6937 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6939 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6941 * nis/nis_call.c (__do_niscall3): Likewise.
6943 * catgets/gencat.c (normalize_line): Use braces around empty
6945 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6946 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6947 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6948 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6949 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6950 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6951 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6954 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6957 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6959 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6960 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6961 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6962 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6963 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6964 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6965 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6966 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6967 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6968 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6969 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6970 * benchtests/bench-bcopy.c: Delete file.
6971 * benchtests/bench-bzero.c: Likewise.
6972 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6973 (simple_memccpy): Remove.
6974 (generic_memccpy): Add function.
6975 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6976 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6977 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6978 (generic_mempcpy): Add new function.
6979 * benchtests/bench-memset.c (simple_bzero): Remove.
6980 (builtin_bzero): Remove.
6981 (builtin_memset): Remove.
6982 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6983 (generic_rawmemchr): Add new function.
6985 2019-02-12 Florian Weimer <fweimer@redhat.com>
6987 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6989 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6992 * elf/Makefile (tests): Add tst-audit13.
6993 (modules-names): Add tst-audit13mod1.
6994 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6996 * elf/tst-audit13.c: New file.
6997 * elf/tst-audit13mod1.c: Likewise.
6999 2019-02-12 Florian Weimer <fweimer@redhat.com>
7002 * elf/rtld.c (unload_audit_module): New function.
7003 (report_audit_module_load_error): Likewise.
7004 (load_audit_module): Likewise. Extracted from dl_main. Call
7005 _dl_close if the laversion symbol cannot be found. Use early
7006 returns for error handling. Add malloc error check. Check for a
7007 zero return value from la_version. Remove spurious comment about
7008 static TLS initialization. Remove useless casts.
7009 (notify_audit_modules_of_loaded_object): New function. Extracted
7011 (load_audit_module): Likewise.
7012 (dl_main): Call load_audit_modules.
7014 2019-02-12 Joseph Myers <joseph@codesourcery.com>
7016 * elf/dl-exception.c (_dl_exception_create_format): Add
7017 fall-through comments.
7018 * elf/ldconfig.c (parse_conf_include): Likewise.
7019 * elf/rtld.c (print_statistics): Likewise.
7020 * locale/programs/charmap.c (parse_charmap): Likewise.
7021 * misc/mntent_r.c (__getmntent_r): Likewise.
7022 * posix/wordexp.c (parse_arith): Likewise.
7023 (parse_backtick): Likewise.
7024 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
7025 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7026 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7028 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
7030 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
7031 Use float instead of double.
7033 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7035 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
7037 2019-02-08 Joseph Myers <joseph@codesourcery.com>
7039 * sysdeps/powerpc/bits/mathinline.h: Remove.
7041 2019-02-08 Florian Weimer <fweimer@redhat.com>
7043 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
7044 * math/bits/math-finite.h: Move to ...
7045 * bits/math-finite.h: ... here.
7047 2019-02-08 Florian Weimer <fweimer@redhat.com>
7049 * sysdeps/generic/bits/unistd_ext.h: Move to ...
7050 * bits/unistd_ext.h: here.
7052 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
7055 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
7056 * nss/tst-nss-files-hosts-long.c: New file.
7057 * nss/tst-nss-files-hosts-long.root: New directory.
7058 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
7059 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
7061 2019-02-08 Florian Weimer <fweimer@redhat.com>
7063 * include/bits/unistd_ext.h: Remove file.
7064 * posix/bits/unistd_ext.h: Move to ...
7065 * sysdeps/generic/bits/unistd_ext.h: ... here.
7067 2019-02-08 Florian Weimer <fweimer@redhat.com>
7069 * include/bits/unistd_ext.h: New file.
7071 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
7073 * time/tst-strftime2.c: Use array_length macros instead of magic
7076 2019-02-08 Florian Weimer <fweimer@redhat.com>
7079 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
7081 * nptl/register-atfork.c (__run_fork_handlers): Only perform
7082 locking if the new do_locking argument is true.
7083 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
7084 __run_fork_handlers.
7086 2019-02-08 Florian Weimer <fweimer@redhat.com>
7089 Linux: Add gettid system call wrapper.
7090 * posix/Makefile (headers): Add bits/unistd_ext.h.
7091 * posix/bits/unistd_ext.h: New file.
7092 * posix/unistd.h: Include it.
7093 * manual/process.texi (Process Identification): Document gettid.
7094 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
7095 tst-gettid, tst-gettid-kill.
7096 (tst-gettid): Link with $(shared-thread-library).
7097 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
7098 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
7099 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
7100 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
7101 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
7102 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
7104 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
7106 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
7107 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
7109 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
7111 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
7113 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
7115 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
7117 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
7119 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
7121 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7122 (GLIBC_2.30): Likewise.
7123 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7124 (GLIBC_2.30): Likewise.
7125 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7126 (GLIBC_2.30): Likewise.
7127 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7128 (GLIBC_2.30): Likewise.
7129 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
7131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7132 (GLIBC_2.30): Likewise.
7133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7134 (GLIBC_2.30): Likewise.
7135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
7136 (GLIBC_2.30): Likewise.
7137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
7138 (GLIBC_2.30): Likewise.
7139 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
7141 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
7143 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
7145 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
7146 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
7148 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
7150 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
7152 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
7154 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
7156 2019-02-08 Florian Weimer <fweimer@redhat.com>
7158 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
7159 compatibility symbols.
7161 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
7164 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7165 Add compiler barriers and comments.
7167 2019-02-07 Florian Weimer <fweimer@redhat.com>
7169 * include/array_length.h (array_length): Do not use a statement
7170 expression and _Static_assert, so that array_length can be used at
7171 file scope and as a constant expression.
7173 2019-02-07 Florian Weimer <fweimer@redhat.com>
7175 * support/xdlfcn.h (xdlmopen): Declare.
7176 * support/xdlmopen.c: New file.
7177 * support/Makefile (libsupport-routines): Add xdlmopen.
7179 2019-02-06 Joseph Myers <joseph@codesourcery.com>
7181 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
7182 before return type, without separate inline.
7183 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
7184 * elf/dl-tunables.h (tunable_is_name): Likewise.
7185 * malloc/malloc.c (do_set_trim_threshold): Likewise.
7186 (do_set_top_pad): Likewise.
7187 (do_set_mmap_threshold): Likewise.
7188 (do_set_mmaps_max): Likewise.
7189 (do_set_mallopt_check): Likewise.
7190 (do_set_perturb_byte): Likewise.
7191 (do_set_arena_test): Likewise.
7192 (do_set_arena_max): Likewise.
7193 (do_set_tcache_max): Likewise.
7194 (do_set_tcache_count): Likewise.
7195 (do_set_tcache_unsorted_limit): Likewise.
7196 * nis/nis_subr.c (count_dots): Likewise.
7197 * nptl/allocatestack.c (advise_stack_range): Likewise.
7198 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
7200 (reduce_sincos): Likewise.
7201 (do_sincos): Likewise.
7202 * sysdeps/unix/sysv/linux/x86/elision-conf.c
7203 (do_set_elision_enable): Likewise.
7204 (TUNABLE_CALLBACK_FNDECL): Likewise.
7206 2019-02-06 Florian Weimer <fweimer@redhat.com>
7208 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
7209 (xdlsym): Use dlerror to detect a NULL symbol.
7211 2019-02-06 Florian Weimer <fweimer@redhat.com>
7213 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
7215 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7217 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
7219 * libio/tst-bz24153.c (wide): Use wide char format specifier.
7221 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
7223 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
7224 __wmemcmp and weak alias to wmemcmp.
7226 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
7229 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
7230 TLS_TCB_AT_TP tls variant.
7231 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
7232 Add alignment checks.
7233 * support/Makefile (libsupport-routines): Add xposix_memalign and
7235 * support/support.h: Add xposix_memalign.
7236 * support/xthread.h: Add xpthread_attr_setstack.
7237 * support/xposix_memalign.c: New File.
7238 * support/xpthread_attr_setstack.c: Likewise.
7240 2019-02-05 Florian Weimer <fweimer@redhat.com>
7243 arm: Use "nr" constraint for Systemtap probes, to avoid the
7244 compiler using memory operands for constants, due to the "o"
7245 alternative in the default "nor" constraint.
7246 * include/stap-probe.h [USE_STAP_PROBE]: Include
7247 <stap-probe-machine.h>
7248 * sysdeps/generic/stap-probe-machine.h: New file.
7249 * sysdeps/arm/stap-probe-machine.h: Likewise.
7251 2019-02-04 Joseph Myers <joseph@codesourcery.com>
7253 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
7254 with 0, not tcache->entries[tc_idx].
7256 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
7259 2019-02-04 Andreas Schwab <schwab@suse.de>
7263 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
7264 looking up collating elements match against (wide) character
7265 sequence instead of name. Correct alignment adjustment.
7266 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
7267 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
7268 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
7269 (LOCALES): Add cs_CZ.ISO-8859-2.
7270 * posix/tst-fnmatch4.c: New file.
7271 * posix/tst-fnmatch5.c: New file.
7272 * include/wchar.h (__wmemcmp): Declare.
7273 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
7274 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7275 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
7276 * sysdeps/s390/wmemcmp.c: Likewise.
7278 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
7282 * NEWS: Updated for CVE-2019-7309.
7283 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
7284 upper 32 bits of RDX register for x32. Use unsigned Jcc
7285 instructions, instead of signed.
7286 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
7287 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
7289 2019-02-04 Florian Weimer <fweimer@redhat.com>
7291 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
7292 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
7293 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
7295 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
7296 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
7297 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
7298 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
7300 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
7302 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
7304 (posix_spawn_file_actions_addopen): Likewise.
7305 (posix_spawn_file_actions_addclose): Likewise.
7306 (posix_spawn_file_actions_adddup2): Likewise.
7307 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
7309 (posix_spawn_file_actions_addfchdir_np): Likewise.
7311 2019-02-04 David Newall <glibc@davidnewall.com>
7313 elf: Implement --preload option for the dynamic linker.
7314 * elf/rtld.c (preloadarg): New variable.
7315 (handle_preload_list): Pass through “where” argument to
7317 (dl_main): Handle "--preload" and add second call to
7318 handle_preload_list.
7319 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
7320 (tst-rtld-preload-OBJS): Set variable.
7321 (tst-rtld-preload.out): New target.
7322 * elf/tst-rtld-preload.sh: New file.
7324 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
7326 * Makefile (testrun.sh): Exit in case of incorrect argument.
7328 2019-02-04 Florian Weimer <fweimer@redhat.com>
7330 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
7333 2019-02-03 Florian Weimer <fweimer@redhat.com>
7335 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
7336 implicit overflow checks.
7338 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
7340 * stdlib/isomac.c: Include <unistd.h>.
7342 2019-02-03 Florian Weimer <fweimer@redhat.com>
7344 * include/time.h (__tzfile_default): Use int, not long int, for
7346 * time/tzfile.c (struct ttinfo): Change type of the offset member
7348 (__tzfile_read): Remove useless cast.
7349 (__tzfile_default): Adjust prototype.
7350 * time/tzset.c (tz_rule): Change type of the offset member to int.
7351 (parse_offset): Change the type of the sign variable to int.
7353 2019-02-03 Florian Weimer <fweimer@redhat.com>
7356 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
7357 * libio/getchar.c (getchar): Likewise.
7358 * libio/getchar_u.c (getchar_unlocked): Likewise.
7359 * libio/getwchar.c (getwchar): Likewise.
7360 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7361 * libio/iogets.c (_IO_gets): Likewise.
7362 * libio/vscanf.c (_IO_vscanf): Likewise.
7363 * libio/vwscanf.c (__vwscanf): Likewise.
7364 * libio/tst-bz24153.c: New file.
7365 * libio/Makefile (tests): Add it.
7367 2019-02-02 Florian Weimer <fweimer@redhat.com>
7370 * manual/resource.texi (Basic Scheduling Functions): Add
7371 portability note. Change process to task throughout the section.
7372 Remove incorrect comment about sched_yield as it affects
7373 tasks/threads, not entire processes.
7374 * sysdeps/unix/sysv/linux/bits/posix_opt.h
7375 (_POSIX_PRIORITY_SCHEDULING): Update comment.
7377 2019-02-01 Joseph Myers <joseph@codesourcery.com>
7379 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
7380 * configure: Regenerated.
7381 * manual/install.texi (Tools for Compilation): Update minimum GCC
7383 * INSTALL: Regenerated.
7385 2019-02-01 Florian Weimer <fweimer@redhat.com>
7387 * support/support_test_compare_string.c
7388 (support_test_compare_string): Use "string" in error message.
7389 * support/tst-test_compare_string.c (do_test): Adjust.
7391 2019-02-01 Florian Weimer <fweimer@redhat.com>
7393 * support/support_format_address_family.c
7394 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
7396 2019-02-01 Florian Weimer <fweimer@redhat.com>
7398 * manual/socket.texi (Internet Address Formats): Clarify the byte
7399 order of struct sockaddr_in, struct sockaddr_in6. Document
7400 sin6_flowinfo and sin6_scope_id.
7402 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
7404 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
7405 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
7406 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
7407 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
7408 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
7409 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
7411 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7413 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
7414 [!MEMCHR](MEMCHR): Set to __memchr.
7415 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7416 Add memchr_generic and memchr_nosimd.
7417 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7418 (__libc_ifunc_impl_list): Add memchr ifuncs.
7419 * sysdeps/aarch64/multiarch/memchr.c: New file.
7420 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
7421 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
7423 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7425 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7427 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7428 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
7429 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
7430 Add IS_EMAG check for ifunc dispatch.
7431 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
7432 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
7434 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7436 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
7437 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7439 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
7442 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
7444 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
7446 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
7448 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
7449 syscall-template file.
7451 2019-01-31 Carlos O'Donell <carlos@redhat.com>
7452 Torvald Riegel <triegel@redhat.com>
7453 Rik Prohaska <prohaska7@gmail.com>
7456 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
7457 tst-rwlock-trywrlock-stall.
7458 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7459 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
7460 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
7461 Set __wrphase_fute to 1 only if we started the write phase.
7462 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
7463 * nptl/tst-rwlock-trywrlock-stall.c: New file.
7464 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
7465 * support/xpthread_rwlock_destroy.c: New file.
7466 * support/xthread.h: Declare xpthread_rwlock_destroy.
7468 2019-02-01 Joseph Myers <joseph@codesourcery.com>
7470 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
7473 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7476 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
7477 * libio/fileops.c (_IO_new_file_underflow): Likewise
7478 * libio/wfileops.c (_IO_wfile_underflow): Likewise
7479 * libio/putchar.c (putchar): Likewise.
7480 * libio/putchar_u.c (putchar_unlocked): Likewise.
7481 * libio/putwchar.c (putchar): Likewise.
7482 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7483 * libio/tst-bz24051.c: New test.
7484 * libio/Makefile (tests): Add tst-bz24051
7486 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
7489 regex: fix read overrun [BZ #24114]
7490 Problem found by AddressSanitizer, reported by Hongxu Chen in:
7491 https://debbugs.gnu.org/34140
7492 * posix/regexec.c (proceed_next_node):
7493 Do not read past end of input buffer.
7495 2019-01-31 Florian Weimer <fweimer@redhat.com>
7498 * nss/nss_files/files-alias.c (get_next_alias): Handle
7499 continuation line without newline at the end.
7500 * nss/tst-nss-files-alias-truncated.c: New file.
7501 * nss/Makefile [$(build-shared)] (tests): Add
7502 tst-nss-files-alias-truncated.
7503 (tst-nss-files-alias-truncated): Link with libnss_files.so.
7504 * support/namespace.h (struct support_chroot_configuration): Add
7506 (struct support_chroot): Add path_aliases member.
7507 * support/support_chroot.c (support_chroot_create): Handle
7509 (support_chroot_free): Free path_aliases.
7511 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
7513 * version.h (RELEASE): Set to "development".
7514 (VERSION): Set to "2.29.9000".
7515 * NEWS: Add section for 2.30.
7517 * version.h (RELEASE): Set to "stable".
7518 (VERSION): Set to "2.29".
7519 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
7521 * NEWS: Add the list of bugs fixed in 2.29.
7522 * manual/contrib.texi: Update contributors list with some more
7524 * manual/install.texi: Update latest versions of packages
7526 * INSTALL: Regenerated.
7528 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
7530 * po/be.po: Update translations.
7531 * po/bg.po: Likewise.
7532 * po/ca.po: Likewise.
7533 * po/cs.po: Likewise.
7534 * po/da.po: Likewise.
7535 * po/de.po: Likewise.
7536 * po/el.po: Likewise.
7537 * po/eo.po: Likewise.
7538 * po/es.po: Likewise.
7539 * po/fi.po: Likewise.
7540 * po/fr.po: Likewise.
7541 * po/gl.po: Likewise.
7542 * po/hr.po: Likewise.
7543 * po/hu.po: Likewise.
7544 * po/ia.po: Likewise.
7545 * po/id.po: Likewise.
7546 * po/it.po: Likewise.
7547 * po/ja.po: Likewise.
7548 * po/ko.po: Likewise.
7549 * po/lt.po: Likewise.
7550 * po/nb.po: Likewise.
7551 * po/nl.po: Likewise.
7552 * po/pl.po: Likewise.
7553 * po/pt_BR.po: Likewise.
7554 * po/ru.po: Likewise.
7555 * po/rw.po: Likewise.
7556 * po/sk.po: Likewise.
7557 * po/sl.po: Likewise.
7558 * po/sv.po: Likewise.
7559 * po/tr.po: Likewise.
7560 * po/uk.po: Likewise.
7561 * po/vi.po: Likewise.
7562 * po/zh_CN.po: Likewise.
7563 * po/zh_TW.po: Likewise.
7565 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
7568 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7569 of $f3 register on $y_is_neg path.
7571 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7574 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7575 sigaltstack.ss_flags.
7577 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7580 * manual/time.texi (strftime): Document "%Ey".
7581 * time/strftime_l.c (__strftime_internal): Set the default width
7582 padding with zero of "%Ey" to 2.
7585 * manual/time.texi (strftime): Document "%EC" and "%EY".
7586 * time/Makefile (tests): Add tst-strftime2.
7587 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7588 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7589 override padding for "%Ey".
7590 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7591 "%Ey" in the subformat as if decorated with that flag.
7592 * time/tst-strftime2.c: New file.
7594 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7596 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7600 * elf/Makefile (tests): Add tst-audit13.
7601 (modules-names): Add tst-audit13mod1.
7602 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7604 * elf/rtld.c (dl_main): Handle invalid audit module version.
7605 * elf/tst-audit13.c: New file.
7606 * elf/tst-audit13mod1.c: Likewise.
7608 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7610 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7611 returned by __hurd_at_flags.
7612 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7613 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7614 directly instead of __hurd_file_name_lookup.
7616 2019-01-21 Joseph Myers <joseph@codesourcery.com>
7618 * scripts/build-many-glibcs.py (Context.checkout): Default
7619 binutils version to 2.32 branch.
7621 2019-01-21 Florian Weimer <fweimer@redhat.com>
7625 resolv: Reject trailing characters in host names
7626 * include/arpa/inet.h (__inet_aton_exact): Declare.
7627 (inet_aton): Remove hidden prototype. No longer used internally.
7628 * nscd/gai.c (__inet_aton): Do not define.
7629 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7630 * nss/digits_dots.c (__inet_aton): Likewise.
7631 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7632 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7633 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7634 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7635 (tst-resolv-trailing): Likewise.
7636 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7638 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7639 Make static. Add endp parameter.
7640 (__inet_aton_exact): New function.
7641 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7642 (__inet_addr): Call inet_aton_end.
7643 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7644 not just IPv6. Call __inet_aton_exact.
7645 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7646 (tests): Make const. Add additional test cases with trailing
7648 (do_test): Use array_length.
7649 * resolv/tst-inet_aton_exact.c: New file.
7650 * resolv/tst-resolv-trailing.c: Likewise.
7651 * resolv/tst-resolv-nondecimal.c: Likewise.
7652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7654 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7658 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7659 Clear the upper 32 bits of RSI register.
7660 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7661 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7662 and tst-size_t-wcsnlen.
7663 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7664 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7666 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7670 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7671 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7672 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7673 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7674 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7676 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7680 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7681 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7682 * sysdeps/x86_64/strcmp.S: Likewise.
7683 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7684 tst-size_t-strncmp and tst-size_t-wcsncmp.
7685 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7686 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7687 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7689 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7693 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7694 RDX_LP for length. Clear the upper 32 bits of RDX register.
7695 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7696 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7697 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7698 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7700 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7704 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7705 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7706 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7707 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7709 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7713 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7714 length. Clear the upper 32 bits of RDX register.
7715 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7716 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7718 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7720 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7722 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7724 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7728 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7729 length. Clear the upper 32 bits of RDX register.
7730 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7731 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7732 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7734 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7735 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7737 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7741 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7742 upper 32 bits of RDX register.
7743 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7744 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7746 * sysdeps/x86_64/x32/test-size_t.h: New file.
7747 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7748 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7750 2019-01-18 Florian Weimer <fweimer@redhat.com>
7753 resolv: Do not send queries for non-host-names in nss_dns.
7754 * resolv/nss_dns/dns-host.c (check_name): New function.
7755 (_nss_dns_gethostbyname2_r): Use it.
7756 (_nss_dns_gethostbyname_r): Likewise.
7757 (_nss_dns_gethostbyname4_r): Likewise.
7759 2019-01-21 Florian Weimer <fweimer@redhat.com>
7761 * resolv/inet_addr.c: Reformat to GNU style.
7762 (__inet_addr, __inet_aton): Update comment.
7764 2019-01-18 Florian Weimer <fweimer@redhat.com>
7766 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7767 ("malloc: Use current (C11-style) atomics for fastbin access").
7768 This commit introduces a substantial performance regression on
7770 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7771 (REMOVE_FB): Define.
7772 (_int_malloc): Use it and reindent.
7773 (_int_free): Use CAS loop with
7774 catomic_compare_and_exchange_val_rel.
7775 (malloc_consolidate): Use atomic_exchange_acq.
7778 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7780 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7782 (LDFLAGS-tst-minsigstksz-2): Likewise.
7783 (LDFLAGS-tst-minsigstksz-3): Likewise.
7784 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7785 (LDFLAGS-tst-minsigstksz-4): Likewise.
7787 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7789 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7792 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
7794 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7796 2019-01-16 Zack Weinberg <zackw@panix.com>
7798 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7799 (xget_sigstack_location): New test support functions.
7800 * support/xsigstack.c: New file, implementing them.
7801 * support/tst-xsigstack.c: New test for them.
7802 * support/Makefile: Update.
7804 * signal/tst-minsigstksz-1.c
7805 * signal/tst-minsigstksz-2.c
7806 * signal/tst-minsigstksz-3.c
7807 * signal/tst-minsigstksz-3a.c
7808 * signal/tst-minsigstksz-4.c: New tests.
7809 * signal/Makefile: Run them.
7811 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7813 * po/libc.pot: Regenerate.
7815 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7817 * math/libm-test-fma.inc (fma_test_data): Set
7818 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7820 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7822 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7823 (do_test): Changed __vector __int128_t to __vector unsigned int.
7825 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7828 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7829 stpcpy-avx2 and stpncpy-avx2.
7830 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7831 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7832 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7834 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7835 ifunc-strcpy.h}: rename header for a more generic name.
7836 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7837 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7838 AVX unaligned load is fast and vzeroupper is preferred.
7839 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7840 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7841 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7842 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7843 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7844 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7846 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7848 * argp/argp-help.c: Fix typo in comment.
7849 * misc/sys/cdefs.h: Likewise.
7850 * posix/regexec.c (sift_states_iter_mb): Likewise.
7851 * socket/sockatmark.c: Likewise.
7852 * socket/sys/socket.h: Likewise.
7853 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7854 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7855 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7857 * sysdeps/unix/sockatmark.c: Likewise.
7858 * time/strptime_l.c: Likewise.
7860 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7862 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7863 missing space after the cast of "_NL_CURRENT".
7865 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7867 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7868 ifdef to fix read of VSCR.
7869 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7870 tst-ucontext-ppc64-vscr.c to test list.
7871 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7873 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7875 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7878 2019-01-09 Jim Wilson <jimw@sifive.com>
7880 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7882 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7884 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7885 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7886 __memcpy_falkor for ares.
7887 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7889 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7892 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7895 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7896 4_FP_W_TYPEs are used for IEEE quad precision.
7897 * soft-fp/extendhftf2.c: Likewise.
7898 * soft-fp/extendsftf2.c: Likewise.
7899 * soft-fp/extendxftf2.c: Likewise.
7900 * soft-fp/trunctfdf2.c: Likewise.
7901 * soft-fp/trunctfhf2.c: Likewise.
7902 * soft-fp/trunctfsf2.c: Likewise.
7903 * soft-fp/trunctfxf2.c: Likewise.
7904 * sysdeps/alpha/ots_cvttx.c: Likewise.
7905 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7906 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7907 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7908 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7909 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7910 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7911 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7912 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7913 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7914 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7915 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7916 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7917 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7918 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7919 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7920 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7921 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7923 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7926 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7927 code with -fmath-errno.
7928 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7929 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7930 * string/test-strerror-errno.c: New file.
7932 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7935 * localedata/locales/en_US (date_fmt): Add, set to
7936 "%a %d %b %Y %r %Z".
7938 2019-01-07 Florian Weimer <fweimer@redhat.com>
7941 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7942 instead of @var{errno}.
7943 (Parsing of Integers): Likewise.
7944 (Parsing of Floats): Likewise.
7945 * manual/filesys.texi (Working with Directory Trees): Likewise.
7946 (Temporary Files): Likewise.
7947 * manual/job.texi (Terminal Access Functions): Likewise.
7948 * manual/llio.texi (Synchronizing I/O): Likewise.
7949 * manual/math.texi (SVID Random): Likewise.
7950 * manual/message.texi (The catgets Functions): Likewise.
7951 (Translation with gettext): Likewise.
7952 (Locating gettext catalog): Likewise.
7953 (Charset conversion in gettext): Likewise.
7954 * manual/nss.texi (NSS Module Function Internals): Likewise.
7955 * manual/search.texi (Hash Search Function): Likewise.
7956 * manual/setjmp.texi (System V contexts): Likewise.
7957 * manual/time.texi (Sleeping): Likewise.
7958 * manual/users.texi (Lookup User): Likewise.
7959 (Lookup Group): Likewise.
7961 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7963 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7966 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
7969 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7970 __builtin_unreachable for default case in switch.
7971 (__ieee754_yn): Likewise.
7972 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7973 (__ieee754_ynl): Likewise.
7974 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7975 (__ieee754_ynl): Likewise.
7976 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7977 (__ieee754_ynl): Likewise.
7979 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7981 * manual/maint.texi: Use @{ and @}.
7983 2019-01-04 Florian Weimer <fweimer@redhat.com>
7985 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7987 (do_in_chroot_1): Call it.
7989 Improve error reporting in case it is not possible to create a
7990 collision for the PTY name required by the test.
7992 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7994 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7995 lll_wait_tid with timeout.
7996 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7997 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7998 futex_reltimed_wait_cancelable for cancelabla mode.
7999 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
8000 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
8002 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
8003 * sysdeps/posix/waitid.c (__sigwait): Likewise.
8004 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
8005 SYSCALL_CANCEL_NCS): New macro.
8006 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
8007 (lll_timedwait_tid): Remove macro.
8008 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
8010 (lll_timedwait_tid): Likewise.
8011 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
8013 (lll_timedwait_tid): Likewise.
8014 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
8016 (lll_timedwait_tid): Likewise.
8017 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
8018 Use INTERNAL_SYSCALL_CANCEL.
8019 * sysdeps/unix/sysv/linux/futex-internal.h
8020 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
8021 instead of __pthread_{enable,disable}_asynccancel.
8022 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
8023 (lll_futex_wait_cancel): New macro.
8025 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
8026 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
8028 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
8029 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
8031 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
8032 in backtrace analysis.
8033 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
8035 (tf_send): Likewise.
8037 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
8038 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
8039 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
8040 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
8041 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
8042 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
8043 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
8044 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
8045 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
8046 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
8047 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
8048 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
8050 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
8051 tst-cancel-wrappers.sh.
8052 (generated): Remove tst-cancel-wrappers.out.
8053 (tst-cancel-wrappers.out): Remove rule.
8054 * nptl/tst-cancel-wrappers.sh: Remove file.
8056 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8058 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
8059 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
8062 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8065 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
8066 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
8067 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
8068 close-on-exec reset for adddup2 file action.
8069 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8071 2019-01-03 Zack Weinberg <zackw@panix.com>
8073 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
8074 parameter. Only use deprecated scanf when __USE_GNU is defined
8075 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
8076 than 201103L, whichever is relevant for the language being compiled.
8078 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
8079 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
8080 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
8081 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
8082 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
8086 * libio/iovswscanf.c
8091 * stdio-common/fscanf.c
8092 * stdio-common/scanf.c
8093 * stdio-common/vfscanf.c
8094 * stdio-common/vfwscanf.c
8095 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8096 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
8097 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
8098 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
8099 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
8100 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
8101 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
8102 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
8103 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
8104 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
8105 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
8106 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
8107 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
8108 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
8109 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
8111 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
8112 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
8113 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
8115 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
8116 with a preprocessor macro.
8118 * stdio-common/bug21.c, stdio-common/scanf14.c:
8119 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
8120 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
8121 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
8122 to xscanf, xfscanf, xsscanf.
8124 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
8125 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
8126 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
8127 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
8129 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
8130 override feature selection macros or provide definitions of u_char etc.
8131 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
8132 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
8133 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
8136 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8139 bits/termios-misc.h.
8140 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
8141 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8142 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8143 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8144 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
8145 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
8147 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
8148 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
8149 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
8150 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
8151 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
8152 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
8154 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
8155 (sysdep_headers): Add termios-misc.h.
8157 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
8158 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8159 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8163 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
8164 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
8165 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
8166 TCSAFLUSH): Move to termios-tcflow.h.
8167 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8168 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8169 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8170 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8174 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
8175 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
8176 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
8177 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
8178 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
8179 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
8180 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
8181 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
8183 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8184 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8185 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8186 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8190 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
8191 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
8192 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
8193 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
8194 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
8196 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8197 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8198 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8199 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8204 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
8205 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
8206 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
8207 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
8208 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
8209 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
8210 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
8211 __MAX_BAUD): Move to termios-baud.h.
8212 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
8213 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
8214 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8215 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8216 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8218 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8220 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
8221 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
8222 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
8223 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
8224 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
8225 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
8227 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
8228 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
8230 [USE_MISC] (XTABS): Likewise.
8231 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8232 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8233 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8234 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
8236 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
8238 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
8239 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
8240 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
8241 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
8242 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
8243 IUTF8): Move to termios-c_iflag.h.
8244 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8245 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8246 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8247 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8249 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
8251 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
8252 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
8253 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
8254 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
8255 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
8256 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
8257 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
8258 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
8259 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8260 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8261 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8262 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8264 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
8265 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
8266 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
8267 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
8268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8270 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
8272 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
8274 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
8276 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
8278 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
8280 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
8281 _HAVE_C_OSPEED): Define.
8282 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
8283 _HAVE_C_OSPEED): Likewise.
8284 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
8285 _HAVE_C_OSPEED): Likewise.
8286 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
8287 (cfsetospeed): Check for define value instead of existence.
8288 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
8289 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
8290 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
8291 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
8292 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
8295 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
8297 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
8298 (TIOCSER_TEMT): Likewise.
8299 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
8300 (TEOCSER_TEMT): Likewise.
8302 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
8305 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
8307 2019-01-02 Joseph Myers <joseph@codesourcery.com>
8309 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8311 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8313 * sysdeps/htl/pt-barrierattr-setpshared.c
8314 (pthread_barrierattr_setpshared): Add stub warning.
8315 * sysdeps/htl/pt-condattr-setpshared.c
8316 (pthread_condattr_setpshared): Likewise.
8317 * sysdeps/htl/pt-mutexattr-setpshared.c
8318 (pthread_mutexattr_setpshared): Likewise.
8319 * sysdeps/htl/pt-rwlockattr-setpshared.c
8320 (pthread_rwlockattr_setpshared): Likewise.
8321 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
8322 (pthread_mutexattr_setpshared): Likewise.
8324 2019-01-02 Joseph Myers <joseph@codesourcery.com>
8326 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
8327 constants to match with Linux 4.20.
8329 * sysdeps/mips/mips32/libm-test-ulps: Update.
8330 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8332 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
8335 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
8336 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
8337 than __typeof (...) for the a_ptr variable.
8339 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8341 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
8342 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
8343 * libio/Makefile (tests): Add tst-sprintf-ub and
8345 (CFLAGS-tst-sprintf-ub.c): New variable.
8346 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
8347 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
8348 destination buffer and check for overflows in fortified mode.
8349 * libio/libioP.h (PRINTF_CHK): New macro.
8350 * libio/tst-sprintf-chk-ub.c: New file.
8351 * libio/tst-sprintf-ub.c: Likewise.
8353 2019-01-02 Florian Weimer <fweimer@redhat.com>
8356 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
8359 2019-01-02 Florian Weimer <fweimer@redhat.com>
8361 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
8363 2019-01-01 Joseph Myers <joseph@codesourcery.com>
8365 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
8368 * sysdeps/unix/sysv/linux/netpacket/packet.h
8369 (PACKET_IGNORE_OUTGOING): New macro.
8371 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
8374 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8376 (riscv_flush_icache): New syscall.
8378 * manual/texinfo.tex: Update to version 2018-12-28.17 with
8379 trailing whitespace removed.
8380 * scripts/config.guess: Update to version 2019-01-01.
8381 * scripts/config.sub: Update to version 2019-01-01.
8382 * scripts/move-if-change: Update from gnulib.
8384 * NEWS: Update copyright dates.
8385 * catgets/gencat.c (print_version): Likewise.
8386 * csu/version.c (banner): Likewise.
8387 * debug/catchsegv.sh: Likewise.
8388 * debug/pcprofiledump.c (print_version): Likewise.
8389 * debug/xtrace.sh (do_version): Likewise.
8390 * elf/ldconfig.c (print_version): Likewise.
8391 * elf/ldd.bash.in: Likewise.
8392 * elf/pldd.c (print_version): Likewise.
8393 * elf/sotruss.sh: Likewise.
8394 * elf/sprof.c (print_version): Likewise.
8395 * iconv/iconv_prog.c (print_version): Likewise.
8396 * iconv/iconvconfig.c (print_version): Likewise.
8397 * locale/programs/locale.c (print_version): Likewise.
8398 * locale/programs/localedef.c (print_version): Likewise.
8399 * login/programs/pt_chown.c (print_version): Likewise.
8400 * malloc/memusage.sh (do_version): Likewise.
8401 * malloc/memusagestat.c (print_version): Likewise.
8402 * malloc/mtrace.pl: Likewise.
8403 * manual/libc.texinfo: Likewise.
8404 * nptl/version.c (banner): Likewise.
8405 * nscd/nscd.c (print_version): Likewise.
8406 * nss/getent.c (print_version): Likewise.
8407 * nss/makedb.c (print_version): Likewise.
8408 * posix/getconf.c (main): Likewise.
8409 * scripts/test-installation.pl: Likewise.
8410 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8412 * All files with FSF copyright notices: Update copyright dates
8413 using scripts/update-copyrights.
8414 * locale/programs/charmap-kw.h: Regenerated.
8415 * locale/programs/locfile-kw.h: Likewise.
8417 2018-12-31 Joseph Myers <joseph@codesourcery.com>
8419 * timezone/zdump.c: Update from tzcode 2018i.
8420 * timezone/zic.c: Likewise.
8422 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
8424 regex: improve Gnulib port to AIX
8425 From the glibc point of view, this removes duplicate macro
8426 definitions and is obviously safe.
8427 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
8428 * posix/regex_internal.h:
8429 (__attribute__, __attribute_warn_unused_result__):
8430 Remove; already defined elsewhere.
8432 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
8435 * malloc/malloc.c (_int_realloc): Always call memcpy for the
8436 copying operation. (ncopies had the wrong type, resulting in an
8437 integer wraparound and too few elements being copied.)
8439 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
8442 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
8443 <asm/syscalls.h> exists with __has_include__ before including it.
8445 2018-12-31 Joseph Myers <joseph@codesourcery.com>
8447 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8450 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
8452 * hurd/lookup-retry: Include <unistd.h>.
8453 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
8454 Release it on return. Handle "pid" magical lookup retry.
8456 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8459 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
8460 (t_fmt_ampm): Likewise.
8461 * localedata/locales/aa_ER (t_fmt): Likewise.
8462 (t_fmt_ampm): Likewise.
8463 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
8464 (t_fmt_ampm): Likewise.
8465 * localedata/locales/aa_ET (t_fmt): Likewise.
8466 (t_fmt_ampm): Likewise.
8467 * localedata/locales/am_ET (t_fmt): Likewise.
8468 (t_fmt_ampm): Likewise.
8469 * localedata/locales/byn_ER (t_fmt): Likewise.
8470 (t_fmt_ampm): Likewise.
8471 * localedata/locales/om_ET (t_fmt): Likewise.
8472 (t_fmt_ampm): Likewise.
8473 * localedata/locales/sid_ET (t_fmt): Likewise.
8474 (t_fmt_ampm): Likewise.
8475 * localedata/locales/so_DJ (t_fmt): Likewise.
8476 (t_fmt_ampm): Likewise.
8477 * localedata/locales/so_ET (t_fmt): Likewise.
8478 (t_fmt_ampm): Likewise.
8479 * localedata/locales/so_SO (t_fmt): Likewise.
8480 (t_fmt_ampm): Likewise.
8481 * localedata/locales/ti_ER (t_fmt): Likewise.
8482 (t_fmt_ampm): Likewise.
8483 * localedata/locales/ti_ET (t_fmt): Likewise.
8484 (t_fmt_ampm): Likewise.
8485 * localedata/locales/tig_ER (t_fmt): Likewise.
8486 (t_fmt_ampm): Likewise.
8487 * localedata/locales/wal_ET (t_fmt): Likewise.
8488 (t_fmt_ampm): Likewise.
8490 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
8491 * localedata/locales/ar_IN (t_fmt): Likewise.
8492 * localedata/locales/bhb_IN (t_fmt): Likewise.
8493 * localedata/locales/bho_IN (t_fmt): Likewise.
8494 * localedata/locales/bi_VU (t_fmt): Likewise.
8495 * localedata/locales/bn_BD (t_fmt): Likewise.
8496 * localedata/locales/bn_IN (t_fmt): Likewise.
8497 * localedata/locales/brx_IN (t_fmt): Likewise.
8498 * localedata/locales/doi_IN (t_fmt): Likewise.
8499 * localedata/locales/en_HK (t_fmt): Likewise.
8500 (t_fmt_ampm): Likewise.
8501 * localedata/locales/en_IN (t_fmt): Likewise.
8502 * localedata/locales/en_PH (t_fmt): Likewise.
8503 * localedata/locales/gu_IN (t_fmt): Likewise.
8504 * localedata/locales/hi_IN (t_fmt): Likewise.
8505 * localedata/locales/hif_FJ (t_fmt): Likewise.
8506 * localedata/locales/hne_IN (t_fmt): Likewise.
8507 * localedata/locales/kn_IN (t_fmt): Likewise.
8508 * localedata/locales/kok_IN (t_fmt): Likewise.
8509 * localedata/locales/ks_IN (t_fmt): Likewise.
8510 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
8511 * localedata/locales/mag_IN (t_fmt): Likewise.
8512 * localedata/locales/mai_IN (t_fmt): Likewise.
8513 * localedata/locales/mjw_IN (t_fmt): Likewise.
8514 * localedata/locales/ml_IN (t_fmt): Likewise.
8515 * localedata/locales/mni_IN (t_fmt): Likewise.
8516 * localedata/locales/mr_IN (t_fmt): Likewise.
8517 * localedata/locales/ms_MY (t_fmt): Likewise.
8518 * localedata/locales/pa_IN (t_fmt): Likewise.
8519 * localedata/locales/raj_IN (t_fmt): Likewise.
8520 * localedata/locales/sa_IN (t_fmt): Likewise.
8521 * localedata/locales/sat_IN (t_fmt): Likewise.
8522 * localedata/locales/sd_IN (t_fmt): Likewise.
8523 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
8524 * localedata/locales/tcy_IN (t_fmt): Likewise.
8525 * localedata/locales/the_NP (t_fmt): Likewise.
8526 * localedata/locales/to_TO (t_fmt): Likewise.
8527 * localedata/locales/ur_IN (t_fmt): Likewise.
8529 * localedata/locales/hif_FJ (d_t_fmt): Set to
8530 "%A %d %b %Y %I:%M:%S %p".
8531 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
8533 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
8534 * localedata/locales/ar_BH (t_fmt): Likewise.
8535 * localedata/locales/ar_DZ (t_fmt): Likewise.
8536 * localedata/locales/ar_EG (t_fmt): Likewise.
8537 * localedata/locales/ar_IQ (t_fmt): Likewise.
8538 * localedata/locales/ar_JO (t_fmt): Likewise.
8539 * localedata/locales/ar_KW (t_fmt): Likewise.
8540 * localedata/locales/ar_LB (t_fmt): Likewise.
8541 * localedata/locales/ar_LY (t_fmt): Likewise.
8542 * localedata/locales/ar_OM (t_fmt): Likewise.
8543 * localedata/locales/ar_QA (t_fmt): Likewise.
8544 * localedata/locales/ar_SD (t_fmt): Likewise.
8545 * localedata/locales/ar_SS (t_fmt): Likewise.
8546 * localedata/locales/ar_SY (t_fmt): Likewise.
8547 * localedata/locales/ar_TN (t_fmt): Likewise.
8548 * localedata/locales/ar_YE (t_fmt): Likewise.
8550 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8551 (t_fmt_ampm): Likewise.
8552 * localedata/locales/gez_ET (t_fmt): Likewise.
8553 (t_fmt_ampm): Likewise.
8555 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8556 (t_fmt_ampm): Likewise.
8557 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8559 * localedata/locales/zh_HK (t_fmt):
8560 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8562 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8563 because this locale does not use the 12-hour clock.
8564 (t_fmt): Set to "%Z %H:%M:%S".
8565 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8567 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8568 because this locale does not use the 12-hour clock.
8569 (t_fmt): Set to "%H:%M:%S %Z".
8570 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8572 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8573 because this locale does not use the 12-hour clock.
8574 (t_fmt): Set to "%T".
8575 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8576 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8578 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8579 because this locale does not use the 12-hour clock.
8580 (t_fmt): Set to "%H:%M:%S %Z".
8581 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8583 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8584 because this locale does not use the 12-hour clock.
8585 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8586 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8588 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8592 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8593 (t_fmt_ampm): Likewise.
8594 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8595 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8596 (d_fmt): Set to "%-d.%-m.%y".
8598 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8600 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8601 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8602 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8604 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8605 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8606 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8608 * support/blob_repeat.c (check_mul_overflow_size_t,
8609 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8611 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8613 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8615 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8617 regex: simplify Gnulib port
8618 This simplifies the code, by removing stuff intended for porting
8619 to Gnulib but no longer needed there.
8620 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8621 uses of libc_hidden_def, weak_alias.
8622 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8623 _Restrict_ except for public-facing headers.
8624 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8625 Remove; already defined elsewhere.
8626 * posix/regex.c, posix/regex_internal.h:
8627 Use __GNUC_PREREQ instead of rolling our own.
8628 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8630 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8632 * benchtests/bench-strlen.c (generic_strlen): New function.
8633 (memchr_strlen): New function.
8635 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8637 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8638 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8639 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8641 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8643 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8645 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8647 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8648 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8649 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8650 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8651 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8652 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8653 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8655 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8658 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8659 PLT reference in libc.so.
8660 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8661 _Q_lltoq and _Q_qtod PLT references in libc.so.
8663 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8665 * benchtests/bench-memchr.c: Cleanup defines.
8666 * benchtests/bench-memcmp.c: Likewise.
8667 * benchtests/bench-memset.c: Likewise.
8668 * benchtests/bench-memset-large.c: Likewise.
8669 * benchtests/bench-memset-walk.c: Likewise.
8670 * benchtests/bench-stpcpy.c: Likewise.
8671 * benchtests/bench-stpncpy.c: Likewise.
8672 * benchtests/bench-strcat.c: Likewise.
8673 * benchtests/bench-strchr.c: Likewise.
8674 * benchtests/bench-strcmp.c: Likewise.
8675 * benchtests/bench-strcpy.c: Likewise.
8676 * benchtests/bench-strcspn.c: Likewise.
8677 * benchtests/bench-string.h: Likewise.
8678 * benchtests/bench-strlen.c: Likewise.
8679 * benchtests/bench-strncat.c: Likewise.
8680 * benchtests/bench-strncmp.c: Likewise.
8681 * benchtests/bench-strncpy.c: Likewise.
8682 * benchtests/bench-strnlen.c: Likewise.
8683 * benchtests/bench-strpbrk.c: Likewise.
8684 * benchtests/bench-strrchr.c: Likewise.
8685 * benchtests/bench-strspn.c: Likewise.
8687 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8689 * stdlib/longlong.h: Update from GCC.
8692 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8693 * configure: Regenerated.
8694 * manual/install.texi (Tools for Compilation): Update minimum GCC
8696 * INSTALL: Regenerated.
8698 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
8700 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8702 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
8704 * malloc/malloc.c (mremap_chunk): Additional checks.
8706 2018-12-21 Mao Han <han_mao@c-sky.com>
8708 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8709 * scripts/build-many-glibcs.py: Add C-SKY targets.
8710 * sysdeps/csky/Implies: New file.
8711 * sysdeps/csky/Makefile: Likewise.
8712 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8713 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8714 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8715 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8716 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8717 * sysdeps/csky/abiv2/memmove.S: Likewise.
8718 * sysdeps/csky/abiv2/memset.S: Likewise.
8719 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8720 * sysdeps/csky/abiv2/start.S: Likewise.
8721 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8722 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8723 * sysdeps/csky/abiv2/strlen.S: Likewise.
8724 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8725 * sysdeps/csky/abort-instr.h: Likewise.
8726 * sysdeps/csky/atomic-machine.h: Likewise.
8727 * sysdeps/csky/bits/endian.h: Likewise.
8728 * sysdeps/csky/bits/fenv.h: Likewise.
8729 * sysdeps/csky/bits/link.h: Likewise.
8730 * sysdeps/csky/bits/setjmp.h: Likewise.
8731 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8732 * sysdeps/csky/bsd-setjmp.S: Likewise.
8733 * sysdeps/csky/configure: Likewise.
8734 * sysdeps/csky/configure.ac: Likewise.
8735 * sysdeps/csky/dl-machine.h: Likewise.
8736 * sysdeps/csky/dl-procinfo.c: Likewise.
8737 * sysdeps/csky/dl-procinfo.h: Likewise.
8738 * sysdeps/csky/dl-sysdep.h: Likewise.
8739 * sysdeps/csky/dl-tls.h: Likewise.
8740 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8741 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8742 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8743 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8744 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8745 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8746 * sysdeps/csky/fpu/fegetround.c: Likewise.
8747 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8748 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8749 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8750 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8751 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8752 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8753 * sysdeps/csky/fpu/fesetround.c: Likewise.
8754 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8755 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8756 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8757 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8758 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8759 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8760 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8761 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8762 * sysdeps/csky/fpu_control.h: Likewise.
8763 * sysdeps/csky/gccframe.h: Likewise.
8764 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8765 * sysdeps/csky/ldsodefs.h: Likewise.
8766 * sysdeps/csky/libc-tls.c: Likewise.
8767 * sysdeps/csky/linkmap.h: Likewise.
8768 * sysdeps/csky/machine-gmon.h: Likewise.
8769 * sysdeps/csky/memusage.h: Likewise.
8770 * sysdeps/csky/nofpu/Implies: Likewise.
8771 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8772 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8773 * sysdeps/csky/nptl/Makefile: Likewise.
8774 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8775 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8776 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8777 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8778 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8779 * sysdeps/csky/nptl/tls.h: Likewise.
8780 * sysdeps/csky/preconfigure: Likewise.
8781 * sysdeps/csky/sfp-machine.h: Likewise.
8782 * sysdeps/csky/sotruss-lib.c: Likewise.
8783 * sysdeps/csky/stackinfo.h: Likewise.
8784 * sysdeps/csky/sysdep.h: Likewise.
8785 * sysdeps/csky/tininess.h: Likewise.
8786 * sysdeps/csky/tst-audit.h: Likewise.
8787 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8788 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8789 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8790 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8791 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8792 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8793 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8794 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8795 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8796 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8797 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8798 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8799 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8800 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8801 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8802 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8803 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8804 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8805 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8806 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8807 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8808 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8809 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8810 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8811 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8812 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8813 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8814 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8815 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8816 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8817 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8818 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8819 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8820 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8821 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8822 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8823 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8824 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8825 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8826 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8827 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8828 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8829 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8830 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8832 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8834 * include/time.h (__difftime64): Add.
8835 * time/difftime.c (subtract): convert to 64-bit time.
8836 * time/difftime.c (__difftime64): Add.
8837 * time/difftime.c (__difftime): Wrap around __difftime64.
8839 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8841 * manual/examples/add.c: Remove redundant "if not".
8842 * manual/examples/argp-ex1.c: Likewise.
8843 * manual/examples/argp-ex2.c: Likewise.
8844 * manual/examples/argp-ex3.c: Likewise.
8845 * manual/examples/argp-ex4.c: Likewise.
8846 * manual/examples/atexit.c: Likewise.
8847 * manual/examples/db.c: Likewise.
8848 * manual/examples/dir.c: Likewise.
8849 * manual/examples/dir2.c: Likewise.
8850 * manual/examples/execinfo.c: Likewise.
8851 * manual/examples/filecli.c: Likewise.
8852 * manual/examples/filesrv.c: Likewise.
8853 * manual/examples/fmtmsgexpl.c: Likewise.
8854 * manual/examples/genpass.c: Likewise.
8855 * manual/examples/inetcli.c: Likewise.
8856 * manual/examples/inetsrv.c: Likewise.
8857 * manual/examples/isockad.c: Likewise.
8858 * manual/examples/longopt.c: Likewise.
8859 * manual/examples/memopen.c: Likewise.
8860 * manual/examples/memstrm.c: Likewise.
8861 * manual/examples/mkdirent.c: Likewise.
8862 * manual/examples/mkfsock.c: Likewise.
8863 * manual/examples/mkisock.c: Likewise.
8864 * manual/examples/mygetpass.c: Likewise.
8865 * manual/examples/pipe.c: Likewise.
8866 * manual/examples/popen.c: Likewise.
8867 * manual/examples/rprintf.c: Likewise.
8868 * manual/examples/search.c: Likewise.
8869 * manual/examples/select.c: Likewise.
8870 * manual/examples/setjmp.c: Likewise.
8871 * manual/examples/sigh1.c: Likewise.
8872 * manual/examples/sigusr.c: Likewise.
8873 * manual/examples/stpcpy.c: Likewise.
8874 * manual/examples/strdupa.c: Likewise.
8875 * manual/examples/strftim.c: Likewise.
8876 * manual/examples/subopt.c: Likewise.
8877 * manual/examples/swapcontext.c: Likewise.
8878 * manual/examples/termios.c: Likewise.
8879 * manual/examples/testopt.c: Likewise.
8880 * manual/examples/testpass.c: Likewise.
8881 * manual/examples/timeval_subtract.c: Likewise.
8883 2018-12-19 Joseph Myers <joseph@codesourcery.com>
8885 * sysdeps/x86/fpu/math_private.h: New file.
8886 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8888 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8893 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8895 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8896 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8897 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8898 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8900 (_dl_show_auxv): Give a special treatment to
8901 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8902 and AT_L3_CACHEGEOMETRY.
8903 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8904 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8905 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8906 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8908 2018-12-19 Andreas Schwab <schwab@suse.de>
8910 * nscd/connections.c (check_use): Don't abort on invalid len.
8912 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8914 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8915 values in the 64bit value cases.
8917 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8923 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8929 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8932 (__gmtime64_r): Add.
8934 (__gmtime64_r): Add.
8935 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8941 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8944 (__localtime64_r): Add.
8946 (__localtime64_r): Add.
8947 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8949 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8951 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8952 kernel_sigction definition.
8954 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8956 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8958 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8959 __syscall_rt_sigaction.
8960 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8961 (kernel_sigaction): Use Linux generic defintion.
8963 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8964 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8965 (__syscall_rt_sigaction): Remove implementation.
8966 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8968 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8969 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8970 INTERNAL_SYSCALL): Remove definitions.
8971 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8972 action and signal set size.
8973 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8974 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8976 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8977 James Clarke <jrtc27@jrtc27.com>
8980 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8981 Define if SA_RESTORER is defined.
8982 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8983 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8985 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8986 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8988 (HAS_SA_RESTORER): Define.
8989 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8990 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8991 (HAS_SA_RESTORER): Define.
8992 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8993 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8994 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8995 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8996 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8998 2018-12-18 Joseph Myers <joseph@codesourcery.com>
9000 * sysdeps/unix/sysv/linux/kernel-features.h
9001 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
9002 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9003 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
9004 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9005 (__ASSUME_ST_INO_64_BIT): Likewise.
9006 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9007 <kernel-features.h>.
9008 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
9009 Remove conditional code.
9010 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9011 <kernel-features.h>.
9012 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
9013 Remove conditional code.
9014 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
9015 <kernel-features.h>.
9016 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
9017 Remove conditional code.
9018 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
9019 <kernel-features.h>.
9020 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
9021 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
9023 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9025 * sysdeps/s390/multiarch/ifunc-resolve.h
9026 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
9027 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
9028 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
9029 Delete macro definition.
9030 (s390_libc_ifunc_init): Rename to
9031 s390_libc_ifunc_expr_stfle_init.
9032 * sysdeps/s390/bzero: Use
9033 s390_libc_ifunc_expr_stfle_init instead of
9034 s390_libc_ifunc_init.
9035 * sysdeps/s390/memcmp.c: Likewise.
9036 * sysdeps/s390/memcpy.c: Likewise.
9037 * sysdeps/s390/mempcpy.c: Likewise.
9038 * sysdeps/s390/memset.c: Likewise.
9040 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9042 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
9043 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
9045 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9047 * sysdeps/s390/multiarch/Makefile
9048 (sysdep_routines): Remove wmemcmp variants.
9049 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
9050 * sysdeps/s390/multiarch/ifunc-impl-list.c
9051 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
9052 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
9053 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
9054 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
9055 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
9056 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
9057 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
9058 * sysdeps/s390/ifunc-wmemcmp.h: New file.
9060 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9062 * sysdeps/s390/multiarch/Makefile
9063 (sysdep_routines): Remove wmemset variants.
9064 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
9065 * sysdeps/s390/multiarch/ifunc-impl-list.c
9066 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
9067 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
9068 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
9069 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
9070 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
9071 * sysdeps/s390/multiarch/wmemset.c: Move to ...
9072 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
9073 * sysdeps/s390/ifunc-wmemset.h: New file.
9075 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9077 * sysdeps/s390/multiarch/Makefile
9078 (sysdep_routines): Remove wmemchr variants.
9079 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
9080 * sysdeps/s390/multiarch/ifunc-impl-list.c
9081 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
9082 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
9083 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
9084 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
9085 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
9086 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
9087 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
9088 * sysdeps/s390/ifunc-wmemchr.h: New file.
9090 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9092 * sysdeps/s390/multiarch/Makefile
9093 (sysdep_routines): Remove wcscspn variants.
9094 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
9095 * sysdeps/s390/multiarch/ifunc-impl-list.c
9096 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
9097 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
9098 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
9099 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
9100 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
9101 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
9102 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
9103 * sysdeps/s390/ifunc-wcscspn.h: New file.
9105 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9107 * sysdeps/s390/multiarch/Makefile
9108 (sysdep_routines): Remove wcspbrk variants.
9109 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
9110 * sysdeps/s390/multiarch/ifunc-impl-list.c
9111 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
9112 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
9113 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
9114 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
9115 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
9116 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
9117 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
9118 * sysdeps/s390/ifunc-wcspbrk.h: New file.
9120 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9122 * sysdeps/s390/multiarch/Makefile
9123 (sysdep_routines): Remove wcsspn variants.
9124 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
9125 * sysdeps/s390/multiarch/ifunc-impl-list.c
9126 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
9127 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
9128 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
9129 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
9130 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
9131 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
9132 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
9133 * sysdeps/s390/ifunc-wcsspn.h: New file.
9135 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9137 * sysdeps/s390/multiarch/Makefile
9138 (sysdep_routines): Remove wcsrchr variants.
9139 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
9140 * sysdeps/s390/multiarch/ifunc-impl-list.c
9141 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
9142 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
9143 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
9144 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
9145 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
9146 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
9147 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
9148 * sysdeps/s390/ifunc-wcsrchr.h: New file.
9150 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9152 * sysdeps/s390/multiarch/Makefile
9153 (sysdep_routines): Remove wcschrnul variants.
9154 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
9155 * sysdeps/s390/multiarch/ifunc-impl-list.c
9156 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
9157 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
9158 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
9159 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
9160 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
9161 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
9162 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
9163 * sysdeps/s390/ifunc-wcschrnul.h: New file.
9165 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9167 * sysdeps/s390/multiarch/Makefile
9168 (sysdep_routines): Remove wcschr variants.
9169 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
9170 * sysdeps/s390/multiarch/ifunc-impl-list.c
9171 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
9172 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
9173 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
9174 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
9175 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
9176 * sysdeps/s390/multiarch/wcschr.c: Move to ...
9177 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
9178 * sysdeps/s390/ifunc-wcschr.h: New file.
9180 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9182 * sysdeps/s390/multiarch/Makefile
9183 (sysdep_routines): Remove wcsncmp variants.
9184 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
9185 * sysdeps/s390/multiarch/ifunc-impl-list.c
9186 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
9187 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
9188 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
9189 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
9190 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
9191 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
9192 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
9193 * sysdeps/s390/ifunc-wcsncmp.h: New file.
9195 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9197 * sysdeps/s390/multiarch/Makefile
9198 (sysdep_routines): Remove wcscmp variants.
9199 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
9200 * sysdeps/s390/multiarch/ifunc-impl-list.c
9201 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
9202 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
9203 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
9204 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
9205 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
9206 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
9207 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
9208 * sysdeps/s390/ifunc-wcscmp.h: New file.
9210 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9212 * sysdeps/s390/multiarch/Makefile
9213 (sysdep_routines): Remove wcsncat variants.
9214 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
9215 * sysdeps/s390/multiarch/ifunc-impl-list.c
9216 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
9217 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
9218 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
9219 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
9220 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
9221 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
9222 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
9223 * sysdeps/s390/ifunc-wcsncat.h: New file.
9225 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9227 * sysdeps/s390/multiarch/Makefile
9228 (sysdep_routines): Remove wcscat variants.
9229 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
9230 * sysdeps/s390/multiarch/ifunc-impl-list.c
9231 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
9232 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
9233 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
9234 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
9235 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
9236 * sysdeps/s390/multiarch/wcscat.c: Move to ...
9237 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
9238 * sysdeps/s390/ifunc-wcscat.h: New file.
9240 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9242 * sysdeps/s390/multiarch/Makefile
9243 (sysdep_routines): Remove wcpncpy variants.
9244 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
9245 * sysdeps/s390/multiarch/ifunc-impl-list.c
9246 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
9247 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
9248 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
9249 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
9250 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
9251 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
9252 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
9253 * sysdeps/s390/ifunc-wcpncpy.h: New file.
9255 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9257 * sysdeps/s390/multiarch/Makefile
9258 (sysdep_routines): Remove wcsncpy variants.
9259 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
9260 * sysdeps/s390/multiarch/ifunc-impl-list.c
9261 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
9262 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
9263 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
9264 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
9265 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
9266 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
9267 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
9268 * sysdeps/s390/ifunc-wcsncpy.h: New file.
9270 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9272 * sysdeps/s390/multiarch/Makefile
9273 (sysdep_routines): Remove wcpcpy variants.
9274 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
9275 * sysdeps/s390/multiarch/ifunc-impl-list.c
9276 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
9277 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
9278 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
9279 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
9280 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
9281 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
9282 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
9283 * sysdeps/s390/ifunc-wcpcpy.h: New file.
9285 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9287 * sysdeps/s390/multiarch/Makefile
9288 (sysdep_routines): Remove wcscpy variants.
9289 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
9290 * sysdeps/s390/multiarch/ifunc-impl-list.c
9291 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
9292 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
9293 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
9294 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
9295 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
9296 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
9297 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
9298 * sysdeps/s390/ifunc-wcscpy.h: New file.
9300 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9302 * sysdeps/s390/multiarch/Makefile
9303 (sysdep_routines): Remove wcsnlen variants.
9304 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
9305 * sysdeps/s390/multiarch/ifunc-impl-list.c
9306 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
9307 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
9308 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
9309 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
9310 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
9311 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
9312 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
9313 * sysdeps/s390/ifunc-wcsnlen.h: New file.
9315 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9317 * sysdeps/s390/multiarch/Makefile
9318 (sysdep_routines): Remove wcslen variants.
9319 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
9320 * sysdeps/s390/multiarch/ifunc-impl-list.c
9321 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
9322 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
9323 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
9324 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
9325 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
9326 * sysdeps/s390/multiarch/wcslen.c: Move to ...
9327 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
9328 * sysdeps/s390/ifunc-wcslen.h: New file.
9330 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9332 * sysdeps/s390/multiarch/Makefile
9333 (sysdep_routines): Remove memrchr variants.
9334 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
9335 * sysdeps/s390/multiarch/ifunc-impl-list.c
9336 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
9337 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
9338 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
9339 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
9340 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
9341 * sysdeps/s390/multiarch/memrchr.c: Move to ...
9342 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
9343 * sysdeps/s390/ifunc-memrchr.h: New file.
9345 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9347 * sysdeps/s390/multiarch/Makefile
9348 (sysdep_routines): Remove memccpy variants.
9349 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
9350 * sysdeps/s390/multiarch/ifunc-impl-list.c
9351 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
9352 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
9353 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
9354 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
9355 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
9356 * sysdeps/s390/multiarch/memccpy.c: Move to ...
9357 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
9358 * sysdeps/s390/ifunc-memccpy.h: New file.
9360 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9362 * sysdeps/s390/multiarch/Makefile
9363 (sysdep_routines): Remove rawmemchr variants.
9364 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
9365 * sysdeps/s390/multiarch/ifunc-impl-list.c
9366 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
9367 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
9368 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
9369 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
9370 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
9371 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
9372 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
9373 * sysdeps/s390/ifunc-rawmemchr.h: New file.
9375 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9377 * sysdeps/s390/multiarch/Makefile
9378 (sysdep_routines): Remove memchr variants.
9379 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
9380 * sysdeps/s390/multiarch/ifunc-impl-list.c
9381 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
9382 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
9383 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
9384 * sysdeps/s390/multiarch/memchr.c: Move to ...
9385 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
9386 * sysdeps/s390/ifunc-memchr.h: New file.
9387 * sysdeps/s390/s390-64/memchr.S: Move to ...
9388 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
9389 for 31/64bit and ifunc handling.
9390 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
9391 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9392 * sysdeps/s390/s390-32/memchr.S: Likewise.
9394 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9396 * sysdeps/s390/multiarch/Makefile
9397 (sysdep_routines): Remove strcspn variants.
9398 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
9399 * sysdeps/s390/multiarch/ifunc-impl-list.c
9400 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
9401 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
9402 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
9403 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
9404 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
9405 * sysdeps/s390/multiarch/strcspn.c: Move to ...
9406 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
9407 * sysdeps/s390/ifunc-strcspn.h: New file.
9409 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9411 * sysdeps/s390/multiarch/Makefile
9412 (sysdep_routines): Remove strpbrk variants.
9413 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
9414 * sysdeps/s390/multiarch/ifunc-impl-list.c
9415 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
9416 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
9417 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
9418 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
9419 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
9420 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
9421 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
9422 * sysdeps/s390/ifunc-strpbrk.h: New file.
9424 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9426 * sysdeps/s390/multiarch/Makefile
9427 (sysdep_routines): Remove strspn variants.
9428 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
9429 * sysdeps/s390/multiarch/ifunc-impl-list.c
9430 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
9431 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
9432 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
9433 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
9434 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
9435 * sysdeps/s390/multiarch/strspn.c: Move to ...
9436 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
9437 * sysdeps/s390/ifunc-strspn.h: New file.
9439 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9441 * sysdeps/s390/multiarch/Makefile
9442 (sysdep_routines): Remove strrchr variants.
9443 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
9444 * sysdeps/s390/multiarch/ifunc-impl-list.c
9445 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
9446 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
9447 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
9448 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
9449 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
9450 * sysdeps/s390/multiarch/strrchr.c: Move to ...
9451 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
9452 * sysdeps/s390/ifunc-strrchr.h: New file.
9454 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9456 * sysdeps/s390/multiarch/Makefile
9457 (sysdep_routines): Remove strchrnul variants.
9458 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
9459 * sysdeps/s390/multiarch/ifunc-impl-list.c
9460 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
9461 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
9462 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
9463 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
9464 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
9465 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
9466 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
9467 * sysdeps/s390/ifunc-strchrnul.h: New file.
9469 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9471 * sysdeps/s390/multiarch/Makefile
9472 (sysdep_routines): Remove strchr variants.
9473 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
9474 * sysdeps/s390/multiarch/ifunc-impl-list.c
9475 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
9476 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
9477 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
9478 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
9479 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
9480 * sysdeps/s390/multiarch/strchr.c: Move to ...
9481 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
9482 * sysdeps/s390/ifunc-strchr.h: New file.
9484 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9486 * sysdeps/s390/multiarch/Makefile
9487 (sysdep_routines): Remove strncmp variants.
9488 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
9489 * sysdeps/s390/multiarch/ifunc-impl-list.c
9490 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
9491 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
9492 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
9493 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
9494 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
9495 * sysdeps/s390/multiarch/strncmp.c: Move to ...
9496 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
9497 * sysdeps/s390/ifunc-strncmp.h: New file.
9499 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9501 * sysdeps/s390/multiarch/Makefile
9502 (sysdep_routines): Remove strcmp variants.
9503 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
9504 * sysdeps/s390/multiarch/ifunc-impl-list.c
9505 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
9506 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
9507 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
9508 * sysdeps/s390/multiarch/strcmp.c: Move to ...
9509 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
9510 * sysdeps/s390/ifunc-strcmp.h: New file.
9511 * sysdeps/s390/s390-64/strcmp.S: Move to ...
9512 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
9513 for 31/64bit and ifunc handling.
9514 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
9515 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9516 * sysdeps/s390/s390-32/strcmp.S: Likewise.
9518 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9520 * sysdeps/s390/multiarch/Makefile
9521 (sysdep_routines): Remove strncat variants.
9522 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
9523 * sysdeps/s390/multiarch/ifunc-impl-list.c
9524 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
9525 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
9526 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
9527 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
9528 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
9529 * sysdeps/s390/multiarch/strncat.c: Move to ...
9530 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
9531 * sysdeps/s390/ifunc-strncat.h: New file.
9533 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9535 * sysdeps/s390/multiarch/Makefile
9536 (sysdep_routines): Remove strcat variants.
9537 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
9538 * sysdeps/s390/multiarch/ifunc-impl-list.c
9539 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
9540 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
9541 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
9542 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
9543 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
9544 * sysdeps/s390/multiarch/strcat.c: Move to ...
9545 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
9546 * sysdeps/s390/ifunc-strcat.h: New file.
9548 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9550 * sysdeps/s390/multiarch/Makefile
9551 (sysdep_routines): Remove stpncpy variants.
9552 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9553 * sysdeps/s390/multiarch/ifunc-impl-list.c
9554 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9555 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9556 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9557 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9558 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9559 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9560 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9561 * sysdeps/s390/ifunc-stpncpy.h: New file.
9563 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9565 * sysdeps/s390/multiarch/Makefile
9566 (sysdep_routines): Remove strncpy variants.
9567 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9568 * sysdeps/s390/multiarch/ifunc-impl-list.c
9569 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9570 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9571 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9572 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9573 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9574 * sysdeps/s390/ifunc-strncpy.h: New file.
9575 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9576 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9577 and adjust ifunc handling.
9578 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9579 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9580 and adjust ifunc handling.
9581 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9582 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9584 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9586 * sysdeps/s390/multiarch/Makefile
9587 (sysdep_routines): Remove stpcpy variants.
9588 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9589 * sysdeps/s390/multiarch/ifunc-impl-list.c
9590 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9591 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9592 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9593 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9594 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9595 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9596 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9597 * sysdeps/s390/ifunc-stpcpy.h: New file.
9599 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9601 * sysdeps/s390/multiarch/Makefile
9602 (sysdep_routines): Remove strcpy variants.
9603 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9604 * sysdeps/s390/multiarch/ifunc-impl-list.c
9605 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9606 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9607 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9608 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9609 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9610 * sysdeps/s390/ifunc-strcpy.h: New file.
9611 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9612 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9613 for 31/64bit and ifunc handling.
9614 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9615 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9616 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9618 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9620 * sysdeps/s390/multiarch/Makefile
9621 (sysdep_routines): Remove strnlen variants.
9622 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9623 * sysdeps/s390/multiarch/ifunc-impl-list.c
9624 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9625 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9626 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9627 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9628 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9629 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9630 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9631 * sysdeps/s390/ifunc-strnlen.h: New file.
9633 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9635 * sysdeps/s390/multiarch/Makefile
9636 (sysdep_routines): Remove strlen variants.
9637 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9638 * sysdeps/s390/multiarch/ifunc-impl-list.c
9639 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9640 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9641 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9642 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9643 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9644 * sysdeps/s390/multiarch/strlen.c: Move to ...
9645 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9646 * sysdeps/s390/ifunc-strlen.h: New file.
9648 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9650 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9651 * sysdeps/s390/multiarch/ifunc-impl-list.c
9652 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9653 * sysdeps/s390/ifunc-memmem.h: New file.
9654 * sysdeps/s390/memmem.c: Likewise.
9655 * sysdeps/s390/memmem-c.c: Likewise.
9656 * sysdeps/s390/memmem-vx.c: Likewise.
9658 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9660 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9661 * sysdeps/s390/multiarch/ifunc-impl-list.c
9662 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9663 * sysdeps/s390/ifunc-strstr.h: New file.
9664 * sysdeps/s390/strstr.c: Likewise.
9665 * sysdeps/s390/strstr-c.c: Likewise.
9666 * sysdeps/s390/strstr-vx.c: Likewise.
9668 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9670 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9671 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9672 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9673 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9675 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9676 * sysdeps/s390/memmove-c.c: New file.
9677 * sysdeps/s390/memmove.c: Likewise.
9678 * sysdeps/s390/multiarch/ifunc-impl-list.c
9679 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9681 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9683 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9684 * sysdeps/s390/configure.ac: Add check for z13 support.
9685 * sysdeps/s390/configure: Regenerated.
9687 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9689 * sysdeps/s390/memcopy.h: New file.
9691 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9693 * sysdeps/s390/s390-32/bcopy.S: Remove.
9694 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9696 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9698 * sysdeps/s390/ifunc-memcpy.h: New File.
9699 * sysdeps/s390/memcpy.S: Move to ...
9700 * sysdeps/s390/memcpy-z900.S ... here.
9701 Move implementations from memcpy-s390x.s to here.
9702 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9703 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9704 Remove memcpy/mempcpy variants.
9705 * sysdeps/s390/Makefile (sysdep_routines):
9706 Add memcpy/mempcpy variants.
9707 * sysdeps/s390/multiarch/ifunc-impl-list.c
9708 (__libc_ifunc_impl_list): Adjust ifunc variants for
9710 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9712 * sysdeps/s390/memcpy.c: ... here.
9713 Adjust ifunc variants for memcpy.
9714 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9715 * sysdeps/s390/mempcpy.c: ... here.
9716 Adjust ifunc variants for mempcpy.
9717 * sysdeps/s390/mempcpy.S: Delete file.
9719 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9721 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9722 * sysdeps/s390/memcpy.S: ... here.
9723 Adjust to be usable for 31/64bit.
9724 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9725 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9726 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9727 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9728 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9729 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9730 Adjust to be usable for 31/64bit.
9731 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9732 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9733 * sysdeps/s390/multiarch/memcpy.c: ... here.
9734 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9736 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9738 * sysdeps/s390/ifunc-memcmp.h: New File.
9739 * sysdeps/s390/memcmp.S: Move to ...
9740 * sysdeps/s390/memcmp-z900.S ... here.
9741 Move implementations from memcmp-s390x.s to here.
9742 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9743 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9744 Remove memcmp variants.
9745 * sysdeps/s390/Makefile (sysdep_routines):
9746 Add memcmp variants.
9747 * sysdeps/s390/multiarch/ifunc-impl-list.c
9748 (__libc_ifunc_impl_list): Adjust ifunc variants for
9750 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9752 * sysdeps/s390/memcmp.c: ... here.
9753 Adjust ifunc variants for memcmp.
9755 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9757 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9758 * sysdeps/s390/memcmp.S: ... here.
9759 Adjust to be usable for 31/64bit.
9760 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9761 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9762 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9764 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9765 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9766 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9767 Adjust to be usable for 31/64bit.
9768 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9769 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9770 * sysdeps/s390/multiarch/memcmp.c: ... here.
9771 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9773 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9775 * sysdeps/s390/s390-32/bzero.S: Delete file.
9776 * sysdeps/s390/s390-64/bzero.S: Likewise.
9777 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9778 * sysdeps/s390/bzero.c: New file.
9779 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9780 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9781 * sysdeps/s390/multiarch/ifunc-impl-list.c
9782 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9784 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9786 * sysdeps/s390/ifunc-memset.h: New File.
9787 * sysdeps/s390/memset.S: Move to ...
9788 * sysdeps/s390/memset-z900.S ... here.
9789 Move implementations from memset-s390x.s to here.
9790 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9791 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9792 Remove memset variants.
9793 * sysdeps/s390/Makefile (sysdep_routines):
9794 Add memset variants.
9795 * sysdeps/s390/multiarch/ifunc-impl-list.c
9796 (__libc_ifunc_impl_list): Adjust ifunc variants for
9798 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9800 * sysdeps/s390/memset.c: ... here.
9801 Adjust ifunc variants for memset.
9803 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9805 * sysdeps/s390/s390-64/memset.S: Move to ...
9806 * sysdeps/s390/memset.S: ... here.
9807 Adjust to be usable for 31/64bit.
9808 * sysdeps/s390/s390-32/memset.S: Delete File.
9809 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9810 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9812 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9813 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9814 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9815 Adjust to be usable for 31/64bit.
9816 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9817 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9818 * sysdeps/s390/multiarch/memset.c: ... here.
9819 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9821 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9823 * sysdeps/s390/multiarch/ifunc-resolve.h
9824 (s390_libc_ifunc_init, s390_libc_ifunc,
9825 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9827 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9829 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9830 * sysdeps/s390/configure.ac: Add check for z10 support.
9831 * sysdeps/s390/configure: Regenerated.
9833 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9835 * sysdeps/i386/atomic-machine.h: Merged with ...
9836 * sysdeps/x86_64/atomic-machine.h: To ...
9837 * sysdeps/x86/atomic-machine.h: This. New file.
9839 2018-12-18 Florian Weimer <fweimer@redhat.com>
9841 Rewrite locale/gen-translit.pl in Python.
9842 * locale/Makefile (generated): Add C-translit.h.
9843 (before-compile): Add $(objpfx)C-translit.h.
9844 (C-translit.h): Move to $(objpfx). Create target directory.
9845 Build using Python script.
9846 * locale/gen-translit.py: New file.
9847 * locale/gen-translit.pl: Remove file.
9848 * locale/C-translit.h.in: Change comment character to '#' for
9849 easier parsing without a C preprocessor.
9850 * locale/C-translit.h: Remove generated file.
9851 * manual/install.texi (Tools for Compilation): Do not mention
9853 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9854 Remove locale/C-translit.h.
9855 * scripts/update-copyrights: Likewise.
9856 * INSTALL: Regenerate.
9858 2018-12-18 Florian Weimer <fweimer@redhat.com>
9861 * localedata/locales/bi_VU: Remove executable bit from file.
9863 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
9866 (__localtime64): Add.
9867 * manual/maint.texi: Document Y2038 symbol handling.
9869 (__localtime64): Add.
9870 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
9872 2018-12-17 Joseph Myers <joseph@codesourcery.com>
9874 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9877 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9878 to allow extra macros from first or second sources.
9879 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9880 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9881 (tests-special): Add $(objpfx)tst-mman-consts.out.
9882 ($(objpfx)tst-mman-consts.out): New makefile target.
9884 2018-12-17 Mao Han <han_mao@c-sky.com>
9886 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9887 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9888 without stat64 system call support.
9889 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9890 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9891 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9892 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9893 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9894 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9895 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9896 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9897 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9898 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9899 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9901 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9903 regex: fix storage-exhaustion error
9905 * posix/regexec.c (get_subexp):
9906 Do not continue if storage is exhausted.
9908 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
9910 regex: fix heap-use-after-free error
9912 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9913 https://debbugs.gnu.org/32592
9914 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9915 call extend_buffers which reallocates the re_string_t internal buffer.
9916 Local variable 'buf' was not updated in such case, resulting in
9918 * posix/regexec.c (get_subexp): Update 'buf' after call to
9921 2018-12-15 Florian Weimer <fweimer@redhat.com>
9923 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9924 (minimum_stride_size): Use it.
9925 (support_blob_repeat_allocate): Likewise.
9927 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9929 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9934 2018-12-14 Florian Weimer <fweimer@redhat.com>
9936 * manual/process.texi (Process Creation Concepts): Remove
9937 documentation of process (ID) lifetime. List more process
9938 creation functions. Reference Process Identification section.
9939 (Process Identification): Add information about process ID
9940 lifetime. Describe Linux thread/task IDs.
9941 * manual/signal.texi (Signaling Another Process): Mention that the
9942 signal is always sent to the process.
9944 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9946 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9947 and tst-ldbl-efgcvt.
9948 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9949 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9950 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9951 (fcvt_tests, output_error, output_r_error, do_test): Use the
9952 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9953 select the type of floating-point variables and arguments; to
9954 produce extra tests for double and conversion specifiers for
9955 printf; and to set the names of called functions.
9956 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9957 in tst-efgcvt-template.c.
9958 * misc/tst-ldbl-efgcvt.c: Likewise.
9960 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
9962 * nss/Makefile (tst-nss-test3.out): New rule.
9964 2018-12-13 Joseph Myers <joseph@codesourcery.com>
9966 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9969 2018-12-13 fanjinke <fanjinke@hygon.cn>
9971 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9974 2018-12-13 Andreas Schwab <schwab@suse.de>
9977 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
9978 (__pthread_rwlock_rdlock_full): Update expected value for
9979 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9980 * nptl/tst-rwlock-pwn.c: New file.
9981 * nptl/Makefile (tests): Add tst-rwlock-pwn.
9983 2018-12-12 Joseph Myers <joseph@codesourcery.com>
9985 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9988 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9990 * benchtests/scripts/compare_bench.py (do_compare): write to
9991 stderr in casestat is not present.
9992 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9993 stderr in case timings field is not present. Also string showing
9994 the output filename goes into the stderr.
9996 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9998 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9999 and ZeroDivisorError exceptions.
10000 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
10001 argument to loop through user provided statistics.
10002 * benchtests/scripts/compare_bench.py (main): Include the --stats
10005 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10007 * benchtests/scripts/compare_bench.py (compare_runs): Continue
10010 2018-12-12 Florian Weimer <fweimer@redhat.com>
10012 * sysdeps/posix/timespec_get.c: Add missing “any later version”
10013 clause to copyright header.
10015 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10018 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
10019 registers saved in the stack frame.
10020 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
10021 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
10023 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10025 * include/bits/monetary-ldbl.h: New file.
10026 * include/bits/printf-ldbl.h: Likewise.
10027 * include/bits/stdio-ldbl.h: Likewise.
10028 * include/bits/stdlib-ldbl.h: Likewise.
10029 * include/bits/syslog-ldbl.h: Likewise.
10030 * include/bits/wchar-ldbl.h: Likewise.
10032 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10034 * libio/libio.h: Remove redirection for _IO_vfprintf.
10036 2018-12-11 Andreas Schwab <schwab@suse.de>
10038 * Makerules: Remove all references to abilist-pattern.
10039 (update-all-abi): Simplify find expression.
10041 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10044 * math/auto-libm-test-in: Add new test case.
10045 * math/auto-libm-test-out-pow: Regenerated.
10046 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
10048 2018-12-10 DJ Delorie <dj@redhat.com>
10051 * support/test-container.c: Move postclean step to before we
10054 2018-12-10 Joseph Myers <joseph@codesourcery.com>
10056 * scripts/gen-as-const.py (main): Handle --python option.
10057 * scripts/gen-py-const.awk: Remove.
10058 * Makerules (py-const-script): Use gen-as-const.py.
10059 ($(py-const)): Likewise.
10060 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
10061 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
10062 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
10063 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
10064 ~PTHREAD_MUTEX_NO_ELISION_NP.
10065 * manual/README.pretty-printers: Update reference to
10068 * scripts/glibcextract.py: New file.
10069 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
10070 or tempfile. Import glibcexctract.
10071 (compute_c_consts): Remove. Moved to glibcextract.py.
10072 (gen_test): Update reference to compute_c_consts.
10074 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
10075 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
10076 * sysdeps/unix/sysv/linux/Makefile
10077 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
10078 Redirect stderr as well as stdout.
10080 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
10083 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
10084 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
10085 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
10086 ALWAYS_USE_VSYSCALL.
10087 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
10088 ALWAYS_USE_VSYSCALL.
10089 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
10090 ALWAYS_USE_VSYSCALL.
10092 2018-12-10 Florian Weimer <fweimer@redhat.com>
10095 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
10096 offset instead of count for clarity. Fix typo in comment.
10097 (__old_getdents64): Keep track of previous offset. Use it to call
10099 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
10100 that d_off is never zero.
10102 2018-12-10 Andreas Schwab <schwab@suse.de>
10104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
10105 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
10106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
10107 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
10108 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
10110 2018-12-10 Joseph Myers <joseph@codesourcery.com>
10112 * timezone/private.h: Update from tzcode 2018g.
10113 * timezone/tzfile.h: Likewise.
10114 * timezone/tzselect.ksh: Likewise.
10115 * timezone/zdump.c: Likewise.
10116 * timezone/zic.c: Likewise.
10118 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10121 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
10122 (do_test): Adjust buffer size and fix format.
10124 2018-12-07 DJ Delorie <dj@redhat.com>
10127 * malloc/tst-tcfree3.c: New.
10128 * malloc/Makefile: Add it.
10130 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
10132 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
10134 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10136 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
10137 used as a mask for the mode argument of __vfscanf_internal and
10138 __vfwscanf_internal.
10139 * stdio-common/vfscanf-internal.c
10140 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
10141 (__strtof128_internal): Define to __wcstof128_internal.
10142 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
10143 __strtof128_internal or __wcstof128_internal when the format of
10144 long double is the same as _Float128.
10146 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
10148 * include/unistd.h (__confstr): Add prototype and hidden prototype.
10149 * posix/confstr.c (confstr): Rename to __confstr.
10150 (__confstr): Add hidden def.
10151 (confstr): Add weak alias for __confstr.
10152 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
10155 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
10157 * NEWS: Mention getcpu.
10158 * include/sched.h (__getcpu): New libc_hidden_proto.
10159 * manual/resource.texi: Document getcpu.
10160 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
10161 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
10162 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
10163 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10164 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10165 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10166 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10167 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10168 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10169 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10170 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10171 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10172 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
10174 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10175 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10176 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
10185 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10186 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10187 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10188 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10189 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10190 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10191 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10192 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10193 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
10194 * sysdeps/unix/sysv/linux/getcpu.c: New file.
10195 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
10198 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10200 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
10202 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
10204 2018-12-07 Florian Weimer <fweimer@redhat.com>
10207 * posix/Makefile (routines): Add spawn_faction_addfchdir.
10208 * posix/Versions (GLIBC_2.29): Export
10209 posix_spawn_file_actions_addfchdir_np.
10210 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
10211 * posix/spawn_faction_destroy.c
10212 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
10213 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
10214 and the field action.fchdir_action.
10215 * posix/tst-spawn-chdir.c (add_chdir): New function.
10216 (do_test): Add do_fchdir loop. Call add_chdir.
10217 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
10218 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10219 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10220 posix_spawn_file_actions_addfchdir_np.
10221 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10223 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10225 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10226 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10228 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10230 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10232 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10234 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10236 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10238 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10239 (GLIBC_2.29): Likewise.
10240 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10241 (GLIBC_2.29): Likewise.
10242 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10243 (GLIBC_2.29): Likewise.
10244 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10245 (GLIBC_2.29): Likewise.
10246 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10249 (GLIBC_2.29): Likewise.
10250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10251 (GLIBC_2.29): Likewise.
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10253 (GLIBC_2.29): Likewise.
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10255 (GLIBC_2.29): Likewise.
10256 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10258 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10260 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10262 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10263 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10265 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10267 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10269 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10272 2018-12-06 Joseph Myers <joseph@codesourcery.com>
10274 * manual/texinfo.tex: Update to version 2018-09-21.20 with
10275 trailing whitespace removed.
10276 * scripts/config.guess: Update to version 2018-11-28.
10277 * scripts/config.sub: Update to version 2018-11-28.
10278 * scripts/install-sh: Update to version 2018-03-11.20.
10279 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
10280 * scripts/move-if-change: Update to version 2018-03-07 03:47.
10282 2018-12-07 Florian Weimer <fweimer@redhat.com>
10286 * inet/tst-if_index-long.c: New file.
10287 * inet/Makefile (tests): Add tst-if_index-long.
10289 2018-12-07 Florian Weimer <fweimer@redhat.com>
10291 * support/check.h (support_record_failure_is_failed): Declare.
10292 * support/descriptors.h: New file.
10293 * support/support_descriptors.c: Likewise.
10294 * support/tst-support_descriptors.c: Likewise.
10295 * support/support_record_failure.c
10296 (support_record_failure_is_failed): New function.
10297 * support/Makefile (libsupport-routines): Add support_descriptors.
10298 (tests): Add tst-support_descriptors.
10300 2018-12-05 Zack Weinberg <zackw@panix.com>
10301 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10303 * stdio-common/vfprintf-internal.c
10304 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
10305 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
10306 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
10307 and __no_long_double.
10308 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
10309 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
10310 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
10311 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
10312 and __nldbl_*syslog* functions.
10313 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
10314 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
10315 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
10316 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
10317 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
10318 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
10319 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
10320 (__nldbl_vwprintf, __nldbl_wprintf):
10321 Directly call the appropriate __v*printf_internal routine, passing
10322 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
10324 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
10325 (__nldbl___printf_chk, __nldbl___snprintf_chk)
10326 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
10327 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
10328 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
10329 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
10330 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
10331 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
10332 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
10333 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
10334 Likewise, and also pass PRINTF_FORTIFY when appropriate.
10335 (__nldbl_syslog, __nldbl_vsyslog):
10336 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
10337 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
10339 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
10342 2018-12-05 Zack Weinberg <zackw@panix.com>
10343 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10346 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
10347 Moved here from debug/vsprintf_chk.c.
10348 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
10349 and completion logic for the strfile to match exactly what
10350 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
10351 _IO_str_init_static_internal instead of maxlen-1.
10352 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10353 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
10354 __vsprintf_internal.
10356 * debug/vsprintf_chk.c (__vsprintf_chk)
10357 * debug/sprintf_chk.c (__sprintf_chk):
10358 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
10359 'flags' argument is positive, and slen as maxlen. No need to lock
10360 the FILE and/or construct a temporary FILE. Minimize and normalize
10361 header inclusions and variable names. Do not libc_hidden_def anything.
10363 * debug/asprintf_chk.c (__asprintf_chk)
10364 * debug/dprintf_chk.c (__dprintf_chk)
10365 * debug/fprintf_chk.c (__fprintf_chk)
10366 * debug/fwprintf_chk.c (__fwprintf_chk)
10367 * debug/printf_chk.c (__printf_chk)
10368 * debug/snprintf_chk.c (__snprintf_chk)
10369 * debug/swprintf_chk.c (__swprintf_chk)
10370 * debug/vasprintf_chk.c (__vasprintf_chk)
10371 * debug/vdprintf_chk.c (__vdprintf_chk)
10372 * debug/vfprintf_chk.c (__vfprintf_chk)
10373 * debug/vfwprintf_chk.c (__vfwprintf_chk)
10374 * debug/vprintf_chk.c (__vprintf_chk)
10375 * debug/vsnprintf_chk.c (__vsnprintf_chk)
10376 * debug/vswprintf_chk.c (__vswprintf_chk)
10377 * debug/vwprintf_chk.c (__vwprintf_chk)
10378 * debug/wprintf_chk.c (__wprintf_chk):
10379 Directly call the corresponding vxxprintf_internal function, passing
10380 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
10381 the FILE and/or construct a temporary FILE. Minimize and normalize
10382 header inclusions and variable names. Do not libc_hidden_def anything.
10384 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
10385 __obstack_vprintf_internal.
10386 (__obstack_vprintf_chk): Convert into a wrapper that calls
10387 __obstack_vprintf_internal (these two functions already had the
10388 same code) and move to new file...
10389 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
10391 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
10392 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
10393 * debug/Makefile (routines): Add vobprintf_chk.
10395 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10396 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10397 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
10398 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
10399 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
10400 (__nldbl___obstack_vfprintf_chk):
10401 Directly call the corresponding vxxprintf_internal function,
10402 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
10403 duplicate comparison of slen with 0 or maxlen from the corresponding
10404 non-__nldbl function.
10406 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
10407 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
10408 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
10409 Remove libc_hidden_proto.
10411 * stdio-common/vfprintf-internal.c
10412 (__vfprintf_internal, __vfwprintf_internal):
10413 Do not check _IO_FLAGS2_FORTIFY.
10414 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
10415 * libio/libioP.h: Update prototype of __vsprintf_internal and add
10416 a comment explaining why it has the maxlen argument.
10417 (_IO_acquire_lock_clear_flags2_fct): Remove.
10418 (_IO_acquire_lock_clear_flags2): Remove.
10419 (_IO_release_lock): Remove conditional statement which will
10421 (_IO_acquire_lock): Remove variable which is now unused.
10422 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10423 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10425 * stdio-common/Makefile (tests): Add tst-bz11319 and
10426 tst-bz11319-fortify2.
10427 (CFLAGS-tst-bz11319-fortify2.c): New macro.
10428 * stdio-common/tst-bz11319-fortify2.c: New file.
10429 * stdio-common/tst-bz11319.c: Likewise.
10431 2018-12-05 Zack Weinberg <zackw@panix.com>
10432 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10434 * misc/syslog.c: Include libioP.h, not iolibio.h.
10435 (__vsyslog_internal): New function with the former body of
10436 __vsyslog_chk; takes mode_flags argument same as
10437 __v*printf_internal. Call __vfprintf_internal directly.
10439 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
10440 Remove libc_hidden_def.
10441 (__syslog, __syslog_chk): Use __vsyslog_internal.
10442 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
10444 * include/sys/syslog.h: Add multiple inclusion guard.
10445 Add prototype for __vsyslog_internal.
10446 Remove declaration and libc_hidden_proto for __vsyslog_chk.
10448 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
10449 Use __vsyslog_internal.
10451 2018-12-05 Zack Weinberg <zackw@panix.com>
10452 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10454 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
10455 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
10456 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
10458 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
10459 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
10461 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
10462 Include wctype.h here if COMPILE_WPRINTF is defined.
10463 Define __vfprintf_internal or __vfwprintf_internal, depending
10464 on COMPILE_WPRINTF.
10465 Temporarily, on entry to this function, update mode_flags
10466 according to the environmental settings corresponding to
10467 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
10468 Throughout, check mode_flags instead of __ldbl_is_dbl and
10469 _IO_FLAGS2_FORTIFY on the destination FILE.
10470 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
10471 Include vfprintf-internal.c. Don't include wctype.h.
10472 * stdio-common/vfprintf.c: New file. Just define __vfprintf
10473 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
10475 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
10476 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
10478 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
10480 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
10481 and add mode_flags argument; use __vfprintf_internal.
10482 (__vdprintf): New function. Alias vdprintf to this.
10483 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
10484 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
10485 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
10486 (__obstack_printf): Use __obstack_printf_internal.
10487 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
10488 public aliases __vsnprintf and vsnprintf.
10489 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
10491 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
10492 public aliases _IO_vsprintf and vsprintf.
10493 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
10494 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
10495 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
10496 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
10497 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
10499 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
10500 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
10501 * stdio-common/fprintf.c, stdio-common/fxprintf.c
10502 * stdio-common/printf.c: Use __vfprintf_internal.
10504 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
10505 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
10506 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
10508 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
10509 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
10510 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
10511 __vfwprintf_internal.
10513 * libio/libio.h: Remove libc_hidden_proto and declaration for
10515 Remove declaration of _IO_vfwprintf.
10516 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
10518 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
10519 _IO_obstack_printf.
10520 * include/stdio.h: Add prototype for __vasprintf.
10521 (__vsnprintf): Remove declaration, because there are no more
10523 * include/wchar.h (__vfwprintf, __vswprintf): Remove
10524 declaration, because there are no more internal calls.
10526 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
10527 __vsnprintf_internal, instead of _IO_vsnprintf.
10528 * argp/argp-help.c (__argp_error, __argp_failure): Use
10529 __vasprintf_internal, instead of _IO_vasprintf.
10530 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
10531 redefine, because there are no more internal calls.
10533 2018-12-05 Zack Weinberg <zackw@panix.com>
10534 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10536 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
10537 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
10538 Include libio/strfile.h instead of libioP.h.
10539 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
10540 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
10541 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
10542 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
10543 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
10544 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
10545 necessary. Do not set __no_long_double. Normalize variable names.
10546 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
10547 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10548 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10549 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10550 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10551 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10552 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10553 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10554 Do not set __no_long_double. Normalize variable names.
10556 2018-12-05 Zack Weinberg <zackw@panix.com>
10557 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10559 * stdio-common/isoc99_scanf.c
10560 * stdio-common/isoc99_fscanf.c
10561 * stdio-common/isoc99_sscanf.c
10562 * stdio-common/isoc99_vscanf.c
10563 * stdio-common/isoc99_vfscanf.c
10564 * stdio-common/isoc99_vsscanf.c
10565 * wcsmbs/isoc99_wscanf.c
10566 * wcsmbs/isoc99_fwscanf.c
10567 * wcsmbs/isoc99_swscanf.c
10568 * wcsmbs/isoc99_vwscanf.c
10569 * wcsmbs/isoc99_vfwscanf.c
10570 * wcsmbs/isoc99_vswscanf.c:
10571 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10572 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10573 No need to lock and unlock the FILE passed to that function.
10575 * stdio-common/vfscanf-internal.c
10576 (__vfscanf_internal, __vfwscanf_internal):
10577 Don't look at _IO_FLAGS2_SCANF_STD.
10578 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10579 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10580 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10582 2018-12-05 Zack Weinberg <zackw@panix.com>
10583 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10585 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10586 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10587 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10588 * libio/strfile.h: Add multiple inclusion guard.
10589 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10591 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10592 consistency with the other version of this file.
10593 (ldbl_compat_symbol): New macro.
10594 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10597 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10598 Define __vfscanf_internal or __vfwscanf_internal, depending on
10599 COMPILE_WSCANF; don't define any other public symbols.
10600 Remove errval and code to set errp.
10601 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10602 as the mode_flags argument.
10603 (encode_error, conv_error, input_error): Don't set errval.
10604 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10605 Include vfscanf-internal.c.
10606 * stdio-common/vfscanf.c: New file defining the public entry
10607 point vfscanf, which calls __vfscanf_internal.
10608 * stdio-common/vfwscanf.c: New file defining the public entry
10609 point vfwscanf, which calls __vfwscanf_internal.
10611 * stdio-common/iovfscanf.c: New file.
10612 * stdio-common/iovfwscanf.c: Likewise.
10614 * stdio-common/Makefile (routines): Add vfscanf-internal,
10615 vfwscanf-internal, iovfscanf, iovfwscanf.
10616 * stdio-common/Versions: Mention GLIBC_2.29, so that
10617 it can be used in SHLIB_COMPAT expressions.
10618 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10619 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10620 Call __vfscanf_internal, instead of _IO_vfscanf.
10621 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10623 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10626 * libio/iovsscanf.c: Clean up includes, when possible. Use
10627 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10628 __vfscanf_internal or __vfwscanf_internal directly.
10629 * libio/iovswscanf.c: Likewise.
10630 * libio/swscanf.c: Likewise.
10631 * libio/vscanf.c: Likewise.
10632 * libio/vwscanf.c: Likewise.
10633 * libio/wscanf.c: Likewise.
10634 * stdio-common/isoc99_fscanf.c: Likewise.
10635 * stdio-common/isoc99_scanf.c: Likewise.
10636 * stdio-common/isoc99_sscanf.c: Likewise.
10637 * stdio-common/isoc99_vfscanf.c: Likewise.
10638 * stdio-common/isoc99_vscanf.c: Likewise.
10639 * stdio-common/isoc99_vsscanf.c: Likewise.
10640 * stdio-common/scanf.c: Likewise.
10641 * stdio-common/sscanf.c: Likewise.
10642 * wcsmbs/isoc99_fwscanf.c: Likewise.
10643 * wcsmbs/isoc99_swscanf.c: Likewise.
10644 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10645 * wcsmbs/isoc99_vswscanf.c: Likewise.
10646 * wcsmbs/isoc99_vwscanf.c: Likewise.
10647 * wcsmbs/isoc99_wscanf.c: Likewise.
10649 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
10652 (__tz_compute): Replace time_t with __time64_t.
10653 (__tz_convert): Replace time_t* with __time64_t.
10654 (__offtime): Replace time_t* with __time64_t.
10656 (__gmtime_r): Adjust call to __tz_convert.
10657 (gmtime): Likewise.
10659 (__localtime_r): Likewise.
10660 (localtime): Likewise.
10661 * time/offtime.c: Replace time_t with __time64_t.
10662 * time/tzset.c: Likewise.
10664 2018-12-04 Joseph Myers <joseph@codesourcery.com>
10666 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10667 dynamic linker unless [$(run-built-tests) = yes].
10669 2018-12-03 DJ Delorie <dj@delorie.com>
10671 * support/test-container.c (check_for_unshare_hints): New.
10672 (main): Call it if unshare fails. Add support for "su" scriptlet
10675 2018-12-03 Joseph Myers <joseph@codesourcery.com>
10677 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10678 'START' to indicate that start text should be output.
10679 (gen_test): Likewise.
10680 (main): Generate 'START' for first symbol or '--' line, or at end
10681 of input if not previously generated.
10683 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10686 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10687 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10688 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10689 ALWAYS_USE_VSYSCALL.
10691 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10694 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10697 2018-12-03 Carlos O'Donell <carlos@redhat.com>
10700 * locale/programs/localedef.c: Declare boolean hard_links default true.
10701 (options): Add --no-hard-links option.
10702 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10703 * locale/programs/localedef.h: Declare prototype for hard_links.
10704 * locale/programs/locfile.c (write_locale_data): Don't use hard
10705 links if hard_links is false.
10707 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10709 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10710 cpu_features_basic.
10711 (__cache_sysconf): Likewise.
10712 (init_cacheinfo): Likewise.
10713 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10714 populate COMMON_CPUID_INDEX_80000007 and
10715 COMMON_CPUID_INDEX_80000008.
10716 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10717 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10718 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10719 (init_cpu_features): Use _Static_assert on
10720 index_arch_Fast_Unaligned_Load.
10721 __get_cpuid_registers and __get_arch_feature. Updated for
10722 cpu_features_basic. Set stepping in cpu_features.
10723 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10724 (FEATURE_INDEX_2): New.
10725 (FEATURE_INDEX_MAX): Changed to enum.
10726 (COMMON_CPUID_INDEX_D_ECX_1): New.
10727 (COMMON_CPUID_INDEX_80000007): Likewise.
10728 (COMMON_CPUID_INDEX_80000008): Likewise.
10729 (cpuid_registers): Likewise.
10730 (cpu_features_basic): Likewise.
10731 (CPU_FEATURE_USABLE): Likewise.
10732 (bit_arch_XXX_Usable): Likewise.
10733 (cpu_features): Use cpuid_registers and cpu_features_basic.
10734 (bit_arch_XXX): Reweritten.
10735 (bit_cpu_XXX): Likewise.
10736 (index_cpu_XXX): Likewise.
10737 (reg_XXX): Likewise.
10738 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10740 (CHECK_CPU_FEATURE): New.
10741 (CHECK_CPU_FEATURE_USABLE): Likewise.
10742 (cpu_kinds): Likewise.
10743 (do_test): Print vendor, family, model and stepping. Check
10744 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10745 (TEST_FUNCTION): Removed.
10746 Include <support/test-driver.c> instead of
10747 "../../test-skeleton.c".
10748 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10749 Check POPCNT instead of POPCOUNT.
10750 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10752 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10754 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10755 there is no element in `consts'.
10757 2018-12-01 Florian Weimer <fweimer@redhat.com>
10759 * support/support_capture_subprocess.c
10760 (support_capture_subprocess): Check that pipe descriptors have
10761 expected values. Close original pipe descriptors in subprocess.
10763 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10766 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10767 attr with __pthread_default_barrierattr.
10768 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10769 attr with __pthread_default_condattr.
10770 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10771 attr with __pthread_default_mutexattr.
10772 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10773 attr with __pthread_default_rwlockattr.
10775 2018-12-01 Kemi Wang <kemi.wang@intel.com>
10777 * manual/tunables.texi (POSIX Thread Tunables): New node.
10778 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10779 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10780 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10781 __pthread_tunables_init.
10782 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10783 (max_adaptive_count): Define.
10784 * nptl/pthread_mutex_conf.c: New file.
10785 * nptl/pthread_mutex_conf.h: New file.
10786 * sysdeps/generic/adaptive_spin_count.h: New file.
10787 * sysdeps/nptl/dl-tunables.list: New file.
10788 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10789 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10790 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10793 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10796 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10797 * stdlib/on_exit.c (__on_exit): Likewise.
10798 * stdlib/Makefile (tests): Add tst-bz20544.
10799 * stdlib/tst-bz20544.c: New test.
10801 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10804 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10805 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10808 2018-11-30 Florian Weimer <fweimer@redhat.com>
10810 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10811 Extend error logging.
10812 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10815 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10817 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10818 __sigismember instead of sigismember.
10819 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10820 cancel_handler): New definitions.
10821 (do_system): Use posix_spawn instead of fork and execl and remove
10823 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10824 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10825 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10826 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10827 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10828 * sysdeps/unix/sysv/linux/system.c: Likewise.
10832 * NEWS: Add new semantic for atfork with popen and system.
10833 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10836 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10839 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10840 modification order when accessing reloc_result->addr.
10841 * include/link.h (reloc_result): Add field init.
10842 * nptl/Makefile (tests): Add tst-audit-threads.
10843 (modules-names): Add tst-audit-threads-mod1 and
10844 tst-audit-threads-mod2.
10845 Add rules to build tst-audit-threads.
10846 * nptl/tst-audit-threads-mod1.c: New file.
10847 * nptl/tst-audit-threads-mod2.c: Likewise.
10848 * nptl/tst-audit-threads.c: Likewise.
10849 * nptl/tst-audit-threads.h: Likewise.
10851 2018-11-30 Joseph Myers <joseph@codesourcery.com>
10853 * scripts/gen-as-const.py: New file.
10854 * scripts/gen-as-const.awk: Remove.
10855 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10857 ($(objpfx)test-as-const-%.c): Likewise.
10859 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10861 * elf/dl-exception.c: Include <_itoa.h>.
10863 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10865 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10866 returned by __f_setlk.
10868 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10869 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10871 * elf/Makefile (tests-internal): Add tst-create_format1.
10872 * elf/dl-exception.c (_dl_exception_create_format): Support
10874 * elf/tst-create_format1.c: New file.
10876 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10878 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10879 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10881 * argp/argp-help.c (__argp_failure): Likewise.
10883 2018-11-29 Mao Han <han_mao@c-sky.com>
10885 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10886 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10887 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10888 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10889 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10890 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10891 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10892 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10893 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10894 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10895 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10896 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10897 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10898 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10899 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10900 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10901 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10902 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10903 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10904 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10905 (R_CKCORE_TLS_TPOFF32): New defines.
10907 2018-11-29 Florian Weimer <fweimer@redhat.com>
10909 * posix/Makefile (before-compile): Remove testcases.h and
10911 (generated): Add testcases.h and ptestcases.h.
10912 (testcases.h, ptestcases.h): Move to $(objpfx).
10913 (runtests.o): Add dependency on testcases.h.
10914 (runptests.o): Add dependency on ptestcases.h.
10915 * posix/testcases.h, posix/ptestcases.h: Remove files.
10916 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10917 not touch posix/testcases.h and posix/ptestcases.h.
10919 2018-11-28 Florian Weimer <fweimer@redhat.com>
10921 support: Add signal support to support_capture_subprocess_check.
10922 * support/capture_subprocess.h (support_capture_subprocess_check):
10923 Adjust comment and rename parameter.
10924 * support/support_capture_subprocess_check.c
10925 (print_actual_status): New function.
10926 (support_capture_subprocess_check): Support negative
10927 status_or_signal. Call print_actual_status.
10928 * support/tst-support_capture_subprocess.c (do_test): Call
10929 support_capture_subprocess_check.
10930 * libio/tst-vtables-common.c (termination_status)
10931 (init_termination_status): Remove.
10932 (check_for_termination): Adjust support_capture_subprocess_check
10934 (do_test): Remove call to init_termination_status.
10936 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10938 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10939 source directory instead of a copy.
10940 (CommandList.create_copy_dir): Remove.
10942 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10944 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10946 2018-11-28 Florian Weimer <fweimer@redhat.com>
10948 * support/support.h (support_quote_string): Do not use str
10951 2018-11-27 Joseph Myers <joseph@codesourcery.com>
10953 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10954 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10956 2018-11-27 Florian Weimer <fweimer@redhat.com>
10958 * support/support.h (support_quote_string): Declare.
10959 * support/support_quote_string.c: New file.
10960 * support/tst-support_quote_string.c: Likewise.
10961 * support/Makefile (libsupport-routines): Add
10962 support_quote_string.
10963 (tests): Add tst-support_quote_string.
10965 2018-11-27 Florian Weimer <fweimer@redhat.com>
10969 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10970 descriptor leak in case of ENODEV error.
10972 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10975 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10976 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10977 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10979 2018-11-26 Carlos O'Donell <carlos@redhat.com>
10981 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10982 Error for unknown lines.
10984 2018-11-26 Joseph Myers <joseph@codesourcery.com>
10986 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10987 Touch additional files.
10989 2018-11-26 Florian Weimer <fweimer@redhat.com>
10992 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10995 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10998 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10999 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
11000 SHARED. Include sysdep.h.
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
11002 ALWAYS_USE_VSYSCALL.
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
11004 ALWAYS_USE_VSYSCALL.
11006 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
11009 * nptl/Makefile (tests-static): Add tst-cond11-static.
11011 * nptl/tst-cond11-static.c: New File.
11012 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
11013 tst-affinity-static.
11015 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
11017 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
11018 (USE_VSYSCALL): Likewise.
11019 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
11020 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
11022 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
11024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
11027 2018-11-23 Joseph Myers <joseph@codesourcery.com>
11030 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11031 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
11034 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
11036 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
11037 (tst-cet-legacy-1a-ARGS): New.
11038 ($(objpfx)tst-cet-legacy-1a): New target.
11039 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
11041 2018-11-22 Joseph Myers <joseph@codesourcery.com>
11043 * conform/conformtest.py (CompileSubTest.__init__): Set
11044 self.run_early to False.
11045 (ExecuteSubTest.__init__): Likewise.
11046 (HeaderTests.run): Try running all non-optional, non-XFAILed
11047 compilation tests in a single execution of the compiler.
11049 * conform/conformtest.py (CompileSubTest): New class.
11050 (ExecuteSubTest): Likewise.
11051 (ElementTest.run): Rename to gen_subtests. Append tests to
11052 self.subtests instead of running them.
11053 (ConstantTest.run): Likewise.
11054 (SymbolTest.run): Likewise.
11055 (TypeTest.run): Likewise.
11056 (TagTest.run): Likewise.
11057 (FunctionTest.run): Likewise.
11058 (VariableTest.run): Likewise.
11059 (MacroFunctionTest.run): Likewise.
11060 (MacroStrTest.run): Likewise.
11061 (HeaderTests.handle_test_line): Generate subtests for tests.
11062 (HeaderTests.run): Run subtests for tests.
11064 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11066 * math/Versions (GLIBC_2.29): Add pow.
11067 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
11069 * math/w_pow.c: New file.
11070 * sysdeps/i386/fpu/w_pow.c: New file.
11071 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
11072 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
11073 and add necessary aliases.
11074 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
11075 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
11076 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11077 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11078 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11079 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11080 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11081 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11082 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11083 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11084 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11085 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11086 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11087 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11088 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11093 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11094 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11095 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11096 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11097 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11098 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11099 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11100 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
11102 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
11103 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
11104 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
11106 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11108 * math/Versions (GLIBC_2.29): Add log2.
11109 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
11111 * math/w_log2.c: New file.
11112 * sysdeps/i386/fpu/w_log2.c: New file.
11113 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
11114 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
11115 and add necessary aliases.
11116 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
11117 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
11118 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11119 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11120 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11121 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11122 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11123 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11124 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11125 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11126 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11127 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11128 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11129 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11130 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11135 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11136 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11137 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11138 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11139 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11140 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11141 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11143 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11145 * math/Versions (GLIBC_2.29): Add log.
11146 * math/w_log_compat.c (__log_compat): Change to versioned compat
11148 * math/w_log.c: New file.
11149 * sysdeps/i386/fpu/w_log.c: New file.
11150 * sysdeps/ia64/fpu/e_log.S: Update.
11151 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
11152 and add necessary aliases.
11153 * sysdeps/ieee754/dbl-64/w_log.c: New file.
11154 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
11155 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11156 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11157 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11158 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11159 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11160 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11161 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11162 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11163 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11164 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11165 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11166 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11167 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11172 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11173 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11174 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11175 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11176 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11177 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11178 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11179 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
11181 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
11182 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
11183 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
11184 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
11186 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11188 * math/Versions (GLIBC_2.29): Add exp and exp2.
11189 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
11190 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
11191 * math/w_exp_compat.c (__exp_compat): Likewise.
11192 * math/w_exp.c: New file.
11193 * math/w_exp2.c: New file.
11194 * sysdeps/i386/fpu/w_exp.c: New file.
11195 * sysdeps/i386/fpu/w_exp2.c: New file.
11196 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
11197 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
11198 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
11199 and add necessary aliases.
11200 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
11201 and add necessary aliases.
11202 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
11203 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
11204 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
11205 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
11206 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11207 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11208 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11209 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11210 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11211 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11212 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11213 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11214 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11215 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11216 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11217 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11218 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11223 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11224 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11225 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11226 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11227 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11228 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11229 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11230 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
11231 (__ieee754_exp): Rename to __exp.
11232 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
11233 (__ieee754_exp): Rename to __exp.
11234 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
11235 (__ieee754_exp): Rename to __exp.
11236 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
11238 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
11240 2018-11-20 DJ Delorie <dj@redhat.com>
11242 * malloc/malloc.c (tcache_entry): Add key field.
11243 (tcache_put): Set it.
11244 (tcache_get): Likewise.
11245 (_int_free): Check for double free in tcache.
11246 * malloc/tst-tcfree1.c: New.
11247 * malloc/tst-tcfree2.c: New.
11248 * malloc/Makefile: Run the new tests.
11249 * manual/probes.texi: Document memory_tcache_double_free probe.
11251 * dlfcn/dlerror.c (check_free): Prevent double frees.
11253 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
11255 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
11257 2018-11-20 Joseph Myers <joseph@codesourcery.com>
11259 * conform/conformtest.py (ElementTest.run): Use unique identifiers
11260 in tests. Use names for format arguments.
11261 (ConstantTest.run): Likewise.
11262 (SymbolTest.run): Likewise.
11263 (TypeTest.run): Likewise.
11264 (TagTest.run): Likewise.
11265 (FunctionTest.run): Likewise.
11266 (VariableTest.run): Likewise.
11267 (MacroFunctionTest.run): Likewise.
11268 (MacroStrTest.run): Likewise.
11269 (HeaderTests.__init__): Set self.num_tests.
11270 (HeaderTests.handle_test_line): Set test.num. Increment
11273 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11275 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
11276 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
11279 2018-11-19 Mao Han <han_mao@c-sky.com>
11281 * scripts/config.guess: Update to version 2018-08-29.
11282 * scripts/config.sub: Update to version 2018-08-29.
11284 2018-11-19 Florian Weimer <fweimer@redhat.com>
11286 support: Print timestamps in timeout handler.
11287 * support/support_test_main.c (print_timestamp): New function.
11288 (signal_handler): Use it to print the termination time and the
11289 time of the last write to standard output.
11291 2018-11-16 Zack Weinberg <zackw@panix.com>
11292 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11294 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
11295 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
11297 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
11298 and add flags argument. Check flags instead of __ldbl_is_dbl when
11299 deciding whether to set is_long_double.
11300 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
11301 passing zero for flags argument.
11302 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
11304 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
11305 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
11306 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
11307 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
11308 variable names. Remove libc_hidden_def/libc_hidden_proto from
11309 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
11310 longer called from within the library.
11311 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
11312 for __nldbl___vstrfmon_l, declare it explicitly.
11314 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
11316 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11318 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
11320 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
11321 F_SETLK64, F_SETLKW64, respectively.
11322 * sysdeps/mach/hurd/f_setlk.c: New file.
11323 * sysdeps/mach/hurd/f_setlk.h: New file.
11324 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
11326 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
11327 (__libc_fcntl): Move non-flock operations to...
11328 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
11329 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
11331 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
11333 mktime: DEBUG_MKTIME cleanup
11334 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
11335 And it’s no longer needed now that glibc and Gnulib both have
11336 their own testing mechanisms for mktime.
11337 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
11339 mktime: fix non-EOVERFLOW errno handling
11341 mktime was not properly reporting failures when the underlying
11342 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
11343 them like EOVERFLOW failures, and set errno to EOVERFLOW.
11344 The problem could happen on non-glibc platforms, with Gnulib.
11345 * time/mktime.c (guess_time_tm): Remove, replacing with ...
11346 (tm_diff): ... this simpler function, which does not change errno.
11347 All callers changed to deal with errno themselves.
11348 (ranged_convert, __mktime_internal): Return failure immediately if
11349 the underlying function reports any failure other than EOVERFLOW.
11350 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
11353 mktime: fix bug with Y2038 DST transition
11355 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
11356 mishandle a DST transition that jumps over the Y2038 boundary.
11357 No such DST transitions are known so this is only a theoretical
11358 bug, but we might as well do things right.
11360 mktime: make more room for overflow
11362 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
11363 This is so that we can add tm_diff results to a previous guess,
11364 which will be useful in a later patch.
11366 mktime: simplify offset guess
11368 * time/mktime.c (__mktime_internal): Omit excess precision.
11370 mktime: new test for mktime failure
11372 Based on a test suggested by Albert Aribaud in:
11373 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
11374 * time/Makefile (tests): Add bug-mktime4.
11375 * time/bug-mktime4.c: New file.
11377 mktime: fix EOVERFLOW bug
11379 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
11380 Include libc-config.h, not config.h, for __set_errno.
11381 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
11383 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11385 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
11386 __attribute_copy__ to copy attributes from name. Drop static qualifier
11387 to avoid warnings about leaf attribute not having effect on static
11390 2018-11-13 Florian Weimer <fweimer@redhat.com>
11392 * malloc/malloc.c (fastbin_push_entry): New function.
11393 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
11394 (REMOVE_FB): Remove macro.
11395 (_int_malloc): Use fastbin_pop_entry and reindent.
11396 (_int_free): Use fastbin_push_entry.
11397 (malloc_consolidate): Use atomic_exchange_acquire.
11399 2018-11-13 Joseph Myers <joseph@codesourcery.com>
11401 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
11402 alias attribute, not with strong_alias.
11404 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
11405 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
11406 with additional parameter thread.
11407 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
11408 in terms of __hidden_ver2.
11409 (hidden_tls_def): New macro.
11410 (libc_hidden_tls_def): Likewise.
11411 (rtld_hidden_tls_def): Likewise.
11412 (libm_hidden_tls_def): Likewise.
11413 (libmvec_hidden_tls_def): Likewise.
11414 (libresolv_hidden_tls_def): Likewise.
11415 (librt_hidden_tls_def): Likewise.
11416 (libdl_hidden_tls_def): Likewise.
11417 (libnss_files_hidden_tls_def): Likewise.
11418 (libnsl_hidden_tls_def): Likewise.
11419 (libnss_nisplus_hidden_tls_def): Likewise.
11420 (libutil_hidden_tls_def): Likewise.
11421 (libutil_hidden_tls_def): Likweise.
11422 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
11423 libc_hidden_tls_def.
11424 (__sim_disabled_exceptions_thread): Likewise.
11425 (__sim_round_mode_thread): Likewise.
11427 * sysdeps/sparc/sparc-ifunc.h [SHARED]
11428 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
11429 copy attributes from name.
11431 2018-11-12 Joseph Myers <joseph@codesourcery.com>
11433 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
11434 Use __attribute_copy__ to copy attributes from name.
11436 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
11437 with __hidden_ver1 call.
11438 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
11439 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
11440 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
11441 (__cosf): Do not declare here.
11442 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
11443 (__sincosf): Do not declare here.
11444 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
11445 (__sinf): Do not declare here.
11447 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
11448 (__BIG_ENDIAN): Likewise.
11449 (__BYTE_ORDER): Likewise.
11450 (strong_alias): Likewise.
11451 (_strong_alias): Likewise.
11453 2018-11-12 Florian Weimer <fweimer@redhat.com>
11455 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
11456 function. Move after the definition of in_smallbin_range. Do not
11457 use __builtin_expect for paths that lead to a noreturn function.
11458 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
11459 because it is unclear whether this is in fact an unlikely
11461 (_int_malloc, _int_free): Adjust.
11462 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
11464 * malloc/arena.c (heap_trim): Likewise.
11466 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11468 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
11469 it, free it if needed.
11470 (reauthenticate): Test and use ccwdir.
11471 (child_init_port): In non-resetids case, test and use ccwdir.
11472 (child_chdir): New nested function to set ccwdir.
11473 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
11474 * hurd/hurd/port.h (_hurd_port_move): New function.
11475 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
11476 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
11477 * hurd/Versions (_hurd_port_move): Export function.
11478 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
11480 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
11481 of dtablesize for allocating dtable_cloexec.
11483 2018-11-09 Martin Sebor <msebor@redhat.com>
11485 * include/libc-symbols.h (__attribute_copy__): Define macro unless
11486 it's already defined.
11487 (_strong_alias): Use __attribute_copy__.
11488 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
11489 * misc/sys/cdefs.h (__attribute_copy__): New macro.
11490 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
11491 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
11492 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
11493 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
11494 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
11495 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
11496 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
11497 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
11498 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
11499 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
11500 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
11501 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
11502 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
11503 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
11504 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
11505 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
11506 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
11508 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11510 * misc/tst-efgcvt.c: Include support/check.h and
11511 support/test-driver.c. Do not include test-skeleton.c.
11512 (error_count): Remove.
11513 (output_error): Replace increments to error_count with calls to
11514 support_record_failure.
11515 (output_r_error): Likewise.
11516 (special): Likewise.
11517 (do_test): Unconditionally return zero.
11518 (TEST_FUNCTION): Remove.
11520 2018-11-09 Joseph Myers <joseph@codesourcery.com>
11522 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
11524 ($(linknamespace-header-tests)): Likewise.
11526 * conform/conformtest.py: New file.
11527 * conform/conformtest.pl: Remove.
11528 * conform/GlibcConform.pm: Likewise.
11529 * conform/glibcconform.py (KEYWORDS_C90): New constant.
11530 (KEYWORDS_C99): Likewise.
11531 (KEYWORDS): Likewise.
11532 * conform/Makefile ($(conformtest-header-tests)): Use
11533 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11534 option. Use --header instead of --headers.
11535 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
11537 * conform/data/spawn.h-data: Likewise.
11538 * conform/data/fcntl.h-data (openat): Add space after function
11540 * conform/data/wchar.h-data (wcscasecmp): Likewise.
11541 (wcscasecmp_l): Likewise.
11542 * conform/data/termios.h-data (c_cc): Add space after element
11545 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11547 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11548 instead of manually comparing and reporting mismatching strings.
11549 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11550 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11552 2018-11-08 Joseph Myers <joseph@codesourcery.com>
11554 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11555 __ASSUME_SOCKETCALL.
11556 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11557 (__ASSUME_SOCKETCALL): Remove.
11558 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11559 (__ASSUME_SOCKETCALL): Likewise.
11560 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11561 (__ASSUME_SOCKETCALL): Likewise.
11562 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11563 (__ASSUME_SOCKETCALL): Likewise.
11564 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11565 (__ASSUME_SOCKETCALL): Likewise.
11566 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11567 (__ASSUME_SOCKETCALL): Likewise.
11568 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11569 (__ASSUME_SOCKETCALL): Likewise.
11571 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11574 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11575 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11576 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11577 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11578 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11581 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11584 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11586 2018-11-07 Joseph Myers <joseph@codesourcery.com>
11589 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11590 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11591 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11592 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11594 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11596 * support/support_test_compare_string.c
11597 (support_test_compare_string): Fix printf format.
11599 2018-11-07 Florian Weimer <fweimer@redhat.com>
11601 Implement TEST_COMPARE_STRING.
11602 * support/check.h (TEST_COMPARE_STRING): Define.
11603 (support_test_compare_string): Declare.
11604 * support/Makefile (libsupport-routines): Add
11605 support_test_compare_string.
11606 (tests): Add tst-test_compare_string.
11607 * support/support_test_compare_string.c: New file.
11608 * support/tst-test_compare_string.c: Likewise.
11610 2018-11-07 Andreas Schwab <schwab@suse.de>
11613 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11614 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11617 2018-11-06 Joseph Myers <joseph@codesourcery.com>
11620 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11621 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11622 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11623 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11626 2018-11-06 Florian Weimer <fweimer@redhat.com>
11629 * posix/Makefile (routines): Add spawn_faction_addchdir.
11630 (tests): Add tst-spawn-chdir.
11631 * posix/Versions (GLIBC_2.29): Add
11632 posix_spawn_file_actions_addchdir_np.
11633 * posix/spawn_faction_addchdir.c: New file.
11634 * posix/spawn_faction_destroy.c
11635 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11636 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11637 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11639 * posix/tst-spawn-chdir.c: New file.
11640 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11641 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11642 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11643 posix_spawn_file_actions_addchdir_np.
11644 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11646 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11648 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11649 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11651 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11653 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11655 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11657 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11659 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11661 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11662 (GLIBC_2.29): Likewise.
11663 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11664 (GLIBC_2.29): Likewise.
11665 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11666 (GLIBC_2.29): Likewise.
11667 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11668 (GLIBC_2.29): Likewise.
11669 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11672 (GLIBC_2.29): Likewise.
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11674 (GLIBC_2.29): Likewise.
11675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11676 (GLIBC_2.29): Likewise.
11677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11678 (GLIBC_2.29): Likewise.
11679 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11681 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11683 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11685 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11686 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11688 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11690 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11692 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11695 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11697 * misc/Makefile (tests): Add tst-ldbl-error.
11698 * misc/tst-ldbl-error.c: New file.
11700 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11702 * misc/Makefile (tests): Add tst-ldbl-warn.
11703 * misc/tst-ldbl-warn.c: New file.
11705 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11707 * argp/Makefile (tests): Add tst-ldbl-argp.
11708 * argp/tst-ldbl-argp.c: New file.
11710 2018-11-05 Arjun Shankar <arjun@redhat.com>
11712 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11713 __gconv_path_elem and call __gconv_get_path unconditionally.
11715 2018-11-05 Andreas Schwab <schwab@suse.de>
11718 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11719 creating the first helper thread failed.
11721 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11723 * sysdeps/mach/hurd/msync.c: New file.
11725 2018-11-02 Florian Weimer <fweimer@redhat.com>
11727 * support/shell-container.c (copy_func): Call
11728 support_copy_file_range instead of copy_file_range to support
11729 cross-device copies.
11731 2018-11-02 Florian Weimer <fweimer@redhat.com>
11733 * support/test-container.c: Include <libc-pointer-arith.h> for
11736 2018-11-01 Zong Li <zong@andestech.com>
11738 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11739 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11740 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11741 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11743 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11744 variable to avoid overlap arguments.
11746 2018-11-01 Joseph Myers <joseph@codesourcery.com>
11748 * posix/bug-regex22.c (main): Use puts with distinct error
11749 messages for unexpected success of re_compile_pattern, not printf
11750 with NULL argument to %s.
11752 * stdio-common/bug22.c: Include <libc-diag.h>.
11753 (do_test): Disable -Wformat-overflow= warnings around fprintf
11754 calls outputting more than INT_MAX characters.
11755 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11756 around printf call with NULL %s argument.
11759 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11760 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11762 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11763 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11764 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11765 (__ASSUME_SENDTO_SYSCALL): Likewise.
11766 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11767 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11769 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11770 (__ASSUME_CONNECT_SYSCALL): Likewise.
11771 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11772 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11773 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11775 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11777 [__LINUX_KERNEL_VERSION >= 0x040400]
11778 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11779 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11781 (listen): Likewise.
11782 (setsockopt): Likewise.
11784 2018-11-01 Fredrik Noring <noring@nocrew.org>
11786 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11787 with the ISA override.
11789 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
11791 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11794 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11796 * manual/errno.texi (EIEIO): Document how translators should
11797 translate the error message.
11798 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11799 printing trailing whitespaces refused by git.
11800 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11801 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11802 * hurd/Makefile (user-interfaces): Add pci.
11804 2018-10-30 Joseph Myers <joseph@codesourcery.com>
11806 * conform/linknamespace.py: New file.
11807 * conform/linknamespace.pl: Remove file.
11808 * conform/Makefile ($(linknamespace-header-tests)): Use
11809 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11812 2018-10-30 Florian Weimer <fweimer@redhat.com>
11814 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11817 2018-10-30 Florian Weimer <fweimer@redhat.com>
11819 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11821 2018-10-30 Florian Weimer <fweimer@redhat.com>
11823 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11824 support_blob_repeat.
11826 2018-10-30 Florian Weimer <fweimer@redhat.com>
11828 Avoid spurious test failures in stdlib/test-bz22786.
11829 * support/Makefile (libsupport-routines): Add blob_repeat.
11830 (tests): Add tst-support_blob_repeat.
11831 * support/blob_repeat.h: New file.
11832 * support/blob_repeat.c: Likewise.
11833 * support/tst-support_blob_repeat.c: Likewise.
11834 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11835 support_blob_repeat_allocate.
11837 2018-10-30 Andreas Schwab <schwab@suse.de>
11840 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11841 Don't use tail call.
11842 * elf/tst-unwind-main.c: New file.
11843 * elf/Makefile (tests): Add tst-unwind-main.
11844 (CFLAGS-tst-unwind-main.c): Define.
11846 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
11849 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11850 n_cs_precedes to 0.
11851 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11853 2018-10-29 Joseph Myers <joseph@codesourcery.com>
11855 * conform/glibcconform.py: Do not import shutil.
11856 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11859 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11860 critic_missing for versions before 3.4.
11861 * configure: Regenerated.
11862 * manual/install.texi (Tools for Compilation): Document
11863 requirement for Python to build glibc.
11864 * INSTALL: Regenerated.
11865 * Rules [PYTHON]: Make code unconditional.
11866 * benchtests/Makefile [PYTHON]: Likewise.
11867 * conform/Makefile [PYTHON]: Likewise.
11868 * manual/Makefile [PYTHON]: Likewise.
11869 * math/Makefile [PYTHON]: Likewise.
11871 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11873 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
11874 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
11875 answer to interrupt_operation, return EIEIO instead of EINTR.
11876 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11877 _hurd_intr_rpc_msg_about_to global point to start of controlled
11878 assembly snippet. Make it check canceled flag.
11879 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11880 the _hurd_intr_rpc_msg_about_to point.
11881 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11882 issue, remove cancel flag check.
11884 2018-10-26 Joseph Myers <joseph@codesourcery.com>
11886 * scripts/build-many-glibcs.py: Remove compatibility for missing
11887 os.cpu_count and re.fullmatch.
11889 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11892 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11893 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11894 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11896 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11898 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11901 2018-10-25 Florian Weimer <fweimer@redhat.com>
11905 XFAIL siginfo_t si_band conform test on sparc64.
11906 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11907 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11908 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11909 (conformtest-xfail-conds): Add sparc64-linux.
11910 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11912 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11914 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11916 * elf/elf.h (NT_MIPS_DSP): New macro.
11917 (NT_MIPS_FP_MODE): Likewise.
11919 2018-10-25 Zong Li <zong@andestech.com>
11921 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11922 name by adding the file extension (.so).
11924 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11926 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11927 (test-xfail-ISO11/threads.h/linknamespace,
11928 test-xfail-ISO11/threads.h/conform): Add.
11930 2018-10-24 Joseph Myers <joseph@codesourcery.com>
11932 * math/gen-libm-test.py: Import os.
11933 (ALL_FLOATS_MANUAL): New constant.
11934 (ALL_FLOATS_SUFFIX): Likewise.
11935 (Ulps.all_functions): New function.
11936 (real_all_ulps): Likewise.
11937 (generate_err_table_sub): Likewise.
11938 (generate_err_table): Likewise.
11939 (main): Handle -s and -m options.
11940 * manual/libm-err-tab.pl: Remove.
11941 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11942 instead of libm-err-tab.pl.
11943 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11945 * manual/install.texi (Tools for Compilation): Document
11946 requirement for Python to build manual.
11947 * INSTALL: Regenerated.
11949 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11951 * bits/time64.h: New file.
11952 * include/time.h: Replace internal_time_t with __time64_t.
11953 * posix/bits/types (__time64_t): Add.
11954 * stdlib/Makefile: Add bits/time64.h to includes.
11955 * time/tzfile.c: Replace internal_time_t with __time64_t.
11957 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11959 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11960 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11961 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11962 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11963 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11965 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11966 * posix/spawn_faction_addclose.c
11967 (__posix_spawn_file_actions_addclose): Add hidden definition.
11968 * posix/spawn_faction_adddup2.c
11969 (__posix_spawn_file_actions_adddup2): Likewise.
11970 * posix/spawn_faction_destroy.c
11971 (__posix_spawn_file_actions_destroy): Likewise.
11972 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11974 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11975 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11976 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11978 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11979 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11982 2018-10-24 Andreas Schwab <schwab@suse.de>
11985 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11987 * elf/cache.c (print_cache): Likewise.
11989 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11991 * bits/timesize.h: New file.
11992 * stdlib/Makefile (headers): Add bits/timesize.h.
11993 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11994 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11995 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11996 (__SEM_PAD_AFTER_TIME): Likewise.
11997 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11998 (__SHM_PAD_AFTER_TIME): Likewise.
11999 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
12000 (__MSQ_PAD_BEFORE_TIME): Likewise.
12001 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
12002 (__SEM_PAD_BEFORE_TIME): Likewise.
12003 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
12004 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
12005 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
12006 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
12007 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
12008 (__MSQ_PAD_BEFORE_TIME): Likewise.
12009 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
12010 (__SEM_PAD_BEFORE_TIME): Likewise.
12011 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
12012 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
12013 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
12014 (__MSQ_PAD_BEFORE_TIME): Likewise.
12015 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
12016 (__SEM_PAD_BEFORE_TIME): Likewise.
12017 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
12018 (__SHM_PAD_BEFORE_TIME): Likewise.
12019 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
12020 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
12021 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
12023 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
12025 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
12026 USE_RDTSCP is defined.
12027 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
12028 USE_RDTSCP is defined.
12030 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12032 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
12036 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
12037 independently of other flags.
12039 2018-10-23 Florian Weimer <fweimer@redhat.com>
12041 * time/tst-mktime2.c (N_STRINGS): Remove.
12042 (set_timezone): New function.
12043 (spring_forward_gap): Call it. Use FAIL_EXIT1.
12044 (mktime_test1): Report localtime failure and check errno value.
12046 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
12047 (do_test): Remove alarm call. Use set_timezone and array_length.
12049 2018-10-23 Andreas Schwab <schwab@suse.de>
12051 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
12052 (__start_context): Use END instead of PSEUDO_END.
12054 2018-10-22 Joseph Myers <joseph@codesourcery.com>
12056 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12059 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12063 * wcsmbs/c32rtomb.c: New file.
12064 * wcsmbs/mbrtoc32.c: Likewise.
12065 * wcsmbs/tst-c32-state.c: Likewise.
12066 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
12067 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
12068 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
12069 (tests): Add tst-c32-state.
12070 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
12073 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
12075 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
12076 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
12078 2018-10-19 Joseph Myers <joseph@codesourcery.com>
12081 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
12082 pair and return 0 in that case, and use saved character to
12083 interpret following character.
12084 * wcsmbs/tst-c16-surrogate.c: New file.
12085 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
12086 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
12087 Depend on $(gen-locales)
12089 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
12092 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
12093 (struct siginfo_t): Use correct type for si_band.
12095 2018-10-19 Florian Weimer <fweimer@redhat.com>
12098 * resource/bits/types/struct_rusage.h (struct rusage): Update
12099 comment on struct. Remove extraneous field comment.
12101 2018-10-18 David S. Miller <davem@davemloft.net>
12103 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
12104 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
12105 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
12106 sysdep_routines in subdir elf.
12107 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
12108 version for __vdso_clock_gettime.
12109 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
12111 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12112 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12114 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
12116 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
12118 * sysdeps/i386/init-arch.h: Removed.
12119 * sysdeps/i386/i586/init-arch.h: Likewise.
12120 * sysdeps/i386/i686/init-arch.h: Likewise.
12121 * sysdeps/i386/i686/hp-timing.h: Likewise.
12122 * sysdeps/x86_64/hp-timing.h: Likewise.
12123 * sysdeps/i386/isa.h: New file.
12124 * sysdeps/i386/i586/isa.h: Likewise.
12125 * sysdeps/i386/i686/isa.h: Likewise.
12126 * sysdeps/x86_64/isa.h: Likewise.
12127 * sysdeps/x86/hp-timing.h: New file.
12128 * sysdeps/x86/init-arch.h: Include <isa.h>.
12130 2018-10-17 Joseph Myers <joseph@codesourcery.com>
12132 * math/libm-test-pow.inc (pow_test_data): Do not allow
12133 divide-by-zero exception for pow(+/- 0, -Inf).
12135 2018-10-17 Zack Weinberg <zackw@panix.com>
12137 * manual/job.texi (Job Control is Optional): Remove node, as
12138 job control has not been optional in quite some time.
12139 (Job Control): Mention briefly that systems older than
12140 POSIX.1-2001 might not support job control.
12141 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
12142 defined on systems conforming to POSIX.1-2001.
12144 2018-10-17 Arjun Shankar <arjun@redhat.com>
12147 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
12149 * (__gconv_read_conf): Mark function static.
12150 * (once): New static variable.
12151 * (__gconv_load_conf): New function.
12152 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
12153 * iconv/gconv_db.c (once): Remove static variable.
12154 * (__gconv_compare_alias): Use __gconv_load_conf instead of
12156 * (__gconv_find_transform): Likewise.
12157 * iconv/tst-iconv-mt.c: New test.
12158 * iconv/Makefile: Add tst-iconv_mt.
12160 2018-10-17 Joseph Myers <joseph@codesourcery.com>
12162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12164 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
12165 (shmatt_t): Define as __syscall_ulong_t.
12166 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
12167 and [__SHM_PAD_AFTER_TIME].
12168 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
12169 Define shm_segsz and associated padding based on
12170 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
12171 Use __syscall_ulong_t instead of unsigned long int.
12172 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
12174 [__USE_MISC] (struct shm_info): Likewise.
12175 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
12176 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
12177 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
12178 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
12179 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
12180 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
12181 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
12182 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
12183 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12184 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12185 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12189 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
12190 (SHMLBA): Remove macro.
12191 (__getpagesize): Remove function declaration.
12192 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
12194 (SHMLBA): Remove macro.
12195 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
12197 (SHMLBA): Remove macro.
12198 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
12200 (SHMLBA): Remove macro.
12201 (__getpagesize): Remove function declaration.
12202 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
12204 (SHMLBA): Remove macro.
12205 (__getshmlba): Remove function declaration.
12206 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
12207 (SHMLBA): Remove macro.
12208 (__getpagesize): Remove function declaration.
12209 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
12210 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
12211 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12212 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
12213 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
12214 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
12215 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
12216 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
12217 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
12218 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
12220 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
12223 * nptl/tst-mutex10.c: New File.
12224 * nptl/Makefile (tests): Add tst-mutex10.
12225 (tst-mutex10-ENV): New variable.
12226 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
12227 Ensure that elision path is used if elision is available.
12228 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
12230 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
12232 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
12233 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
12234 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
12235 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
12237 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
12238 (__pthread_mutex_cond_lock_adjust): Likewise.
12239 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12241 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
12242 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12243 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12244 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
12246 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12247 Use atomic_load_relaxed and atomic_store_relaxed.
12248 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
12249 Use atomic_store_relaxed.
12251 2018-10-17 Andreas Schwab <schwab@suse.de>
12253 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
12254 * crypt/badsalttest.c (TIMEOUT): Likewise.
12255 * crypt/sha256c-test.c (TIMEOUT): Likewise.
12256 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
12257 * io/test-lfs.c (TIMEOUT): Likewise.
12258 * libio/tst-atime.c (TIMEOUT): Likewise.
12259 * localedata/tst-leaks.c (TIMEOUT): Likewise.
12260 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
12261 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
12262 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
12263 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
12264 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
12265 * nptl/tst-cond11.c (TIMEOUT): Likewise.
12266 * nptl/tst-cond14.c (TIMEOUT): Likewise.
12267 * nptl/tst-cond15.c (TIMEOUT): Likewise.
12268 * nptl/tst-cond24.c (TIMEOUT): Likewise.
12269 * nptl/tst-cond25.c (TIMEOUT): Likewise.
12270 * nptl/tst-kill2.c (TIMEOUT): Likewise.
12271 * nptl/tst-kill3.c (TIMEOUT): Likewise.
12272 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
12273 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
12274 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
12275 * nptl/tst-once2.c (TIMEOUT): Likewise.
12276 * nptl/tst-once3.c (TIMEOUT): Likewise.
12277 * nptl/tst-once4.c (TIMEOUT): Likewise.
12278 * nptl/tst-robust8.c (TIMEOUT): Likewise.
12279 * nptl/tst-robust9.c (TIMEOUT): Likewise.
12280 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
12281 * nptl/tst-sem14.c (TIMEOUT): Likewise.
12282 * nptl/tst-sem6.c (TIMEOUT): Likewise.
12283 * nptl/tst-signal3.c (TIMEOUT): Likewise.
12284 * nptl/tst-spin4.c (TIMEOUT): Likewise.
12285 * nptl/tst-tls3.c (TIMEOUT): Likewise.
12286 * nptl/tst-tls4.c (TIMEOUT): Likewise.
12287 * posix/tst-chmod.c (TIMEOUT): Likewise.
12288 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
12289 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
12290 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
12291 * posix/tst-regex2.c (TIMEOUT): Likewise.
12292 * posix/tst-waitid.c (TIMEOUT): Likewise.
12293 * rt/tst-aio.c (TIMEOUT): Likewise.
12294 * rt/tst-aio10.c (TIMEOUT): Likewise.
12295 * rt/tst-aio4.c (TIMEOUT): Likewise.
12296 * rt/tst-aio5.c (TIMEOUT): Likewise.
12297 * rt/tst-aio6.c (TIMEOUT): Likewise.
12298 * rt/tst-aio64.c (TIMEOUT): Likewise.
12299 * rt/tst-aio7.c (TIMEOUT): Likewise.
12300 * rt/tst-aio9.c (TIMEOUT): Likewise.
12301 * rt/tst-clock.c (TIMEOUT): Likewise.
12302 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
12303 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
12304 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
12305 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
12306 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
12307 * rt/tst-timer4.c (TIMEOUT): Likewise.
12308 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
12309 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
12310 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
12311 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
12312 * time/tst-ftime.c (TIMEOUT): Likewise.
12313 * timezone/tst-tzset.c (TIMEOUT): Likewise.
12315 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
12317 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
12318 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
12321 2018-10-15 Joseph Myers <joseph@codesourcery.com>
12323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12325 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
12326 instead of <bits/wordsize.h>.
12327 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
12328 and [__SEM_PAD_AFTER_TIME].
12329 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
12330 __syscall_ulong_t instead of unsigned long int.
12331 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
12332 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
12333 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
12334 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
12335 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
12336 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
12337 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
12338 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
12339 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12340 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12341 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12343 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
12345 regex: simplify by using intprops.h
12347 * posix/regex_internal.h [_LIBC]: Include intprops.h.
12348 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
12349 intprops.h defines them.
12351 regex: __builtin_expect → __glibc_unlikely
12353 This refactoring was prompted by a problem when the regex code is
12354 used as part of Gnulib and when the builder’s compiler does not grok
12355 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
12356 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
12357 Although this refactoring does not fix the problem directly,
12358 we might as well have Gawk use the now-preferred glibc style for when
12359 __builtin_expect is unavailable.
12360 * posix/regex_internal.h (BE): Remove.
12361 All uses replaced by __glibc_unlikely or __glibc_likely.
12363 2018-10-11 Joseph Myers <joseph@codesourcery.com>
12365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12367 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
12368 instead of <bits/wordsize.h>.
12369 (msgqnum_t): Define as __syscall_ulong_t.
12370 (msglen_t): Likewise.
12371 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
12372 and [__MSQ_PAD_AFTER_TIME].
12373 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
12374 __syscall_ulong_t instead of unsigned long int.
12375 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
12376 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
12377 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
12378 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
12379 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
12380 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
12381 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
12382 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
12383 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12384 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12385 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12387 2018-10-10 Joseph Myers <joseph@codesourcery.com>
12389 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
12390 (struct shmid_ds): Condition padding after time fields on
12391 [__WORDSIZE == 32].
12392 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
12393 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
12394 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12396 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
12397 (struct semid_ds): Condition padding after time fields on
12398 [__WORDSIZE == 32].
12399 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
12400 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
12401 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
12402 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12404 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
12405 (struct msqid_ds): Condition padding after time fields on
12406 [__WORDSIZE == 32].
12407 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
12408 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
12409 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
12410 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12412 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12414 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
12416 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12418 * libio/tst-readline.c (TIMEOUT): Define.
12420 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
12422 mktime fix for Gnulib + coreutils
12424 This fix affects only Gnulib. Problem discovered when
12425 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
12427 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
12428 Do not define since it is not used. Defining an unused static
12429 function prompts a warning from GCC when Coreutils is configured
12430 with --enable-gcc-warnings.
12432 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12434 * benchtests/scripts/compare_bench.py (main): set float type on
12435 threshold argument.
12437 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
12440 * localedata/locales/kl_GL (mon): Update, the relative case.
12441 (alt_mon): Add, fill with month names in the nominative case.
12442 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
12443 (d_fmt): Set to "%b %d %Y".
12445 2018-10-04 Joseph Myers <joseph@codesourcery.com>
12447 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
12448 <bits/mman-linux.h>.
12449 (PROT_READ): Don't define here.
12450 (PROT_WRITE): Likewise.
12451 (PROT_EXEC): Likewise.
12452 (PROT_NONE): Likewise.
12453 (PROT_GROWSDOWN): Likewise.
12454 (PROT_GROWSUP): Likewise.
12455 (MAP_SHARED): Likewise.
12456 (MAP_PRIVATE): Likewise.
12457 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
12458 [__USE_MISC] (MAP_FILE): Likewise.
12459 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
12460 [__USE_MISC] (MAP_ANON): Likewise.
12461 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
12462 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
12463 (MCL_CURRENT): Likewise.
12464 (MCL_FUTURE): Likewise.
12465 (MCL_ONFAULT): Likewise.
12466 [__USE_MISC] (MADV_NORMAL): Likewise.
12467 [__USE_MISC] (MADV_RANDOM): Likewise.
12468 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
12469 [__USE_MISC] (MADV_WILLNEED): Likewise.
12470 [__USE_MISC] (MADV_DONTNEED): Likewise.
12471 [__USE_MISC] (MADV_FREE): Likewise.
12472 [__USE_MISC] (MADV_REMOVE): Likewise.
12473 [__USE_MISC] (MADV_DONTFORK): Likewise.
12474 [__USE_MISC] (MADV_DOFORK): Likewise.
12475 [__USE_MISC] (MADV_HWPOISON): Likewise.
12476 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
12477 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
12478 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
12479 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
12480 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
12481 (__MAP_ANONYMOUS): New macro.
12482 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
12483 <bits/mman-linux.h> inclusion.
12484 (MAP_FIXED): Likewise.
12485 (MS_SYNC): Likewise.
12486 (MS_ASYNC): Likewise.
12487 (MS_INVALIDATE): Likewise.
12488 [__USE_MISC] (MADV_MERGEABLE): Likewise.
12489 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
12490 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
12491 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
12492 [__USE_MISC] (MADV_DONTDUMP): Likewise.
12493 [__USE_MISC] (MADV_DODUMP): Likewise.
12494 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
12495 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
12498 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
12500 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
12501 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
12502 Add test-nldbl-redirect.
12503 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
12504 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
12505 $(objpfx)libnldbl_nonshared.a.
12507 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
12509 * support/support.h (support_objdir_elf_ldso): New variable.
12510 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
12511 * support/Makefile (CFLAGS-support_paths.c): Add definition
12512 for OBJDIR_ELF_LDSO_PATH.
12513 * support/test-container.c (main): Search for the ld.so
12514 which is also used by the testsuite.
12516 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
12519 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
12520 should be "sap" rather than "sab".
12521 (day): Fix spelling of Sunday, should be "sapaat" rather than
12524 2018-10-02 Joseph Myers <joseph@codesourcery.com>
12526 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12528 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
12531 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
12532 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
12533 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
12535 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12537 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
12539 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
12541 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
12543 (CFLAGS-elision-unlock.c): Likewise.
12544 (CFLAGS-elision-timed.c): Likewise.
12545 (CFLAGS-elision-trylock.c): Likewise.
12546 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12548 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12551 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12552 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12553 new fd_to_filename interface.
12554 * libio/freopen64.c (freopen64): Likewise.
12555 * libio/tst-memstream.h: New file.
12556 * libio/tst-memstream4.c: Likewise.
12557 * libio/tst-wmemstream4.c: Likewise.
12558 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12559 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12560 and remove internal dynamic allocation.
12562 2018-10-01 Joseph Myers <joseph@codesourcery.com>
12564 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12565 (MREMAP_MAYMOVE): Do not define here.
12566 [__USE_GNU] (MREMAP_FIXED): Likewise.
12567 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12568 (MREMAP_MAYMOVE): Define here instead.
12569 [__USE_GNU] (MREMAP_FIXED): Likewise.
12570 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12571 (MREMAP_MAYMOVE): Remove.
12572 [__USE_GNU] (MREMAP_FIXED): Likewise.
12574 2018-09-28 Joseph Myers <joseph@codesourcery.com>
12576 * math/fromfp.h: Do not include <math_private.h>.
12577 * math/s_cacosh_template.c: Likewise.
12578 * math/s_casin_template.c: Likewise.
12579 * math/s_casinh_template.c: Likewise.
12580 * math/s_ccos_template.c: Likewise.
12581 * math/s_cproj_template.c: Likewise.
12582 * math/s_fdim_template.c: Likewise.
12583 * math/s_fmaxmag_template.c: Likewise.
12584 * math/s_fminmag_template.c: Likewise.
12585 * math/s_iseqsig_template.c: Likewise.
12586 * math/s_ldexp_template.c: Likewise.
12587 * math/s_nextdown_template.c: Likewise.
12588 * math/w_log1p_template.c: Likewise.
12589 * math/w_scalbln_template.c: Likewise.
12590 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12591 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12592 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12593 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12594 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12595 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12596 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12597 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12598 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12599 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12600 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12601 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12602 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12603 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12604 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12605 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12606 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12607 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12608 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12609 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12610 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12611 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12612 * sysdeps/ieee754/k_standardf.c: Likewise.
12613 * sysdeps/ieee754/k_standardl.c: Likewise.
12614 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12615 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12616 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12617 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12618 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12619 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12620 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12621 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12622 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12623 * sysdeps/ieee754/s_signgam.c: Likewise.
12624 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12625 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12626 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12627 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12628 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12629 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12630 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12631 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12632 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12633 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12634 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12635 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12636 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12637 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12638 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12639 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12640 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12641 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12642 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12643 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12644 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12645 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12646 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12647 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12648 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12649 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12650 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12651 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12652 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12653 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12654 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12655 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12656 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12657 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12658 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12659 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12660 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12662 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12664 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12667 * sysdeps/i386/dl-cet.c: Removed.
12668 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12670 (_dl_runtime_profile_shstk): Likewise.
12671 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12672 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12674 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12677 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12678 do_test_with_invalid_iov): New tests.
12679 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12680 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12681 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12683 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12684 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12685 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12687 2018-09-27 Joseph Myers <joseph@codesourcery.com>
12689 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12690 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12691 (MATH_REDIRECT_BINARY_ARGS): New macro.
12692 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12693 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12694 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12696 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12697 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12698 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12699 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12700 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12701 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12702 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12709 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12710 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12715 * sysdeps/generic/math_private_calls.h
12716 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12717 Do not declare and define as an inline function.
12718 * math/divtc3.c (__divtc3): Use copysign functions instead of
12719 __copysign variants.
12720 * math/multc3.c (__multc3): Likewise.
12721 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12722 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12723 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12724 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12726 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12727 (__ieee754_yn): Likewise.
12728 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12729 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12730 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12731 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12732 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12734 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12735 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12737 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12739 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12741 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12742 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12744 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12745 (__ieee754_ynf): Likewise.
12746 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12747 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12748 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12749 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12751 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12752 (__ieee754_ynl): Likewise.
12753 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12754 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12755 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12757 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12758 (__ieee754_ynl): Likewise.
12759 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12760 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12761 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12762 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12764 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12766 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12767 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12768 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12769 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12770 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12772 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12773 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12774 using MATH_REDIRECT.
12775 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12777 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12779 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12780 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12781 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12782 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12783 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12788 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12789 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12790 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12791 (round): Redirect to __round.
12792 (__roundl): Call round instead of __round.
12793 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12795 [_ARCH_PWR5X] (__roundf): Likewise.
12796 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12797 functions instead of __round variants.
12798 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12799 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12801 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12803 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12805 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12806 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12808 (__ieee754_expl): Call roundl instead of __roundl.
12810 2018-09-27 Andreas Schwab <schwab@suse.de>
12813 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12814 (do_test): Make st1 static.
12816 2018-09-26 Andreas Schwab <schwab@suse.de>
12819 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12820 * elf/Makefile (tests): Add tst-unwind-ctor.
12821 (modules-names): Add tst-unwind-ctor-lib.
12822 ($(objpfx)tst-unwind-ctor): Depend on
12823 $(objpfx)tst-unwind-ctor-lib.so.
12825 2018-09-26 Joseph Myers <joseph@codesourcery.com>
12827 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12828 file. Most contents moved from ....
12829 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12830 and include <bits/mman-map-flags-generic.h>.
12831 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12832 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12833 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12834 <bits/mman-map-flags-generic.h>.
12835 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12836 macros defined in <bits/mman-map-flags-generic.h>.
12837 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12838 <bits/mman-map-flags-generic.h>.
12839 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12840 defined in <bits/mman-map-flags-generic.h>.
12842 2018-09-26 Andreas Schwab <schwab@suse.de>
12844 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12847 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12848 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12849 Fangrui Song <maskray@google.com>
12852 * config.make.in (have-textrel_ifunc): New define.
12853 * configure.ac: Add check if linker supports textrel relocation with
12855 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12857 (CFLAGS-tst-ifunc-textrel.c): New rule.
12858 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12859 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12860 * elf/tst-ifunc-textrel.c: New file.
12862 2018-09-25 Joseph Myers <joseph@codesourcery.com>
12864 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12865 <bits/procfs-prregset.h>.
12866 (prgregset_t): Define using __prgregset_t.
12867 (prfpregset_t): Define using __prfpregset_t.
12868 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12869 (sysdep_headers): Add bits/procfs-prregset.h.
12870 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12871 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12872 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12873 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12875 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12876 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12877 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12879 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12880 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12881 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12882 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12883 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12884 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12885 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12886 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12887 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12888 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12889 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12890 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12891 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12892 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12893 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12894 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12895 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12896 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12897 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12898 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12899 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12900 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12901 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12902 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12904 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12905 AArch64 version. Include <bits/procfs.h>.
12906 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12907 (sysdep_headers): Add bits/procfs.h.
12908 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12909 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12910 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12911 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12912 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12913 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12914 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12915 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12916 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12917 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12918 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12919 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12920 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12921 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12922 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12923 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12924 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12926 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12928 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12931 2018-09-25 Arjun Shankar <arjun@redhat.com>
12933 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12934 (__gconv_max_path_elem_len): Likewise.
12935 (__gconv_nmodules): Likewise.
12936 (__gconv_get_path): Likewise.
12937 (path_elem): Move to ...
12938 * iconv/gconv_conf.c: ... here.
12939 (__gconv_get_path): Mark function static.
12940 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12941 * iconv/gconv_open.c: ... here.
12943 2018-09-24 Andreas Schwab <schwab@suse.de>
12945 * scripts/haveversions.awk: New file.
12946 * Makerules ($(common-objpfx)Versions.def)
12947 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12948 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12950 * Makeconfig ($(common-objpfx)Versions.def)
12951 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12952 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12954 ($(common-objpfx)Versions.mk): New rule. Include it.
12955 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12956 Emit error if build-obsolete-nsl = yes.
12957 * manual/install.texi (Configuring and compiling): Describe
12958 --enable-obsolete-nsl as unavaiable after version 2.28.
12959 * INSTALL: Regenerate.
12961 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12963 * NEWS: Add note about new TLE support on powerpc64le.
12964 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12965 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12967 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12968 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12969 * sysdeps/powerpc/powerpc32/sysdep.h,
12970 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12971 ABORT_TRANSACTION): Remove macros.
12972 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12973 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12974 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12976 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12977 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12979 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12981 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
12984 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12985 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12986 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12987 which is the same as in it_IT.
12988 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12989 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12991 2018-09-20 Joseph Myers <joseph@codesourcery.com>
12993 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12994 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12995 using MATH_REDIRECT.
12996 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12998 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12999 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13000 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
13001 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13002 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13003 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
13005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
13006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
13007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
13008 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13009 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13010 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
13011 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
13012 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
13013 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
13014 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
13015 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13016 (ceil): Redirect to __ceil.
13017 (floor): Redirect to __floor.
13018 (trunc): Redirect to __trunc.
13019 (__truncl): Call trunc instead of __trunc.
13020 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
13022 [_ARCH_PWR5X] (__truncf): Likewise.
13023 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
13024 trunc functions instead of __trunc variants.
13025 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13027 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13029 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13031 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13034 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
13035 [__i586__ || __pentium__].
13036 [__i486__]: Handle explicitly.
13037 (HAS_CPUID): Define to 1 if above macros are undefined.
13038 (HAS_I586): Likewise.
13039 (HAS_I686): Likewise.
13041 2018-09-20 Florian Weimer <fweimer@redhat.com>
13043 * misc/tst-gethostid.c: New file.
13044 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
13045 (tst-gethostid): Link with -ldl.
13047 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
13049 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
13050 value from gethostbyname_r.
13052 2018-09-19 Carlos O'Donell <carlos@redhat.com>
13054 * stdlib/tst-setcontext9.c (f1): Rename to...
13056 (f1b): New function implementing lower half of f1 in alternate stack.
13058 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
13060 Fix mktime localtime offset confusion
13062 * include/time.h (__mktime_internal): The localtime offset is now
13063 of type long int instead of time_t. This is the longstanding type
13064 in glibc, and it is more than enough to represent difference
13065 between localtime and gmtime even if it is 32 bits and time_t is
13066 64. Changing it now will let us avoid an unnecessary change when
13067 time_t is widened to 64 bits on 32-bit platforms.
13068 * time/mktime-internal.h (mktime_offset_t): Now long int.
13070 Merge mktime, timegm from upstream Gnulib
13071 [BZ #23603][BZ #16346]
13072 This fixes some obscure problems with integer overflow.
13073 Although it looks scary, it is almost all a byte-for-byte copy
13074 from Gnulib, and the Gnulib code has been tested reasonably well.
13075 * include/intprops.h: New file, copied from Gnulib.
13076 * include/verify.h, time/mktime-internal.h:
13077 New tiny files, simplified from Gnulib.
13078 * time/mktime.c: Copy from Gnulib. This has the following changes:
13079 Do not include config.h if DEBUG_MKTIME is nonzero.
13080 Include stdbool.h, intprops.h, verify.h.
13081 Include string.h only if needed.
13082 Include stdlib.h on MS-Windows.
13083 Include mktime-internal.h.
13084 (DEBUG_MKTIME): Default to 0, and simplify later uses.
13085 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
13086 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
13087 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
13088 simplify later conditionals; default the others to zero. Use
13089 these conditionals to express only the code needed on the current
13090 platform. In uses of these conditionals, explicitly spell out how
13091 _LIBC affects things, so it’s easier to review from a glibc
13093 (WRAPV): Remove; no longer needed now that we have
13094 systematic overflow checking.
13095 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
13096 compartmentalize tzset issues. Move system-dependent tzsettish
13097 code here from mktime.
13098 (verify): Remove; now done by verify.h. All uses changed.
13099 (long_int): Use a more-conservative definition, to avoid
13101 (SHR): Remove, replacing with ...
13102 (shr): New function, which means we needn’t worry about side
13103 effects in args, and conversion analysis is simpler.
13104 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
13105 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
13106 (time_t_avg, time_t_add_ok): Remove.
13107 (mktime_min, mktime_max): New constants.
13108 (leapyear, isdst_differ): Use bool for booleans.
13109 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
13110 Use long_int, not time_t, for mktime differences.
13111 (long_int_avg): New function, replacing time_t_avg.
13112 INT_ADD_WRAPV replaces time_t_add_ok.
13113 (guess_time_tm): 6th arg is now long_int, not time_t const *.
13115 (convert_time): New function.
13116 (ranged_convert): Use it.
13117 (__mktime_internal): Last arg now points to mktime_offset_t, not
13118 time_t. All uses changed. This is a no-op on glibc, where
13119 mktime_offset_t is always time_t. Use int, not time_t, for UTC
13120 offset guess. Directly check for integer overflow instead of
13121 using a heuristic that works only 99.9...% of the time.
13122 Access *OFFSET only once, to avoid an unlikely race if the
13123 compiler delays a load and if this cascades into a signed integer
13125 (mktime): Move tzsettish code to my_tzset, and move
13126 localtime_offset to within mktime so that it doesn’t
13127 need a separate ifdef.
13128 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
13129 instead of localtime.
13130 * time/timegm.c: Copy from Gnulib. This has the following changes:
13131 Include mktime-internal.h.
13132 [!_LIBC]: Include config.h and time.h. Do not include
13133 timegm.h or time_r.h. Make __mktime_internal a macro,
13134 and include mktime-internal.h to get its declaration.
13135 (timegm): Temporary is now mktime_offset_t, not time_t.
13136 This affects only Gnulib.
13138 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
13141 * string/test-strstr.c (pr23637): New function.
13142 (test_main): Add tests with longer needles.
13143 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
13144 * string/strstr.c (AVAILABLE): Likewise.
13146 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
13148 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
13150 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
13152 * NEWS: Mention pow improvements.
13153 * math/Makefile (type-double-routines): Add e_pow_log_data.
13154 * sysdeps/generic/math_private.h (__exp1): Remove.
13155 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
13156 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
13157 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
13159 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
13160 (exp_inline): Remove.
13161 (__ieee754_exp): Only single double input is handled.
13162 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
13163 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
13164 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
13165 (__pow_log_data): Define.
13166 * sysdeps/ieee754/dbl-64/upow.h: Remove.
13167 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
13168 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
13169 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
13171 (CFLAGS-e_pow-fma4.c): Likewise.
13173 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
13175 Simplify tzfile fstat failure code
13177 * time/tzfile.c (__tzfile_read): Simplify slightly.
13179 Fix tzfile low-memory assertion failure
13181 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
13182 when registering time zone abbreviations.
13184 2018-09-18 Joseph Myers <joseph@codesourcery.com>
13186 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
13187 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
13188 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
13189 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
13190 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
13191 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
13192 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
13193 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13194 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13196 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
13198 (__ceill): Call ceil instead of __ceil.
13199 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
13201 (__floorl): Call floor instead of __floor.
13203 2018-09-17 Joseph Myers <joseph@codesourcery.com>
13205 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13206 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
13207 using MATH_REDIRECT.
13208 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
13210 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
13211 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13212 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13213 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
13214 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13215 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13216 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13217 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
13218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
13219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
13220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
13221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
13222 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13223 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
13225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
13226 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
13227 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
13228 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
13230 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
13231 functions instead of __ceil variants.
13232 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13233 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
13235 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
13237 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13238 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
13240 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
13241 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13244 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
13246 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
13247 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
13248 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
13249 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
13250 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
13251 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
13252 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
13253 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
13254 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
13255 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
13256 (ILL_BADIADDR): Remove constant.
13257 (TRAP_BRANCH): Likewise.
13258 (TRAP_HWBKPT): Likewise.
13260 2018-09-14 Joseph Myers <joseph@codesourcery.com>
13263 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
13264 Remove [_MIPS_SIM = _ABIN32] conditional case.
13265 (struct elf_prpsinfo): Likewise.
13268 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
13269 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
13270 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
13272 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
13273 elf_prpsinfo): Likewise.
13274 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
13275 elf_prpsinfo): Likewise.
13276 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
13279 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13280 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
13281 using MATH_REDIRECT.
13282 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
13284 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
13285 * sysdeps/alpha/fpu/s_rint.c: Likewise.
13286 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
13287 * sysdeps/i386/fpu/s_rintl.c: Likewise.
13288 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13289 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13290 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
13291 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13292 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13293 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13294 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
13295 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
13296 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
13297 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
13298 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
13299 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13300 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13301 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
13302 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
13303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
13304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
13305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
13306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
13307 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
13308 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
13309 * sysdeps/x86_64/fpu/math_private.h: Remove file.
13310 * math/e_scalb.c (invalid_fn): Use rint functions instead of
13312 * math/e_scalbf.c (invalid_fn): Likewise.
13313 * math/e_scalbl.c (invalid_fn): Likewise.
13314 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13316 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13318 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
13319 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
13320 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13322 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13324 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13326 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
13327 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
13329 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13330 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
13332 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13333 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
13334 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13335 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
13336 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13337 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
13338 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13339 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
13340 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13341 && !NO_MATH_REDIRECT] (floor): Likewise.
13342 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
13344 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
13345 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13346 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13347 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
13348 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13349 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13351 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
13352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
13353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
13354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
13355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
13356 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13357 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13358 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13359 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13360 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
13361 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
13362 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
13364 [_ARCH_PWR5X] (__floorf): Likewise.
13365 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
13367 [__SSE4_1__] (__floorf): Likewise.
13368 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
13369 instead of __floor variants.
13370 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
13371 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
13372 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
13373 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
13374 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
13375 * math/w_tgamma_compat.c (__tgamma): Likewise.
13376 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
13377 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
13378 * math/w_tgammal_compat.c (__tgammal): Likewise.
13379 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
13380 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13382 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13383 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
13384 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13385 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13387 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13388 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
13390 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13391 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
13393 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13394 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
13396 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13397 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13398 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
13399 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
13400 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
13401 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13403 2018-09-12 Joseph Myers <joseph@codesourcery.com>
13405 * elf/Makefile (modules-names-tests): New variable.
13407 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13409 * NEWS: Mention log2 improvements.
13410 * math/Makefile (type-double-routines): Add e_log2_data.
13411 * sysdeps/i386/fpu/e_log2_data.c: New file.
13412 * sysdeps/ia64/fpu/e_log2_data.c: New file.
13413 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
13414 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
13415 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
13416 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
13417 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
13419 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13421 * NEWS: Mention log improvement.
13422 * math/Makefile (type-double-routines): Add e_log_data.
13423 * sysdeps/i386/fpu/e_log_data.c: New file.
13424 * sysdeps/ia64/fpu/e_log_data.c: New file.
13425 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
13426 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
13427 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
13428 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
13429 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
13430 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
13432 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
13433 Xuepeng Guo <xuepeng.guo@intel.com>
13436 * sysdeps/i386/start.S: Include <sysdep.h>
13437 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
13438 enabled. Add cfi_undefined (eip).
13440 2018-09-11 Joseph Myers <joseph@codesourcery.com>
13442 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
13444 (EXTRACT_WORDS64): Likewise.
13445 (INSERT_WORDS64): Likewise.
13446 (GET_FLOAT_WORD): Likewise.
13447 (SET_FLOAT_WORD): Likewise.
13449 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
13451 (Config.build_gcc): Use --disable-libsanitizer for first GCC
13452 build, but not for second build if --full-gcc. Use
13453 --enable-languages=all for second build if --full-gcc.
13454 (get_parser): Add --full-gcc option.
13455 (main): Update call to Context.
13457 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
13460 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
13461 Single Quotation Mark).
13462 (thousands_sep): Likewise.
13463 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
13464 * localedata/locales/it_IT (thousands_sep): Use ".".
13465 (grouping): Use "3;3".
13467 2018-09-10 Joseph Myers <joseph@codesourcery.com>
13469 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13470 x86_64 and i686 configs using --enable-obsolete-rpc
13471 --enable-obsolete-nsl.
13473 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13475 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13477 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13479 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
13480 Increment size of new_argv by one.
13482 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
13485 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
13486 * localedata/locales/ar_IN (d_fmt): Likewise.
13487 * localedata/locales/bhb_IN (d_fmt): Likewise.
13488 * localedata/locales/bho_IN (d_fmt): Likewise.
13489 * localedata/locales/bn_BD (d_fmt): Likewise.
13490 * localedata/locales/bn_IN (d_fmt): Likewise.
13491 * localedata/locales/doi_IN (d_fmt): Likewise.
13492 * localedata/locales/gu_IN (d_fmt): Likewise.
13493 * localedata/locales/hi_IN (d_fmt): Likewise.
13494 * localedata/locales/hne_IN (d_fmt): Likewise.
13495 * localedata/locales/kn_IN (d_fmt): Likewise.
13496 * localedata/locales/mag_IN (d_fmt): Likewise.
13497 * localedata/locales/mai_IN (d_fmt): Likewise.
13498 * localedata/locales/mjw_IN (d_fmt): Likewise.
13499 * localedata/locales/ml_IN (d_fmt): Likewise.
13500 * localedata/locales/mni_IN (d_fmt): Likewise.
13501 * localedata/locales/mr_IN (d_fmt): Likewise.
13502 * localedata/locales/pa_IN (d_fmt): Likewise.
13503 * localedata/locales/raj_IN (d_fmt): Likewise.
13504 * localedata/locales/sat_IN (d_fmt): Likewise.
13505 * localedata/locales/sd_IN (d_fmt): Likewise.
13506 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
13507 * localedata/locales/ta_IN (d_fmt): Likewise.
13508 * localedata/locales/ta_LK (d_fmt): Likewise.
13509 * localedata/locales/tcy_IN (d_fmt): Likewise.
13510 * localedata/locales/ur_IN (d_fmt): Likewise.
13512 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
13513 * localedata/locales/ks_IN (d_fmt): Likewise.
13514 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
13516 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
13517 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
13518 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
13519 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
13521 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
13523 * NEWS: Mention exp and exp2 improvements.
13524 * math/Makefile (libm-support): Remove t_exp.
13525 (type-double-routines): Add math_err and e_exp_data.
13526 * sysdeps/aarch64/libm-test-ulps: Update.
13527 * sysdeps/arm/libm-test-ulps: Update.
13528 * sysdeps/i386/fpu/e_exp_data.c: New file.
13529 * sysdeps/i386/fpu/math_err.c: New file.
13530 * sysdeps/i386/fpu/t_exp.c: Remove.
13531 * sysdeps/ia64/fpu/e_exp_data.c: New file.
13532 * sysdeps/ia64/fpu/math_err.c: New file.
13533 * sysdeps/ia64/fpu/t_exp.c: Remove.
13534 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
13535 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
13536 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
13537 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
13538 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
13539 * sysdeps/ieee754/dbl-64/math_config.h: New file.
13540 * sysdeps/ieee754/dbl-64/math_err.c: New file.
13541 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
13542 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
13543 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
13544 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
13545 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
13546 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
13547 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13551 2018-09-05 Joseph Myers <joseph@codesourcery.com>
13553 * sysdeps/alpha/fpu/math_private.h: Remove.
13555 * sysdeps/generic/math_private.h
13556 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13557 Move this inline function ....
13558 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13559 * include/math.h [!_ISOMAC]: To here....
13561 2018-09-04 Joseph Myers <joseph@codesourcery.com>
13563 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13565 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13566 * include/fenv.h [!_ISOMAC]: ... to here.
13567 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13568 (feraiseexcept): Likewise.
13569 * math/fromfp.h: Do not include <fenv_private.h>.
13570 * math/s_cexp_template.c: Likewise.
13571 * math/s_csin_template.c: Likewise.
13572 * math/s_csinh_template.c: Likewise.
13573 * math/s_ctan_template.c: Likewise.
13574 * math/s_ctanh_template.c: Likewise.
13575 * math/s_iseqsig_template.c: Likewise.
13576 * math/w_acos_compat.c: Likewise.
13577 * math/w_acosf_compat.c: Likewise.
13578 * math/w_acosl_compat.c: Likewise.
13579 * math/w_asin_compat.c: Likewise.
13580 * math/w_asinf_compat.c: Likewise.
13581 * math/w_asinl_compat.c: Likewise.
13582 * math/w_j0_compat.c: Likewise.
13583 * math/w_j0f_compat.c: Likewise.
13584 * math/w_j0l_compat.c: Likewise.
13585 * math/w_j1_compat.c: Likewise.
13586 * math/w_j1f_compat.c: Likewise.
13587 * math/w_j1l_compat.c: Likewise.
13588 * math/w_jn_compat.c: Likewise.
13589 * math/w_jnf_compat.c: Likewise.
13590 * math/w_log10_compat.c: Likewise.
13591 * math/w_log10f_compat.c: Likewise.
13592 * math/w_log10l_compat.c: Likewise.
13593 * math/w_log2_compat.c: Likewise.
13594 * math/w_log2f_compat.c: Likewise.
13595 * math/w_log2l_compat.c: Likewise.
13596 * math/w_log_compat.c: Likewise.
13597 * math/w_logf_compat.c: Likewise.
13598 * math/w_logl_compat.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13604 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13605 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13606 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13607 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13608 * sysdeps/ieee754/k_standardl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13610 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13611 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13612 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13613 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13614 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13615 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13616 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13619 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13621 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13622 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13623 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13624 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13626 * math/w_ilogb_template.c: Include <fenv.h> instead of
13628 * math/w_llogb_template.c: Likewise.
13629 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13630 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13632 2018-09-03 Joseph Myers <joseph@codesourcery.com>
13634 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13635 * math/fromfp.h: Include <fenv_private.h>.
13636 * math/math-narrow.h: Likewise.
13637 * math/s_cexp_template.c: Likewise.
13638 * math/s_csin_template.c: Likewise.
13639 * math/s_csinh_template.c: Likewise.
13640 * math/s_ctan_template.c: Likewise.
13641 * math/s_ctanh_template.c: Likewise.
13642 * math/s_iseqsig_template.c: Likewise.
13643 * math/w_acos_compat.c: Likewise.
13644 * math/w_acosf_compat.c: Likewise.
13645 * math/w_acosl_compat.c: Likewise.
13646 * math/w_asin_compat.c: Likewise.
13647 * math/w_asinf_compat.c: Likewise.
13648 * math/w_asinl_compat.c: Likewise.
13649 * math/w_ilogb_template.c: Likewise.
13650 * math/w_j0_compat.c: Likewise.
13651 * math/w_j0f_compat.c: Likewise.
13652 * math/w_j0l_compat.c: Likewise.
13653 * math/w_j1_compat.c: Likewise.
13654 * math/w_j1f_compat.c: Likewise.
13655 * math/w_j1l_compat.c: Likewise.
13656 * math/w_jn_compat.c: Likewise.
13657 * math/w_jnf_compat.c: Likewise.
13658 * math/w_llogb_template.c: Likewise.
13659 * math/w_log10_compat.c: Likewise.
13660 * math/w_log10f_compat.c: Likewise.
13661 * math/w_log10l_compat.c: Likewise.
13662 * math/w_log2_compat.c: Likewise.
13663 * math/w_log2f_compat.c: Likewise.
13664 * math/w_log2l_compat.c: Likewise.
13665 * math/w_log_compat.c: Likewise.
13666 * math/w_logf_compat.c: Likewise.
13667 * math/w_logl_compat.c: Likewise.
13668 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13669 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13670 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13671 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13672 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13673 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13674 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13675 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13676 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13677 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13680 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13681 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13682 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13685 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13687 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13688 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13689 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13690 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13691 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13692 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13693 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13694 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13695 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13696 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13697 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13698 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13699 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13700 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13701 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13702 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13703 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13704 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13705 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13706 * sysdeps/ieee754/k_standardl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13732 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13733 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13734 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13735 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13737 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13738 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13740 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13742 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13743 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13744 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13745 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13746 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13747 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13748 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13749 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13750 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13751 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13752 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13753 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13754 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13755 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13756 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13757 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13758 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13759 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13760 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13761 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13762 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13763 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13764 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13765 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13766 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13767 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13768 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13769 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13770 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13771 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13772 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13773 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13774 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13775 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13776 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13777 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13779 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13782 * include/stdio.h (__libc_fatal): Mention newline in comment.
13783 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13784 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13785 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13786 * nss/nsswitch.c (__nss_next2): Likewise.
13787 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13788 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13789 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13790 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13791 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13792 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13793 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13794 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13795 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13796 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13797 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13798 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13799 (__netlink_assert_response): Likewise.
13801 2018-08-31 Joseph Myers <joseph@codesourcery.com>
13803 * conform/glibcconform.py: New file.
13804 * conform/list-header-symbols.py: Likewise.
13805 * conform/list-header-symbols.pl: Remove.
13806 * conform/Makefile (tests-special): Only add linknamespace tests
13808 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13810 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13813 * support/Makefile (libsupport-routines): Add
13814 support_copy_file_range and xcopy_file_range.
13815 * support/support.h: Include <sys/types.h>.
13816 (support_copy_file_range): New prototype.
13817 * support/support_copy_file_range.c: New file. Copied and
13818 modified from io/copy_file_range-compat.c.
13819 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13820 instead of copy_file_range.
13821 * support/xcopy_file_range.c: New file.
13822 * support/xunistd.h (xcopy_file_range): New prototype.
13824 2018-08-30 Carlos O'Donell <carlos@redhat.com>
13826 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13827 xpthread_create and xpthread_join.
13829 2018-08-30 Florian Weimer <fweimer@redhat.com>
13831 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13833 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
13835 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13838 2018-08-29 Joseph Myers <joseph@codesourcery.com>
13840 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13841 and minus_oflow as non-finite.
13843 2018-08-28 Joseph Myers <joseph@codesourcery.com>
13845 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13846 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13847 moved to fenv_private.h except for ...
13848 (TOINT_INTRINSICS): Kept in math_private.h.
13849 (roundtoint): Likewise.
13850 (converttoint): Likewise.
13851 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13852 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13853 * sysdeps/arm/math_private.h: Remove.
13854 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13856 * sysdeps/generic/math_private.h: ... this file. Include
13857 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13858 Include <fenv_private.h>. Remove functions and macros moved to
13860 * sysdeps/i386/fpu/math_private.h: Remove.
13861 * sysdeps/mips/math_private.h: Move to ....
13862 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13863 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13864 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13865 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13866 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13867 * sysdeps/powerpc/fpu/math_private.h: Do not include
13869 * sysdeps/riscv/rvf/math_private.h: Move to ....
13870 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13871 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13873 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13874 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13875 * sysdeps/sparc/fpu/math_private.h: Remove.
13876 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13877 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13878 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13880 * sysdeps/x86_64/fpu/math_private.h: Do not include
13881 <sysdeps/i386/fpu/fenv_private.h>.
13883 2018-08-28 Florian Weimer <fweimer@redhat.com>
13886 * posix/tst-regcomp-truncated.c: New file.
13887 * posix/Makefile (tests): Add it.
13888 (tst-regcomp-truncated.out): Depend on generated locales.
13890 2018-08-28 Florian Weimer <fweimer@redhat.com>
13892 * support/test-container.c (main): Treat unshare failure with
13893 EPERM as an unsupported test.
13895 2018-08-28 Florian Weimer <fweimer@redhat.com>
13898 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13899 * nscd/netgroupcache.c
13900 (addgetnetgrentX): Add tofreep parameter. Do not free
13901 heap-allocated buffer.
13902 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13903 (addgetnetgrentX_ignore): New function.
13904 (addgetnetgrent): Call it.
13905 (readdgetnetgrent): Likewise.
13907 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13909 * string/memmem.c: Use memcmp for first match.
13911 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
13914 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13916 2018-08-27 DJ Delorie <dj@redhat.com>
13918 * support/Makefile (others): Don't list programs explicitly as a
13919 dependency of "others".
13921 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13923 * sysdeps/generic/math-tests-trap-force.h: New file.
13924 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13925 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13926 * sysdeps/powerpc/math-tests.h: Remove file.
13927 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13929 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13930 Torvald Riegel <triegel@redhat.com>
13933 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13934 Update r to include the set wake-request flag if waiters are
13935 remaining after spinning.
13937 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13939 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13941 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13944 regex: fix uninitialized memory access
13945 I introduced this bug into gnulib in commit
13946 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13947 eventually it was merged into glibc. The bug was found by
13948 project-repo <bugs@feusi.co> and reported here:
13949 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13950 Diagnosis and draft fix reported by Assaf Gordon here:
13951 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13952 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13953 * posix/regex_internal.c (build_wcs_upper_buffer):
13954 Fix bug when mbrtowc returns 0.
13956 2018-08-24 Carlos O'Donell <carlos@redhat.com>
13958 * po/be.po: Update translation.
13960 2018-08-24 DJ Delorie <dj@delorie.com>
13962 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13965 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13968 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13969 create temporary files in source tree.
13971 2018-08-24 Joseph Myers <joseph@codesourcery.com>
13973 * sysdeps/generic/math-tests-trap.h: New file.
13974 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13975 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13976 * sysdeps/aarch64/math-tests.h: Remove file.
13977 * sysdeps/arm/math-tests.h: Likewise.
13978 * sysdeps/riscv/math-tests.h: Likewise.
13979 * sysdeps/aarch64/math-tests-trap.h: New file.
13980 * sysdeps/arm/math-tests-trap.h: Likewise.
13981 * sysdeps/riscv/math-tests-trap.h: Likewise.
13983 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13985 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13986 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13987 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13988 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13989 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13990 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13992 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13993 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13994 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13995 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13996 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13997 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13998 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13999 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
14000 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
14001 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14002 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14004 2018-08-23 Joseph Myers <joseph@codesourcery.com>
14006 * sysdeps/generic/math-tests-exceptions.h: New file.
14007 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
14008 (EXCEPTION_TESTS_float): Do not define here.
14009 (EXCEPTION_TESTS_double): Likewise.
14010 (EXCEPTION_TESTS_long_double): Likewise.
14011 (EXCEPTION_TESTS_float128): Likewise.
14012 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
14014 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
14015 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
14016 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
14017 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
14018 * sysdeps/mips/math-tests.h: Likewise.
14019 * sysdeps/nios2/math-tests.h: Likewise.
14020 * sysdeps/riscv/math-tests.h [!__riscv_flen]
14021 (EXCEPTION_TESTS_float): Do not define here.
14022 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
14023 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
14024 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
14026 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
14028 * NEWS: Move optimized sinf entry to 2.29.
14030 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
14032 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
14034 2018-08-22 DJ Delorie <dj@redhat.com>
14036 * Makefile (testroot.pristine): New rules to initialize the
14037 test-in-container "testroot".
14038 * Makerules (all-testsuite): Add tests-container.
14039 * Rules (tests-expected): Add tests-container.
14040 (binaries-all-tests): Likewise.
14041 (tests-container): New, run these tests in the testroot container.
14042 * support/Makefile (others): Add *-container, support_paths.c,
14043 xmkdirp, and links-dso-program.
14044 * support/links-dso-program-c.c: New.
14045 * support/links-dso-program.cc: New.
14046 * support/test-container.c: New.
14047 * support/shell-container.c: New.
14048 * support/echo-container.c: New.
14049 * support/true-container.c: New.
14050 * support/xmkdirp.c: New.
14051 * support/xsymlink.c: New.
14052 * support/support_paths.c: New.
14053 * support/support.h: Add support paths prototypes.
14054 * support/xunistd.h: Add xmkdirp () and xsymlink ().
14056 * nss/tst-nss-test3.c: Convert to test-in-container.
14057 * nss/tst-nss-test3.root/: New.
14059 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
14061 regex: port Gnulib code to z/OS POSIX environment
14062 Problem reported by Arnold Robbins in:
14063 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
14064 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
14067 2018-08-22 Joseph Myers <joseph@codesourcery.com>
14069 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
14070 (ROUNDING_TESTS_double): Remove.
14071 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
14072 (ROUNDING_TESTS_double): Remove.
14073 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
14074 (ROUNDING_TESTS_double): Remove.
14075 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
14076 (ROUNDING_TESTS_float): Remove.
14077 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
14078 (ROUNDING_TESTS_float): Remove.
14079 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
14080 (ROUNDING_TESTS_float): Remove.
14081 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
14082 !TEST_MATHVEC here.
14083 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14084 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14086 * sysdeps/generic/math-tests-rounding.h: New file.
14087 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
14088 (ROUNDING_TESTS_float): Do not define here.
14089 (ROUNDING_TESTS_double): Likewise.
14090 (ROUNDING_TESTS_long_double): Likewise.
14091 (ROUNDING_TESTS_float128): Likewise.
14092 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
14093 (ROUNDING_TESTS_double): Undefine before defining.
14094 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
14095 (ROUNDING_TESTS_double): Undefine before defining.
14096 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
14097 (ROUNDING_TESTS_double): Undefine before defining.
14098 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
14099 (ROUNDING_TESTS_float): Undefine before defining.
14100 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
14101 (ROUNDING_TESTS_float): Undefine before defining.
14102 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
14103 (ROUNDING_TESTS_float): Undefine before defining.
14104 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
14105 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
14107 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
14108 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
14109 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
14110 * sysdeps/riscv/math-tests.h [!__riscv_flen]
14111 (ROUNDING_TESTS_float): Do not define here.
14112 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
14113 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
14114 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
14115 (ROUNDING_TESTS_float): Likewise.
14116 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
14117 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
14118 * sysdeps/mips/math-tests.h [__mips_soft_float]
14119 (ROUNDING_TESTS_float): Likewise.
14120 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
14121 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
14122 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
14123 (ROUNDING_TESTS_double): Likewise.
14124 (ROUNDING_TESTS_long_double): Likewise.
14126 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
14128 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
14129 (PF_XDP): New macro.
14130 (AF_XDP): New macro.
14131 (SOL_XDP): New macro.
14133 2018-08-21 Joseph Myers <joseph@codesourcery.com>
14135 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
14136 (TCP_INQ): Likewise.
14137 (TCP_CM_INQ): Likewise.
14138 (TCP_REPAIR_ON): Likewise.
14139 (TCP_REPAIR_OFF): Likewise.
14140 (TCP_REPAIR_OFF_NO_WP): Likewise.
14141 (struct tcp_zerocopy_receive): New type.
14143 2018-08-21 Florian Weimer <fweimer@redhat.com>
14145 * support/support.h (support_descriptor_supports_holes): Declare.
14146 * support/Makefile (libsupport-routines): Add
14147 support_descriptor_supports_holes.
14148 * support/support_descriptor_supports_holes.c: New file.
14149 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
14150 and stop testing if holes are not supported.
14151 * io/test-lfs.c (do_prepare): Likewise.
14152 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
14154 * timezone/tst-tzset.c (create_tz_file): Likewise.
14155 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
14157 (do_prepare): Set it.
14158 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
14160 2018-08-21 Florian Weimer <fweimer@redhat.com>
14163 * Makeconfig (+cflags): Do not sort (and deduplicate).
14165 2018-08-21 Florian Weimer <fweimer@redhat.com>
14167 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
14168 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
14170 2018-08-20 Florian Weimer <fweimer@redhat.com>
14172 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
14173 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
14175 2018-08-20 Joseph Myers <joseph@codesourcery.com>
14177 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
14178 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
14179 and ssi_arch members.
14181 * elf/elf.c (NT_VMCOREDD): New macro.
14182 (AT_MINSIGSTKSZ): Likewise.
14184 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14186 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14187 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
14188 s_cosf-ppc64 and s_cosf-power8.
14189 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
14190 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14191 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14192 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
14194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
14195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
14196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
14197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
14198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
14199 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
14200 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
14202 2018-08-17 Florian Weimer <fweimer@redhat.com>
14204 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14206 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
14208 * malloc/malloc.c (_int_malloc): Additional binning code checks.
14210 2018-08-16 Florian Weimer <fweimer@redhat.com>
14212 * configure.ac: Add --with-nonshared-cflags option.
14213 * config.make.in (extra-nonshared-cflags): Set variable.
14214 * Makeconfig (CFLAGS-.oS): Use it.
14215 * manual/install.texi (Configuring and compiling): Document
14216 --with-nonshared-cflags.
14217 * configure: Regenerate.
14218 * INSTALL: Likewise.
14220 2018-08-16 Florian Weimer <fweimer@redhat.com>
14222 * Makeconfig (ASFLAGS): Always append required assembler flags.
14224 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
14226 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
14227 (malloc_consolidate): Likewise.
14229 2018-08-16 Pochang Chen <johnchen902@gmail.com>
14231 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
14233 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
14235 * benchtests/bench-strlen.c (do_test): Allocate buffers before
14238 * benchtests/bench-strlen.c: Print performance numbers in json.
14240 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14242 * sysdeps/powerpc/powerpc64/multiarch/Makefile
14243 (sysdep_routines): Build strcmp-power9 and strncmp-power9
14244 only for little endian.
14245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14246 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
14247 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
14248 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
14249 Add check for little endian.
14250 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
14251 (__strcmp_power9): Add check for little endian.
14252 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
14253 Add check for little endian.
14254 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
14255 (__strncmp_power9): Add check for little endian.
14256 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
14257 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
14258 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
14259 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
14260 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
14262 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14264 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
14265 [!STRLEN](STRLEN): Set to __strlen.
14266 * sysdeps/aarch64/multiarch/strlen.c: New file.
14267 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
14268 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
14269 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
14270 (__libc_ifunc_impl_list): Add strlen.
14271 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
14272 strlen_generic and strlen_asimd.
14274 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
14276 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
14277 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
14278 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14280 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
14282 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
14284 2018-08-14 Florian Weimer <fweimer@redhat.com>
14287 * include/stdio.h (__vfxprintf): Declare.
14288 * stdio-common/fxprintf.c (__vfxprintf): New function.
14289 (__fxprintf): Call it.
14290 * misc/err.c (convert_and_print): Remove function.
14291 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
14292 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
14293 * misc/Makefile (tests): Add tst-warn-wide.
14294 * misc/tst-warn-wide.c: New file.
14296 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
14297 Szabolcs Nagy <szabolcs.nagy@arm.com>
14299 * NEWS: Mention sinf, cosf, sincosf.
14300 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
14301 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
14302 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
14303 constants rather than including generic sincosf.h.
14304 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
14305 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
14306 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
14307 (reduced_cos): Remove.
14308 (sinf_poly): New function.
14309 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
14311 2018-08-14 Florian Weimer <fweimer@redhat.com>
14315 * nss/nss_files/files-alias.c (get_next_alias): During :include:
14316 processing, bail out if no room, and close the stream before
14318 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
14319 (tst-nss-files-alias-leak): Link with libdl.
14320 (tst-nss-files-alias-leak.out): Depend on nss_files.
14322 * nss/tst-nss-files-alias-leak.c: New file.
14324 2018-08-14 Florian Weimer <fweimer@redhat.com>
14326 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
14327 server_user, stat_user.
14329 2018-08-13 Joseph Myers <joseph@codesourcery.com>
14331 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14333 (io_pgetevents): New syscall.
14336 * manual/install.texi (Configuring and compiling): Do not list
14337 tools used for testing pretty printers here.
14338 (Tools for Compilation): List Python, PExpect and GDB here.
14339 Update descriptions of uses of Perl and Python.
14340 * INSTALL: Regenerate.
14342 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14345 2018-08-13 Florian Weimer <fweimer@redhat.com>
14347 * misc/error.c (error): Add missing va_end call.
14348 (error_at_line): Likewise.
14350 2018-08-13 Florian Weimer <fweimer@redhat.com>
14352 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
14354 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14356 * benchtests/scripts/benchout.schema.json (properties): Add
14359 * benchtests/bench-skeleton.c (main): Add duration and
14360 iterations attributes.
14362 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
14364 regex: Gnulib unibyte RRI uses bytes not chars
14365 Adjust the non-glibc code to agree with what Gawk needs for
14366 rational range interpretation (RRI) for regular expression ranges.
14367 In unibyte locales, Gawk wants ranges to use the underlying byte
14368 rather than the character code point. This change does not affect
14370 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
14371 In unibyte locales, use the byte value rather than
14372 running it through btowc.
14374 2018-08-10 Joseph Myers <joseph@codesourcery.com>
14376 * sysdeps/generic/math-tests-snan.h: New file.
14377 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
14378 (SNAN_TESTS_float): Do not define here.
14379 (SNAN_TESTS_double): Likewise.
14380 (SNAN_TESTS_long_double): Likewise.
14381 (SNAN_TESTS_float128): Likewise.
14382 * sysdeps/i386/fpu/math-tests-snan.h: New file.
14383 * sysdeps/i386/fpu/math-tests.h: Remove file.
14384 * sysdeps/ia64/math-tests-snan.h: New file.
14385 * sysdeps/ia64/math-tests.h: Remove file.
14386 * sysdeps/x86/math-tests.h: Likewise.
14387 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
14389 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14390 Szabolcs Nagy <szabolcs.nagy@arm.com>
14392 * math/Makefile: Add s_sincosf_data.c.
14393 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
14394 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
14395 (sincosf_poly): Likewise.
14396 (reduce_small): Likewise.
14397 (reduce_large): Likewise.
14398 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
14399 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
14400 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
14401 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
14403 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14404 Szabolcs Nagy <szabolcs.nagy@arm.com>
14406 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
14407 (converttoint): Use lround.
14408 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
14409 document the semantics when TOINT_INTRINSICS is set.
14410 (converttoint): Likewise.
14411 (TOINT_RINT): Remove.
14412 (TOINT_SHIFT): Remove.
14413 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
14416 2018-08-10 Florian Weimer <fweimer@redhat.com>
14419 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
14421 (__old_getdents64): Use getdents64. Convert entries without
14423 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
14424 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
14425 tst-readdir64-compat.
14427 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14429 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
14432 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14434 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
14435 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
14436 code to s390x-mcount.h and #include it.
14437 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
14438 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14441 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14443 * stdlib/Versions: Remove __fentry__.
14444 * sysdeps/i386/Versions: Add __fentry__.
14445 * sysdeps/x86_64/Versions: Add __fentry__.
14447 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14449 * sysdeps/s390/Makefile: Register the new tests.
14450 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
14451 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
14452 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
14453 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
14454 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
14455 * sysdeps/s390/tst-dl-runtime.c: New file.
14457 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14459 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14462 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14464 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14467 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14469 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14472 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14474 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14477 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14479 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14480 Use symbolic offsets for stack variables.
14482 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14484 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14485 Use symbolic offsets for stack variables.
14487 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14489 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14490 Use symbolic offsets for stack variables.
14492 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14494 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14495 Use symbolic offsets for stack variables.
14497 2018-08-09 Joseph Myers <joseph@codesourcery.com>
14499 * math/gen-libm-test.py: New file.
14500 * math/gen-libm-test.pl: Remove.
14501 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
14502 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
14504 ($(libm-test-c-noauto-obj)): Likewise.
14505 ($(libm-test-c-auto-obj)): Likewise.
14506 ($(libm-test-c-narrow-obj)): Likewise.
14507 (regen-ulps): Likewise.
14508 * math/README.libm-test: Update references to gen-libm-test.pl.
14509 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
14510 referencing gen-libm-test.pl.
14511 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
14512 * math/libm-test-support.c: Likewise.
14513 * math/libm-test-support.h: Likewise.
14514 * sysdeps/generic/libm-test-ulps: Likewise.
14516 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
14518 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
14521 2018-08-08 Joseph Myers <joseph@codesourcery.com>
14523 * math/libm-test-nextdown.inc (do_test): Move comment to ....
14524 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
14526 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14528 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
14530 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
14531 __pthread_setspecific): Add hidden proto.
14532 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
14533 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
14535 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14537 * benchtests/bench-string.h (buf1_size, buf2_size): New
14539 (init_sizes): New function.
14540 (test_init): Use it.
14541 (alloc_buf, exit_error): New functions.
14542 (alloc_bufs): Use ALLOC_BUF.
14543 (realloc_bufs): Remove.
14544 * benchtests/bench-memcmp.c (do_test): Adjust.
14545 * benchtests/bench-memset-large.c (do_test): Likewise.
14546 * benchtests/bench-memset-walk.c (do_test): Likewise.
14547 * benchtests/bench-memset.c (do_test): Likewise.
14548 * benchtests/bench-strncmp.c (do_test): Likewise.
14550 2018-08-06 Andreas Schwab <schwab@suse.de>
14552 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14553 of CONST_THREAD_AREA.
14555 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14557 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14558 (STATE_SAVE_MASK): Likewise.
14559 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14560 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14561 (STATE_SAVE_MASK): Likewise.
14562 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14563 instead of <cpu-features.h>.
14565 2018-08-03 DJ Delorie <dj@redhat.com>
14567 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
14568 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
14570 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14572 2018-08-03 Joseph Myers <joseph@codesourcery.com>
14574 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14575 after TEST_* calls.
14576 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14577 * math/libm-test-logb.inc (logb_test_data): Likewise.
14579 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14581 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14582 * string/strstr.c (AVAILABLE): Likewise.
14584 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14586 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14588 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14589 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14590 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14592 2018-08-03 Carlos O'Donell <carlos@redhat.com>
14594 * po/be.po: Update translation.
14596 * po/be.po: Update translation.
14598 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14600 * sysdeps/x86/cpu-features-offsets.sym
14601 (rtld_global_ro_offsetof): Removed.
14602 (CPU_FEATURES_SIZE): Likewise.
14603 (CPUID_OFFSET): Likewise.
14604 (CPUID_SIZE): Likewise.
14605 (CPUID_EAX_OFFSET): Likewise.
14606 (CPUID_EBX_OFFSET): Likewise.
14607 (CPUID_ECX_OFFSET): Likewise.
14608 (CPUID_EDX_OFFSET): Likewise.
14609 (FAMILY_OFFSET): Likewise.
14610 (MODEL_OFFSET): Likewise.
14611 (FEATURE_OFFSET): Likewise.
14612 (FEATURE_SIZ): Likewise.
14613 (COMMON_CPUID_INDEX_1): Likewise.
14614 (COMMON_CPUID_INDEX_7): Likewise.
14615 (FEATURE_INDEX_1): Likewise.
14616 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14618 2018-08-02 Carlos O'Donell <carlos@redhat.com>
14620 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14621 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14622 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14623 (install-locales): Depend on install-locale-archive.
14624 (install-locale-archive): Define.
14625 (install-locale-files): Define.
14626 (build-one-locale): Define macro.
14627 * manual/install.texi (Running make install): Document.
14628 * manual/INSTALL: Regenerate.
14630 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14632 * benchtests/scripts/compare_strings.py: Import traceback.
14633 (parse_file): Pretty-print error.
14635 * NEWS: Mention the change.
14636 * elf/dl-tunables.list: Rename tune namespace to cpu.
14637 * sysdeps/powerpc/dl-tunables.list: Likewise.
14638 * sysdeps/x86/dl-tunables.list: Likewise.
14639 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14641 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14642 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14643 * manual/README.tunables: Likewise.
14644 * manual/tunables.texi: Likewise.
14645 * sysdeps/powerpc/cpu-features.c: Likewise.
14646 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14647 (init_cpu_features): Likewise.
14648 * sysdeps/x86/cpu-features.c: Likewise.
14649 * sysdeps/x86/cpu-features.h: Likewise.
14650 * sysdeps/x86/cpu-tunables.c: Likewise.
14651 * sysdeps/x86_64/Makefile: Likewise.
14652 * sysdeps/x86/dl-cet.c: Likewise.
14654 2018-08-02 Joseph Myers <joseph@codesourcery.com>
14657 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14658 [__mips_hard_float].
14659 (FE_UNDERFLOW): Likewise.
14660 (FE_OVERFLOW): Likewise.
14661 (FE_DIVBYZERO): Likewise.
14662 (FE_INVALID): Likewise.
14663 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14664 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14665 (FE_UPWARD): Likewise.
14666 (FE_DOWNWARD): Likewise.
14667 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14668 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14669 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14670 [__mips_hard_float].
14671 (FP_ROUNDMODE): Likewise.
14672 (FP_RND_NEAREST): Likewise.
14673 (FP_RND_ZERO): Likewise.
14674 (FP_RND_PINF): Likewise.
14675 (FP_RND_MINF): Likewise.
14676 (FP_EX_INVALID): Likewise.
14677 (FP_EX_OVERFLOW): Likewise.
14678 (FP_EX_UNDERFLOW): Likewise.
14679 (FP_EX_DIVZERO): Likewise.
14680 (FP_EX_INEXACT): Likewise.
14681 (FP_INIT_ROUNDMODE): Likewise.
14682 * sysdeps/mips/nofpu/fesetenv.c: New file.
14683 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14685 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14687 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14688 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14689 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14690 conditional on [FE_UPWARD].
14692 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14694 regex: fix memory leak in Gnulib
14695 Problem and fix reported by Assaf Gordon in:
14696 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14697 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14698 range_ends members too, as they are defined in 'struct
14699 re_charset_t' even if not _LIBC. This affects only Gnulib.
14701 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14703 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14705 (get_common_indices): This.
14706 (init_cpu_features): Updated.
14708 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14710 * sysdeps/generic/math-tests-snan-payload.h: New file.
14711 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14712 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14713 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14714 * sysdeps/generic/math-tests.h: Include
14715 <math-tests-snan-payload.h>.
14716 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14717 * sysdeps/hppa/math-tests.h: Remove file.
14718 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14719 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14720 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14723 * sysdeps/generic/math-tests-snan-cast.h: New file.
14724 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14725 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14726 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14727 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14729 2018-08-01 Carlos O'Donell <carlos@redhat.com>
14731 * version.h (RELEASE): Set to "development".
14732 (VERSION): Set to "2.28.9000".
14733 * NEWS (2.29): New section.
14735 * version.h (RELEASE): Set to "stable".
14736 (VERSION): Set to "2.28".
14737 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14738 * NEWS: Add the list of bugs fixed in 2.28.
14740 * po/ca.po: Update to latest version.
14741 * po/cs.po: Likewise
14742 * po/da.po: Likewise
14743 * po/el.po: Likewise
14744 * po/eo.po: Likewise
14745 * po/es.po: Likewise
14746 * po/fi.po: Likewise
14747 * po/fr.po: Likewise
14748 * po/gl.po: Likewise
14749 * po/hu.po: Likewise
14750 * po/ia.po: Likewise
14751 * po/id.po: Likewise
14752 * po/it.po: Likewise
14753 * po/ja.po: Likewise
14754 * po/ko.po: Likewise
14755 * po/lt.po: Likewise
14756 * po/nb.po: Likewise
14757 * po/nl.po: Likewise
14758 * po/pt_BR.po: Likewise
14759 * po/ru.po: Likewise
14760 * po/rw.po: Likewise
14761 * po/sk.po: Likewise
14762 * po/sl.po: Likewise
14763 * po/tr.po: Likewise
14764 * po/zh_CN.po: Likewise
14765 * po/zh_TW.po: Likewise
14767 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14769 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14771 (init): ... before initializing libpthread.
14773 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14774 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14775 (__mach_setup_tls): ... new function.
14776 (mach_setup_tls): New alias.
14777 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14778 __mach_setup_thread.
14779 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14780 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14781 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14782 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14784 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14786 * manual/install.texi: Update versions.
14787 * INSTALL: Regenerate.
14789 * manual/contrib.texi (Contributors): Update contributions.
14791 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14793 * po/be.po: Update translations.
14795 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14797 * sysdeps/sh/libm-test-ulps: Update.
14799 2018-07-30 Carlos O'Donell <carlos@redhat.com>
14801 * po/bg.po: Update translations.
14802 * po/de.po: Likewise.
14803 * po/hr.po: Likewise.
14804 * po/pt_BR.po: Likewise.
14805 * po/sv.po: Likewise.
14806 * po/vi.po: Likewise.
14808 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14811 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14812 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14813 (CFLAGS-tst-cet-property-1.o): New.
14814 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14815 ($(objpfx)tst-cet-property-2): Likewise.
14816 ($(objpfx)tst-cet-property-2.out): Likewise.
14817 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14818 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14819 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14820 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14821 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14823 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14826 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14828 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14830 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14831 __sbrk): Do not set attribute_hidden.
14832 * sysdeps/mach/hurd/not-errno.h: New file.
14833 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14834 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14836 2018-07-27 Carlos O'Donell <carlos@redhat.com>
14838 * po/uk.po: Update translations.
14839 * po/cs.po: Likewise.
14840 * po/pl.po: Likewise.
14842 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14844 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14845 parse beyond the note end.
14847 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14849 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14850 kernel does not support OFD locks.
14851 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14853 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14855 * sysdeps/mach/hurd/Versions (libc): Make __access and
14856 __access_noerrno external so they can override the ld symbols.
14857 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14858 __writev, __open64, __access_noerrno extern so they can be overrided.
14859 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14860 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14862 2018-07-26 Carlos O'Donell <carlos@redhat.com>
14864 * po/libc.pot: Regenerate.
14866 2018-07-26 Joseph Myers <joseph@codesourcery.com>
14868 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14870 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14873 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14875 (init_cpu_features): Call get_extended_indices for both Intel
14877 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14878 Remove "for AMD" comment.
14880 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14883 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14884 COMMON_CPUID_INDEX_80000001.
14886 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
14888 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14889 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14891 2018-07-26 Florian Weimer <fweimer@redhat.com>
14893 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14894 aliases for symbols not in the implementation namespace.
14896 2018-07-25 Carlos O'Donell <carlos@redhat.com>
14899 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14900 lowercase in LATIN script.
14901 * localedata/Makefile (test-input): Add en_US.UTF-8.
14902 * localedata/en_US.UTF-8.in: New file.
14903 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14904 and restore old tests.
14905 * posix/tst-regexloc.c (do_test): Add back range expression test.
14907 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14909 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14911 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14913 * nptl/threads.h: Move to ...
14914 * sysdeps/nptl/threads.h: ... here.
14915 * sysdeps/hurd/stdc-predef.h: New file.
14917 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14919 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14920 tst-cet-setcontext-1 if CET is enabled.
14921 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14922 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14924 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14926 * include/threads.h: Move to ...
14927 * sysdeps/nptl/threads.h: ... here.
14928 * sysdeps/htl/threads.h: New file.
14929 * conform/Makefile (linknamespace-libs-ISO11): Use
14930 static-thread-library instead of linking libpthread.
14931 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14933 2018-07-25 Florian Weimer <fweimer@redhat.com>
14935 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14936 nanoseconds into seconds.
14937 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14938 (do_test): Likewise.
14939 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14940 (do_test): Likewise. Avoid nanosecond overflow and spurious
14941 timeouts due to system load.
14942 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14943 (child_wait): Increment it.
14944 (do_test): Wait as long as necessary until all expected threads
14947 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14948 H.J. Lu <hongjiu.lu@intel.com>
14950 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14952 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14953 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14954 (__push___start_context): New.
14955 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14957 (__getcontext): Record the current shadow stack base. Save the
14958 caller's shadow stack pointer and base.
14959 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14960 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14961 (__push___start_context): New prototype.
14962 (__makecontext): Call __push___start_context to allocate a new
14963 shadow stack, push __start_context onto the new stack as well
14964 as the new shadow stack.
14965 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14967 (__setcontext): Restore the target shadow stack.
14968 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14970 (__swapcontext): Record the current shadow stack base. Save
14971 the caller's shadow stack pointer and base. Restore the target
14973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14974 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14975 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14977 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14979 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14980 tst-setcontext8 and tst-setcontext9.
14981 * stdlib/tst-setcontext6.c: New file.
14982 * stdlib/tst-setcontext7.c: Likewise.
14983 * stdlib/tst-setcontext8.c: Likewise.
14984 * stdlib/tst-setcontext9.c: Likewise.
14986 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14988 * stdlib/Makefile ((tests): Add tst-setcontext5.
14989 * stdlib/tst-setcontext5.c: New file.
14991 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14993 * stdlib/Makefile (tests): Add tst-setcontext4.
14994 * stdlib/tst-setcontext4.c: New file.
14996 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14998 * stdlib/Makefile (tests): Add tst-swapcontext1.
14999 * stdlib/tst-swapcontext1.c: New test.
15001 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15003 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
15004 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
15005 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
15006 and tst-cet-legacy-4c.
15007 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
15008 and tst-cet-legacy-mod-4.
15009 (CFLAGS-tst-cet-legacy-2.c): New.
15010 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
15011 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
15012 (CFLAGS-tst-cet-legacy-3.c): Likewise.
15013 (CFLAGS-tst-cet-legacy-4.c): Likewise.
15014 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
15015 ($(objpfx)tst-cet-legacy-1): Likewise.
15016 ($(objpfx)tst-cet-legacy-2): Likewise.
15017 ($(objpfx)tst-cet-legacy-2.out): Likewise.
15018 ($(objpfx)tst-cet-legacy-2a): Likewise.
15019 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
15020 ($(objpfx)tst-cet-legacy-4): Likewise.
15021 ($(objpfx)tst-cet-legacy-4.out): Likewise.
15022 ($(objpfx)tst-cet-legacy-4a): Likewise.
15023 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
15024 (tst-cet-legacy-4a-ENV): Likewise.
15025 ($(objpfx)tst-cet-legacy-4b): Likewise.
15026 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
15027 (tst-cet-legacy-4b-ENV): Likewise.
15028 ($(objpfx)tst-cet-legacy-4c): Likewise.
15029 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
15030 (tst-cet-legacy-4c-ENV): Likewise.
15031 * sysdeps/x86/tst-cet-legacy-1.c: New file.
15032 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
15033 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
15034 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
15035 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
15036 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
15037 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
15038 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
15039 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
15040 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
15041 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
15043 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15045 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
15046 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
15048 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
15049 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
15052 2018-07-25 Andreas Schwab <schwab@suse.de>
15055 * locale/weightwc.h (findidx): Handle the case where usrc is a
15056 prefix of cp but one character too short.
15058 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15060 * NEWS: Add ISO C threads addition.
15062 2018-07-24 Florian Weimer <fweimer@redhat.com>
15064 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15065 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
15066 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
15069 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15071 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
15072 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
15073 <sys/prctl.h> and <asm/prctl.h>.
15074 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
15075 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
15077 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
15078 ARCH_CET_LEGACY_BITMAP.
15079 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
15080 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
15081 * sysdeps/x86/libc-start.c: Include <startup.h>.
15083 2018-07-24 Florian Weimer <fweimer@redhat.com>
15085 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
15086 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
15088 2018-07-24 Rical Jasan <rj@2c3t.io>
15089 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15090 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
15093 * manual/debug.texi: Update adjacent chapter name.
15094 * manual/probes.texi: Likewise.
15095 * manual/threads.texi (ISO C Threads): New section.
15096 (POSIX Threads): Convert to a section.
15098 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15099 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
15102 * nptl/Makefile (tests): Add new test files.
15103 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
15104 * nptl/tst-cnd-basic.c: Likewise.
15105 * nptl/tst-cnd-broadcast.c: Likewise.
15106 * nptl/tst-cnd-timedwait.c: Likewise.
15107 * nptl/tst-mtx-basic.c: Likewise.
15108 * nptl/tst-mtx-recursive.c: Likewise.
15109 * nptl/tst-mtx-timedlock.c: Likewise.
15110 * nptl/tst-mtx-trylock.c: Likewise.
15111 * nptl/tst-thrd-basic.c: Likewise.
15112 * nptl/tst-thrd-detach.c: Likewise.
15113 * nptl/tst-thrd-sleep.c: Likewise.
15114 * nptl/tst-tss-basic.c: Likewise.
15116 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15119 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15120 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
15122 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15123 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15124 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15125 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15126 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15127 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15128 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15129 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15131 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15132 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15133 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
15140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15141 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15142 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15143 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15145 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15146 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15147 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15148 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15149 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
15150 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
15151 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
15152 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
15153 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
15155 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15156 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15157 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15158 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15159 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15160 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15161 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15162 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15163 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15164 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15165 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15166 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15173 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15174 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15175 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15176 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15177 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15178 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15179 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15180 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15183 * conform/data/threads.h-data (thread_local): New macro.
15184 (TSS_DTOR_ITERATIONS): Likewise.
15186 (tss_dtor_t): Likewise.
15187 (tss_create): New function.
15188 (tss_get): Likewise.
15189 (tss_set): Likewise.
15190 (tss_delete): Likewise.
15191 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
15192 tss_get, and tss_set objects.
15193 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
15194 * nptl/tss_create.c: New file.
15195 * nptl/tss_delete.c: Likewise.
15196 * nptl/tss_get.c: Likewise.
15197 * nptl/tss_set.c: Likewise.
15198 * sysdeps/nptl/threads.h (thread_local): New define.
15199 (TSS_DTOR_ITERATIONS): Likewise.
15200 (tss_t): New typedef.
15201 (tss_dtor_t): Likewise.
15202 (tss_create): New prototype.
15203 (tss_get): Likewise.
15204 (tss_set): Likewise.
15205 (tss_delete): Likewise.
15208 * conform/data/threads.h-data (cnd_t): New type.
15209 (cnd_init): New function.
15210 (cnd_signal): Likewise.
15211 (cnd_broadcast): Likewise.
15212 (cnd_wait): Likewise.
15213 (cnd_timedwait): Likewise.
15214 (cnd_destroy): Likewise.
15215 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
15216 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
15218 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
15219 * nptl/cnd_broadcast.c: New file.
15220 * nptl/cnd_destroy.c: Likewise.
15221 * nptl/cnd_init.c: Likewise.
15222 * nptl/cnd_signal.c: Likewise.
15223 * nptl/cnd_timedwait.c: Likewise.
15224 * nptl/cnd_wait.c: Likewise.
15225 * sysdeps/nptl/threads.h (cnd_t): New type.
15226 (cnd_init): New prototype.
15227 (cnd_signa): Likewise.
15228 (cnd_broadcast): Likewise.
15229 (cnd_wait): Likewise.
15230 (cnd_timedwait): Likewise.
15231 (cnd_destroy): Likewise.
15234 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
15235 (once_flag): New type.
15236 (call_once): New function.
15237 * nptl/Makefile (libpthread-routines): Add call_once object.
15238 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
15239 * nptl/call_once.c: New file.
15240 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
15241 (once_flag): New type.
15242 (call_once): New prototype.
15245 * conform/data/threads.h-data (mtx_plain): New constant.
15246 (mtx_recursive): Likewise.
15247 (mtx_timed): Likewise.
15249 (mtx_init): New function.
15250 (mtx_lock): Likewise.
15251 (mtx_timedlock): Likewise.
15252 (mtx_trylock): Likewise.
15253 (mtx_unlock): Likewise.
15254 (mtx_destroy): Likewise.
15255 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
15256 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
15257 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
15258 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
15259 * nptl/mtx_destroy.c: New file.
15260 * nptl/mtx_init.c: Likewise.
15261 * nptl/mtx_lock.c: Likewise.
15262 * nptl/mtx_timedlock.c: Likewise.
15263 * nptl/mtx_trylock.c: Likewise.
15264 * nptl/mtx_unlock.c: Likewise.
15265 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
15266 (mtx_recursive): Likewise.
15267 (mtx_timed): Likewise.
15269 (mtx_init): New prototype.
15270 (mtx_lock): Likewise.
15271 (mtx_timedlock): Likewise.
15272 (mtx_trylock): Likewise.
15273 (mtx_unlock): Likewise.
15274 (mtx_destroy): Likewise.
15277 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
15278 (linknamespace-libs-ISO11): Add libpthread.a.
15279 * conform/data/threads.h-data: New file: add C11 thrd_* types and
15281 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
15282 * nptl/Makefile (headers): Add threads.h.
15283 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
15284 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
15286 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
15287 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
15288 thrd_join, thrd_sleep, and thrd_yield symbols.
15289 * nptl/descr.h (struct pthread): Add c11 field.
15290 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
15291 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
15292 routine with expected function prototype.
15293 (__pthread_create_2_1): Add C11 threads check based on attribute
15295 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
15296 * nptl/thrd_create.c: New file.
15297 * nptl/thrd_current.c: Likewise.
15298 * nptl/thrd_detach.c: Likewise.
15299 * nptl/thrd_equal.c: Likewise.
15300 * nptl/thrd_exit.c: Likewise.
15301 * nptl/thrd_join.c: Likewise.
15302 * nptl/thrd_priv.h: Likewise.
15303 * nptl/thrd_sleep.c: Likewise.
15304 * nptl/thrd_yield.c: Likewise.
15305 * include/threads.h: Likewise.
15307 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15309 * bits/indirect-return.h: New file.
15310 * misc/sys/cdefs.h (__glibc_has_attribute): New.
15311 * sysdeps/x86/bits/indirect-return.h: Likewise.
15312 * stdlib/Makefile (headers): Add bits/indirect-return.h.
15313 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
15314 (swapcontext): Add __INDIRECT_RETURN.
15315 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
15316 (prepare_test_buffer): Use it.
15318 2018-07-24 Andreas Schwab <schwab@suse.de>
15321 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
15322 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
15324 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15326 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
15327 Redefine if shadow stack is enabled.
15328 (SYSCALL_ERROR_LABEL): Likewise.
15329 (__vfork): Pop shadow stack and jump back to to caller directly
15330 when shadow stack is in use.
15331 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
15332 Redefine if shadow stack is enabled.
15333 (SYSCALL_ERROR_LABEL): Likewise.
15334 (__vfork): Pop shadow stack and jump back to to caller directly
15335 when shadow stack is in use.
15337 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15339 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
15342 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
15345 2018-07-20 Joseph Myers <joseph@codesourcery.com>
15347 * scripts/build-many-glibcs.py (Context.checkout): Default
15348 binutils version to 2.31 branch.
15350 2018-07-20 Zong Li <zong@andestech.com>
15352 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
15353 URL of gcc's tarball.
15355 2018-07-20 Florian Weimer <fweimer@redhat.com>
15358 * posix/regcomp.c (build_equiv_class): When comparing weights, do
15359 not compare an extra byte after the end of the weights.
15361 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15363 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
15365 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
15367 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
15368 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
15369 * scripts/check-execstack.awk: Consider `xfail' variable containing a
15370 list of libraries whose stack executability is expected.
15371 * elf/Makefile ($(objpfx)check-execstack.out): Pass
15372 $(check-execstack-xfail) to check-execstack.awk through `xfail'
15374 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
15375 libc.so libpthread.so.
15377 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
15379 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
15381 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
15383 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
15385 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
15387 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15389 * benchtests/scripts/compare_bench.py (__main__): use the argparse
15390 library to improve command line parsing.
15391 (__main__): make schema file as optional parameter (--schema),
15392 defaulting to benchtests/scripts/benchout.schema.json.
15393 (main): move out of the parsing stuff to __main_ and leave it
15394 only as caller of main comparison functions.
15396 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
15398 * NEWS: Add a note for Intel CET status.
15399 * manual/install.texi: Likewise.
15400 * INSTALL: Regenerated.
15402 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
15405 * localedata/locales/oc_FR (mon): Rename to...
15406 (alt_mon): This, then update October (typo fix).
15407 (mon): New content (genitive case, month names preceded by
15411 * localedata/locales/oc_FR (abday): Update all items.
15412 (day): Update Wednesday and Saturday (typo fixes).
15413 (abmon): Update all items, except May.
15414 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
15415 (LC_IDENTIFICATION): Bump the revision number and date.
15416 Keep the "category" entries in alphabetic order.
15417 (LC_ADDRESS): Remove no longer needed comment.
15418 (LC_COLLATE): Use “copy "ca_ES"”.
15419 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
15422 2018-07-18 Joseph Myers <joseph@codesourcery.com>
15424 * grp/tst_fgetgrent.c: Include <unistd.h>.
15425 (main): Use mkstemp instead of tmpnam.
15426 * io/test-utime.c (main): Likewise.
15427 * posix/annexc.c (macrofile): Change to modifiable array.
15428 (main): Remove macrofile here.
15429 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15431 (check_header): Do not remove macrofile here.
15432 * posix/bug-getopt1.c: Include <stdlib.h>.
15433 (do_test): Use mkstemp instead of tmpnam.
15434 * posix/bug-getopt2.c: Include <stdlib.h>.
15435 (do_test): Use mkstemp instead of tmpnam.
15436 * posix/bug-getopt3.c: Include <stdlib.h>.
15437 (do_test): Use mkstemp instead of tmpnam.
15438 * posix/bug-getopt4.c: Include <stdlib.h>.
15439 (do_test): Use mkstemp instead of tmpnam.
15440 * posix/bug-getopt5.c: Include <stdlib.h>.
15441 (do_test): Use mkstemp instead of tmpnam.
15442 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
15443 (main): Use mkstemp instead of tmpnam.
15444 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
15445 (main): Use mkstemp instead of tmpnam.
15446 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
15447 (main): use mkstemp instead of tmpnam.
15448 * stdlib/isomac.c (macrofile): Change to modifiable array.
15449 (main): Remove macrofile here.
15450 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15452 (check_header): Do not remove macrofile here.
15454 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15456 * manual/tunables.texi: Document glibc.tune.x86_ibt and
15457 glibc.tune.x86_shstk.
15459 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15461 * NEWS: Mention --enable-cet.
15462 * manual/install.texi: Document --enable-cet.
15463 * INSTALL: Regenerated.
15465 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15467 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
15468 Add _CET_NOTRACK before indirect jump to jump table.
15470 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15472 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
15473 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15476 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15478 * sysdeps/i386/i686/multiarch/strcat-sse2.S
15479 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15482 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15484 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
15485 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15488 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15490 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
15491 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15494 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15496 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
15497 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15499 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
15501 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15503 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
15504 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15507 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15509 * sysdeps/i386/i686/multiarch/memset-sse2.S
15510 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15513 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15515 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
15516 indirect jump to jump table.
15518 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15520 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
15521 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15523 (MEMCPY): Likewise.
15525 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15527 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
15528 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15530 (MEMCPY): Likewise.
15532 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15534 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15535 _CET_NOTRACK before indirect jump to jump table.
15537 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15539 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
15540 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15543 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15545 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
15546 indirect jump to jump table.
15548 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15551 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15552 (LOCALES): Likewise.
15553 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15554 * localedata/locales/sah_RU: New file.
15555 * localedata/sah_RU.UTF-8.in: New file.
15557 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15559 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15561 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15562 _CET_ENDBR to indirect jump targets and adjust jump destination
15564 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15566 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15567 _CET_ENDBR to indirect jump targets and adjust jump destination
15569 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15571 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15572 _CET_ENDBR to indirect jump targets and adjust jump destination
15575 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15577 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15580 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15582 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15584 (_dl_tlsdesc_undefweak): Likewise.
15585 (_dl_tlsdesc_dynamic): Likewise.
15586 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15587 (_dl_tlsdesc_resolve_rel): Likewise.
15588 (_dl_tlsdesc_resolve_rela): Likewise.
15589 (_dl_tlsdesc_resolve_hold): Likewise.
15590 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15591 (_dl_tlsdesc_undefweak): Likewise.
15592 (_dl_tlsdesc_dynamic): Likewise.
15593 (_dl_tlsdesc_resolve_rela): Likewise.
15594 (_dl_tlsdesc_resolve_hold): Likewise.
15596 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15598 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15600 * sysdeps/x86_64/crti.S (_init): Likewise.
15603 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
15606 * localedata/locales/os_RU (mon): Rename to...
15608 (mon): Import from CLDR (genitive case).
15610 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15612 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15613 cet-tunables.h> when CET is enabled.
15615 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15618 * configure.ac: Add --enable-cet.
15619 * configure: Regenerated.
15620 * elf/Makefille (all-built-dso): Add a comment.
15621 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15622 Include <dl-prop.h>.
15623 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15625 * elf/dl-open.c: Include <dl-prop.h>.
15626 (dl_open_worker): Call _dl_open_check.
15627 * elf/rtld.c: Include <dl-prop.h>.
15628 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15630 * sysdeps/generic/dl-prop.h: New file.
15631 * sysdeps/i386/dl-cet.c: Likewise.
15632 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15633 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15634 * sysdeps/x86/cet-tunables.h: Likewise.
15635 * sysdeps/x86/check-cet.awk: Likewise.
15636 * sysdeps/x86/configure: Likewise.
15637 * sysdeps/x86/configure.ac: Likewise.
15638 * sysdeps/x86/dl-cet.c: Likewise.
15639 * sysdeps/x86/dl-procruntime.c: Likewise.
15640 * sysdeps/x86/dl-prop.h: Likewise.
15641 * sysdeps/x86/libc-start.h: Likewise.
15642 * sysdeps/x86/link_map.h: Likewise.
15643 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15645 (_dl_runtime_profile): Likewise.
15646 (_dl_runtime_resolve_shstk): New.
15647 (_dl_runtime_profile_shstk): Likewise.
15648 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15650 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15651 (CFLAGS-.os): Likewise.
15652 (CFLAGS-.op): Likewise.
15653 (CFLAGS-.oS): Likewise.
15654 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15656 (tests-special): Add $(objpfx)check-cet.out.
15657 (cet-built-dso): New.
15658 (+$(cet-built-dso:=.note)): Likewise.
15659 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15660 ($(objpfx)check-cet.out): New.
15661 (generated): Add check-cet.out.
15662 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15664 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15665 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15666 (init_cpu_features): Call get_cet_status to check CET status
15667 and update dl_x86_feature_1 with CET status. Call
15668 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15669 (set_x86_shstk). Disable and lock CET in libc.a.
15670 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15671 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15672 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15673 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15674 (_CET_ENDBR): Define if not defined.
15675 (ENTRY): Add _CET_ENDBR.
15676 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15678 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15680 (_dl_runtime_profile): Likewise.
15682 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15685 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15686 restore r2 on longjmp.
15687 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15689 Added rules to build test tst-setjmp-bug21895-static.
15690 Added module setjmp-bug21895 and rules to build a shared object from it.
15691 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15692 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15694 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15696 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15697 * benchtests/bench-strstr.c: Likewise.
15698 * string/memmem.c (FASTSEARCH): Define.
15699 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15700 Add support for FASTSEARCH.
15701 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15702 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15703 (FASTSEARCH): Define.
15704 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15705 * string/test-strstr.c: Likewise.
15707 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15709 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15710 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15712 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15713 H.J. Lu <hongjiu.lu@intel.com>
15715 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15716 (__longjmp): Restore shadow stack pointer if shadow stack is
15717 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15718 isn't defined for __longjmp_cancel.
15719 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15720 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15721 and SHADOW_STACK_POINTER_OFFSET is defined.
15722 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15723 (setjmp): Save shadow stack pointer if shadow stack is enabled
15724 and SHADOW_STACK_POINTER_OFFSET is defined.
15725 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15726 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15727 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15728 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15730 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15731 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15732 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15733 Remove jmp_buf-ssp.sym.
15734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15736 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15737 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15738 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15740 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15741 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15742 (__longjmp): Restore shadow stack pointer if shadow stack is
15743 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15744 isn't defined for __longjmp_cancel.
15745 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15746 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15747 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15749 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15752 * nptl/pthread_create.c: Include <tls-setup.h>.
15753 (__pthread_create_2_1): Call tls_setup_tcbhead.
15754 * sysdeps/generic/tls-setup.h: New file.
15755 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15756 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15757 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15759 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15761 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15762 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15763 (X86_FEATURE_1_SHSTK): Likewise.
15764 (CET_ENABLED): Likewise.
15765 (IBT_ENABLED): Likewise.
15766 (SHSTK_ENABLED): Likewise.
15768 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
15771 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15772 (LOCALES): Likewise.
15773 * localedata/dsb_DE.UTF-8.in: New file.
15774 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15776 2018-07-12 Florian Weimer <fweimer@redhat.com>
15778 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15779 __mprotect, not mprotect.
15781 2018-07-11 Florian Weimer <fweimer@redhat.com>
15783 * io/Makefile (headers): Add bits/statx.h.
15785 2018-07-10 Mike FABIAN <mfabian@redhat.com>
15787 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15788 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15790 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15791 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15794 2018-07-10 Florian Weimer <fweimer@redhat.com>
15796 * io/Makefile (routines): Add statx.
15797 (tests-internal): Add tst-statx.
15798 * io/Versions (GLIBC_2.28): Export statx.
15799 * io/bits/statx.h: New file.
15800 * io/sys/stat.h [__USE_GNU]: Include it.
15801 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15802 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15804 * io/statx.c: New file.
15805 * io/statx_generic.: Likewise.
15806 * io/tst-statx.: Likewise.
15807 * include/bits/statx.h: Likewise.
15808 * sysdeps/unix/sysv/linux/kernel-features.h
15809 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15810 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15811 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15812 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15814 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15815 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15816 * sysdeps/unix/sysv/linux/statx.c: New file.
15817 * manual/filesys.texi: Note that statx is undocumented.
15818 * sysdeps/**/libc*.abilist: Update.
15820 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15822 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15823 a kernel issue which lead to test failure in some cases.
15825 2018-07-10 Florian Weimer <fweimer@redhat.com>
15828 * posix/regexec.c (check_node_accept_bytes): When comparing
15829 weights, do not compare an extra byte after the end of the
15832 2018-07-10 Florian Weimer <fweimer@redhat.com>
15834 * libio/readline.c: Fix copyright year.
15835 * libio/tst-readline.c Likewise.
15836 * nss/tst-nss-files-hosts-getent.c: Likewise.
15838 2018-07-06 Florian Weimer <fweimer@redhat.com>
15841 * nss/nss_files/files-XXX.c (internal_getent): Use
15842 __libc_readline_unlocked. Seek back to the start of the line if
15843 parsing failes with ERANGE.
15844 (get_contents_ret, get_contents): Remove.
15845 * nss/tst-nss-files-hosts-getent.c: New file.
15846 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15847 (tst-nss-files-hosts-getent): Link with -ldl.
15849 2018-07-06 Florian Weimer <fweimer@redhat.com>
15851 * include/stdio.h (__libc_readline_unlocked): Declare.
15852 (__ftello64, __fseeko64): Declare aliases.
15853 * libio/readline.c: New file.
15854 * libio/tst-readline.c: Likewise.
15855 (routines): Add readline.
15856 (tests-internal): Add tst-readlime.
15857 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15858 __libc_readline_unlocked.
15859 * libio/fseeko.c (__fseeko): Rename from fseeko.
15860 (fseeko): Add alias.
15861 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15862 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15863 (fseeko64): Add alias.
15864 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15865 * libio/ftello64.c (__ftello64): Rename from ftello64.
15866 (ftello64): Add alias.
15868 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15870 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15873 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15875 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15876 Use dl_hwcap without masking.
15877 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15878 Remove HWCAP_CPUID.
15880 2018-07-06 Florian Weimer <fweimer@redhat.com>
15882 * conform/conformtest.pl (checknamespace): Escape literal braces
15883 in regular expressions.
15885 2018-07-06 Amit Pawar <amit.pawar@amd.com>
15887 * sysdeps/x86/cpu-features.c (get_common_indeces):
15888 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15889 * sysdeps/x86/cpu-features.c (init_cpu_features):
15890 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15892 2018-07-05 Florian Weimer <fweimer@redhat.com>
15894 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15896 (CFLAGS-elf-init.oS): Likewise.
15898 2018-07-05 Florian Weimer <fweimer@redhat.com>
15899 Carlos O'Donell <carlos@redhat.com>
15901 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15902 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15903 with stack protector enabled because there is no risk of infinite
15906 2018-07-05 Maciej W. Rozycki <macro@mips.com>
15910 * libc-abis (ABSOLUTE): New ABI.
15911 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15912 * NEWS: Mention the new ABI.
15914 2018-07-05 Florian Weimer <fweimer@redhat.com>
15917 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15918 (RENAME_WHITEOUT): Define.
15919 [__USE_GNU] (renameat2): Declare.
15920 * stdio-common/Makefile (routines): Add renameat2.
15921 (tests): Add tst-renameat2.
15922 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15923 * stdio-common/renameat2.c: New file.
15924 * stdio-common/tst-renameat2.c: Likewise.
15925 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15926 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15928 * sysdeps/unix/sysv/linux/kernel-features.h
15929 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15930 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15931 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15932 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15933 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15934 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15935 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15936 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15937 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15938 * include/stdio.h (__renameat): Add alias for renameat.
15939 * stdio-common/renameat.c (__renameat): Rename from renameat.
15940 Add hidden definition and alias.
15941 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15942 * sysdeps/mach/hurd/renameat.c: Likewise.
15943 * sysdeps/**/libc*.abilist: Add renameat2.
15945 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15947 * posix/bug-regex33.c: Fix build after regex sync.
15949 2018-07-04 Carlos O'Donell <carlos@redhat.com>
15952 * localedata/tst-langinfo-setlocale.c: New file.
15953 * localedata/tst-langinfo-setlocale-static.c: New file.
15954 * localedata/tst-langinfo-newlocale.c: New file.
15955 * localedata/tst-langinfo-newlocale-static.c: New file.
15956 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15957 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15958 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15959 (tests-static): Remove tst-langinfo-static. Add
15960 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15961 (tests-special): Remove $(objpfx)tst-langinfo.out,
15962 $(objpfx)tst-langinfo-static.out. Add
15963 $(objpfx)tst-langinfo-setlocale.out,
15964 $(objpfx)tst-langinfo-newlocale.out,
15965 $(objpfx)tst-langinfo-setlocale-static.out,
15966 $(objpfx)tst-langinfo-newlocale-static.out.
15967 ($(objpfx)tst-langinfo.out): Remove.
15968 ($(objpfx)tst-langinfo-static.out): Remove.
15969 ($(objpfx)tst-langinfo-newlocale.out): New target.
15970 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15971 (test-xfail-tst-langinfo-newlocale-static): Add.
15972 ($(objpfx)tst-langinfo-setlocale.out): New target.
15973 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15974 * localedata/tst-langinfo.c: Call test_locale.
15975 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15978 2018-07-04 Florian Weimer <fweimer@redhat.com>
15980 testrun.sh: Implement --tool=strace, --tool=valgrind
15981 * Makefile (testrun-script): Define variable.
15982 (testrun.sh): Use variable.
15983 * manual/install.texi (Tools for Compilation): make 4.0 or later
15985 * configure.ac: Check for make 4.0 or later.
15986 * INSTALL: Regenerate.
15987 * configure: Likewise.
15989 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15995 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15996 * posix/PCRE.tests: Remove invalid test.
15997 * posix/bug-regex28.c: Fix expected values for used syntax.
15998 * posix/bug-regex37.c: New file.
15999 * posix/bug-regex38.c: Likewise.
16000 * posix/regcomp.c: Sync with gnulib.
16001 * posix/regex.c: Likewise.
16002 * posix/regex.h: Likewise.
16003 * posix/regex_internal.c: Likewise.
16004 * posix/regex_internal.h: Likewise.
16005 * posix/regexec.c: Likewise.
16007 2018-06-26 Mike FABIAN <mfabian@redhat.com>
16010 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
16011 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
16012 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
16013 * localedata/unicode-gen/PropList.txt: likewise.
16014 * localedata/unicode-gen/UnicodeData.txt: likewise.
16015 * localedata/charmaps/UTF-8: Regenerate.
16016 * localedata/locales/i18n_ctype: likewise.
16017 * localedata/locales/tr_TR: likewise.
16018 * localedata/locales/translit_circle: likewise.
16019 * localedata/locales/translit_cjk_compat: likewise.
16020 * localedata/locales/translit_combining: likewise.
16021 * localedata/locales/translit_compat: likewise.
16022 * localedata/locales/translit_font: likewise.
16023 * localedata/locales/translit_fraction: likewise.
16025 2018-07-03 Florian Weimer <fweimer@redhat.com>
16028 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
16029 * stdio-common/tst-printf.sh: Adjust expected output.
16030 * LICENSES: Update.
16032 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16034 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
16037 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16039 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
16040 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
16041 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
16042 * stdio-common/tst-printfsz-islongdouble.c: New file.
16043 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
16044 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
16045 [subdir == stdio-common] (routines): Add ieee128-printf_size.
16046 [subdir == stdio-common] (tests-internal): Add
16047 test-printf-size-ieee128, and test-printf-size-ibm128.
16048 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
16049 (CFLAGS-test-printf-size-ibm128.c): New variables.
16050 [subdir == stdio-common] (tests-special): Add
16051 $(objpfx)test-printf-size-ieee128.out and
16052 $(objpfx)test-printf-size-ibm128.out.
16053 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
16054 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
16055 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
16056 __printf_sizeieee128.
16057 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
16059 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
16061 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
16064 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
16066 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
16067 (exp2f_inline): Likewise.
16068 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
16069 (__math_uflowf): Likewise.
16070 (__math_may_uflowf): Likewise.
16071 (__math_divzerof): Likewise.
16072 (__math_invalidf): Likewise.
16073 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
16074 (__math_oflowf): Likewise.
16075 (__math_uflowf): Likewise.
16076 (__math_may_uflowf): Likewise.
16077 (__math_divzerof): Likewise.
16078 (__math_invalidf): Likewise.
16080 2018-06-29 DJ Delorie <dj@redhat.com>
16081 Carlos O'Donell <carlos@redhat.com>
16084 * include/libc-symbols.h: Comment the freeres framework.
16085 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
16086 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
16087 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
16088 * dlfcn/dlerror.c: Include libc-symbols.h
16089 (__dlerror_main_freeres): New function.
16090 * dlfcn/dlfreeres.c: New file.
16091 * dlfcn/sdlfreeres.c: New file.
16092 * include/dlfcn.h: Declare __dlerror_main_freeres.
16093 * malloc/set-freeres.c: Declare __libdl_freeres, and
16094 __libpthread_freeres.
16095 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
16096 the releavant libraries are loaded.
16097 * malloc/thread-freeres.c: Add comments.
16098 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
16099 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
16100 * nptl/allocatestack.c (__nptl_free_stacks): New function.
16101 (__free_stacks): Rename to...
16102 (free_stacks): ...this. Mark static.
16103 (queue_stack): Call free_stacks.
16104 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
16105 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
16106 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
16107 ptr_freeres element from struct.
16108 (pthread_functions): Remove .ptr_freeres from struct initializer.
16109 [SHARED] (nptl_freeres): Remove.
16110 * nptl/nptlfreeres.c: New file.
16112 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
16113 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
16115 (__free_stacks): Rename to...
16116 (__nptl_stacks_freeres): ...this.
16117 (__shm_directory_freeres): Declare.
16118 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
16119 (__nptl_unwind_freeres): ...this.
16120 * resolv/res-close.c: Add comment.
16121 * resolv/resolv_conf.c: Include libc-symbols.h.
16122 * string/strerror_l.c: Include libc-symbols.h.
16123 * sunrpc/rpc_thread.c: Include libc-symbols.h.
16124 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
16125 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
16126 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
16128 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16130 * stdlib/tst-strfmon_l.c: Add tests for long double.
16132 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
16135 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
16136 * localedata/locales/dsb_DE: New file.
16138 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
16141 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
16143 (alt_mon): New entry, import from CLDR (nominative case).
16145 2018-06-29 Sylvain Lesage <severo@rednegra.net>
16148 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
16150 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16152 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
16153 Use vector registers.
16155 * sysdeps/aarch64/multiarch/memmove_falkor.S
16156 (__memcpy_falkor): Use vector registers.
16158 2018-06-29 Martin Sebor <msebor@redhat.com>
16160 * manual/stdio.texi (Customizing Printf): Mention interaction
16161 with GCC built-ins.
16163 2018-06-29 Maciej W. Rozycki <macro@mips.com>
16166 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
16167 `st_value' is 0 if `st_shndx' is SHN_ABS.
16168 * elf/tst-absolute-zero.c: New file.
16169 * elf/tst-absolute-zero-lib.c: New file.
16170 * elf/tst-absolute-zero-lib.lds: New file.
16171 * elf/Makefile (tests): Add `tst-absolute-zero'.
16172 (modules-names): Add `tst-absolute-zero-lib'.
16173 (LDLIBS-tst-absolute-zero-lib.so): New variable.
16174 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
16175 ($(objpfx)tst-absolute-zero: New dependency.
16177 2018-06-29 Zack Weinberg <zackw@panix.com>
16179 * configure.ac: New command-line option --disable-crypt.
16180 Force --disable-nss-crypt when --disable-crypt is given, with a
16181 warning if it was explicitly enabled.
16182 * configure: Regenerate.
16183 * config.make.in: New boolean substitution variable $(build-crypt).
16184 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
16185 when $(build-crypt).
16186 * manual/install.texi: Document --disable-crypt.
16187 * INSTALL: Regenerate.
16189 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
16190 which is never set.
16191 * conform/Makefile: Only include libcrypt.a in
16192 linknamespace-libs-xsi and linknamespace-libs-XPG4
16193 when $(build-crypt).
16194 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
16195 USE_CRYPT to 1 when $(build-crypt).
16196 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
16197 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
16198 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
16200 2018-06-29 Zack Weinberg <zackw@panix.com>
16202 * crypt/crypt.h, posix/unistd.h: Update comments and
16203 prototypes for crypt and crypt_r.
16205 * manual/crypt.texi (Cryptographic Functions): New initial
16207 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
16208 (Unpredictable Bytes): Improve initial exposition. Clarify error
16209 behavior of getentropy and getrandom.
16210 * manual/examples/genpass.c: Generate a salt using getentropy
16211 instead of the current time. Use hash $5$ (SHA-2-256).
16212 * manual/examples/testpass.c: Demonstrate validation against
16213 hashes generated with three different one-way functions.
16215 * manual/intro.texi: crypt.texi does not need an overview
16218 * manual/nss.texi, manual/memory.texi, manual/socket.texi
16219 * manual/terminal.texi: Consistently refer to "passphrases"
16220 * instead of "passwords", and to the "user database" instead
16221 * of the "password database".
16222 * manual/users.texi: Similarly. Add notes about how actual
16223 passphrase hashes are now stored in the shadow database.
16224 Remove 20-year-old junk todo note.
16226 2018-06-29 Zack Weinberg <zackw@panix.com>
16228 * manual/crypt.texi: Use a normal top-level @node declaration.
16229 Move most of the introductory text to the 'crypt' section.
16230 Move the example programs below the @deftypefun for 'crypt_r'.
16231 Move the 'getpass' section...
16232 * manual/terminal.texi: ...here.
16234 2018-06-29 Zack Weinberg <zackw@panix.com>
16235 Florian Weimer <fweimer@redhat.com>
16237 * posix/unistd.h: Do not declare encrypt.
16238 (_XOPEN_CRYPT): Remove macro definition.
16239 (crypt): Declare only for _USE_MISC.
16240 * stdlib/stdlib.h: Do not declare setkey.
16241 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
16242 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
16244 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
16245 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
16246 into compat symbols. Don't define initial_perm if it's not
16248 * crypt/cert.c: Link explicitly with the expected versions for
16249 setkey and encrypt. If they are not available at all, mark
16250 the test as unsupported.
16252 * sunrpc/des_crypt.c: Unconditionally block linkage with
16253 cbc_crypt and ecb_crypt for new binaries.
16254 * sunrpc/des_soft.c: Unconditionally block linkage with
16255 des_setparity for new binaries.
16257 * manual/crypt.texi: Remove the entire "DES Encryption"
16258 section. Also remove the paragraph talking about FIPS 140-2
16259 from the introduction.
16260 * manual/string.texi (strfry, memfrob): Revise. Recommend use
16261 of libgcrypt for "real" encryption, not DES.
16262 * manual/conf.texi (Constants for Sysconf): Mention that
16263 _XOPEN_CRYPT is no longer impelemented.
16265 * conform/data/unistd.h-data: Remove crypt function declaration.
16267 2018-06-29 Florian Weimer <fweimer@redhat.com>
16270 * malloc/hooks.c: Update comments on restoring of dumped heaps.
16271 (disallow_malloc_check): Remove variable.
16272 (__malloc_check_init): Adjust.
16273 (malloc_set_state): Update comment.
16274 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
16277 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
16280 * localedata/locales/ast_ES (mon): Rename to...
16282 (mon): Import from CLDR (genitive case).
16284 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
16285 Jakub Sitnicki <jkbs@redhat.com>
16288 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
16289 on NLM_F_DUMP_INTR.
16291 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
16293 * manual/llio.texi: Remove spurious space.
16295 2018-06-28 Florian Weimer <fweimer@redhat.com>
16298 * time/bits/types/struct_timespec.h: Change header inclusion guard to
16301 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16303 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
16304 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
16305 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
16306 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
16307 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
16308 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
16309 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
16311 2018-06-27 Maciej W. Rozycki <macro@mips.com>
16314 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
16315 Copy and null-terminate entries that are not terminated, in
16316 addition to empty ones.
16318 2018-06-27 Florian Weimer <fweimer@redhat.com>
16321 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
16322 (extend_alloca_account): Remove.
16323 * manual/stdio.texi (Variable Arguments Output): Update comment.
16325 2018-06-27 Joseph Myers <joseph@codesourcery.com>
16327 * nptl/sockperf.c: Remove file.
16329 2018-06-27 Florian Weimer <fweimer@redhat.com>
16332 * elf/dl-deps.c (_dl_map_object_deps): Use struct
16333 scratch_buffer instead of extend_alloca.
16335 2018-06-27 Florian Weimer <fweimer@redhat.com>
16338 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
16339 scratch_buffer instead of extend_alloca. Update comments.
16341 2018-06-27 Florian Weimer <fweimer@redhat.com>
16344 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
16345 instead of extend_alloca.
16347 2018-06-26 Joseph Myers <joseph@codesourcery.com>
16350 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
16351 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
16353 * scripts/test-installation.pl: Put temporary files in build
16354 directory, not /tmp.
16355 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
16356 (CFLAGS-bug4.c): Likewise.
16357 (CFLAGS-bug5.c): Likewise.
16358 (CFLAGS-test-fseek.c): Likewise.
16359 (CFLAGS-test-popen.c): Likewise.
16360 (CFLAGS-test_rdwr.c): Likewise.
16361 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
16363 * stdio-common/bug4.c (main): Likewise.
16364 * stdio-common/bug5.c (main): Likewise.
16365 * stdio-common/test-fseek.c (TESTFILE): Likewise.
16366 * stdio-common/test-popen.c (do_test): Likewise.
16367 * stdio-common/test_rdwr.c (main): Likewise.
16369 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
16371 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
16372 (sem_open): Set sem.newsem.pad to zero for valgrind.
16374 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16377 * NEWS: Mention fcntl64 addition.
16378 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
16379 * login/utmp_file.c: Likewise.
16380 * sysdeps/posix/fdopendir.c: Likewise.
16381 * sysdeps/posix/opendir.c: Likewise.
16382 * sysdeps/unix/pt-fcntl.c: Likewise.
16383 * include/fcntl.h (__libc_fcntl64, __fcntl64,
16384 __fcntl64_nocancel_adjusted): New prototype.
16385 (__fcntl_nocancel_adjusted): Remove prototype.
16386 * io/Makefile (routines): Add fcntl64.
16387 (CFLAGS-fcntl64.c): New rule.
16388 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
16389 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
16390 * io/fcntl.h (fcntl64): Add prototype and redirect if
16391 __USE_FILE_OFFSET64 is defined.
16392 * io/fcntl64.c: New file.
16393 * manual/llio.text: Add a note for which commands fcntl acts a
16394 cancellation point.
16395 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
16396 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
16397 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
16399 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
16400 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
16402 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
16403 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
16404 to __fcntl64_nocancel.
16405 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
16406 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
16407 to __fcntl64_nocancel.
16408 * sysdeps/generic/not-cancel.h: Likewise.
16409 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
16410 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
16411 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
16412 (fcntl64): New symbol.
16413 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16414 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16415 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16418 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16419 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16420 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16421 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16422 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16423 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
16424 fcntl64): Likewise.
16425 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16426 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
16427 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16428 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16429 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16430 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16431 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16432 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16433 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16438 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16439 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16440 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16442 2018-06-26 Florian Weimer <fweimer@redhat.com>
16444 Run thread shutdown functions in an explicit order.
16445 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
16447 (__libc_thread_freeres): Call thread shutdown functions
16449 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
16450 * include/string.h (__strerror_thread_freeres): Declare.
16451 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
16452 arena_thread_freeres. No longer static. Remove thread shutdown
16454 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
16456 * resolv/res-close.c (__res_thread_freeres): Renamed from
16457 res_thread_freeres. No longer static. Remove thread shutdown
16459 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
16460 * resolv/resolv_conf.c (freeres): Remove incorrect section
16461 attribute and use libc_freeres_fn.
16462 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
16463 strerror_thread_freeres. No longer static. Remove thread
16464 shutdown hook registration.
16465 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
16466 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
16467 shutdown hook registration.
16468 * Makerules (shlib.lds): Do not provide section boundary symbols
16469 for __libc_thread_subfreeres.
16470 * manual/memory.texi (Basic Allocation): Update comment.
16472 2018-06-26 Florian Weimer <fweimer@redhat.com>
16474 Remove always-defined _RPC_THREAD_SAFE_ macro.
16475 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
16476 Do not define _RPC_THREAD_SAFE_.
16477 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
16479 * sunrpc/clnt_perr.c: Likewise.
16480 * sunrpc/clnt_raw.c: Likewise.
16481 * sunrpc/clnt_simp.c: Likewise.
16482 * sunrpc/key_call.c: Likewise.
16483 * sunrpc/rpc_common.c: Likewise.
16484 * sunrpc/rpc_main.c: Likewise.
16485 * sunrpc/rpc_thread.c: Likewise.
16486 * sunrpc/svc.c: Likewise.
16487 * sunrpc/svc_raw.c: Likewise.
16488 * sunrpc/svc_simple.c: Likewise.
16489 * sumrpc/svcauth_des.c: Likewise.
16491 2018-06-26 Florian Weimer <fweimer@redhat.com>
16493 * libio/Makefile (tests-internal): Add tst-vtables,
16494 tst-vtables-interposed.
16495 * libio/tst-vtables.c: New file.
16496 * libio/tst-vtables-common.c: Likewise.
16497 * libio/tst-vtables-interposed.c: Likewise.
16499 2018-06-26 Florian Weimer <fweimer@redhat.com>
16501 * support/support_test_main.c (support_test_main): Only call
16502 setvbuf if not disables.
16503 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
16504 * support/test-driver.h (struct test_config): Add no_setvbuf member.
16506 2018-06-26 Florian Weimer <fweimer@redhat.com>
16509 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
16511 2018-06-25 Florian Weimer <fweimer@redhat.com>
16514 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16515 Use struct scratch_buffer instead of extend_alloca.
16517 2018-06-25 Florian Weimer <fweimer@redhat.com>
16520 * nss/getent.c (initgroups_keys): Use dynarray instead of
16523 2018-06-25 Florian Weimer <fweimer@redhat.com>
16526 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
16527 Use struct scratch_buffer instead of extend_alloca.
16529 2018-06-25 Florian Weimer <fweimer@redhat.com>
16532 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
16533 back to malloc directly, without stack allocations.
16535 2018-06-25 Florian Weimer <fweimer@redhat.com>
16538 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
16541 2018-06-25 Florian Weimer <fweimer@redhat.com>
16544 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
16546 * nscd/hstcache.c (addhstbyX): Likewise.
16547 * nscd/pwdcache.c (addpwbyX): Likewise.
16548 * nscd/servicescache.c (addservbyX): Likewise.
16550 2018-06-25 Florian Weimer <fweimer@redhat.com>
16553 * nscd/connections.c (read_cmdline): New function.
16554 (restart): Use it. Update comment.
16556 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16559 * localedata/locales/csb_PL (mon): Rename to...
16561 (abmon): Rename to...
16562 (ab_alt_mon): This.
16563 (mon): Add with proper genitive forms, copy from Wikipedia.
16566 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16569 * localedata/locales/csb_PL (mon): Fix typos:
16570 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
16571 (yesstr): Add, value is "jo".
16572 (nostr): Add, value is "nié".
16574 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16576 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16577 all log1p and significand functions on m680x0.
16578 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16579 of s_significand.c..
16580 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16581 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16582 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16583 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16584 s_log1p.c and include it..
16586 2018-06-21 Vincent Chen <vincentc@andestech.com>
16588 * elf/elf.h (R_NDS32_NONE): New define.
16589 (R_NDS32_32_RELA): Likewise.
16590 (R_NDS32_COPY): Likewise.
16591 (R_NDS32_GLOB_DAT): Likewise.
16592 (R_NDS32_JUMP_SLOT): Likewise.
16593 (R_NDS32_RELATIVE): Likewise.
16594 (R_NDS32_TLS_TPOFF): Likewise.
16595 (R_NDS32_TLS_DESC): Likewise.
16597 2018-06-21 Mark Wielaard <mark@klomp.org>
16599 * elf/elf.h (R_BPF_MAP_FD): Removed.
16600 (R_BPF_64_64, R_BPF_64_32): New.
16602 2018-06-21 Florian Weimer <fweimer@redhat.com>
16605 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16606 Renamed from libc_feholdsetround_ctx.
16607 (default_libc_feresetround_ctx): Renamed from
16608 libc_feresetround_ctx.
16609 (default_libc_feholdsetround_noex_ctx): Renamed from
16610 libc_feholdsetround_noex_ctx.
16611 (default_libc_feresetround_noex_ctx): Renamed from
16612 libc_feresetround_noex_ctx.
16613 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16614 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16615 forwardning to the old implementations under the new names.
16616 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16617 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16618 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16619 (libc_feresetround_ctx): Forward to default implements for i386
16620 and MATH_SET_BOTH_ROUNDING_MODES.
16621 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16622 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16624 2018-06-20 Joseph Myers <joseph@codesourcery.com>
16626 * string/tst-cmp.c: Include <libc-diag.h>.
16627 (strncmp_max): Disable -Wstringop-overflow= around call to
16629 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16632 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16633 (main): Disable -Wunused-value around call to strpbrk.
16634 * string/bug-strspn1.c: Include <libc-diag.h>.
16635 (main): Disable -Wunused-value around call to strspn.
16637 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16638 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16640 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16641 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16643 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16645 * math/Makefile (libm-calls): Move s_significandF to...
16646 (gen-libm-calls): ... here.
16647 * math/s_significand_template.c: New file.
16648 * math/s_significand.c: Removed.
16649 * math/s_significandf.c: Removed.
16650 * math/s_significandl.c: Removed.
16651 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16652 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16654 * math/e_exp2_template.c (declare_mgen_finite_alias,
16655 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16656 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16657 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16659 2018-06-20 Florian Weimer <fweimer@redhat.com>
16661 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16663 2018-06-19 Joseph Myers <joseph@codesourcery.com>
16666 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16667 floating-point number to strtod functions rather than possibly
16668 negating result of those functions.
16669 * stdio-common/tst-scanf-round.c: New file.
16670 * stdio-common/Makefile (tests): Add tst-scanf-round.
16671 ($(objpfx)tst-scanf-round): Depend on $(libm).
16673 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16675 * sysdeps/mach/hurd/localplt.data: Move to...
16676 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16677 R_386_GLOB_DAT like on Linux i386.
16679 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16681 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16682 (SHM_STAT_ANY): New macro.
16683 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16684 (SHM_STAT_ANY): Likewise.
16685 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16686 (SHM_STAT_ANY): Likewise.
16687 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16688 (SHM_STAT_ANY): Likewise.
16689 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16690 (SHM_STAT_ANY): Likewise.
16691 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16692 (SHM_STAT_ANY): Likewise.
16693 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16694 (SHM_STAT_ANY): Likewise.
16695 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16696 (SHM_STAT_ANY): Likewise.
16697 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16698 (SHM_STAT_ANY): Likewise.
16699 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16700 (SHM_STAT_ANY): Likewise.
16701 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16702 (SHM_STAT_ANY): Likewise.
16703 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16704 (SHM_STAT_ANY): Likewise.
16706 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16707 (SEM_STAT_ANY): New macro.
16708 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16709 (SEM_STAT_ANY): Likewise.
16710 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16711 (SEM_STAT_ANY): Likewise.
16712 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16713 (SEM_STAT_ANY): Likewise.
16714 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16715 (SEM_STAT_ANY): Likewise.
16716 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16717 (SEM_STAT_ANY): Likewise.
16718 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16719 (SEM_STAT_ANY): Likewise.
16720 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16721 (SEM_STAT_ANY): Likewise.
16722 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16723 (SEM_STAT_ANY): Likewise.
16724 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16725 (SEM_STAT_ANY): Likewise.
16727 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16728 (MSG_STAT_ANY): New macro.
16729 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16730 (MSG_STAT_ANY): Likewise.
16731 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16732 (MSG_STAT_ANY): Likewise.
16733 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16734 (MSG_STAT_ANY): Likewise.
16735 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16736 (MSG_STAT_ANY): Likewise.
16737 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16738 (MSG_STAT_ANY): Likewise.
16739 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16740 (MSG_STAT_ANY): Likewise.
16741 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16742 (MSG_STAT_ANY): Likewise.
16743 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16744 (MSG_STAT_ANY): Likewise.
16745 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16746 (MSG_STAT_ANY): Likewise.
16748 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16749 (MAP_TYPE): Change value to 0x2b.
16751 2018-06-18 Florian Weimer <fweimer@redhat.com>
16754 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16755 socket with SOCK_CLOEXEC.
16757 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16760 * sysdeps/powerpc/powerpc64/le/Makefile
16761 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16762 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16763 (gnulib-tests): Also add $(f128-loader-link) for
16764 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16766 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16768 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16769 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16771 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16772 (sendfile64): New strong alias.
16773 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16774 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16775 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
16776 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16778 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16779 ___pthread_get_cleanup_stack.
16780 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
16781 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16782 * mach/shortcut.awk: Make syscall stubs include
16783 <mach-shortcuts-hidden.h> and add hidden definition.
16784 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
16785 (__mach_msg): Add hidden prototype.
16786 * mach/msg.c: Include <mach.h>.
16787 (__mach_msg): Add hidden definition.
16788 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16789 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16790 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16791 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
16792 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16793 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
16794 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16795 prototype and definition.
16796 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16797 hidden target for _hurd_self_sigstate.
16799 2018-06-15 Joseph Myers <joseph@codesourcery.com>
16802 * stdlib/tst-strtod-nan-sign-main.c: New file.
16803 * stdlib/tst-strtod-nan-sign.c: Likewise.
16804 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16805 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16806 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16807 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16808 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16810 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16813 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16816 2018-06-14 Florian Weimer <fweimer@redhat.com>
16819 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16820 that the result stays within the ISO-8859-1 range.
16821 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16822 characters are defined in IBM273.
16824 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16826 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16827 __mach_task_self): Remove attribute_hidden.
16829 2018-06-14 Joseph Myers <joseph@codesourcery.com>
16831 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16832 ignore -Wrestrict for one test.
16834 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16835 Szabolcs Nagy <szabolcs.nagy@arm.com>
16837 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16839 2018-06-14 Florian Weimer <fweimer@redhat.com>
16841 * scripts/update-abilist.sh: Accept empty list of files to patch.
16843 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16845 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16846 test-xfail-check-abi-libmachuser): Add.
16847 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16848 __libc_read and __libc_write to __read and __write.
16849 * sysdeps/hurd/include/hurd/port.h: New file.
16850 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16851 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16852 __thread_switch, __evc_wait): Move declarations to...
16853 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16855 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16856 use PLT to call _hurd_self_sigstate.
16858 2018-06-13 Joseph Myers <joseph@codesourcery.com>
16861 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16862 MAX_EXP as overflowing.
16863 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16865 (round_str): Output also whether result overflows in each rounding
16867 * stdlib/tst-strtod-round-data: Add more tests.
16868 * stdlib/tst-strtod-round-data.h: Regenerated.
16869 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16870 (TEST): Handle extra arguments for overflow flags.
16871 (struct test_overflow): New type.
16872 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16873 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16874 (test_in_one_mode): Take argument with overflow information.
16875 (do_test): Update calls to test_in_one_mode.
16877 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16879 * elf/dl-load (_dl_dst_substitute): Correct comment.
16880 (_dl_dst_count): Likewise.
16882 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16883 lll_futex_timed_wait.
16885 2018-06-12 Joseph Myers <joseph@codesourcery.com>
16888 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16890 * math/test-nan-const.c: New file.
16891 * math/Makefile (tests): Add test-nan-const.
16892 (CFLAGS-test-nan-const.c): New variable.
16894 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16896 * benchtests/scripts/compare_strings.py (process_results): Add
16897 funcs argument. Compare only functions which are selected.
16898 (main): Check if base function is among selected functions.
16899 Pass selected functions to process_results.
16900 (__main__): Add -f/--functions argument.
16902 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16903 Hongbo Zhang <hongbo.zhang@linaro.org>
16905 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16906 __memcpy_falkor for phecda core.
16907 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16908 __memmove_falkor for phecda core.
16909 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16910 __memset_falkor for phecda core.
16911 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16913 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16914 macro to identify phecda core.
16916 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16917 Andreas Schwab <schwab@suse.de>
16918 Dmitry V. Levin <ldv@altlinux.org>
16919 Florian Weimer <fweimer@redhat.com>
16926 * elf/dl-dst.h: Remove DL_DST_COUNT.
16927 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16928 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16929 (is_dst): Comment. Support ELF gABI.
16930 (_dl_dst_count): Comment. Simplify and count DSTs.
16931 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16932 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16935 2018-06-12 Zack Weinberg <zackw@panix.com>
16937 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16938 * sysdeps/unix/sysv/linux/dl-sysdep.c
16939 Include not-cancel.h. Use __close_nocancel instead of __close,
16940 __open64_nocancel instead of __open, __read_nocancel instead of
16941 __libc_read, and __write_nocancel instead of __libc_write.
16943 * csu/check_fds.c (check_one_fd)
16944 * sysdeps/posix/fdopendir.c (__fdopendir)
16945 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16946 instead of __fcntl and/or __libc_fcntl.
16948 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16949 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
16950 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
16951 Use __open64_nocancel instead of __open_nocancel.
16953 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16954 hidden_proto declarations to the end and issue them if either
16955 IS_IN(libc) or IS_IN(rtld).
16956 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16957 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16958 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16959 read_nocancel, waitpid_nocancel, write_nocancel.
16961 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16962 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16963 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
16965 * nptl/pt-fcntl.c: New file.
16966 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16967 (libpthread-routines): Add pt-fcntl.
16968 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16969 (__libc_fcntl): Remove attribute_hidden.
16970 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16971 __fcntl_nocancel_adjusted, not fcntl_common.
16972 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
16973 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16974 to fcntl_nocancel.c.
16975 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16978 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16980 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16981 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16982 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16983 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16984 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16985 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16986 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16987 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16988 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16989 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16990 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16991 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16992 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16993 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16994 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16995 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16996 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16997 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16998 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16999 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
17001 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
17002 libpthread-routines.
17003 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
17006 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
17007 __libc_read, and __write instead of __libc_write. Define
17008 __open64 in addition to __open.
17010 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
17014 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
17015 to _private_tm[3] and add __glibc_reserved2.
17016 Add _Static_assert of offset of __private_ss == 0x30.
17017 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
17018 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
17020 2018-06-12 Florian Weimer <fweimer@redhat.com>
17022 x86: Make strncmp usable from rtld.
17023 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
17024 __strncmp_ia32 if in libc (and not in rtld).
17025 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
17026 strncmp if not in libc (and not to __strncmp_sse2).
17028 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
17031 * localedata/locales/gd_GB (mon): Rename to...
17033 (mon): Import from CLDR (genitive case).
17034 * localedata/locales/hsb_DE (mon): Rename to...
17036 (mon): Import from CLDR (genitive case).
17037 * localedata/locales/wa_BE (mon): Rename to...
17039 (mon): Add, fill with the proper genitive forms, but CLDR data
17040 is incomplete; completed according to the comments in this file.
17041 (d_t_fmt): Do not use "di" before the month name, no longer needed.
17043 * localedata/locales/wa_BE (country_name): Reword
17044 "Beljike" -> "Beldjike".
17046 2018-06-11 Joseph Myers <joseph@codesourcery.com>
17049 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
17050 cases of non-finite arguments.
17051 * math/libm-test-fma.inc (fma_test_data): Add more tests.
17053 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
17056 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
17058 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17061 * include/unistd.h (__execvpex): New prototype.
17062 * posix/Makefile (tests): Add tst-spawn4.
17063 (tests-internal): Add tst-spawn4-compat.
17064 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
17065 * posix/tst-spawn4-compat.c: New file.
17066 * posix/tst-spawn4.c: Likewise.
17067 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
17068 binaries as shell scripts.
17069 * sysdeps/posix/spawni.c (__spawni): Likewise.
17071 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
17074 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
17075 ($(all-built-dso:=.dynsym): New target.
17076 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
17077 ($(objpfx)check-initfini.out): New target.
17078 (generated): Add check-initfini.out.
17079 * scripts/check-initfini.awk: New file.
17080 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
17082 * sysdeps/alpha/crti.S (_init): Mark as hidden.
17084 * sysdeps/arm/crti.S (_init): Mark as hidden.
17086 * sysdeps/hppa/crti.S (_init): Mark as hidden.
17088 * sysdeps/i386/crti.S (_init): Mark as hidden.
17090 * sysdeps/ia64/crti.S (_init): Mark as hidden.
17092 * sysdeps/m68k/crti.S (_init): Mark as hidden.
17094 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
17096 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
17098 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
17100 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
17102 * sysdeps/nios2/crti.S (_init): Mark as hidden.
17104 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
17106 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
17108 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
17110 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
17112 * sysdeps/sh/crti.S (_init): Mark as hidden.
17114 * sysdeps/sparc/crti.S (_init): Mark as hidden.
17116 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
17119 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17121 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
17122 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
17123 and TF redirection to KFtype and KF only when the default
17124 long double type is not the IEEE 128-bit floating point type.
17126 2018-06-05 Joseph Myers <joseph@codesourcery.com>
17128 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
17130 (HWCAP_USCAT): Likewise.
17131 (HWCAP_ILRCPC): Likewise.
17132 (HWCAP_FLAGM): Likewise.
17133 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
17135 (_dl_aarch64_cap_flags): Add new flag names.
17137 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17138 (MAP_FIXED_NOREPLACE): New macro.
17139 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
17140 (MAP_FIXED_NOREPLACE): Likewise.
17141 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
17142 (MAP_FIXED_NOREPLACE): Likewise.
17143 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17144 (MAP_FIXED_NOREPLACE): Likewise.
17145 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17146 (MAP_FIXED_NOREPLACE): Likewise.
17147 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17148 (MAP_FIXED_NOREPLACE): Likewise.
17149 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17150 (MAP_FIXED_NOREPLACE): Likewise.
17151 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
17152 (MAP_FIXED_NOREPLACE): Likewise.
17153 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17154 (MAP_FIXED_NOREPLACE): Likewise.
17155 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
17156 (MAP_FIXED_NOREPLACE): Likewise.
17157 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17158 (MAP_FIXED_NOREPLACE): Likewise.
17159 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17160 (MAP_FIXED_NOREPLACE): Likewise.
17161 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
17162 (MAP_FIXED_NOREPLACE): Likewise.
17163 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
17164 (MAP_FIXED_NOREPLACE): Likewise.
17165 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
17166 (MAP_FIXED_NOREPLACE): Likewise.
17168 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17171 2018-06-04 Joseph Myers <joseph@codesourcery.com>
17173 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17176 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17178 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
17180 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
17182 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17184 * benchtests/scripts/compare_string.py: (process_results) Catch
17185 exception in non-existent base_func and catch exception in
17186 non-existent attribute.
17187 (parse_file) Catch exception if input file does not exist.
17189 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17191 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
17192 options to avoid diff calculation and omit header, respectively.
17193 (main): process --no-diff and --no-header
17195 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17196 H.J. Lu <hongjiu.lu@intel.com>
17198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17199 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
17201 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17202 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
17203 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
17204 and __wcsncmp_sse2.
17205 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
17206 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
17207 AVX unaligned load is fast and vzeroupper is preferred.
17208 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
17209 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
17210 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
17211 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
17212 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
17213 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
17214 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
17215 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
17216 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
17217 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
17220 2018-06-01 Florian Weimer <fweimer@redhat.com>
17222 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
17223 configuring with --disable-multi-arch, building with
17224 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
17227 2018-06-01 Florian Weimer <fweimer@redhat.com>
17229 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
17230 results from building with “-march=x86-64 -mtune=generic
17231 -mfpmath=sse” and running on a Haswell-era CPU.
17233 2018-06-01 Joseph Myers <joseph@codesourcery.com>
17236 * soft-fp/sqrttf2.c: Remove file.
17237 * soft-fp/sqrtdf2.c: Move to ....
17238 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
17240 (__sqrtdf2): Make conditional on
17241 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
17243 * soft-fp/sqrtsf2.c: Move to ....
17244 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
17246 (__sqrtsf2): Make conditional on
17247 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
17249 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
17250 (gcc-double-routines): Remove sqrtdf2.
17251 (gcc-quad-routines): Remove sqrttf2.
17252 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17253 Do not filter out sqrtsf2 and sqrtdf2.
17254 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17255 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
17257 2018-06-01 Florian Weimer <fweimer@redhat.com>
17259 * sysdeps/generic/libcidn.abilist: Remove file.
17261 2018-06-01 Florian Weimer <fweimer@redhat.com>
17264 * libio/strfile.h (struct _IO_str_fields): Rename members to
17265 discourage their use and add comment.
17266 (_IO_STR_DYNAMIC): Remove unused macro.
17267 * libio/strops.c (_IO_str_init_static_internal): Do not use
17268 callback pointers. Call malloc and free.
17269 (_IO_str_overflow): Do not use callback pointers. Call malloc
17271 (enlarge_userbuf): Likewise.
17272 (_IO_str_finish): Call free.
17273 * libio/wstrops.c (_IO_wstr_init_static): Initialize
17274 _allocate_buffer_unused.
17275 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
17277 (enlarge_userbuf): Likewise.
17278 (_IO_wstr_finish): Call free.
17279 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
17280 _allocate_buffer_unused, _free_buffer_unused.
17281 * libio/memstream.c (__open_memstream): Likewise.
17282 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17283 * libio/wmemstream.c (open_wmemstream): Likewise.
17285 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
17287 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
17290 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17292 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
17293 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
17294 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
17296 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
17298 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
17300 2018-05-29 Florian Weimer <fweimer@redhat.com>
17302 * support/Makefile (libsupport-routines): Add
17303 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
17304 xpthread_barrierattr_setpshared.
17305 * support/xpthread_barrierattr_destroy.c: New file.
17306 * support/xpthread_barrierattr_init.c: Likewise.
17307 * support/xpthread_barrierattr_setpshared.c: Likewise.
17309 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
17312 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
17313 _r_debug and update DT_DEBUG for debugger.
17315 2018-05-29 Florian Weimer <fweimer@redhat.com>
17317 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
17318 (tst-strtod5i.out): Likewise.
17320 2018-05-25 Joseph Myers <joseph@codesourcery.com>
17322 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
17323 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
17324 (sparc64-quad-routines): New variable. Moved from ....
17325 [$(subdir) = soft-fp] (sysdep_routines): Add
17326 $(sparc64-quad-routines). Moved from ....
17327 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
17328 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
17329 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
17331 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
17332 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
17333 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
17334 * sysdeps/sparc/sparc64/qp_add.c: ... here.
17335 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
17336 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
17337 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
17338 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
17339 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
17340 * sysdeps/sparc/sparc64/qp_div.c: ... here.
17341 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
17342 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
17343 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
17344 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
17345 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
17346 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
17347 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
17348 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
17349 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
17350 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
17351 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
17352 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
17353 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
17354 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
17355 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
17356 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
17357 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
17358 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
17359 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
17360 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
17361 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
17362 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
17363 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
17364 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
17365 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
17366 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
17367 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
17368 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
17369 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
17370 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
17371 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
17372 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
17373 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
17374 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
17375 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
17376 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
17377 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
17378 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
17379 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
17380 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
17381 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
17382 * sysdeps/sparc/sparc64/qp_util.c: ... here.
17383 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
17384 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
17385 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
17386 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
17387 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
17388 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
17390 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
17391 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
17392 (sparc32-quad-routines): New variable. Moved from ....
17393 [$(subdir) = soft-fp] (sysdep_routines): Add
17394 $(sparc32-quad-routines). Moved from ....
17395 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
17396 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
17398 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
17399 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
17400 * sysdeps/sparc/sparc32/q_add.c: ... here.
17401 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
17402 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
17403 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
17404 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
17405 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
17406 * sysdeps/sparc/sparc32/q_div.c: ... here.
17407 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
17408 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
17409 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
17410 * sysdeps/sparc/sparc32/q_feq.c: ... here.
17411 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
17412 * sysdeps/sparc/sparc32/q_fge.c: ... here.
17413 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
17414 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
17415 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
17416 * sysdeps/sparc/sparc32/q_fle.c: ... here.
17417 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
17418 * sysdeps/sparc/sparc32/q_flt.c: ... here.
17419 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
17420 * sysdeps/sparc/sparc32/q_fne.c: ... here.
17421 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
17422 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
17423 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
17424 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
17425 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
17426 * sysdeps/sparc/sparc32/q_mul.c: ... here.
17427 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
17428 * sysdeps/sparc/sparc32/q_neg.c: ... here.
17429 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
17430 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
17431 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
17432 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
17433 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
17434 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
17435 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
17436 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
17437 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
17438 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
17439 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
17440 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
17441 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
17442 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
17443 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
17444 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
17445 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
17446 * sysdeps/sparc/sparc32/q_sub.c: ... here.
17447 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
17448 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
17449 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
17450 * sysdeps/sparc/sparc32/q_util.c: ... here.
17451 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
17452 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
17453 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
17454 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
17456 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17457 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17459 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
17460 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
17461 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
17462 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
17464 2018-05-24 Joseph Myers <joseph@codesourcery.com>
17466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
17468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17470 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
17471 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
17473 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17476 * math/math.h [C++] (iseqsig): Fix parameter type for the long
17479 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17481 * sysdeps/sh/Implies: Remove sh/soft-fp.
17482 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
17483 * sysdeps/sh/sfp-machine.h: ... here.
17485 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17487 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17488 (__mempcpy_erms): Skip zero length.
17489 (__memmove_erms): Likewise.
17490 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17491 (__memset_erms): Likewise.
17493 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17495 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
17496 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17497 Add functions moved from ....
17498 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
17499 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
17500 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
17502 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
17503 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
17504 * sysdeps/alpha/e_sqrtl.c: ... here.
17505 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
17506 * sysdeps/alpha/local-soft-fp.h: ... here.
17507 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
17508 * sysdeps/alpha/ots_add.c: ... here.
17509 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
17510 * sysdeps/alpha/ots_cmp.c: ... here.
17511 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
17512 * sysdeps/alpha/ots_cmpe.c: ... here.
17513 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
17514 * sysdeps/alpha/ots_cvtqux.c: ... here.
17515 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
17516 * sysdeps/alpha/ots_cvtqx.c: ... here.
17517 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
17518 * sysdeps/alpha/ots_cvttx.c: ... here.
17519 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
17520 * sysdeps/alpha/ots_cvtxq.c: ... here.
17521 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
17522 * sysdeps/alpha/ots_cvtxt.c: ... here.
17523 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
17524 * sysdeps/alpha/ots_div.c: ... here.
17525 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
17526 * sysdeps/alpha/ots_mul.c: ... here.
17527 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
17528 * sysdeps/alpha/ots_nintxq.c: ... here.
17529 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
17530 * sysdeps/alpha/ots_sub.c: ... here.
17531 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
17532 * sysdeps/alpha/sfp-machine.h: ... here.
17534 2018-05-23 Florian Weimer <fweimer@redhat.com>
17542 Switch to extern IDNA implementation (libidn2).
17543 * libidn: Remove subdirectory.
17544 * LICENSES: Do not mention licensing conditions for the removed
17546 * config.h.in (HAVE_LIBIDN): Remove.
17547 * include/dlfcn.h (__libc_dlopen): Update comment.
17548 * include/idna.h: Remove file.
17549 * inet/Makefile (routines): Add idna.
17550 (tests-static, tests-internal): Add tst-idna_name_classify.
17551 (LOCALES): Generate locales for tests.
17552 (tst-idna_name_classify.out): Depend on generated locales.
17553 * inet/idna_name_classify.c: New file.
17554 * inet/tst-idna_name_classify.c: Likewise.
17555 * inet/net-internal.h (__idna_to_dns_encoding)
17556 (__idna_from_dns_encoding): Declare.
17557 * inet/net-internal.h (enum idna_name_classification): Define.
17558 (__idna_name_classify): Declare.
17559 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17560 __idna_from_dns_encoding.
17561 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17562 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17563 name as a fallback in case of encoding errors.
17564 (getnameinfo): Use DEPRECATED_NI_IDN.
17565 * inet/idna.c: New file.
17566 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17567 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17568 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17569 (modules-names): Add tst-no-libidn2.
17570 (extra-test-objs): Add tst-no-libidn2.os.
17571 (LDFLAGS-tst-no-libidn2.so): Set soname.
17572 (LOCALES): Set, and generate locales.
17573 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17574 (tst-resolv-ai_idn-latin1): Likewise.
17575 (tst-resolv-ai_idn-nolibidn2): Likewise.
17576 (tst-resolv-ai_idn.out): Depend on locales.
17577 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17578 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17580 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17581 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17582 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17583 * resolv/tst-resolv-ai_idn.c: New file.
17584 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17585 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17586 * resolv/tst-no-libidn2.c: Likewise.
17587 * support/support_format_addrinfo.c (format_ai_flags): Do not
17588 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17589 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17590 (gaih_inet): Call __idna_to_dns_encoding and
17591 __idna_from_dns_encoding, and use the original (punycode) name if
17592 __idna_from_dns_encoding fails due to an encoding error.
17593 (getaddrinfo): Use DEPRECATED_AI_IDN.
17594 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17595 * sysdeps/unix/inet/configure: Remove file.
17596 * sysdeps/unix/inet/configure.ac: Likewise.
17598 2018-05-23 Florian Weimer <fweimer@redhat.com>
17600 Implement allocate_once.
17601 * include/allocate_once.h: New file.
17602 * misc/allocate_once.c: Likewise.
17603 * misc/tst-allocate_once.c: Likewise.
17604 * misc/Makefile (routines): Add allocate_once.
17605 (tests-internal): Add tst-allocate_once.
17606 (generated): Add tst-allocate_once.mtrace,
17607 tst-allocate_once-mem.out.
17608 (tests-special): Add tst-allocate_once-mem.out.
17609 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17610 (tst-allocate_once-mem.out): Call mtrace.
17611 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17613 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17616 * string/test-memcpy.c (do_test1): New function.
17617 (test_main): Call it.
17619 2018-05-23 Andreas Schwab <schwab@suse.de>
17623 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17624 (L(preloop_large)): Save initial destination pointer in %r11 and
17625 use it instead of %rax after the loop.
17626 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17628 2018-05-22 Joseph Myers <joseph@codesourcery.com>
17630 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17631 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17632 -I../soft-fp. Moved from ....
17633 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17634 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17635 * sysdeps/aarch64/e_sqrtl.c: ... here.
17636 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17637 * sysdeps/aarch64/sfp-machine.h: ... here.
17639 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17640 -Wmaybe-uninitialized around access to fq[0].
17641 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17645 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17646 aliases for non-libc case of versioned symbols.
17647 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17648 (llseek): Define as compat symbol if
17649 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17651 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17652 Make into a compat symbol, disabled for minimum symbol version
17653 GLIBC_2.28 and later.
17654 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17656 2018-05-22 Florian Weimer <fweimer@redhat.com>
17658 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17659 not add -mpreferred-stack-boundary=4.
17660 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17661 (stack-align-test-flags): Likewise.
17662 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17664 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17665 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17666 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17667 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17668 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17669 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17670 (CFLAGS-tst-align2.c): Likewise.
17672 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17674 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17675 (index_arch_Prefer_FSRM): Likewise.
17676 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17677 Also check Prefer_FSRM.
17678 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17679 Also return OPTIMIZE (erms) for Prefer_FSRM.
17681 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17683 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17684 (index_cpu_FSRM): Likewise.
17685 (reg_FSRM): Likewise.
17687 2018-05-18 Joseph Myers <joseph@codesourcery.com>
17689 * math/gen-tgmath-tests.py: Import sys.
17690 (Tests.__init__): Initialize macros_seen.
17691 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17692 if requested to do so for this macro.
17693 (Tests.add_all_tests): Take argument for macro for which to
17695 (Tests.check_macro_list): New function.
17696 (main): Handle check-list argument and argument specifying macro
17697 for which to generate tests.
17698 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17699 [PYTHON] (tgmath3-macro-tests): Likewise.
17700 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17701 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17702 not test-tgmath3.c.
17703 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17704 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17706 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17707 [PYTHON] ($(foreach
17708 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17710 [PYTHON] (tests-special): Add
17711 $(objpfx)test-tgmath3-macro-list.out.
17712 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17714 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17715 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17719 * time/tzset.c (SECSPERDAY): Cast to time_t.
17720 * time/tst-y2039.c: New file.
17721 * time/Makefile (tests): Add tst-y2039.
17723 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17725 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17726 (PREFETCH_ONE_SET): Remove duplicate line.
17728 2018-05-17 Florian Weimer <fweimer@redhat.com>
17730 * sysdeps/generic/math-type-macros-double.h: Include
17731 <math-nan-payload-double.h> after <libm-alias-double.h>.
17732 * sysdeps/generic/math-type-macros-float.h: Include
17733 <math-nan-payload-float.h> after <libm-alias-float.h>.
17734 * sysdeps/generic/math-type-macros-float128.h: Include
17735 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17736 * sysdeps/generic/math-type-macros-ldouble.h: Include
17737 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17739 2018-05-17 Andreas Schwab <schwab@suse.de>
17741 * resolv/res_send.c (__res_context_send): Don't set errno when
17742 returing error after malloc failure.
17744 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17746 * nptl/allocatestack.c (allocate_stack): Remove the
17747 !__ASSUME_PRIVATE_FUTEX paths.
17748 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17749 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17751 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17752 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17753 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17754 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17755 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17756 !__ASSUME_PRIVATE_FUTEX path.
17757 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17758 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17759 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17760 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17761 !__ASSUME_PRIVATE_FUTEX macros.
17762 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17763 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17764 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17765 * sysdeps/unix/sysv/linux/kernel-features.h
17766 (__ASSUME_PRIVATE_FUTEX): Removed.
17768 2018-05-17 Joseph Myers <joseph@codesourcery.com>
17770 * math/Makefile (libm-narrow-fns): Add div.
17771 (libm-test-funcs-narrow): Likewise.
17772 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17773 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17774 * math/gen-auto-libm-tests.c (test_functions): Add div.
17775 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17776 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17777 (NARROW_DIV_TRIVIAL): Likewise.
17778 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17780 (__ddivl): Likewise.
17781 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17783 (CFLAGS-nldbl-ddiv.c): New variable.
17784 (CFLAGS-nldbl-fdiv.c): Likewise.
17785 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17787 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17789 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17790 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17791 * math/auto-libm-test-in: Add tests of div.
17792 * math/auto-libm-test-out-narrow-div: New generated file.
17793 * math/libm-test-narrow-div.inc: New file.
17794 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17795 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17796 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17797 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17798 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17799 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17800 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17801 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17802 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17803 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17804 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17805 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17806 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17807 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17808 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17809 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17810 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17811 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17813 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17814 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17815 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17816 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17817 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17818 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17819 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17820 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17821 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17822 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17823 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17824 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17825 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17830 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17831 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17832 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17833 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17834 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17835 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17836 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17837 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17839 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17842 * nscd/nscd-client.h (sendfileall): Remove prototype.
17843 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17844 (handle_request): Use writeall instead of sendfileall.
17845 * nscd/aicache.c (addhstaiX): Likewise.
17846 * nscd/grpcache.c (cache_addgr): Likewise.
17847 * nscd/hstcache.c (cache_addhst): Likewise.
17848 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17849 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17850 * nscd/pwdcache.c (cache_addpw): Likewise.
17851 * nscd/servicescache.c (cache_addserv): Likewise.
17852 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17853 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17854 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17857 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17859 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17860 Include <string/strncat.c>.
17861 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17863 (__GI___strncat): New hidden alias.
17865 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17867 * sysdeps/mips/mips32/libm-test-ulps: Update.
17868 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17870 2018-05-16 Florian Weimer <fweimer@redhat.com>
17872 * support/Makefile (libsupport-routines): Add support_quote_blob,
17873 support_test_compare_blob.
17874 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17875 * support/check.h (TEST_COMPARE_BLOB): Define.
17876 (support_test_compare_blob): Declare.
17877 * support/support.h (support_quote_blob): Declare.
17878 * support/support_quote_blob.c: New file.
17879 * support/support_test_compare_blob.c: Likewise.
17880 * support/tst-support_quote_blob.c: Likewise.
17881 * support/tst-test_compare_blob.c: Likewise.
17883 2018-05-16 Florian Weimer <fweimer@redhat.com>
17885 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17886 of <strtod_nan_double.h>.
17887 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17888 instead of SET_MANTISSA.
17889 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17890 of include <strtod_nan_float.h>.
17891 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17892 instead of <strtod_nan_ldouble.h>.
17893 * stdlib/strtod_nan_double.h: Move to ...
17894 * sysdeps/generic/math-nan-payload-double.h: ... here.
17895 (FLOAT): Remove definition.
17896 (SET_MANTISSA): Rename to ...
17897 (SET_NAN_PAYLOAD): ... this.
17898 * stdlib/strtod_nan_float.h: Move to ...
17899 * sysdeps/generic/math-nan-payload-float.h: ... here.
17900 (FLOAT): Remove definition.
17901 (SET_MANTISSA): Rename to ...
17902 (SET_NAN_PAYLOAD): ... this.
17903 * sysdeps/generic/math-type-macros-double.h: Include
17904 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17905 instead of <math-svid-compat.h>.
17906 * sysdeps/generic/math-type-macros-float.h: Include
17907 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17908 instead of <math-svid-compat.h>.
17909 * sysdeps/generic/math-type-macros-float128.h: Include
17910 <math-nan-payload-float128.h>.
17911 * sysdeps/generic/math-type-macros-ldouble.h: Include
17912 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17913 instead of <math-svid-compat.h>.
17914 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17915 check for definition.
17916 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17917 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17918 Include <ieee754_float128.h>.
17919 (FLOAT): Remove definition.
17920 (SET_MANTISSA): Rename to ...
17921 (SET_NAN_PAYLOAD): ... this.
17922 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17923 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17924 Do not include <float128_private.h>.
17925 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17926 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17927 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17928 (FLOAT): Remove definition.
17929 (SET_MANTISSA): Rename to ...
17930 (SET_NAN_PAYLOAD): ... this.
17931 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17932 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17933 (FLOAT): Remove definition.
17934 (SET_MANTISSA): Rename to ...
17935 (SET_NAN_PAYLOAD): ... this.
17936 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17937 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17938 (FLOAT): Remove definition.
17939 (SET_MANTISSA): Rename to ...
17940 (SET_NAN_PAYLOAD): ... this.
17941 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17942 of "../stdlib/strtod_nan_double.h".
17943 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17944 of "../stdlib/strtod_nan_float.h".
17945 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17946 instead of "../stdlib/strtod_nan_ldouble.h".
17947 * manual/arith.texi (Parsing of Floats): Adjust comment.
17949 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17951 * math/Makefile (libm-narrow-fns): Add mul.
17952 (libm-test-funcs-narrow): Likewise.
17953 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17954 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17955 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17956 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17957 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17958 (NARROW_MUL_TRIVIAL): Likewise.
17959 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17960 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17962 (__dmull): Likewise.
17963 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17965 (CFLAGS-nldbl-dmul.c): New variable.
17966 (CFLAGS-nldbl-fmul.c): Likewise.
17967 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17969 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17971 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17972 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17973 * math/auto-libm-test-in: Add tests of mul.
17974 * math/auto-libm-test-out-narrow-mul: New generated file.
17975 * math/libm-test-narrow-mul.inc: New file.
17976 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17977 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17978 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17979 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17980 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17981 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17982 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17983 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17984 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17985 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17986 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17987 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17988 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17989 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17990 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17991 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17992 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17993 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17995 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17996 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17997 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17998 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17999 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18000 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18001 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18002 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18003 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18007 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18012 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18013 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18014 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18015 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18016 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18017 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18018 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18019 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18021 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
18023 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
18024 with *%eax in call.
18026 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
18028 * sysdeps/i386/ldsodefs.h: Removed.
18029 * sysdeps/x86_64/ldsodefs.h: Moved to ...
18030 * sysdeps/x86/ldsodefs.h: This.
18031 (La_i86_regs): New.
18032 (La_i86_retval): Likewise.
18033 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
18034 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
18036 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
18038 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
18041 2018-05-13 Alan Modra <amodra@gmail.com>
18043 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
18044 R_PARISC_TLS_DTPOFF32 reloc addend.
18046 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18048 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
18049 * math/math.h: Restrict the prototype definition for the functions
18050 issignaling(_Float128) and iszero(_Float128); and template
18051 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
18052 __HAVE_FLOAT128_UNLIKE_LDBL.
18053 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
18054 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18055 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
18056 __f128() constants; define the type _Float128 as long double;
18057 and reuse long double in __CFLOAT128.
18059 2018-05-11 Joseph Myers <joseph@codesourcery.com>
18061 * sysdeps/generic/math_private.h: Do not include
18063 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
18065 * math/fromfp.h: Include <math-barriers.h>.
18066 * math/math-narrow.h: Likewise.
18067 * math/s_nextafter.c: Likewise.
18068 * math/s_nexttowardf.c: Likewise.
18069 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
18070 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
18071 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
18072 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
18073 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18074 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18075 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18077 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18078 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18079 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18081 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18083 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
18084 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18088 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18089 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18090 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18091 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18092 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18093 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18094 * sysdeps/ieee754/k_standardl.c: Likewise.
18095 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18096 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18097 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18098 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
18099 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18100 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18101 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18102 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18103 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18104 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18105 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18106 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18107 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18108 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18110 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18111 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
18112 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
18113 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18114 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18115 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
18116 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
18118 2018-05-11 Florian Weimer <fweimer@redhat.com>
18120 Use 64-bit epoch values in the time zone file parser.
18121 * include/time.h (internal_time_t): Define.
18122 (__tzfile_compute): Use it.
18123 * time/tzfile.c (struct leap): Use internal_time_t for epoch
18125 (transitions): Switch to internal_time_t.
18126 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
18128 (__tzfile_compute): Use internal_time_t for timer argument. Check
18129 for truncation before calling __offtime.
18131 2018-05-11 Florian Weimer <fweimer@redhat.com>
18134 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
18135 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
18137 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
18138 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
18139 export without --enable-obsolete-rpc.
18140 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
18141 symbol. This should not have been exported, ever.
18143 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
18146 * localedata/locales/gd_GB (abmon): Fix typo in May:
18147 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
18149 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
18151 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
18152 Use multiple registers to copy data in loop tail.
18154 * sysdeps/aarch64/multiarch/memmove_falkor.S
18155 (__memmove_falkor): Use multiple registers to move data in
18158 2018-05-10 Joseph Myers <joseph@codesourcery.com>
18160 * math/math-underflow.h: New file.
18161 * sysdeps/generic/math_private.h: Do not include <float.h>.
18162 (fabs_tg): Remove macro. Moved to math-underflow.h.
18163 (min_of_type_f): Likewise.
18164 (min_of_type_): Likewise.
18165 (min_of_type_l): Likewise.
18166 (min_of_type_f128): Likewise.
18167 (min_of_type): Likewise.
18168 (math_check_force_underflow): Likewise.
18169 (math_check_force_underflow_nonneg): Likewise.
18170 (math_check_force_underflow_complex): Likewise.
18171 * math/e_exp2_template.c: Include <math-underflow.h>.
18172 * math/k_casinh_template.c: Likewise.
18173 * math/s_catan_template.c: Likewise.
18174 * math/s_catanh_template.c: Likewise.
18175 * math/s_ccosh_template.c: Likewise.
18176 * math/s_cexp_template.c: Likewise.
18177 * math/s_clog10_template.c: Likewise.
18178 * math/s_clog_template.c: Likewise.
18179 * math/s_csin_template.c: Likewise.
18180 * math/s_csinh_template.c: Likewise.
18181 * math/s_csqrt_template.c: Likewise.
18182 * math/s_ctan_template.c: Likewise.
18183 * math/s_ctanh_template.c: Likewise.
18184 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18185 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18186 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18187 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18188 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18189 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18190 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18191 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18192 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18193 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18194 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18195 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18196 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18197 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18198 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18199 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18200 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18201 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18202 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18203 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18204 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18205 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18206 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18207 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18208 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18209 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18210 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18211 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18212 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18213 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18214 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18215 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18222 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18242 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18248 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18252 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18254 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18261 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18262 * sysdeps/x86/fpu/powl_helper.c: Likewise.
18263 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
18264 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
18265 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18269 2018-05-09 Joseph Myers <joseph@codesourcery.com>
18271 * sysdeps/generic/math-barriers.h: New file.
18272 * sysdeps/generic/math_private.h [!math_opt_barrier]
18273 (math_opt_barrier): Move to math-barriers.h.
18274 [!math_opt_barrier] (math_force_eval): Likewise.
18275 * sysdeps/aarch64/fpu/math-barriers.h: New file.
18276 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
18278 (math_force_eval): Likewise.
18279 * sysdeps/alpha/fpu/math-barriers.h: New file.
18280 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
18282 (math_force_eval): Likewise.
18283 * sysdeps/x86/fpu/math-barriers.h: New file.
18284 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
18286 (math_force_eval): Likewise.
18287 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
18288 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
18289 multiple-include guard for rename.
18290 * sysdeps/powerpc/fpu/math-barriers.h: New file.
18291 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
18293 (math_force_eval): Likewise.
18295 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
18299 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
18301 * stdlib/Makefile (test-bz22786): New test.
18302 * stdlib/test-bz22786.c: New test.
18304 2018-05-09 Joseph Myers <joseph@codesourcery.com>
18306 * include/math-narrow-eval.h: New file. Contents moved from ....
18307 * sysdeps/generic/math_private.h: ... here.
18308 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
18309 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18310 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
18311 * stdlib/strtod_l.c: Likewise.
18312 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18313 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
18314 * sysdeps/i386/fpu/s_fdim.c: Likewise.
18315 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18316 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18317 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18318 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18319 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18320 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18321 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18322 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18323 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
18324 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18325 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18326 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18327 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18328 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18329 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18330 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18331 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18332 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18333 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18334 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18335 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18336 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18337 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18338 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18339 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18340 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18342 2018-05-08 Andreas Schwab <schwab@suse.de>
18344 * sysdeps/nptl/internaltypes.h: Fix comment.
18346 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
18348 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18349 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
18352 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
18354 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
18355 of I into loop header.
18356 * benchtests/bench-memmove-walk.c
18357 (test_main): Likewise.
18359 2018-05-07 Alexandre Oliva <oliva@gnu.org>
18362 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18363 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18365 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18368 * elf/dl-load.c (open_verify): Fix stack overflow.
18369 * elf/Makefile (tst-big-note): New test.
18370 * elf/tst-big-note-lib.S: New.
18371 * elf/tst-big-note.c: New.
18373 2018-05-04 Joseph Myers <joseph@codesourcery.com>
18375 * scripts/abilist.awk: Ignore absolute symbols.
18376 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
18377 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
18378 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
18379 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
18380 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
18381 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
18382 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18383 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
18384 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
18385 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
18386 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
18387 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
18388 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
18389 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
18390 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
18391 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
18392 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
18393 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
18394 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18395 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
18396 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
18397 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
18398 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
18399 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
18400 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
18401 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
18402 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
18403 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
18404 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18405 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
18406 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
18407 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18408 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
18409 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
18410 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
18411 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
18412 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
18413 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
18414 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
18415 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
18416 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
18417 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18418 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
18419 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
18420 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18421 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
18422 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
18423 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
18424 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
18425 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
18426 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
18427 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
18428 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
18429 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
18430 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18431 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
18432 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
18433 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18434 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
18435 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
18436 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
18437 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
18438 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
18439 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
18440 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
18441 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
18442 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
18443 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18444 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
18445 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
18446 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18447 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
18448 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
18449 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
18450 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
18451 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
18452 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
18453 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
18454 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
18455 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
18456 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18457 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
18458 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
18459 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18460 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
18461 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
18462 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
18463 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
18464 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
18465 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
18466 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
18467 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18469 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
18470 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18471 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
18472 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
18473 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18474 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
18475 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
18476 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
18477 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
18478 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
18479 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
18480 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
18481 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18483 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
18484 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18485 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
18486 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
18487 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18488 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
18489 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
18490 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
18491 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
18492 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
18493 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
18494 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
18495 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
18496 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
18497 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18498 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
18499 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
18500 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18501 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
18502 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
18503 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
18504 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
18505 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
18506 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
18507 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18508 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
18509 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18511 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
18512 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
18513 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
18514 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
18515 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18516 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
18517 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
18518 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
18519 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
18520 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
18521 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
18522 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
18523 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
18524 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
18525 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
18526 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
18527 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
18528 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
18529 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18530 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18532 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
18533 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
18534 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
18535 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18536 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
18537 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
18538 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
18539 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
18540 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
18541 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
18542 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18543 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
18544 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
18545 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18546 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
18547 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18548 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18549 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18550 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18551 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18552 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18553 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18554 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18555 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18556 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18557 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18558 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18559 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18619 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18620 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18622 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18623 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18624 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18625 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18626 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18627 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18628 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18629 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18630 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18631 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18632 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18633 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18634 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18635 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18637 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18638 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18639 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18640 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18641 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18642 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18643 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18644 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18645 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18646 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18647 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18648 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18650 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18651 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18652 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18653 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18654 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18655 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18656 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18657 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18658 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18659 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18660 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18661 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18662 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18663 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18664 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18665 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18666 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18667 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18668 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18669 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18670 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18671 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18672 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18673 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18674 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18676 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18677 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18678 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18679 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18680 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18681 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18682 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18683 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18684 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18685 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18686 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18687 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18688 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18690 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18691 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18692 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18693 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18694 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18695 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18696 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18697 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18698 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18699 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18700 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18701 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18702 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18703 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18704 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18705 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18706 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18707 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18708 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18709 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18710 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18711 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18712 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18713 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18714 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18715 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18716 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18717 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18718 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18719 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18720 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18721 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18722 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18723 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18724 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18725 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18726 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18727 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18729 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18732 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18733 Use atomic_load_acquire to load __tid.
18735 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18737 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18738 Restore the pointer into %rdx, after syscall and use %rdx,
18739 instead of %rsi, to restore context.
18741 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18743 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18744 Pop the pointer into %rdx after syscall and use %rdx, instead
18745 of %rsi, to restore context.
18747 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18749 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18750 handlers after setjmp.
18751 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18753 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18754 <libc-pointer-arith.h>.
18755 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18756 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18757 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18758 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18759 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18760 * sysdeps/x86/__longjmp_cancel.S: New file.
18761 * sysdeps/x86/longjmp.c: Likewise.
18762 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18764 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18766 * NEWS: Add ustat.h deprecation entry.
18767 * bits/ustat.h: Remove file.
18768 * misc/sys/ustat.h: Likewise.
18769 * misc/ustat.h: Likewise.
18770 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18771 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18772 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18773 compatibility mode.
18774 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18775 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18776 generic Linux implementation.
18778 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18780 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18781 * math/w_expl_compat.c: Likewise.
18782 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18784 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18786 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18788 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18790 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18791 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18792 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18794 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18797 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18798 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18801 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18803 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18805 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18806 * math/w_asin_template.c: Likewise.
18807 * math/w_atanh_template.c: Likewise.
18809 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18811 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18812 to powerpc/powerpc64/be for big-endian.
18813 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18816 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18817 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18818 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18819 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18820 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18821 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18822 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18823 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18824 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18825 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18826 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18827 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18828 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18829 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18830 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18831 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18832 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18833 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18834 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18835 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18836 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18837 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18838 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18839 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18840 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18841 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18842 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18843 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18844 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18845 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18846 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18847 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18849 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18850 adjusted to imply powerpc64 and older processors on powerpc64/be.
18851 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18852 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18853 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18854 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18855 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18856 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18857 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18858 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18859 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18860 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18861 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18862 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18863 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18864 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18865 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18866 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18867 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18868 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18869 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18870 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18871 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18872 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18873 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18874 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18875 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18876 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18877 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18878 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18879 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18880 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18881 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18883 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18884 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18885 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18886 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18888 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18889 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18890 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18891 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18893 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18894 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18895 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18896 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18897 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18898 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18899 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18900 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18901 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18902 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18903 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18905 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18906 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18907 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18908 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18909 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18910 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18911 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18912 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18913 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18914 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18915 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18917 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18918 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18919 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18920 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18921 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18922 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18923 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18924 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18925 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18926 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18927 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18928 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18930 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18931 and adjusted to imply olders processors.
18932 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18933 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18934 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18935 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18936 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18937 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18938 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18939 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18940 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18941 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18942 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18944 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18946 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18947 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18961 powerpc64 and adjusted.
18962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18967 2018-04-27 Joseph Myers <joseph@codesourcery.com>
18969 * sysdeps/tile: Remove.
18970 * sysdeps/unix/sysv/linux/tile: Likewise.
18971 * README (tilegx-*-linux-gnu): Remove from list of supported
18973 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18974 contribution of support for generic Linux kernel syscall
18976 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18977 tilegx configurations.
18978 (Config.install_linux_headers): Do not handle tile.
18979 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18981 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18982 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18983 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18984 conditional undefine and redefine.
18985 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18987 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18988 conditional undefine and redefine.
18990 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18992 * signal/tst-sigaction.c: New file to test BZ #23069.
18993 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18995 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18998 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18999 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
19000 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
19001 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
19003 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19005 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
19006 _DIRENT_MATCHES_DIRENT64 is not defined.
19007 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
19008 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
19010 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
19011 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
19013 2018-04-25 Joseph Myers <joseph@codesourcery.com>
19015 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
19016 version to GCC 8 branch.
19018 2018-04-24 Joseph Myers <joseph@codesourcery.com>
19020 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
19021 (check_no_hidden): Use type of original function when declaring
19024 * sysdeps/unix/sysv/linux/sys/ptrace.h
19025 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
19026 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
19027 (struct __ptrace_seccomp_metadata): New type.
19028 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19029 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19030 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
19031 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19032 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
19033 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19034 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19035 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19036 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
19037 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19038 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
19039 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19040 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
19041 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19042 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
19043 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19045 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19047 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
19049 * dirent/versionsort.c (versionsort): Likewise.
19050 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
19051 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
19052 * dirent/versionsort64.c (versionsort64): Likewise.
19053 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
19054 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
19055 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
19056 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
19057 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
19058 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
19059 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
19060 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
19061 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
19062 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
19063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
19064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
19065 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
19066 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
19068 2018-04-23 Joseph Myers <joseph@codesourcery.com>
19070 * elf/elf.h (NT_PPC_PKEY): New macro.
19072 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
19075 * localedata/locales/hr_HR: fix thousands_sep and
19078 2018-04-20 Joseph Myers <joseph@codesourcery.com>
19080 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
19081 (XTABS): Define to TAB3.
19083 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19085 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19087 * dirent/scandir-tail-common.c: New file.
19088 * dirent/scandir-tail.c: Use scandir-tail-common.c.
19089 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
19090 * dirent/scandir.c: Use scandir-tail-common.c.
19091 * dirent/scandirat.c: Likewise.
19092 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
19093 * dirent/scandir64.c (scandir64): Always build and alias to scandir
19094 if _DIRENT_MATCHES_DIRENT64 is defined.
19095 * dirent/scandirat64.c (scandirat64): Likewise.
19096 * include/dirent.h (__scandir_tail): Only define iff
19097 _DIRENT_MATCHES_DIRENT64 is not defined.
19098 (__scandir64_tail): Define regardless.
19099 (__scandirat, scandirat64): Remove libc_hidden_proto.
19100 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
19101 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
19102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
19103 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
19104 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19105 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
19106 * sysdeps/unix/sysv/linux/scandir64.c: New file.
19108 2018-04-20 Joseph Myers <joseph@codesourcery.com>
19110 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
19112 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
19114 (_dl_aarch64_cap_flags): Add asimdfhm.
19116 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
19118 * sysdeps/nios2/libm-test-ulps: Update.
19120 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19122 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
19123 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
19125 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
19127 (_DIRENT_MATCHES_DIRENT64): Undef
19128 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
19129 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
19130 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
19131 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
19132 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
19133 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
19134 use getdents64 syscalls as base.
19135 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
19136 symbol if required.
19137 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
19138 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
19139 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
19140 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
19141 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
19142 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
19143 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
19144 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
19145 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19146 (__get_clockfreq_via_proc_openprom): Use __getdents64.
19147 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
19149 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
19151 * scripts/test_printers_common.py (init_test): Disable lock elision.
19153 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
19155 * math/test-tgmath.c (count_double, count_float,
19156 count_ldouble, count_cdouble, count_cfloat,
19157 count_cldouble): Use volatile int.
19159 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19161 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
19162 (conformtest-xfail-conds): Add i386-gnu.
19163 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
19165 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
19166 ipc_perm.cuid, ipc_perm.cgid): Likewise.
19167 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
19168 msqid_ds.msg_lrpid): Likewise.
19169 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
19171 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
19172 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
19173 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
19174 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
19176 (struct statvfs64): Likewise.
19177 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
19179 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
19180 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
19181 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
19182 instead of wait_queue.
19183 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
19184 instead of vm_area_struct.
19185 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
19186 struct sched_param definition to it.
19187 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19188 * bits/types/struct_sched_param.h: New file.
19189 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
19190 <bits/types/struct_sched_param.h> instead of <sched.h>.
19191 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
19192 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
19193 generic version but include <bits/pthreadtypes.h> to make struct
19194 sigevent's sigev_notify_attributes field a pthread_attr_t*.
19195 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
19197 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
19198 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
19199 [__USE_XOPEN] (OFDEL): New macro.
19200 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
19201 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
19202 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
19204 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
19205 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
19206 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
19208 * sysdeps/i386/sys/ucontext.h: Likewise.
19209 * sysdeps/m68k/sys/ucontext.h: Likewise.
19210 * sysdeps/mips/sys/ucontext.h: Likewise.
19211 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
19212 * sysdeps/mach/hurd/i386/Makefile
19213 (test-xfail-POSIX/fcntl.h/conform): Add.
19214 (test-xfail-POSIX/signal.h/conform): Add.
19215 (test-xfail-POSIX/semaphore.h/conform): Add.
19216 (test-xfail-POSIX/regex.h/conform): Add.
19217 (test-xfail-POSIX/aio.h/conform): Add.
19218 (test-xfail-POSIX/mqueue.h/conform): Add.
19219 (test-xfail-POSIX/sys/types.h/conform): Add.
19220 (test-xfail-UNIX98/fcntl.h/conform): Add.
19221 (test-xfail-UNIX98/netdb.h/conform): Add.
19222 (test-xfail-UNIX98/signal.h/conform): Add.
19223 (test-xfail-UNIX98/semaphore.h/conform): Add.
19224 (test-xfail-UNIX98/regex.h/conform): Add.
19225 (test-xfail-UNIX98/aio.h/conform): Add.
19226 (test-xfail-UNIX98/ftw.h/conform): Add.
19227 (test-xfail-UNIX98/mqueue.h/conform): Add.
19228 (test-xfail-UNIX98/netinet/in.h/conform): Add.
19229 (test-xfail-UNIX98/sys/wait.h/conform): Add.
19230 (test-xfail-UNIX98/sys/sem.h/conform): Add.
19231 (test-xfail-UNIX98/sys/uio.h/conform): Add.
19232 (test-xfail-UNIX98/sys/socket.h/conform): Add.
19233 (test-xfail-UNIX98/sys/types.h/conform): Add.
19234 (test-xfail-UNIX98/stdlib.h/conform): Add.
19235 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
19236 (test-xfail-POSIX2008/fcntl.h/conform): Add.
19237 (test-xfail-POSIX2008/netdb.h/conform): Add.
19238 (test-xfail-POSIX2008/signal.h/conform): Add.
19239 (test-xfail-POSIX2008/semaphore.h/conform): Add.
19240 (test-xfail-POSIX2008/regex.h/conform): Add.
19241 (test-xfail-POSIX2008/aio.h/conform): Add.
19242 (test-xfail-POSIX2008/mqueue.h/conform): Add.
19243 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
19244 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
19245 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
19246 (test-xfail-POSIX2008/sys/types.h/conform): Add.
19247 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
19248 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
19249 (test-xfail-XOPEN2K/netdb.h/conform): Add.
19250 (test-xfail-XOPEN2K/signal.h/conform): Add.
19251 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
19252 (test-xfail-XOPEN2K/regex.h/conform): Add.
19253 (test-xfail-XOPEN2K/aio.h/conform): Add.
19254 (test-xfail-XOPEN2K/ftw.h/conform): Add.
19255 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
19256 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
19257 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
19258 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
19259 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
19260 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
19261 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
19262 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
19263 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
19264 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
19265 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
19266 (test-xfail-XOPEN2K8/signal.h/conform): Add.
19267 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
19268 (test-xfail-XOPEN2K8/regex.h/conform): Add.
19269 (test-xfail-XOPEN2K8/aio.h/conform): Add.
19270 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
19271 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
19272 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
19273 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
19274 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
19275 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
19276 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
19277 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
19278 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
19279 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
19280 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
19282 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
19283 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
19285 2018-04-18 Joseph Myers <joseph@codesourcery.com>
19287 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19288 --enable-obsolete for powerpc-linux-gnuspe.
19290 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19292 * conform/data/sys/un.h-data: Allow sun_ prefix.
19293 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
19295 * sysdeps/mach/include/mach.h: Likewise.
19296 * sysdeps/mach/include/mach/mig_support.h: Likewise.
19297 * sysdeps/mach/include/mach_error.h: Likewise.
19299 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19301 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
19302 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
19303 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
19304 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
19306 2018-04-16 Andreas Schwab <schwab@suse.de>
19309 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
19311 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19313 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
19314 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
19316 2018-04-12 DJ Delorie <dj@redhat.com>
19318 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19321 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19323 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
19324 (struct kernel_sigaction): Use the same definition on 31bit as is used
19327 2018-04-09 Florian Weimer <fweimer@redhat.com>
19330 * resolv/res_send.c (send_dg): Use designated initializers instead
19331 of assignment to zero-initialize other fields of struct mmsghdr.
19333 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19335 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
19336 __READDIR_ALIAS): Undefine after usage.
19337 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
19338 __READDIR_R_ALIAS): Likewise.
19339 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
19340 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
19341 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
19342 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
19343 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
19344 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
19345 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19346 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19347 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
19348 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
19349 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
19350 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
19351 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19352 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
19353 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
19354 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
19355 * sysdeps/unix/sysv/linux/readdir.c: New file.
19356 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
19357 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
19358 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
19360 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19362 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
19364 * manual/charset.texi (Converting a Character): Fix typo.
19366 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19370 * sysdeps/arm/libm-test-ulps: Update.
19372 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
19373 as base implementation.
19374 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19375 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19376 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19377 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19378 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19379 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
19380 remove unrequired definitions and update comments.
19381 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
19382 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
19383 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
19384 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
19385 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
19386 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
19387 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
19388 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
19389 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
19390 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
19391 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
19392 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19393 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
19394 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
19395 and RESET_SA_RESTORER hooks.
19397 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
19399 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19401 2018-04-05 Florian Weimer <fweimer@redhat.com>
19403 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
19404 integer overflow, memory leak on error, and indeterminate errno
19405 value. Add a null wide character to terminate the result string.
19406 * manual/charset.texi (Converting a Character): Mention embedded
19407 null bytes in the mbrtowc input string. Explain what happens in
19408 the -2 result case. Do not claim that mbrtowc is simple or
19409 obvious to use. Adjust the description of the code example. Use
19410 @code, not @var, for concrete variables.
19412 2018-04-05 Florian Weimer <fweimer@redhat.com>
19414 * manual/examples/mbstouwcs.c: New file.
19415 * manual/charset.texi (Converting a Character): Include it.
19417 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19419 * include/dirent.h (dirfd): Add hidden proto.
19420 * dirent/dirfd.c (dirfd): Add hidden def.
19421 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
19422 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
19424 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
19426 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
19427 sin, cos and sincos to 1 ULP.
19429 2018-04-04 Maciej W. Rozycki <macro@mips.com>
19432 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
19434 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
19435 * elf/tst-absolute-sym.c: New file.
19436 * elf/tst-absolute-sym-lib.c: New file.
19437 * elf/tst-absolute-sym-lib.lds: New file.
19438 * elf/Makefile (tests): Add `tst-absolute-sym'.
19439 (modules-names): Add `tst-absolute-sym-lib'.
19440 (LDLIBS-tst-absolute-sym-lib.so): New variable.
19441 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
19442 ($(objpfx)tst-absolute-sym): New dependency.
19445 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
19447 (SYMBOL_ADDRESS): New macro.
19448 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
19449 SYMBOL_ADDRESS for symbol address calculation.
19450 * elf/dl-runtime.c (_dl_fixup): Likewise.
19451 (_dl_profile_fixup): Likewise.
19452 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
19453 * elf/rtld.c (dl_main): Likewise.
19454 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
19455 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
19456 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
19457 (elf_machine_rela): Likewise.
19458 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
19459 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
19460 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19461 (elf_machine_rela): Likewise.
19462 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19463 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
19464 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
19465 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
19467 (elf_machine_reloc): Likewise.
19468 (elf_machine_got_rel): Likewise.
19469 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
19470 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
19471 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19473 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19475 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
19476 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19478 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19480 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19481 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19483 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19485 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
19486 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19488 2018-04-04 Zack Weinberg <zackw@panix.com>
19490 * sysdeps/generic/internal-signals.h: Include signal.h,
19491 sigsetops.h, and stdbool.h.
19492 (__libc_signal_block_all): Actually block all signals.
19493 (__libc_signal_block_app): Likewise.
19494 (__libc_signal_restore_set): Actually restore the signal mask.
19496 2018-04-04 Florian Weimer <fweimer@redhat.com>
19498 inet: Actually build and run tst-deadline.
19499 * inet/Makefile (tests-internal): Add tst-deadline and do not
19500 overwrite the variable.
19501 (tests-static-internal): Remove variable.
19503 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
19506 * bits/uio-ext.h (RWF_APPEND): New.
19507 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
19508 * manual/llio.texi: Document RWF_APPEND.
19509 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
19510 (RWF_SUPPORTED): Add RWF_APPEND.
19512 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19515 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
19516 check for internal nptl signals.
19517 * nptl/sigaction.c (__sigaction): Likewise.
19518 * signal/sigaddset.c (sigaddset): Likewise.
19519 * signal/sigdelset.c (sigdelset): Likewise.
19520 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19521 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
19523 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
19524 to filter out internal nptl signals.
19525 * signal/tst-sigset.c (do_test): Check ech signal indidually and
19526 also check realtime signals using standard macros.
19527 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
19528 __is_internal_signal, __libc_signal_block_all,
19529 __libc_signal_block_app, __libc_signal_restore_set): New functions.
19530 * sysdeps/nptl/sigfillset.c: Remove file.
19531 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
19532 Change return to bool.
19533 (__clear_internal_signals): Remove SIGTIMER clean since it is
19534 equal to SIGCANEL on Linux.
19535 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
19536 signal set was constructed using standard functions.
19538 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19540 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
19541 ifname is too long.
19542 * hurd/hurdsig.c (interrupted_reply_port_location): Use
19543 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
19544 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
19546 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
19547 * signal/sigaddset.c: Include <sigsetopts.h>.
19548 * signal/sigdelset.c: Likewise.
19550 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19552 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19554 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19555 logic as sin and cos.
19557 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19559 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19560 inputs. Return correct sign.
19561 (do_sincos): Remove small input check before do_sin, let do_sin set
19566 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19568 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19569 (do_cos_slow): Likewise.
19570 (do_sin_slow): Likewise.
19571 (reduce_and_compute): Likewise.
19576 (sloww1): Likewise.
19577 (sloww2): Likewise.
19579 (bslow1): Likewise.
19580 (bslow2): Likewise.
19581 (cslow2): Likewise.
19583 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19585 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19586 (do_cos): Remove corp parameter and calculations.
19587 (do_sin): Likewise.
19588 (do_sincos): Remove cor variable.
19589 (__sin): Use do_sincos for huge inputs.
19591 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19592 (reduce_and_compute_sincos): Remove unused function.
19594 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19596 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19597 reduce_sincos, improve accuracy to 136 bits.
19598 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19599 (__sin): Use improved reduction and simplified do_sincos calculation.
19601 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19603 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19605 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19606 (do_sincos_2): Likewise.
19607 (__sin): Remove middle range reduction case.
19609 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19612 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19614 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19615 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19618 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19620 2018-04-03 Joseph Myers <joseph@codesourcery.com>
19622 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19625 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19627 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19628 Remove definitions.
19629 (opendir_oflags): Use O_DIRECTORY regardless.
19630 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19631 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19633 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19635 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19636 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19638 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19639 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19640 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19641 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
19642 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19643 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
19645 * htl/Makefile: Bump licence to LGPL 2.1+.
19646 * htl/alloca_cutoff.c: Likewise.
19647 * htl/cthreads-compat.c: Likewise.
19648 * htl/lockfile.c: Likewise.
19649 * htl/pt-alloc.c: Likewise.
19650 * htl/pt-cancel.c: Likewise.
19651 * htl/pt-cleanup.c: Likewise.
19652 * htl/pt-create.c: Likewise.
19653 * htl/pt-dealloc.c: Likewise.
19654 * htl/pt-detach.c: Likewise.
19655 * htl/pt-exit.c: Likewise.
19656 * htl/pt-getattr.c: Likewise.
19657 * htl/pt-initialize.c: Likewise.
19658 * htl/pt-internal.h: Likewise.
19659 * htl/pt-join.c: Likewise.
19660 * htl/pt-self.c: Likewise.
19661 * htl/pt-setcancelstate.c: Likewise.
19662 * htl/pt-setcanceltype.c: Likewise.
19663 * htl/pt-sigmask.c: Likewise.
19664 * htl/pt-spin-inlines.c: Likewise.
19665 * htl/pt-testcancel.c: Likewise.
19666 * htl/pt-yield.c: Likewise.
19667 * htl/tests/test-1.c: Likewise.
19668 * htl/tests/test-10.c: Likewise.
19669 * htl/tests/test-11.c: Likewise.
19670 * htl/tests/test-12.c: Likewise.
19671 * htl/tests/test-13.c: Likewise.
19672 * htl/tests/test-14.c: Likewise.
19673 * htl/tests/test-15.c: Likewise.
19674 * htl/tests/test-16.c: Likewise.
19675 * htl/tests/test-17.c: Likewise.
19676 * htl/tests/test-2.c: Likewise.
19677 * htl/tests/test-3.c: Likewise.
19678 * htl/tests/test-4.c: Likewise.
19679 * htl/tests/test-5.c: Likewise.
19680 * htl/tests/test-6.c: Likewise.
19681 * htl/tests/test-7.c: Likewise.
19682 * htl/tests/test-8.c: Likewise.
19683 * htl/tests/test-9.c: Likewise.
19684 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19685 * sysdeps/htl/bits/cancelation.h: Likewise.
19686 * sysdeps/htl/bits/pthread-np.h: Likewise.
19687 * sysdeps/htl/bits/pthread.h: Likewise.
19688 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19689 * sysdeps/htl/bits/semaphore.h: Likewise.
19690 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19691 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19692 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19693 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19694 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19695 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19696 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19697 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19698 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19699 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19700 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19701 * sysdeps/htl/old_pt-atfork.c: Likewise.
19702 * sysdeps/htl/pt-atfork.c: Likewise.
19703 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19704 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19705 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19706 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19707 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19708 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19709 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19710 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19711 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19712 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19713 * sysdeps/htl/pt-attr-init.c: Likewise.
19714 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19715 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19716 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19717 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19718 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19719 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19720 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19721 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19722 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19723 * sysdeps/htl/pt-attr.c: Likewise.
19724 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19725 * sysdeps/htl/pt-barrier-init.c: Likewise.
19726 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19727 * sysdeps/htl/pt-barrier.c: Likewise.
19728 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19729 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19730 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19731 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19732 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19733 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19734 * sysdeps/htl/pt-cond-init.c: Likewise.
19735 * sysdeps/htl/pt-cond-signal.c: Likewise.
19736 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19737 * sysdeps/htl/pt-cond-wait.c: Likewise.
19738 * sysdeps/htl/pt-cond.c: Likewise.
19739 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19740 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19741 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19742 * sysdeps/htl/pt-condattr-init.c: Likewise.
19743 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19744 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19745 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19746 * sysdeps/htl/pt-equal.c: Likewise.
19747 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19748 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19749 * sysdeps/htl/pt-getschedparam.c: Likewise.
19750 * sysdeps/htl/pt-getspecific.c: Likewise.
19751 * sysdeps/htl/pt-init-specific.c: Likewise.
19752 * sysdeps/htl/pt-key-create.c: Likewise.
19753 * sysdeps/htl/pt-key-delete.c: Likewise.
19754 * sysdeps/htl/pt-key.h: Likewise.
19755 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19756 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19757 * sysdeps/htl/pt-mutex-init.c: Likewise.
19758 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19759 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19760 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19761 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19762 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19763 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19764 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19765 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19766 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19767 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19768 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19769 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19770 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19771 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19772 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19773 * sysdeps/htl/pt-mutexattr.c: Likewise.
19774 * sysdeps/htl/pt-once.c: Likewise.
19775 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19776 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19777 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19778 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19779 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19780 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19781 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19782 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19783 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19784 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19785 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19786 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19787 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19788 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19789 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19790 * sysdeps/htl/pt-setschedparam.c: Likewise.
19791 * sysdeps/htl/pt-setschedprio.c: Likewise.
19792 * sysdeps/htl/pt-setspecific.c: Likewise.
19793 * sysdeps/htl/pt-spin.c: Likewise.
19794 * sysdeps/htl/pt-startup.c: Likewise.
19795 * sysdeps/htl/pthread.h: Likewise.
19796 * sysdeps/htl/sem-close.c: Likewise.
19797 * sysdeps/htl/sem-destroy.c: Likewise.
19798 * sysdeps/htl/sem-getvalue.c: Likewise.
19799 * sysdeps/htl/sem-init.c: Likewise.
19800 * sysdeps/htl/sem-open.c: Likewise.
19801 * sysdeps/htl/sem-post.c: Likewise.
19802 * sysdeps/htl/sem-timedwait.c: Likewise.
19803 * sysdeps/htl/sem-trywait.c: Likewise.
19804 * sysdeps/htl/sem-unlink.c: Likewise.
19805 * sysdeps/htl/sem-wait.c: Likewise.
19806 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19807 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19808 * sysdeps/mach/htl/pt-block.c: Likewise.
19809 * sysdeps/mach/htl/pt-spin.c: Likewise.
19810 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19811 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19812 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19813 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19814 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19815 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19816 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19817 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19818 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19819 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19820 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19821 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19822 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19823 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19824 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19825 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19826 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19827 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19828 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19829 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19830 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19831 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19832 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19833 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19834 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19835 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19836 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19837 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19838 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19839 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19840 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19841 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19842 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19843 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19844 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19845 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19846 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19847 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19848 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19849 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19850 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19851 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19852 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19854 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19855 * README: Remove the mention of out-of-tree patches needed for
19858 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19859 (UTIME_NOW, UTIME_OMIT): Define macros.
19861 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19862 instead of pthread_detach.
19863 (__cthread_fork): Call __pthread_create instead of pthread_create.
19864 (__cthread_keycreate): Call __pthread_key_create instead of
19865 pthread_key_create.
19866 (__cthread_getspecific): Call __pthread_getspecific instead of
19867 pthread_getspecific.
19868 (__cthread_setspecific): Call __pthread_setspecific instead of
19869 pthread_setspecific.
19870 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19871 __pthread_mutex_unlock instead of pthread_mutex_lock and
19872 pthread_mutex_unlock.
19873 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19874 ___pthread_get_cleanup_stack.
19875 (__pthread_get_cleanup_stack): New strong alias.
19876 * htl/pt-create.c: Include <pthreadP.h>.
19877 (entry_point): Call __pthread_exit instead of pthread_exit.
19878 (pthread_create): Rename to __pthread_create.
19879 (pthread_create): New strong alias.
19880 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19881 (pthread_detach): New strong alias.
19882 (__pthread_detach): Call __pthread_cond_broadcast instead of
19883 pthread_cond_broadcast.
19884 * htl/pt-exit.c: Include <pthreadP.h>.
19885 (__pthread_exit): Call __pthread_setcancelstate and
19886 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19887 __pthread_get_cleanup_stack.
19888 * htl/pt-testcancel.c: Include <pthreadP.h>.
19889 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19890 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19891 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19892 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19893 pthread_attr_getstacksize.
19894 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19895 Rename to __pthread_attr_getstackaddr.
19896 (pthread_attr_getstackaddr): New strong alias.
19897 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19898 Rename to __pthread_attr_getstacksize.
19899 (pthread_attr_getstacksize): New strong alias.
19900 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19901 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19902 (pthread_attr_setstack): New strong alias.
19903 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19904 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19905 pthread_attr_getstacksize, pthread_attr_setstacksize and
19906 pthread_attr_setstackaddr.
19907 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19908 Rename to __pthread_attr_setstackaddr.
19909 (pthread_attr_setstackaddr): New strong alias.
19910 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19911 Rename to __pthread_attr_setstacksize.
19912 (pthread_attr_setstacksize): New strong alias.
19913 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19914 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19916 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19917 (__pthread_key_create): New hidden def.
19918 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19919 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19920 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19921 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19922 __pthread_setspecific, __pthread_setcancelstate,
19923 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19924 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19925 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19927 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19928 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19929 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19930 (pthread_attr_setstackaddr): New strong alias.
19931 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19932 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19933 (pthread_attr_setstacksize): New strong alias.
19934 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19935 (call_exit): Call __pthread_exit instead of pthread_exit.
19936 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19937 (_pthread_mutex_init): New hidden definition.
19938 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19939 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19940 instead of pthread_attr_init and pthread_attr_setstack.
19942 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19943 __vm_deallocate instead of vm_allocate and vm_deallocate.
19944 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19946 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19948 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19950 * hurd/siginfo.c: Include <libioP.h>.
19951 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19952 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19954 * mach/devstream.c: Include <libioP.h>.
19955 (dealloc_ref): Call __mach_port_deallocate instead of
19956 mach_port_deallocate.
19957 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19958 Call __mach_port_deallocate instead of mach_port_deallocate.
19959 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19961 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19963 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19964 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19965 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19967 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19969 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19970 instead of sysconf.
19971 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19972 __clock_gettime instead of clock_gettime.
19973 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19974 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19975 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19976 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19977 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19979 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19980 __clock_gettime and __nanosleep instead of clock_gettime and
19982 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19983 __hurd_catch_signal.
19984 (hurd_catch_signal): New strong alias.
19985 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19986 __hurd_catch_signal instead of hurd_catch_signal.
19987 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19988 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19989 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19990 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19991 (_hurd_thread_sigstate): Add hidden def.
19992 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19994 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19995 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19996 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19997 __hurd_file_name_path_lookup.
19998 (hurd_file_name_path_lookup): New strong alias.
19999 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
20000 hurd_file_name_path_lookup.
20001 * mach/errstring.c (mach_error_type): Add hidden def.
20002 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
20003 * mach/mutex-init.c (__mutex_init): Add hidden def.
20004 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
20005 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
20006 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
20007 * sysdeps/mach/hurd/getcwd.c
20008 (_hurd_canonicalize_directory_name_internal): Rename to
20009 __hurd_canonicalize_directory_name_internal.
20010 (_hurd_canonicalize_directory_name_internal): New strong alias.
20011 (__canonicalize_directory_name_internal, __getcwd): Call
20012 __hurd_canonicalize_directory_name_internal instead of
20013 _hurd_canonicalize_directory_name_internal.
20014 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
20015 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
20017 * sysdeps/hurd/include/hurd.h: New file.
20018 * sysdeps/hurd/include/hurd/fd.h: New file.
20019 * sysdeps/hurd/include/hurd/signal.h: New file.
20020 * sysdeps/mach/include/lock-intern.h: New file.
20021 * sysdeps/mach/include/mach.h: New file.
20022 * sysdeps/mach/include/mach/mig_support.h: New file.
20023 * sysdeps/mach/include/mach_error.h: New file.
20024 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
20026 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
20027 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
20028 _HEADER_H_HIDDEN_DEF macro.
20029 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
20030 _hurd_fd_error_signal): Add hidden prototype.
20031 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
20033 * libio/iolibio.h (_IO_puts): New hidden prototype.
20034 * libio/ioputs.c (_IO_puts): New hidden def.
20035 * sysdeps/mach/hurd/localplt.data: New file.
20037 2018-04-02 Agustina Arzille <avarzille@riseup.net>
20038 Amos Jeffries <squid3@treenet.co.nz>
20039 David Michael <fedora.dm0@gmail.com>
20040 Marco Gerards <marco@gnu.org>
20041 Marcus Brinkmann <marcus@gnu.org>
20042 Neal H. Walfield <neal@gnu.org>
20043 Pino Toscano <toscano.pino@tiscali.it>
20044 Richard Braun <rbraun@sceen.net>
20045 Roland McGrath <roland@gnu.org>
20046 Samuel Thibault <samuel.thibault@ens-lyon.org>
20047 Thomas DiModica <ricinwich@yahoo.com>
20048 Thomas Schwinge <tschwinge@gnu.org>
20050 * htl: New directory.
20051 * sysdeps/htl: New directory.
20052 * sysdeps/hurd/htl: New directory.
20053 * sysdeps/i386/htl: New directory.
20054 * sysdeps/mach/htl: New directory.
20055 * sysdeps/mach/hurd/htl: New directory.
20056 * sysdeps/mach/hurd/i386/htl: New directory.
20057 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
20058 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
20059 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
20061 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20063 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
20064 signals in thread created for runing timers.
20066 2018-04-01 Florian Weimer <fweimer@redhat.com>
20068 * support/support_format_addrinfo.c (support_format_addrinfo):
20069 Include unknown error number in formatted result.
20071 2018-03-29 Florian Weimer <fweimer@redhat.com>
20073 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
20076 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20078 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
20079 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
20080 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20081 (__ASSUME_CLONE_BACKWARDS): Define.
20083 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
20086 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
20087 early when linux sentinel value is set.
20089 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20091 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
20093 2018-03-27 Andreas Schwab <schwab@suse.de>
20096 * resolv/res_send.c (__res_context_send): Return ENOMEM if
20097 allocation of private copy of nsaddr_list fails.
20099 2018-03-26 Joseph Myers <joseph@codesourcery.com>
20102 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
20103 * sysdeps/unix/sysv/linux/umount.c: ... here.
20104 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
20105 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
20106 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
20107 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
20108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
20109 * sysdeps/unix/sysv/linux/umount.S: Likewise.
20110 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
20112 2018-03-26 Andreas Schwab <schwab@suse.de>
20114 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
20115 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
20116 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
20117 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
20118 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
20119 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
20120 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
20121 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
20122 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
20123 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
20124 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
20125 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
20126 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
20127 (R_RISCV_NUM): Define.
20129 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20131 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
20132 TLS declaration of errno.
20133 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
20135 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
20136 (ARCH_SETUP_TLS): Likewise.
20137 * sysdeps/mach/hurd/libc-start.h: New file copied from
20138 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
20139 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
20140 instead of __libc_setup_tls.
20141 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
20142 __libc_setup_tls before initializing libpthread and running _hurd_init
20143 which starts the signal thread.
20144 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
20146 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20148 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
20151 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
20152 after it is defined.
20154 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
20155 Max Horn <max@quendi.de>
20159 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
20161 * string/test-memmove.c (do_test2): New testcase.
20163 2018-03-22 Joseph Myers <joseph@codesourcery.com>
20165 * sysdeps/generic/frame.h: Remove file.
20166 * sysdeps/arm/frame.h: Likewise.
20167 * sysdeps/hppa/frame.h: Likewise.
20168 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
20170 (GET_FRAME): Likewise.
20171 (GET_STACK): Likewise.
20172 (CALL_SIGHANDLER): Likewise.
20173 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
20175 (GET_FRAME): Likewise.
20176 (GET_STACK): Likewise.
20177 (CALL_SIGHANDLER): Likewise.
20178 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
20179 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20180 (GET_FRAME): Likewise.
20181 (GET_STACK): Likewise.
20182 (CALL_SIGHANDLER): Likewise.
20183 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
20184 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20185 (GET_FRAME): Likewise.
20186 (GET_STACK): Likewise.
20187 (ADVANCE_STACK_FRAME): Likewise.
20188 (CALL_SIGHANDLER): Likewise.
20189 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
20190 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20191 (GET_FRAME): Likewise.
20192 (GET_STACK): Likewise.
20193 (CALL_SIGHANDLER): Likewise.
20194 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
20195 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20196 (GET_FRAME): Likewise.
20197 (GET_STACK): Likewise.
20198 (CALL_SIGHANDLER): Likewise.
20199 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
20200 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20201 (GET_FRAME): Likewise.
20202 (GET_STACK): Likewise.
20203 (CALL_SIGHANDLER): Likewise.
20204 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
20205 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20206 (GET_FRAME): Likewise.
20207 (GET_STACK): Likewise.
20208 (CALL_SIGHANDLER): Likewise.
20209 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
20210 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20211 (GET_FRAME): Likewise.
20212 (GET_STACK): Likewise.
20213 (CALL_SIGHANDLER): Likewise.
20214 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
20215 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20216 (GET_FRAME): Likewise.
20217 (GET_STACK): Likewise.
20218 (CALL_SIGHANDLER): Likewise.
20219 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
20220 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20221 (GET_FRAME): Likewise.
20222 (GET_STACK): Likewise.
20223 (CALL_SIGHANDLER): Likewise.
20224 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
20225 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20226 (GET_FRAME): Likewise.
20227 (GET_STACK): Likewise.
20228 (CALL_SIGHANDLER): Likewise.
20229 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
20230 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20231 (GET_FRAME): Likewise.
20232 (GET_STACK): Likewise.
20233 (CALL_SIGHANDLER): Likewise.
20234 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
20235 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20236 (FIRST_FRAME_POINTER): Likewise.
20237 (ADVANCE_STACK_FRAME): Likewise.
20238 (GET_STACK): Likewise.
20239 (GET_FRAME): Likewise.
20240 (CALL_SIGHANDLER): Likewise.
20241 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
20242 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20243 (ADVANCE_STACK_FRAME): Likewise.
20244 (GET_STACK): Likewise.
20245 (GET_FRAME): Likewise.
20246 (CALL_SIGHANDLER): Likewise.
20247 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
20248 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20249 (GET_FRAME): Likewise.
20250 (GET_STACK): Likewise.
20251 (CALL_SIGHANDLER): Likewise.
20252 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
20253 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20254 (GET_FRAME): Likewise.
20255 (GET_STACK): Likewise.
20256 (CALL_SIGHANDLER): Likewise.
20258 2018-03-21 Joseph Myers <joseph@codesourcery.com>
20260 * sysdeps/x86_64/backtrace.c: Move to ....
20261 * debug/backtrace.c: ... here.
20262 * sysdeps/aarch64/backtrace.c: Remove file.
20263 * sysdeps/alpha/backtrace.c: Likewise.
20264 * sysdeps/hppa/backtrace.c: Likewise.
20265 * sysdeps/ia64/backtrace.c: Likewise.
20266 * sysdeps/mips/backtrace.c: Likewise.
20267 * sysdeps/nios2/backtrace.c: Likewise.
20268 * sysdeps/riscv/backtrace.c: Likewise.
20269 * sysdeps/sh/backtrace.c: Likewise.
20270 * sysdeps/tile/backtrace.c: Likewise.
20272 2018-03-20 Joseph Myers <joseph@codesourcery.com>
20275 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
20278 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
20281 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
20282 possibly overflowing computations.
20284 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
20286 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
20287 values from Linux-specific section now that it is in the GNU section.
20288 * sysdeps/gnu/errlist.c: Regenerate.
20290 2018-03-20 Joseph Myers <joseph@codesourcery.com>
20292 * math/Makefile (libm-narrow-fns): Add sub.
20293 (libm-test-funcs-narrow): Likewise.
20294 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
20295 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
20296 * math/gen-auto-libm-tests.c (test_functions): Add sub.
20297 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
20298 (NARROW_SUB_ROUND_TO_ODD): Likewise.
20299 (NARROW_SUB_TRIVIAL): Likewise.
20300 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
20302 (__dsubl): Likewise.
20303 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
20305 (CFLAGS-nldbl-dsub.c): New variable.
20306 (CFLAGS-nldbl-fsub.c): Likewise.
20307 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20309 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
20311 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
20312 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
20313 * math/auto-libm-test-in: Add tests of sub.
20314 * math/auto-libm-test-out-narrow-sub: New generated file.
20315 * math/libm-test-narrow-sub.inc: New file.
20316 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
20317 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
20318 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
20319 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
20320 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
20321 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
20322 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
20323 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
20324 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
20325 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
20326 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
20327 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
20328 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
20329 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
20330 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
20331 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
20332 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
20333 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
20334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20335 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20336 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20337 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20338 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20339 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20340 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20341 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20342 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20343 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20344 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20345 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20346 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20347 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20352 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20353 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20354 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20355 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20356 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20357 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20358 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20359 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20360 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20361 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20363 2018-03-19 Joseph Myers <joseph@codesourcery.com>
20366 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
20368 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
20370 * benchtests/bench-timing.h (attribute_hidden): Undefine.
20372 2018-03-18 Richard Braun <rbraun@sceen.net>
20374 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
20377 2018-03-18 Agustina Arzille <avarzille@riseup.net>
20379 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
20380 (__libc_cleanup_fct): Define function.
20381 (__libc_cleanup_region_start, __libc_cleanup_region_end,
20382 __libc_cleanup_end): Rewrite implementation using
20383 __attribute__ ((__cleanup__)).
20384 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
20385 * hurd/Makefile (routines): Add hurdlock.
20386 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
20388 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
20389 * hurd/hurdpid.c: Include <lowlevellock.h>
20390 (_S_msg_proc_newids): Use lll_wait to synchronize.
20391 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
20392 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
20393 * mach/Makefile (lock-headers): Remove machine-lock.h.
20394 * mach/lock-intern.h: Include <lowlevellock.h> instead of
20396 (__spin_lock_t): New type.
20397 (__SPIN_LOCK_INITIALIZER): New macro.
20398 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
20399 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
20400 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
20401 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
20402 (__mutex_init): Initialize with lll.
20403 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
20404 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
20406 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20407 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
20408 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
20409 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
20410 (__setpgid): Use lll for synchronization.
20411 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
20412 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
20413 instead of <cthreads.h>.
20414 (_IO_lock_inexpensive): New macro
20415 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
20416 (__libc_lock_self0): New declaration.
20417 (__libc_lock_owner_self): New macro.
20418 (__libc_key_t): Remove type.
20419 (_LIBC_LOCK_INITIALIZER): New macro.
20420 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
20421 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
20422 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
20423 __libc_lock_define_initialized_recursive,
20424 __rtld_lock_define_initialized_recursive,
20425 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
20426 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
20427 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
20428 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
20429 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
20430 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
20431 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
20433 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
20434 * hurd/hurdlock.c: New file.
20435 * hurd/hurdlock.h: New file.
20436 * mach/lowlevellock.h: New file
20438 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
20440 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
20441 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
20442 when opening a symlink with O_NOFOLLOW.
20443 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
20444 path when flags contains O_NOFOLLOW.
20445 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
20446 if flags contains O_DIRECTORY and the result is a directory.
20447 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
20448 oneself when the pointer given in D is nul (as set by ext2fs).
20449 * sysdeps/mach/hurd/mlockall.c: New file.
20450 * sysdeps/mach/hurd/munlockall.c: New file.
20452 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20454 * hurd/hurdsig.c: Include <pthread.h>.
20455 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
20456 get the signal thread stack layout.
20457 * hurd/Makefile (headers): Remove threadvar.h.
20458 (inline-headers): Remove threadvar.h.
20459 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
20460 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
20461 __hurd_threadvar_max, __hurd_errno_location.
20462 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
20463 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
20464 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
20465 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
20466 unless TLS is not initialized yet, in which case we do not need a
20467 critical section yet anyway.
20468 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
20470 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
20472 (__hurd_threadvar_index): Remove enum.
20473 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
20474 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
20476 (__hurd_reply_port0): New variable declaration.
20477 (__hurd_local_reply_port): New macro.
20478 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
20479 (interrupted_reply_port_location): Add thread_t parameter. Use it
20480 with THREAD_TCB to access thread-local variables.
20481 (_hurdsig_abort_rpcs): Pass ss->thread to
20482 interrupted_reply_port_location.
20483 (_hurd_internal_post_signal): Likewise.
20484 (_hurdsig_init): Use presence of cthread_fork instead of
20485 __hurd_threadvar_stack_mask to start signal thread by hand.
20486 Remove signal thread threadvar initialization.
20487 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
20488 * hurd/sigunwind.c: Include <hurd/threadvar.h>
20489 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
20491 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
20493 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
20494 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
20495 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
20496 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
20497 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
20498 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
20499 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
20501 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
20502 <hurd/threadvar.h>.
20503 [IS_IN(rtld)] (rtld_errno): New variable.
20504 [IS_IN(rtld)] (__errno_location): New weak function.
20505 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
20506 * sysdeps/mach/hurd/errno.c: Remove file.
20507 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
20508 (__fork): Remove THREADVAR_SPACE macro and its use.
20509 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
20511 (init): Do not initialize threadvar.
20512 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
20514 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
20515 __hurd_local_reply_port instead of threadvar.
20516 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
20517 _hurd_sigstate fields.
20518 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
20519 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
20520 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
20521 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
20522 instead of threadvar.
20523 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
20524 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
20525 (use_threadvar, global_reply_port): Remove variables.
20526 (__hurd_reply_port0): New variable.
20527 (__mig_get_reply_port): Use __hurd_local_reply_port and
20528 __hurd_reply_port0 instead of threadvar.
20529 (__mig_dealloc_reply_port): Likewise.
20530 (__mig_init): Do not initialize threadvar.
20531 * sysdeps/mach/hurd/profil.c: Fix comment.
20532 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
20533 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
20534 cthread_keycreate, cthread_getspecific, cthread_setspecific to
20535 __cthread_fork, __cthread_detach, __pthread_getattr_np,
20536 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
20537 __cthread_setspecific.
20538 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
20539 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
20540 __cthread_t instead of cthread_fork, cthread_detach,
20541 pthread_getattr_np, pthread_attr_getstack.
20542 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
20543 __cthread_keycreate.
20544 (cthread_getspecific): Rename to __cthread_getspecific.
20545 (cthread_setspecific): Rename to __cthread_setspecific.
20546 (__libc_getspecific): Use __cthread_getspecific instead of
20547 cthread_getspecific.
20548 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20549 __cthread_keycreate instead of cthread_keycreate.
20550 (__libc_setspecific): Use __cthread_setspecific instead of
20551 cthread_setspecific.
20552 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20554 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20555 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20556 testing whether it is defined.
20558 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20560 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20562 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20563 * sysdeps/mach/i386/thread_state.h
20564 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20566 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20568 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20570 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20571 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20573 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20575 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20576 descriptor instead of creating a new one.
20577 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20579 * mach/setup-thread.c: Include <ldsodefs.h>.
20580 (__mach_setup_thread): Call _dl_allocate_tls, pass
20581 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20582 MACHINE_THREAD_STATE_FLAVOR, before getting
20583 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20584 MACHINE_THREAD_STATE_FLAVOR with the result.
20585 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20586 MACHINE_THREAD_STATE_FIX_NEW.
20587 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20588 too. Add original thread parameter.
20590 2018-03-16 Joseph Myers <joseph@codesourcery.com>
20592 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20593 Remove inline function.
20595 * sysdeps/i386/fpu/libm-test-ulps: Update.
20596 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20598 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20600 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20603 2018-03-15 Joseph Myers <joseph@codesourcery.com>
20605 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20606 (__sincos_code): Remove define and undefine.
20607 [__FAST_MATH__] (__sincos): Remove inline function.
20608 [__FAST_MATH__] (__sincosf): Remove inline function.
20609 [__FAST_MATH__] (__sincosl): Remove inline function.
20610 (__atan2l): Remove inline functions.
20611 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20612 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20614 (floor): Remove inline function.
20616 [__FAST_MATH__] (__ldexp_code): Remove macro.
20617 [__FAST_MATH__] (ldexp): Remove inline function.
20618 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20619 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20620 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20621 [__USE_ISOC99] (__lrint_code): Remove macro.
20622 [__USE_ISOC99] (__llrint_code): Likewise.
20623 [__USE_ISOC99] (lrintf): Remove inline function.
20624 [__USE_ISOC99] (lrint): Likewise.
20625 [__USE_ISOC99] (lrintl): Likewise.
20626 [__USE_ISOC99] (llrint): Likewise.
20627 [__USE_ISOC99] (llrintf): Likewise.
20628 [__USE_ISOC99] (llrintl): Likewise.
20630 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20632 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20633 (__ieee754_sqrtf): Remove.
20634 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20635 (__ieee754_sqrtf): Remove.
20636 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20637 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20638 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20639 (__ieee754_sqrtf): Remove.
20640 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20641 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20644 (__ieee754_sqrt): Remove.
20645 (__ieee754_sqrtf): Remove.
20646 (__ieee754_sqrtl): Remove.
20647 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20648 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20649 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20650 (__ieee754_sqrtf): Remove.
20651 (__ieee754_sqrtl): Remove.
20653 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20655 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20656 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20657 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20658 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20659 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20660 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20661 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20662 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20664 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20665 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20666 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20667 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20668 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20669 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20670 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20671 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20672 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20673 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20674 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20675 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20676 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20677 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20678 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20679 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20680 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20681 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20682 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20683 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20685 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20686 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20687 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20688 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20689 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20690 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20691 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20692 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20693 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20694 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20695 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20696 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20697 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20698 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20699 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20700 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20701 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20702 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20703 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20705 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20707 * include/math.h (sqrt): Declare with asm redirect.
20710 (sqrtf128): Likewise.
20711 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20712 nonlib and libnldbl with -fmath-errno.
20713 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20714 * math/w_sqrt_template.c: Likewise.
20715 * math/w_sqrtf_compat.c: Likewise.
20716 * math/w_sqrtl_compat.c: Likewise.
20717 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20718 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20719 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20722 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20724 * benchtests/Makefile: Define _ISOMAC.
20725 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20726 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20727 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20728 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20729 * benchtests/bench-timing.h: Define attribute_hidden.
20731 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20733 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20736 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20739 * localedata/locales/cs_CZ (mon): Rename to...
20741 (mon): Import from CLDR (genitive case).
20743 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20746 * localedata/locales/el_CY (abmon): Rename to...
20747 (ab_alt_mon): This.
20748 (abmon): Import from CLDR (abbreviated genitive case).
20749 * localedata/locales/el_GR (abmon): Rename to...
20750 (ab_alt_mon): This.
20751 (abmon): Import from CLDR (abbreviated genitive case).
20753 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20756 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20758 2018-03-15 Robert Buj <robert.buj@gmail.com>
20761 * localedata/locales/ca_ES (abmon): Rename to...
20762 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20763 (mon): Rename to...
20765 (abmon): Import from CLDR (genitive case, month names preceded by
20768 (abday): Synchronize with CLDR.
20769 (d_t_fmt): Likewise.
20773 (LC_TIME): Improve indentation.
20774 (LC_TELEPHONE): Likewise.
20775 (LC_NAME): Likewise.
20776 (LC_ADDRESS): Likewise.
20778 2018-03-14 Joseph Myers <joseph@codesourcery.com>
20780 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20781 (lrintf): Remove definitions used only with old GCC.
20782 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20783 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20784 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20785 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20786 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20787 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20788 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20789 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20790 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20791 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20792 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20793 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20794 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20795 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20796 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20797 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20798 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20799 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20800 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20801 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20802 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20803 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20804 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20805 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20806 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20807 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20808 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20809 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20811 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20813 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20814 instruction to unbreak builds with binutils 2.26 and older.
20816 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20818 * sysdeps/aarch64/strncmp.S (count): New macro.
20819 (strncmp): Store misaligned length in SRC1 in COUNT.
20820 (mutual_align): Adjust.
20821 (misaligned8): Load dword at a time when it is safe.
20823 2018-03-12 Zack Weinberg <zackw@panix.com>
20827 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20828 if the _IO_EOF_SEEN bit is already set; update commentary.
20829 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20830 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20832 * support/support_openpty.c, support/tty.h: New files.
20833 * support/Makefile (libsupport-routines): Add support_openpty.
20835 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20837 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20838 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20840 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20842 * po/pt_BR.po: Update translations.
20844 2018-03-12 David Michael <fedora.dm0@gmail.com>
20846 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20847 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20848 get a port to the startup server.
20850 2018-03-11 Zack Weinberg <zackw@panix.com>
20852 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20853 before nldbl-compat.h.
20855 2018-03-10 Zack Weinberg <zackw@panix.com>
20857 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20858 math.h or math_private.h.
20860 * sysdeps/alpha/fpu/s_isnan.c
20861 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20862 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20863 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20864 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20865 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20866 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20867 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20868 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20869 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20872 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20873 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20874 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20875 Include math_private.h.
20877 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20878 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20879 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20880 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20881 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20882 * sysdeps/powerpc/power7/fpu/s_logb.c:
20883 Include math.h and math_private.h.
20885 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20886 uses of $at in .set noat / .set at.
20888 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20890 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20891 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20892 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20893 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20896 2018-03-09 Florian Weimer <fweimer@redhat.com>
20898 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20901 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20904 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20905 Add nop before __startcontext, add explaining comments.
20907 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20910 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20912 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20913 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20914 Do not build hardware transactional code for __SPE__.
20915 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20916 (__lll_trylock_elision): Likewise.
20917 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20918 (__lll_unlock_elision): Likewise.
20920 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20921 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20922 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20923 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20924 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20925 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20926 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20927 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20928 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20929 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20930 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20931 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20932 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20933 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20934 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20935 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20936 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20937 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20938 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20939 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20940 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20941 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20942 (__ASSUME_CLONE_BACKWARDS): Define.
20943 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20944 __clone2 if __NR_clone2 is defined.
20945 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20946 (__ASSUME_CLONE_BACKWARDS): Likewise.
20947 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20948 (__ASSUME_CLONE_BACKWARDS): Likewise.
20949 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20950 (__ASSUME_CLONE2): Likewise.
20951 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20952 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20953 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20954 variants and the define architecture can use.
20955 (__ASSUME_CLONE_DEFAULT): Define as default.
20956 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20957 (__ASSUME_CLONE_BACKWARDS): Likewise.
20958 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20959 (__ASSUME_CLONE_BACKWARDS): Likewise.
20960 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20961 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20963 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20965 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20967 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20970 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20971 (do_test_limit): Likewise.
20973 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20974 for every implementation.
20975 (do_test): Likewise.
20977 * benchtests/bench-strncmp.c: Convert output to json.
20979 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20981 * io/futimens.c: Add missing start-of-file descriptive comment.
20982 * io/utime.c: Likewise.
20983 * misc/futimesat.c: Likewise.
20984 * misc/utimes.c: Likewise.
20985 * sysdeps/mach/hurd/futimesat.c: Likewise.
20986 * sysdeps/mach/hurd/utimes.c: Likewise.
20987 * sysdeps/posix/utime.c: Likewise.
20988 * sysdeps/posix/utimes.c: Likewise.
20989 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20990 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20991 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20992 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20994 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20996 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20998 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20999 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
21000 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
21001 (__futimens): Move implementation to...
21002 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
21003 utime_tvalue_from_tspec): ... new helper functions.
21004 (hurd_futimens): New function.
21005 * sysdeps/mach/hurd/futimesat.c: New file.
21006 * sysdeps/mach/hurd/utimensat.c: New file.
21008 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
21010 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
21011 UTIME_OMIT): New macros.
21012 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
21013 before reverting to converting time spec to time value and calling
21015 * sysdeps/mach/hurd/utime-helper.c: New file.
21016 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
21017 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
21018 reverting to utime_tvalue_from_tval and __file_utimes.
21019 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
21020 (__lutimes): Just call hurd_futimens after lookup.
21021 * sysdeps/mach/hurd/utimes.c: Likewise.
21023 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
21025 * bits/sigaction.h: Add include guard.
21026 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
21027 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
21028 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
21029 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
21030 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
21031 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
21032 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
21033 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
21034 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
21036 2018-03-05 Joseph Myers <joseph@codesourcery.com>
21038 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
21039 -Wmaybe-uninitialized for -Os.
21040 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
21043 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21045 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
21046 __INO_T_MATCHES_INO64_T is defined.
21047 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
21048 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
21050 * dirent/alphasort64.c: Likewise.
21051 * dirent/scandir.c: Likewise.
21052 * dirent/scandir64-tail.c: Likewise.
21053 * dirent/scandir64.c: Likewise.
21054 * dirent/scandirat.c: Likewise.
21055 * dirent/scandirat64.c: Likewise.
21056 * dirent/versionsort.c: Likewise.
21057 * dirent/versionsort64.c: Likewise.
21058 * include/dirent.h: Likewise.
21060 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
21061 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
21062 for socketpair endpoint.
21063 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
21064 WRITE_BUFFER_SIZE as buffer size for sending socket.
21065 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
21066 issue on system where send is implemented with sendto syscall.
21067 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
21068 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
21069 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
21070 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
21073 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
21074 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
21075 sa_restorer for vDSO case.
21076 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
21078 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21080 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
21081 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
21082 * hurd/hurd/ioctl.h: Include <mach/port.h>
21083 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
21084 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
21085 <mach/mach_types.h> and <mach/message.h>.
21086 (headers): Move mach/param.h to bits/mach/param.h.
21087 * sysdeps/mach/i386/mach/param.h: Move file to ...
21088 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
21089 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
21091 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
21092 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
21093 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
21094 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
21095 trivial, for C++ conformity.
21096 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
21097 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
21098 Process mig output through $(migheadersed).
21099 * hurd/Makefile (migheadersed): Define variable.
21100 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
21101 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
21103 * hurd/hurd.h: Include <bits/types/sigset_t.h>
21104 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
21105 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
21106 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
21107 <bits/types/sigset_t.h>.
21108 [!defined __USE_GNU]: Do not #error out.
21109 (struct hurd_sigstate): Use _NSIG instead of NSIG.
21110 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
21111 Include <stddef.h> and <bits/types/sigset_t.h>
21112 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
21113 instead of sighandler_t.
21114 * stdlib/errno.h (error_t): Move definition to...
21115 * bits/types/error_t.h: ... new header.
21116 * stdlib/Makefile (headers): Add bits/types/error_t.h.
21117 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
21118 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
21119 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
21120 * hurd/hurd.h: Include <bits/types/error_t.h>
21121 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
21122 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
21123 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
21124 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
21125 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
21126 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
21127 * sysdeps/mach/hurd/futimens.c: New file.
21129 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
21132 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
21133 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
21134 * nscd/gai.c (__nss_hosts_database): Readd definition.
21135 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
21136 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
21137 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
21139 2018-03-02 Joseph Myers <joseph@codesourcery.com>
21141 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
21142 (ifunc_one): Likewise.
21144 2018-03-01 DJ Delorie <dj@delorie.com>
21147 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
21150 2018-03-01 Maciej W. Rozycki <macro@mips.com>
21152 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
21153 `match_pid' parameter.
21154 (td_ta_thr_iter): Update accordingly.
21156 2018-03-01 Florian Weimer <fweimer@redhat.com>
21158 * nptl/Makefile (install-lib-ldscripts): Remove.
21159 (install): Remove rule.
21160 ($(inst_libdir)/libpthread.so): Likewise.
21162 2018-03-01 Mike FABIAN <mfabian@redhat.com>
21165 * localedata/locales/an_ES: update month and day names,
21166 improve d_fmt, improve postal_fmt, add country_post,
21169 2018-03-01 Mike FABIAN <mfabian@redhat.com>
21171 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
21172 Ukrainian instead of Bulgarian.
21174 2018-03-01 Florian Weimer <fweimer@redhat.com>
21176 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
21179 2018-03-01 Florian Weimer <fweimer@redhat.com>
21181 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
21182 * nptl/Makefile (routines): Add pthread_atfork.
21183 (static-only-routines): Set to pthread_atfork.
21184 (libpthread-routines): Remove pthread_atfork.
21185 (libpthread-static-only-routines): Remove.
21186 (install): Update comment.
21187 (libpthread.so): Do not install libpthread_nonshared.a.
21188 (tests): Do not link with libpthread_nonshared.a.
21189 (generated): Remove libpthread_nonshared.a.
21190 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
21191 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
21192 with libpthread_nonshared.a.
21194 2018-02-28 Joseph Myers <joseph@codesourcery.com>
21197 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
21198 (libc_feholdexcept_setroundf128): New macro.
21199 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
21202 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
21204 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
21205 * include/inttypes.h: New file.
21207 2018-02-27 Joseph Myers <joseph@codesourcery.com>
21209 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
21210 -Os in two more places.
21212 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21214 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
21215 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
21216 be sorted correctly at the moment because of a bug.
21218 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21220 [BZ #22550] - es_ES locale (and other es_* locales): collation should
21221 treat ñ as a primary different character, sync the collation
21222 for Spanish with CLDR.
21223 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
21224 * localedata/Makefile: Add new test files.
21225 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
21226 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
21228 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
21229 * localedata/am_ET.UTF-8.in: New test file.
21230 * localedata/az_AZ.UTF-8.in: Likewise.
21231 * localedata/be_BY.UTF-8.in: Likewise.
21232 * localedata/ber_DZ.UTF-8.in: Likewise.
21233 * localedata/ber_MA.UTF-8.in: Likewise.
21234 * localedata/bg_BG.UTF-8.in: Likewise.
21235 * localedata/br_FR.UTF-8.in: Likewise.
21236 * localedata/cmn_TW.UTF-8.in: Likewise.
21237 * localedata/crh_UA.UTF-8.in: Likewise.
21238 * localedata/csb_PL.UTF-8.in: Likewise.
21239 * localedata/cv_RU.UTF-8.in: Likewise.
21240 * localedata/cy_GB.UTF-8.in: Likewise.
21241 * localedata/dz_BT.UTF-8.in: Likewise.
21242 * localedata/eo.UTF-8.in: Likewise.
21243 * localedata/es_ES.UTF-8.in: Likewise.
21244 * localedata/fa_IR.UTF-8.in: Likewise.
21245 * localedata/fi_FI.UTF-8.in: Likewise.
21246 * localedata/fil_PH.UTF-8.in: Likewise.
21247 * localedata/fur_IT.UTF-8.in: Likewise.
21248 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
21249 * localedata/ha_NG.UTF-8.in: Likewise.
21250 * localedata/ig_NG.UTF-8.in: Likewise.
21251 * localedata/ik_CA.UTF-8.in: Likewise.
21252 * localedata/kk_KZ.UTF-8.in: Likewise.
21253 * localedata/ku_TR.UTF-8.in: Likewise.
21254 * localedata/ky_KG.UTF-8.in: Likewise.
21255 * localedata/ln_CD.UTF-8.in: Likewise.
21256 * localedata/mi_NZ.UTF-8.in: Likewise.
21257 * localedata/ml_IN.UTF-8.in: Likewise.
21258 * localedata/mn_MN.UTF-8.in: Likewise.
21259 * localedata/mr_IN.UTF-8.in: Likewise.
21260 * localedata/mt_MT.UTF-8.in: Likewise.
21261 * localedata/nb_NO.UTF-8.in: Likewise.
21262 * localedata/om_KE.UTF-8.in: Likewise.
21263 * localedata/os_RU.UTF-8.in: Likewise.
21264 * localedata/ps_AF.UTF-8.in: Likewise.
21265 * localedata/ro_RO.UTF-8.in: Likewise.
21266 * localedata/ru_RU.UTF-8.in: Likewise.
21267 * localedata/sc_IT.UTF-8.in: Likewise.
21268 * localedata/se_NO.UTF-8.in: Likewise.
21269 * localedata/sq_AL.UTF-8.in: Likewise.
21270 * localedata/sv_SE.UTF-8.in: Likewise.
21271 * localedata/szl_PL.UTF-8.in: Likewise.
21272 * localedata/tg_TJ.UTF-8.in: Likewise.
21273 * localedata/tk_TM.UTF-8.in: Likewise.
21274 * localedata/tt_RU.UTF-8.in: Likewise.
21275 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
21276 * localedata/ug_CN.UTF-8.in: Likewise.
21277 * localedata/uz_UZ.UTF-8.in: Likewise.
21278 * localedata/vi_VN.UTF-8.in: Likewise.
21279 * localedata/yi_US.UTF-8.in: Likewise.
21280 * localedata/yo_NG.UTF-8.in: Likewise.
21281 * localedata/zh_CN.UTF-8.in: Likewise.
21282 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
21283 file and fix bugs in the collation.
21284 * localedata/locales/az_AZ: Likewise.
21285 * localedata/locales/be_BY: Likewise.
21286 * localedata/locales/ber_DZ: Likewise.
21287 * localedata/locales/ber_MA: Likewise.
21288 * localedata/locales/bg_BG: Likewise.
21289 * localedata/locales/br_FR: Likewise.
21290 * localedata/locales/br_FR@euro: Likewise.
21291 * localedata/locales/ca_ES: Likewise.
21292 * localedata/locales/cns11643_stroke: Likewise.
21293 * localedata/locales/crh_UA: Likewise.
21294 * localedata/locales/cs_CZ: Likewise.
21295 * localedata/locales/csb_PL: Likewise.
21296 * localedata/locales/cv_RU: Likewise.
21297 * localedata/locales/cy_GB: Likewise.
21298 * localedata/locales/da_DK: Likewise.
21299 * localedata/locales/dz_BT: Likewise.
21300 * localedata/locales/en_CA: Likewise.
21301 * localedata/locales/eo: Likewise.
21302 * localedata/locales/es_CU: Likewise.
21303 * localedata/locales/es_EC: Likewise.
21304 * localedata/locales/es_ES: Likewise.
21305 * localedata/locales/es_US: Likewise.
21306 * localedata/locales/et_EE: Likewise.
21307 * localedata/locales/fa_IR: Likewise.
21308 * localedata/locales/fi_FI: Likewise.
21309 * localedata/locales/fil_PH: Likewise.
21310 * localedata/locales/fur_IT: Likewise.
21311 * localedata/locales/gez_ER@abegede: Likewise.
21312 * localedata/locales/ha_NG: Likewise.
21313 * localedata/locales/hr_HR: Likewise.
21314 * localedata/locales/hsb_DE: Likewise.
21315 * localedata/locales/hu_HU: Likewise.
21316 * localedata/locales/ig_NG: Likewise.
21317 * localedata/locales/ik_CA: Likewise.
21318 * localedata/locales/is_IS: Likewise.
21319 * localedata/locales/iso14651_t1_pinyin: Likewise.
21320 * localedata/locales/kk_KZ: Likewise.
21321 * localedata/locales/ku_TR: Likewise.
21322 * localedata/locales/ky_KG: Likewise.
21323 * localedata/locales/ln_CD: Likewise.
21324 * localedata/locales/lt_LT: Likewise.
21325 * localedata/locales/lv_LV: Likewise.
21326 * localedata/locales/mi_NZ: Likewise.
21327 * localedata/locales/ml_IN: Likewise.
21328 * localedata/locales/mn_MN: Likewise.
21329 * localedata/locales/mr_IN: Likewise.
21330 * localedata/locales/mt_MT: Likewise.
21331 * localedata/locales/nb_NO: Likewise.
21332 * localedata/locales/om_KE: Likewise.
21333 * localedata/locales/os_RU: Likewise.
21334 * localedata/locales/pl_PL: Likewise.
21335 * localedata/locales/ps_AF: Likewise.
21336 * localedata/locales/ro_RO: Likewise.
21337 * localedata/locales/ru_RU: Likewise.
21338 * localedata/locales/ru_UA: Likewise.
21339 * localedata/locales/sc_IT: Likewise.
21340 * localedata/locales/se_NO: Likewise.
21341 * localedata/locales/si_LK: Likewise.
21342 * localedata/locales/sq_AL: Likewise.
21343 * localedata/locales/sv_FI: Likewise.
21344 * localedata/locales/sv_FI@euro: Likewise.
21345 * localedata/locales/sv_SE: Likewise.
21346 * localedata/locales/szl_PL: Likewise.
21347 * localedata/locales/tg_TJ: Likewise.
21348 * localedata/locales/ti_ER: Likewise.
21349 * localedata/locales/tk_TM: Likewise.
21350 * localedata/locales/tl_PH: Likewise.
21351 * localedata/locales/tr_TR: Likewise.
21352 * localedata/locales/tt_RU: Likewise.
21353 * localedata/locales/tt_RU@iqtelif: Likewise.
21354 * localedata/locales/ug_CN: Likewise.
21355 * localedata/locales/uk_UA: Likewise.
21356 * localedata/locales/uz_UZ: Likewise.
21357 * localedata/locales/uz_UZ@cyrillic: Likewise.
21358 * localedata/locales/vi_VN: Likewise.
21359 * localedata/locales/yi_US: Likewise.
21360 * localedata/locales/yo_NG: Likewise.
21362 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21364 * gen-locales.mk: Make test files which contain @ modifiers in their
21366 * localedata/gen-locale.sh: Likewise.
21368 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21370 * posix/tst-fnmatch.input: Fix results for range expressions
21372 * posix/tst-regexloc.c: Do not use a range expression for
21373 de_DE.ISO-8859-1 locale.
21375 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21377 * posix/bug-regex5.c: Fix test case because with the new
21378 iso14651_t1_common file, the da_DK locale now has 6 collating elements
21379 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
21382 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21384 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
21385 downloaded from ISO, the collation order of @-. and space has changed.
21386 Therefore, this test file needed to be adapted.
21387 * localedata/fr_CA.UTF-8.in: Likewise.
21388 * localedata/fr_FR.UTF-8.in: Likewise.
21389 * localedata/uk_UA.UTF-8.in: Likewise.
21391 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21393 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
21394 order of ȥ in the new iso14651_t1_common file.
21395 * localedata/pl_PL.UTF-8.in: Likewise.
21397 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21399 * localedata/locales/iso14651_t1_common: Add sections for various
21400 scripts to the iso14651_t1_common file.
21402 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21404 * localedata/locales/iso14651_t1_common: Use the code point of a
21405 character in the fourth collation level instead of IGNORE for all
21406 entries which have IGNORE on all 4 levels.
21408 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21410 * localedata/locales/iso14651_t1_common: Add some convenient collation
21411 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
21412 rules similar to those in CLDR.
21414 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21416 * localedata/locales/iso14651_t1_common: The new version of this
21417 file downloaded from ISO contained several syntax errors which
21418 are fixed by this patch.
21420 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21422 * localedata/locales/iso14651_t1_common: replace all <U.....>
21423 with <U000.....> because glibc understands only 4 digit or 8 digit
21425 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21427 * localedata/locales/iso14651_t1_common: Necessary changes
21428 to make the file downloaded from ISO usable by glibc.
21430 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21433 * localedata/locales/iso14651_t1_common: Update file to
21434 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
21436 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21438 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
21439 of <nptl/pthreadP.h>
21440 (thread_attr_compare): Move function to...
21441 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
21442 * sysdeps/nptl/timer_routines.h: ... new header.
21443 * sysdeps/mach/hurd/gai_misc.h: New file.
21445 2018-02-26 Joseph Myers <joseph@codesourcery.com>
21447 * string/strcoll_l.c: Include <libc-diag.h>.
21448 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
21449 declarations of seq1 and seq2.
21452 * stdlib/atoi.c (atoi): Use libc_hidden_def.
21453 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
21455 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
21459 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
21460 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
21461 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
21462 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
21463 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
21464 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
21466 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21468 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
21469 macros used in __ptrace_request.
21471 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
21474 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
21476 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
21477 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
21478 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
21481 2018-02-23 Joseph Myers <joseph@codesourcery.com>
21484 * ctype/ctype.c (tolower): Use libc_hidden_def.
21485 (toupper): Likewise.
21486 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
21487 [!_ISOMAC] (toupper): Likewise.
21489 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21491 * localedata/Makefile: Remove --quiet argument when
21494 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21497 * localedata/locales/pt_BR (LC_TIME): use / instead of -
21499 * localedata/locales/pt_PT (LC_TIME): likewise
21501 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21504 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
21505 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
21506 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
21508 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21512 * nptl/Makefile (routines): Remove unregister-atfork.
21513 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
21514 (fork_handler_alloc): Remove function.
21515 (fork_handlers, fork_handler_init): New variables.
21516 (__fork_lock): Rename to atfork_lock.
21517 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
21518 to use a dynamic array to add/remove atfork handlers.
21519 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21520 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
21521 Remove declaration.
21522 (fork_handler): Remove next, refcntr, and need_signal member.
21523 (__run_fork_handler_type): New enum.
21524 (__run_fork_handlers): New prototype.
21525 * nptl/register-atfork.c: Remove file.
21526 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
21528 * sysdeps/nptl/nptl-signals.h: Move to ...
21529 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
21531 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
21532 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
21533 unnecessary check for SIGTIMER.
21534 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
21535 remove unnecessary removal of SIGTIMER.
21536 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
21537 include-signals.h rename.
21538 * nptl/pthreadP.h: Likewise.
21539 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
21540 __is_internal_signal instead of __nptl_is_internal_signal.
21542 2018-02-22 Andrew Waterman <andrew@sifive.com>
21545 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
21546 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
21547 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21548 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21550 2018-02-22 DJ Delorie <dj@delorie.com>
21552 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21554 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21556 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21557 do_misaligned, not misaligned8.
21559 2018-02-22 Steve Ellcey <sellcey@cavium.com>
21561 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21562 Add memcpy_thunderx2.
21563 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21565 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21566 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21567 and IS_THUNDERX2PA checks.
21568 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21569 Use macro to set name appropriately.
21570 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21571 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21572 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21574 (IS_THUNDERX2): New macro.
21576 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21578 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21580 2018-02-21 Zack Weinberg <zackw@panix.com>
21582 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21583 Define here, unconditionally.
21584 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21585 * libio/libioP.h: Remove #if 0 blocks.
21586 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21587 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21588 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21590 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21591 Assume weak_alias is always defined.
21593 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21594 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21595 Remove #if 0 and #ifdef TODO blocks.
21596 Assume text_set_element is always defined.
21598 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21599 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21600 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21602 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21603 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21604 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21605 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21606 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21607 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21608 Reformat bit flags for _flags field to make occupancy clearer.
21610 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21611 Keep definitions consistent with those in libio/libio.h.
21613 * libio/libio.h (_IO_file_flags): Remove macro.
21614 All uses changed to _flags.
21616 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21617 (__HAVE_COLUMN, _IO_BE): Don't define.
21618 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21619 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21620 * libio/libioP.h (EOF): Don't define.
21621 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21622 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21623 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21624 testing _IO_UNIFIED_JUMPTABLES.
21626 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21627 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21628 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21629 (_IO_size_t): Delete; all uses changed to size_t.
21630 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21631 (_IO_off_t): Delete; all uses changed to off_t.
21632 (_IO_off64_t): Delete; all uses changed to off64_t.
21633 (_IO_pid_t): Delete; all uses changed to pid_t.
21634 (_IO_uid_t): Delete; all uses changed to uid_t.
21635 (_IO_wint_t): Delete; all uses changed to wint_t.
21636 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21637 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21638 (_IO_cookie_io_functions_t): Delete; all uses changed to
21639 cookie_io_functions_t.
21640 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21641 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21642 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21643 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21645 * libio/iofopncook.c: Remove unnecessary forward declarations.
21646 * libio/iolibio.h: Correct outdated commentary.
21647 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21648 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21649 Remove unnecessary casts.
21650 * stdio-common/getline.c: Use _IO_getdelim directly.
21651 Don't redefine ssize_t.
21652 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21653 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21654 Remove outdated comments.
21655 * stdio-common/vfscanf.c: Don't redefine va_list.
21657 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21658 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21659 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21660 which are always true, and __cplusplus, which is always false.
21662 2018-02-21 Joseph Myers <joseph@codesourcery.com>
21666 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21667 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21668 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21669 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21671 [!_ISOMAC] (putc_unlocked): Likewise.
21672 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21673 define inline if [__USE_EXTERN_INLINES].
21674 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21679 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21680 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21681 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21682 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21683 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21685 * time/tzfile.c (__tzfile_read): Likewise.
21687 2018-02-21 Mike FABIAN <mfabian@redhat.com>
21690 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21692 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21694 * io/fcntl.h: Fix a typo in a comment.
21696 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21699 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21700 define _DEFAULT_SOURCE.
21701 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21703 2018-02-21 Florian Weimer <fweimer@redhat.com>
21706 * elf/cache.c (save_cache): Call fsync on temporary file before
21708 (save_aux_cache): Call fdatasync on temporary file before renaming
21711 2018-02-21 Florian Weimer <fweimer@redhat.com>
21714 * include/caller.h: Remove file.
21715 * elf/dl-caller.c: Likewise.
21716 * elf/Makefile (dl-routines): Remove dl-caller.
21717 (shared-only-routines): Do not add dl-caller.
21718 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21720 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21722 (dl_open_worker): Do not call __check_caller.
21723 (_dl_open): Do not set caller_dl_open member.
21724 * elf/rtld.c (_rtld_global_ro): Do not initialize
21725 _dl_check_caller member.
21726 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21727 _dl_check_caller member.
21728 (_dl_check_caller): Remove declaration.
21729 * sysdeps/unix/sysv/linux/dl-execstack.c
21730 (_dl_make_stack_executable): Do not call __check_caller.
21732 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21734 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
21735 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
21737 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21739 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21742 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21745 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21746 of 199606L, 200112L, and 200809L.
21747 (_XOPEN_SOURCE): Document special values of 600 and 700.
21748 (_ISOC11_SOURCE): Document macro.
21749 (_ATFILE_SOURCE): Likewise.
21750 (_FORTIFY_SOURCE): Likewise.
21752 2018-02-19 Joseph Myers <joseph@codesourcery.com>
21756 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21757 and define as weak alias of __ferror_unlocked. Use
21759 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21761 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21762 function if [__USE_EXTERN_INLINES].
21763 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21766 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
21769 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21771 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21774 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21775 the GLIBC_2.1 version.
21777 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21780 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21781 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21782 intl/tst-gettext-de.po from po/de.po by removing the
21783 POT-Creation-Date line.
21784 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21786 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21789 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21791 * mach/Makefile (headers): Add mach/param.h.
21792 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21793 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
21794 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21795 (__ptsname_r): Move implementation to...
21796 (__ptsname_internal): ... new function. Add filling the STP
21799 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
21801 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21804 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
21806 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21809 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21811 * nptl/Makefile (tst-mutex8-ENV): Delete.
21812 * nptl/tst-mutex8.c (check_type):
21813 Add runtime check if mutex will be elided.
21815 2018-02-15 Joseph Myers <joseph@codesourcery.com>
21819 * manual/install.texi (Configuring and compiling): Describe
21820 passing CC and CFLAGS on configure command line, not as
21821 environment variables. Use @code markup on those variables.
21822 Specify what options go in CC and what go in CFLAGS. Note the
21823 requirement to compile with optimization.
21824 * INSTALL: Regenerated.
21827 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21828 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21829 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21830 __sigprocmask instead of sigprocmask.
21831 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21833 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21834 __sigsetjmp and sigprocmask.
21837 * include/argz.h (argz_next): Use libc_hidden_proto.
21838 (__argz_next): Likewise.
21839 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21840 (argz_next): Use libc_hidden_weak.
21843 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21845 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21849 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21851 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21855 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21856 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21857 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21858 (__feof_unlocked): New declaration, and inline function if
21859 [__USE_EXTERN_INLINES].
21860 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21861 instead of feof_unlocked.
21862 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21863 * nss/nsswitch.c (nss_parse_file): Likewise.
21864 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21866 * time/getdate.c (__getdate_r): Likewise.
21867 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21868 Define as macro to call __feof_unlocked.
21870 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21872 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21874 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21876 * math/Makefile: Remove mpexp.c and mplog.c
21877 * sysdeps/i386/fpu/mpexp.c: Delete file.
21878 * sysdeps/i386/fpu/mplog.c: Likewise.
21879 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21880 * sysdeps/ia64/fpu/mplog.c: Likewise.
21881 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21882 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21883 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21884 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21885 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21886 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21887 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21888 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21889 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21890 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21891 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21892 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21893 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21894 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21895 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21896 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21898 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21900 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21902 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21904 * sysdeps/sh/libm-test-ulps: Update.
21906 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21908 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21911 2018-02-12 Zack Weinberg <zackw@panix.com>
21914 * posix/sys/types.h: Don't include sys/sysmacros.h.
21915 * misc/sys/sysmacros.h: Remove the conditional deprecation
21916 warnings for the macros defined by this header.
21918 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21920 * manual/probes.texi: Remove slowexp probes.
21921 * math/Makefile: Remove slowexp.
21922 * sysdeps/generic/math_private.h (__slowexp): Remove.
21923 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21924 document error bounds.
21925 * sysdeps/i386/fpu/slowexp.c: Remove.
21926 * sysdeps/ia64/fpu/slowexp.c: Remove.
21927 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21928 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21929 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21930 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21931 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21932 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21933 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21934 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21935 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21936 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21937 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21939 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21942 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21943 * benchtests/pow-inputs: Update comment for slow path cases.
21944 * manual/probes.texi (slowpow_p10): Delete removed probe.
21945 (slowpow_p10): Likewise.
21946 * math/Makefile: Remove halfulp.c and slowpow.c.
21947 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21948 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21949 (__halfulp): Remove.
21950 (__slowpow): Remove.
21951 * sysdeps/i386/fpu/halfulp.c: Delete file.
21952 * sysdeps/i386/fpu/slowpow.c: Likewise.
21953 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21954 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21955 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21956 improve comments and add error analysis.
21957 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21958 (power1): Remove function:
21959 (log1): Remove error argument, add error analysis.
21960 (my_log2): Remove function.
21961 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21962 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21963 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21964 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21965 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21966 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21967 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21968 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21969 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21970 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21971 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21972 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21973 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21974 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21976 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21978 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21979 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21981 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21984 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21985 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21986 and PTRACE_SETHBPREGS.
21988 2018-02-10 Zack Weinberg <zackw@panix.com>
21991 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21993 * malloc/tst-malloc-stats-cancellation.c: New test case.
21994 * malloc/Makefile: Add new test case.
21996 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21998 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
22000 2018-02-10 Joseph Myers <joseph@codesourcery.com>
22002 * math/Makefile (libm-narrow-fns): Add add.
22003 (libm-test-funcs-narrow): Likewise.
22004 * math/Versions (GLIBC_2.28): Add narrowing add functions.
22005 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
22006 * math/gen-auto-libm-tests.c (test_functions): Add add.
22007 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
22008 (NARROW_ADD_ROUND_TO_ODD): Likewise.
22009 (NARROW_ADD_TRIVIAL): Likewise.
22010 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
22012 (__daddl): Likewise.
22013 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
22015 (CFLAGS-nldbl-dadd.c): New variable.
22016 (CFLAGS-nldbl-fadd.c): Likewise.
22017 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
22019 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
22021 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
22022 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
22023 * math/auto-libm-test-in: Add tests of add.
22024 * math/auto-libm-test-out-narrow-add: New generated file.
22025 * math/libm-test-narrow-add.inc: New file.
22026 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
22027 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
22028 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
22029 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
22030 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
22031 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
22032 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
22033 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
22034 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
22035 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
22036 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
22037 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
22038 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
22039 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
22040 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
22041 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
22042 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
22043 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
22044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22045 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
22046 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22047 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22048 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22049 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22050 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22051 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22052 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22053 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22054 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22055 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22056 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22057 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
22059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
22060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
22061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
22062 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22063 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22064 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22065 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22066 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22067 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22068 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
22069 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
22070 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22071 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22073 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
22074 (f128-pairs): New variable.
22075 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
22076 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
22078 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
22079 Also make tests add $(f128-loader-link) to gnulib-tests.
22081 2018-02-09 DJ Delorie <dj@redhat.com>
22084 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
22085 64-bit ELF type for 64-bit ELF objects.
22087 2018-02-09 Joseph Myers <joseph@codesourcery.com>
22089 * math/libm-test-driver.c (snan_tests_arg): New variable.
22090 * math/libm-test-support.h (snan_tests_arg): New declaration.
22091 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
22093 * math/Makefile (test-type-pairs): New variable.
22094 (test-type-pairs-f64xf128-yes): Likewise.
22095 (tests): Add test-narrow-macros.
22096 (libm-test-funcs-narrow): New variable.
22097 (libm-test-c-narrow): Likewise.
22098 (generated): Add $(libm-test-c-narrow).
22099 (libm-tests-base-narrow): New variable.
22100 (libm-tests-narrow): Likewise.
22101 (libm-tests): Add $(libm-tests-narrow).
22102 (libm-tests-for-type): Handle $(libm-tests-narrow).
22103 (libm-test-c-narrow-obj): New variable.
22104 ($(libm-test-c-narrow-obj)): New rule.
22105 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
22106 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
22107 $(o-iterator) to set dependencies and CFLAGS.
22108 * math/gen-auto-libm-tests.c: Document use for narrowing
22110 (output_for_one_input_case): Take argument NARROW.
22111 (generate_output): Likewise. Update call to
22112 output_for_one_input_case.
22113 (main): Take --narrow option. Update call to generate_output.
22114 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
22115 (apply_lit): Update call to _apply_lit.
22116 (apply_arglit): New function.
22117 (parse_args): Handle "a" arguments.
22118 (parse_auto_input): Handle format names using ":".
22119 * math/README.libm-test: Document "a" parameter type.
22120 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
22121 (ARG_TYPE_TRUE_MIN): Likewise.
22122 (ARG_TYPE_MAX): Likwise.
22123 (ARG_MIN_EXP): Likewise.
22124 (ARG_MAX_EXP): Likewise.
22125 (ARG_MANT_DIG): Likewise.
22126 (TEST_COND_arg_ibm128): Likewise.
22127 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
22128 (TEST_COND_arg_fmt): New macro.
22129 (init_max_error): Update prototype.
22130 * math/libm-test-support.c (test_ibm128): New variable.
22131 (init_max_error): Take argument testing_ibm128 and set test_ibm128
22132 instead of using [TEST_COND_ibm128] conditional.
22133 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
22134 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
22135 [TEST_NARROW] (TEST_MSG): New definition.
22136 (arg_plus_zero): New macro.
22137 (arg_minus_zero): Likewise.
22138 (arg_plus_infty): Likewise.
22139 (arg_minus_infty): Likewise.
22140 (arg_qnan_value_pl): Likewise.
22141 (arg_qnan_value): Likewise.
22142 (arg_snan_value_pl): Likewise.
22143 (arg_snan_value): Likewise.
22144 (arg_max_value): Likewise.
22145 (arg_min_value): Likewise.
22146 (arg_min_subnorm_value): Likewise.
22147 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
22148 (RUN_TEST_LOOP_aa_f): New macro.
22149 (TEST_SUFF): New macro.
22150 (TEST_SUFF_STR): Likewise.
22151 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
22152 (TEST_COND_any_ibm128): New macro.
22153 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
22154 this_func. Update call to init_max_error.
22155 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
22156 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
22157 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
22158 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
22159 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
22160 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
22161 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
22162 * math/test-math-scalar.h (TEST_NARROW): Likewise.
22163 * math/test-math-vector.h (TEST_NARROW): Likewise.
22164 * math/test-arg-double.h: New file.
22165 * math/test-arg-float128.h: Likewise.
22166 * math/test-arg-float32x.h: Likewise.
22167 * math/test-arg-float64.h: Likewise.
22168 * math/test-arg-float64x.h: Likewise.
22169 * math/test-arg-ldouble.h: Likewise.
22170 * math/test-math-narrow.h: Likewise.
22171 * math/test-narrow-macros.c: Likewise.
22172 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
22173 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
22174 test-narrow-macros-ldbl-64.
22175 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
22177 * math/bits/mathcalls-narrow.h: New file.
22178 * include/bits/mathcalls-narrow.h: Likewise.
22179 * math/math-narrow.h: Likewise.
22180 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
22181 (__MATHCALL_NARROW_ARGS_2): Likewise.
22182 (__MATHCALL_NARROW_ARGS_3): Likewise.
22183 (__MATHCALL_NARROW_NORMAL): Likewise.
22184 (__MATHCALL_NARROW_REDIR): Likewise.
22185 (__MATHCALL_NARROW): Likewise.
22186 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
22187 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
22189 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22190 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
22191 (libm-narrow-fns): New variable.
22192 (libm-narrow-types-basic): Likewise.
22193 (libm-narrow-types-ldouble-yes): Likewise.
22194 (libm-narrow-types-float128-yes): Likewise.
22195 (libm-narrow-types-float128-alias-yes): Likewise.
22196 (libm-narrow-types): Likewise.
22197 (libm-routines): Add narrowing functions.
22198 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
22199 (libc_feholdexcept_setroundf128): New macro.
22200 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
22201 * sysdeps/ieee754/float128/float128_private.h: Include
22202 <math/math-narrow.h>.
22203 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
22204 Undefine and redefine.
22205 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
22206 (libm_alias_float_ldouble): Undefine and redefine.
22207 (libm_alias_double_ldouble): Likewise.
22209 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
22211 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
22213 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
22216 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
22218 * manual/creature.texi: Convert references to gcc.info to gcc.
22219 * manual/stdio.texi: Likewise.
22220 * manual/string.texi: Likewise.
22222 2018-02-07 Joseph Myers <joseph@codesourcery.com>
22225 * posix/bits/types.h (__int_least8_t): New typedef.
22226 (__uint_least8_t): Likewise.
22227 (__int_least16_t): Likewise.
22228 (__uint_least16_t): Likewise.
22229 (__int_least32_t): Likewise.
22230 (__uint_least32_t): Likewise.
22231 (__int_least64_t): Likewise.
22232 (__uint_least64_t): Likewise.
22233 * sysdeps/generic/stdint.h (int_least8_t): Define using
22235 (int_least16_t): Define using __int_least16_t.
22236 (int_least32_t): Define using __int_least32_t.
22237 (int_least64_t): Define using __int_least64_t.
22238 (uint_least8_t): Define using __uint_least8_t.
22239 (uint_least16_t): Define using __uint_least16_t.
22240 (uint_least32_t): Define using __uint_least32_t.
22241 (uint_least64_t): Define using __uint_least64_t.
22242 * wcsmbs/uchar.h: Include <bits/types.h>.
22243 (char16_t): Define using __uint_least16_t conditional only on
22245 (char32_t): Define using __uint_least32_t conditional only on
22247 * wcsmbs/test-char-types.c: New file.
22248 * wcsmbs/Makefile (tests): Add test-char-types.
22250 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
22253 2018-02-07 Zack Weinberg <zackw@panix.com>
22255 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
22256 Delete all contents except for definitions of _G_HAVE_MMAP and
22257 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
22258 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
22259 sysdeps/unix/sysv/linux/_G_config.h. Make same content
22262 * libio/libio.h: Don't include bits/_G_config.h here.
22263 Include stddef.h with __need_wchar_t defined. Include
22264 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
22265 Define _IO_iconv_t here, directly.
22266 Don't define _IO_HAVE_ST_BLKSIZE.
22267 * libio/libioP.h: Include _G_config.h here. Move include of
22268 shlib-compat.h up with rest of includes. Simplify conditionals
22269 controlling definition of _IO_JUMPS_OFFSET.
22271 * csu/init.c: Remove always-true #if around entire file.
22272 Don't include stdio.h. Set _IO_stdin_used to hardwired
22273 constant 0x20001, and update commentary.
22274 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
22275 Replace all uses of _G_va_list with __gnuc_va_list.
22276 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
22277 instead of #if _IO_HAVE_ST_BLKSIZE.
22278 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
22279 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
22282 * libio/bits/libio.h: Move back to libio/libio.h and adjust
22283 multiple-include guard to match.
22284 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
22286 Remove preprocessor conditionals that are always true and/or
22287 redundant to other preprocessor conditionals in the same nest.
22288 Include shlib-compat.h unconditionally.
22289 Error out if _LIBC is not defined, or if _ISOMAC is defined,
22290 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
22291 defined after including stdio.h.
22292 Use __BEGIN_DECLS/__END_DECLS.
22294 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
22295 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
22296 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
22298 2018-02-07 Zack Weinberg <zackw@panix.com>
22300 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
22301 New single-type headers split from _G_config.h.
22302 * libio/bits/types/cookie_io_functions_t.h
22303 * libio/bits/types/struct_FILE.h
22304 New single-type headers split from libio.h.
22306 * libio/Makefile: Install the above new headers. Don't install
22307 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
22309 * libio/_G_config.h, libio/libio.h: Delete file.
22311 * libio/bits/libio.h: Remove improper-inclusion guard.
22312 Include stdio.h and don't repeat anything that it does.
22313 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
22314 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
22315 __io_read_fn as cookie_read_function_t,
22316 __io_write_fn as cookie_write_function_t,
22317 __io_seek_fn as cookie_seek_function_t,
22318 __io_close_fn as cookie_close_function_t,
22319 and _IO_cookie_io_functions_t as cookie_io_functions_t.
22320 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
22321 here, in the "compatibility defines" section. Remove an #if 0
22322 block. Use the "body" macros from bits/types/struct_FILE.h to
22323 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
22324 and _IO_ferror_unlocked.
22325 Move prototypes of __uflow and __overflow...
22327 * libio/stdio.h: ...here. Don't include bits/libio.h.
22328 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
22329 directly from stdarg.h. Include bits/types/__fpos_t.h,
22330 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
22331 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
22332 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
22333 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
22334 cookie_io_functions_t, not _IO_cookie_io_functions_t;
22335 __ssize_t, not _IO_ssize_t. Unconditionally define
22336 BUFSIZ as 8192 and EOF as (-1).
22338 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
22339 macros from bits/types/struct_FILE.h instead of _IO_* macros
22340 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
22341 instead of _IO_ssize_t.
22342 * libio/bits/stdio2.h: Similarly.
22344 * libio/iolibio.h: Add multiple-include guard.
22345 Include bits/libio.h after stdio.h.
22346 * libio/libioP.h: Add multiple-include guard.
22347 Include stdio.h and bits/libio.h before iolibio.h.
22349 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
22350 * include/bits/types/cookie_io_functions_t.h
22351 * include/bits/types/struct_FILE.h: New wrappers.
22353 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
22354 Get definitions of _G_fpos_t and _G_fpos64_t from
22355 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
22356 respectively. Remove improper-inclusion guards.
22358 * conform/data/stdio.h-data: Update expectations of va_list.
22359 * scripts/check-installed-headers.sh: Remove special case for
22360 libio.h and _G_config.h.
22362 2018-02-07 Joseph Myers <joseph@codesourcery.com>
22366 * include/sys/sysmacros.h [!_ISOMAC]
22367 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
22368 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
22369 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
22370 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
22372 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
22373 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
22375 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
22376 Undefine and redefine to add use __gnu_dev_ prefix.
22377 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
22379 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
22380 and define as hidden inline function.
22381 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
22383 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
22385 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
22386 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
22387 (gnu_dev_minor): Likewise.
22388 (gnu_dev_makedev): Likewise.
22389 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
22391 * posix/wordexp.c (exec_comm_child): Likewise.
22392 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
22393 instead of minor and __gnu_dev_major instead of major.
22394 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
22395 __gnu_dev_major instead of major.
22396 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
22397 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
22398 instead of gnu_dev_minor.
22399 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
22400 (SLAVE_P): Likewise.
22401 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
22402 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
22406 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
22408 * locale/weightwc.h (findidx): Likewise.
22410 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
22412 * manual/probes.texi (slowlog): Delete documentation of removed probe.
22413 (slowlog_inexact): Likewise
22414 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
22415 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
22417 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
22420 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
22421 missing second underscore to parameter name.
22423 2018-02-06 Joseph Myers <joseph@codesourcery.com>
22429 * bits/byteswap.h: Update file comment. Do not include
22430 <bits/byteswap-16.h>.
22431 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
22433 (__bswap_16): Define as inline function.
22434 (__bswap_constant_32): Reformat definition.
22435 (__bswap_32): Always define as inline function, not macro, using
22436 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
22437 otherwise __bswap_constant_32.
22438 (__bswap_constant_64): Reformat definition. Do not use
22439 __extension__ here.
22440 (__bswap_64): Always define as inline function, not macro. Use
22441 __extension__ on function definition. Use __builtin_bswap64 if
22442 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
22443 * string/test-endian-file-scope.c: New file.
22444 * string/test-endian-sign-conversion.c: Likewise.
22445 * string/Makefile (headers): Remove bits/byteswap-16.h.
22446 (tests): Add test-endian-file-scope and
22447 test-endian-sign-conversion.
22448 (CFLAGS-test-endian-sign-conversion.c): New variable.
22449 * bits/byteswap-16.h: Remove file.
22450 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
22451 * sysdeps/ia64/bits/byteswap.h: Likewise.
22452 * sysdeps/m68k/bits/byteswap.h: Likewise.
22453 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22454 * sysdeps/s390/bits/byteswap.h: Likewise.
22455 * sysdeps/tile/bits/byteswap.h: Likewise.
22456 * sysdeps/x86/bits/byteswap-16.h: Likewise.
22457 * sysdeps/x86/bits/byteswap.h: Likewise.
22460 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
22461 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
22462 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
22463 199901L] (__restrict): Define to restrict.
22466 * string/testcopy.c: Include <support/support.h>. Do not include
22467 <malloc.h>. Use <support/test-driver.c>.
22468 (main): Rename to do_test. Make static. Use xmalloc instead of
22472 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
22473 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
22474 (SSIZE_MAX): Define to INT_MAX.
22475 * posix/test-ssize-max.c: New file.
22476 * posix/Makefile (tests): Add test-ssize-max.
22479 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
22480 <support/support.h>. Do not include <malloc.h>.
22481 (query_auxv): Use xmalloc instead of malloc.
22484 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
22485 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
22488 2018-02-06 Florian Weimer <fweimer@redhat.com>
22491 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22492 Use scratch_buffer instead of extend_alloca.
22494 2018-02-06 Zack Weinberg <zackw@panix.com>
22496 * libio/stdio.h: Don't define getc or putc as macros.
22497 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
22498 not _IO_getc and _IO_putc.
22500 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
22501 * stdio-common/tstgetln.c: Don't redefine ssize_t.
22503 2018-02-06 Joseph Myers <joseph@codesourcery.com>
22505 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
22506 (TCP_FASTOPEN_NO_COOKIE): Likewise.
22508 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
22511 * elf/elf.h (NT_PRFPREG): New macro.
22512 (NT_S390_VXRS_LOW): Likewise.
22513 (NT_S390_VXRS_HIGH): Likewise.
22514 (NT_S390_GS_CB): Likewise.
22515 (NT_S390_GS_BC): Likewise.
22516 (NT_S390_RI_CB): Likewise.
22518 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
22519 (MAP_SYNC): New macro.
22520 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
22522 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
22523 (MAP_SYNC): Likewise.
22524 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
22525 (MAP_SYNC): Likewise.
22526 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
22527 (MAP_SYNC): Likewise.
22528 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
22529 (MAP_SYNC): Likewise.
22530 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
22531 (MAP_SYNC): Likewise.
22532 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
22533 (MAP_SYNC): Likewise.
22534 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
22536 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
22539 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
22540 (MAP_SHARED_VALIDATE): New macro.
22541 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22542 (MAP_SHARED_VALIDATE): Likewise.
22544 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22546 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
22547 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22548 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22550 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22552 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22553 (DT_NUM): Updated to 35.
22555 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22557 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22558 __builtin_expect with __glibc_likely and __glibc_unlikely.
22559 (elf_machine_rela): Likewise.
22560 (elf_machine_lazy_rel): Likewise.
22562 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22564 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
22565 __builtin_expect with __glibc_likely and __glibc_unlikely.
22566 (elf_machine_lazy_rel): Likewise.
22568 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22571 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22573 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
22575 2018-02-05 Andreas Schwab <schwab@suse.de>
22578 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22581 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22583 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22584 not check against PTHREAD_STACK_MIN.
22586 2018-02-02 Sean McKean <smckean83@gmail.com>
22589 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22591 2018-02-02 Florian Weimer <fweimer@redhat.com>
22594 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22595 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22596 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22597 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22598 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22599 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22600 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22601 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22602 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22603 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22604 * misc/tst-preadvwritev2.c (do_test): Call it.
22605 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22607 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22609 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22611 * benchtests/bench-memcmp.c: Print json instead of plain text.
22613 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22616 2018-02-01 Joseph Myers <joseph@codesourcery.com>
22618 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22620 (s390_sthyi): New syscall.
22622 * sysdeps/generic/ldbl-classify-compat.h: New file.
22623 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22624 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22625 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22626 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22627 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22628 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22629 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22630 <ldbl-classify-compat.h>.
22631 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22632 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22633 <ldbl-classify-compat.h>.
22634 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22635 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22636 <ldbl-classify-compat.h>.
22637 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22638 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22639 <ldbl-classify-compat.h>.
22640 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22642 <ldbl-classify-compat.h>.
22643 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22644 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22645 <ldbl-classify-compat.h>.
22646 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22647 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22648 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22649 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22650 * sysdeps/microblaze/math_private.h: Likewise.
22651 * sysdeps/nios2/math_private.h: Likewise.
22652 * sysdeps/sh/math_private.h: Likewise.
22654 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22655 * sysdeps/m68k/coldfire/math_private.h: ... here.
22656 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22657 * sysdeps/tile/math_private.h: Likewise.
22658 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22660 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22663 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22665 (libc_fetestexcept): Likewise.
22666 (libc_feupdateenv_test): Likewise.
22667 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22668 (libc_fetestexcept): Likewise.
22669 (libc_feupdateenv_test): Likewise.
22670 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22671 (libc_fetestexcept): Likewise.
22672 (libc_feupdateenv_test): Likewise.
22673 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22674 (libc_fetestexcept): Likewise.
22675 (libc_feupdateenv_test): Likewise.
22677 * sysdeps/generic/math_private.h
22678 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22679 New inline function.
22680 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22683 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22684 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22685 * sysdeps/generic/math_private.h
22686 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22688 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22690 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22692 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22694 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22696 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22698 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22699 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22700 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22701 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22702 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22703 (__fegetenv): Likewise.
22704 (fesetenv): Likewise.
22705 (__fesetenv): Likewise.
22706 (feupdateenv): Likewise.
22707 (__feupdateenv): Likewise.
22708 (fegetround): Likewise.
22709 (__fegetround): Likewise.
22710 (fesetround): Likewise.
22711 (__fesetround): Likewise.
22713 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22714 (feraiseexcept): New macro.
22715 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22716 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22718 (__feraiseexcept): Likewise.
22719 (feclearexcept): Likewise.
22720 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22721 (__feraiseexcept): Likewise.
22722 (feclearexcept): Likewise.
22723 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22724 (__feraiseexcept): Likewise.
22725 (feclearexcept): Likewise.
22726 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22727 (__feraiseexcept): Likewise.
22728 (feclearexcept): Likewise.
22729 (fetestexcept): Likewise.
22731 * sysdeps/m68k/coldfire/math-tests.h: New file.
22733 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22734 * sysdeps/m68k/bits/fenv.h: ... here.
22735 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22737 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22739 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22741 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22743 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22745 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22747 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22748 (__FE_UNDEFINED): New enum constant.
22749 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22751 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22753 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22755 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22756 to match generic bits/fenv.h.
22757 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22760 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22762 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22763 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22764 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22765 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22767 2018-02-01 Carlos O'Donell <carlos@redhat.com>
22768 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22769 Joseph Myers <joseph@codesourcery.com>
22772 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22773 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22774 computation using c.
22775 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22776 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22777 computation using c.
22779 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22781 * version.h (RELEASE): Set to "development".
22782 (VERSION): Set to "2.27.9000".
22783 * NEWS (2.28): New section.
22785 * version.h (RELEASE): Set to "stable".
22786 (VERSION): Set to "2.27".
22787 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22789 * NEWS: Add the list of bugs fixed in 2.27.
22791 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22793 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22794 against PTHREAD_STACK_MIN.
22796 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22798 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22800 (Rafał Lużyński, Andreas Schwab): Update.
22802 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
22805 * NEWS: List the languages which actually use the alternative
22806 months feature in this release. Also explain that "alt_mon" and
22807 "ab_alt_mon" are optional.
22809 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22812 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22814 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22816 * manual/install.texi (Tools for Compilation): Update the newest
22817 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22818 * INSTALL: Regenerated.
22820 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22822 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22823 instead of __builtin_expect.
22825 2018-01-30 Florian Weimer <fweimer@redhat.com>
22827 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22829 * nss/tst-nss-getpwent.c (do_test): Likewise.
22831 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
22834 * localedata/locales/hr_HR (mon): Rename to...
22836 (mon): Import from CLDR (genitive case).
22837 (d_t_fmt): Update the comment.
22839 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22841 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22842 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22843 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22845 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22847 * mach/Versions: Fix version when __mach_host_self_ was added.
22848 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22849 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22850 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22851 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22852 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22853 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22854 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22855 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22856 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22857 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22858 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22859 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
22860 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22861 || to respect codestyle.
22862 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22863 (do_test_bz20181): Rename accordingly.
22864 * malloc/malloc.c: Include <assert.h>.
22865 (assert): Do not define.
22866 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
22867 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22868 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
22869 * sysdeps/mach/hurd/hp-timing.h: New file.
22870 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
22872 2018-01-29 Darius Rad <darius@bluespec.com>
22874 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22876 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
22878 * sysdeps/init_array/crti.S (.section .init_array): Add
22879 PREINIT_FUNCTION when defined.
22880 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
22881 * config.h.in: Regenerate.
22882 * manual/platform.texi: Add RISC-V documenation for
22883 __riscv_flush_icache.
22884 * sysdeps/riscv/__longjmp.S: New file.
22885 * sysdeps/riscv/backtrace.c: Likewise.
22886 * sysdeps/riscv/bits/endian.h: Likewise.
22887 * sysdeps/riscv/bits/setjmp.h: Likewise.
22888 * sysdeps/riscv/bits/wordsize.h: Likewise.
22889 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22890 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22891 * sysdeps/riscv/dl-trampoline.S: Likewise.
22892 * sysdeps/riscv/gccframe.h: Likewise.
22893 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22894 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22895 * sysdeps/riscv/machine-gmon.h: Likewise.
22896 * sysdeps/riscv/memusage.h: Likewise.
22897 * sysdeps/riscv/setjmp.S: Likewise.
22898 * sysdeps/riscv/sys/asm.h: Likewise.
22899 * sysdeps/riscv/tls-macros.h: Likewise.
22900 * sysdeps/riscv/dl-tls.h: New file.
22901 * sysdeps/riscv/libc-tls.c: Likewise.
22902 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22903 * sysdeps/riscv/nptl/tls.h: Likewise.
22904 * sysdeps/riscv/stackinfo.h: Likewise.
22905 * sysdeps/riscv/bits/fenv.h: New file.
22906 * sysdeps/riscv/e_sqrtl.c: Likewise.
22907 * sysdeps/riscv/fpu_control.h: Likewise.
22908 * sysdeps/riscv/math-tests.h: Likewise.
22909 * sysdeps/riscv/nofpu/Implies: Likewise.
22910 * sysdeps/riscv/sfp-machine.h: Likewise.
22911 * sysdeps/riscv/tininess.h: Likewise.
22912 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22913 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22914 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22915 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22916 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22917 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22918 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22919 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22920 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22921 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22922 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22923 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22924 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22925 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22926 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22927 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22928 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22929 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22930 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22931 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22932 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22933 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22934 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22935 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22936 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22937 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22938 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22939 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22940 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22941 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22942 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22943 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22944 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22945 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22946 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22947 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22948 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22949 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22950 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22951 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22952 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22953 * sysdeps/riscv/rvf/math_private.h: Likewise.
22954 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22955 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22956 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22957 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22958 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22959 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22960 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22961 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22962 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22963 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22964 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22965 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22966 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22967 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22968 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22969 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
22970 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22971 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22972 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22973 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
22974 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22975 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22976 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22977 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22978 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22979 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22980 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22981 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22982 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
22983 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22984 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22985 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22986 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22987 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22988 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22989 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22990 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22991 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22992 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22993 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22994 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22995 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22996 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22997 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22998 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22999 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
23000 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
23001 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
23002 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
23003 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
23004 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
23005 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
23006 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
23007 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
23008 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
23009 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
23010 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
23011 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
23012 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
23013 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
23014 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
23015 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
23016 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
23017 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
23018 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
23019 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
23020 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
23021 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
23022 * sysdeps/riscv/Implies: New file.
23023 * sysdeps/riscv/Makefile: Likewise.
23024 * sysdeps/riscv/configure: Likewise.
23025 * sysdeps/riscv/configure.ac: Likewise.
23026 * sysdeps/riscv/nptl/Makefile: Likewise.
23027 * sysdeps/riscv/preconfigure: Likewise.
23028 * sysdeps/riscv/rv64/Implies-after: Likewise.
23029 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
23030 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
23031 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
23032 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
23033 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
23034 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
23035 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
23036 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
23037 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
23038 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
23039 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
23040 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
23041 (Config): Likewise.
23043 2018-01-29 Florian Weimer <fweimer@redhat.com>
23046 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
23047 libnsl_hidden_proto.
23048 * include/rpcsvc/yp.h (yp_xdrall): Declare with
23049 libnsl_hidden_proto.
23050 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
23051 * nis/Makefile (libnsl-routines): Add nss-default only for
23052 build-obsolete-nsl.
23053 * nis/nis_defaults.c (__nis_default_ttl): Add
23054 libnsl_hidden_nolink_def.
23055 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
23057 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
23058 * nis/ypclnt.c (yp_maplist): Likewise.
23060 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
23062 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23063 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
23065 2018-01-29 Joseph Myers <joseph@codesourcery.com>
23067 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
23068 clean -dxfq for git updates when replacing sources.
23070 * scripts/build-many-glibcs.py (Config.build_gcc): Use
23071 --disable-libcilkrts unconditionally, not just for the final GCC
23074 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23077 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
23080 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
23083 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
23086 * localedata/locales/be_BY (mon): Rename to...
23087 (alt_mon): This, then synchronize with CLDR (nominative case).
23088 (abmon): Rename to...
23089 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
23090 (mon): Import from CLDR (genitive case).
23092 * localedata/locales/be_BY@latin (mon): Rename to...
23094 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
23096 * localedata/locales/be_BY@latin (lang_name): Reworded to
23097 "biełaruskaja mova".
23099 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
23102 * localedata/locales/el_CY (mon): Renamed to...
23104 (mon): Import from CLDR (genitive case).
23105 * localedata/locales/el_GR: Likewise.
23107 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
23110 * localedata/locales/ru_RU (mon): Rename to...
23112 (abmon): Rename to...
23113 (ab_alt_mon): This.
23114 (mon): Import from CLDR (genitive case).
23115 (abmon): Copy from the old content except the 5th month which is
23116 now in the genitive case, even when abbreviated.
23117 * localedata/locales/ru_UA: Likewise.
23118 * time/tst-strptime.c (day_tests): Add an actual example of
23119 a difference between %b and %Ob in Russian.
23121 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
23123 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
23124 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
23126 * resolv/res-close.c: Include <stdlib.h>.
23127 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
23128 <sys/wait.h>, <time.h>, <sys/uio.h>.
23129 (NOT_CANCEL_H): Add inclusion guard.
23130 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
23131 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
23132 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
23134 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
23135 vm_address_t * to ElfW(Addr) * for dl_main parameter.
23136 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
23138 * sysdeps/pthread/timer_create.c (timer_create): Do not use
23139 timer_ptr2id to cast struct timer_node * to void *.
23140 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
23141 --disable-libcilkrts to gcc configure.
23142 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
23143 and make them the default for now.
23144 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
23145 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
23146 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
23147 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
23148 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
23150 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
23151 __task_terminate would ever return successfully.
23152 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
23154 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
23155 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
23156 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
23157 critical section to make code simpler and avoid warning.
23158 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
23159 critical section to make code simpler and avoid warning.
23160 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
23161 const char * instead of char *.
23162 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
23163 __hurd_file_name_split, hurd_file_name_split,
23164 __hurd_directory_name_split, hurd_directory_name_split,
23165 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
23166 hurd_file_name_path_lookup): Make lookup function parameter take a
23167 const char *name instead of char *name.
23168 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
23169 __hurd_directory_name_split): Likewise.
23170 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
23171 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
23172 * sysdeps/mach/hurd/check_native.c: New file.
23173 * sysdeps/mach/hurd/check_pf.c: New file.
23174 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
23175 (__freeifaddrs): Define macro to freeifaddrs.
23176 * sysdeps/mach/hurd/libhurduser.abilist: New file.
23177 * sysdeps/mach/libmachuser.abilist: New file.
23178 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
23179 (do_test_bz20181): Rename accordingly.
23180 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
23181 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
23183 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
23184 version only if __USE_EXTERN_INLINES is defined.
23185 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
23186 __hurd_sockfail): Likewise.
23187 (_hurd_fd_get): Always declare functions, and provide inline versions
23188 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
23189 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
23190 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
23191 _hurd_port_set): Always declare functions, and provide inline versions
23192 only if __USE_EXTERN_INLINES and _LIBC are defined and
23194 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
23195 _hurd_critical_section_unlock): Likewise.
23196 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
23197 * __hurd_threadvar_location): Likewise.
23198 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
23199 _hurd_userlink_clear): Likewise.
23200 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
23201 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
23202 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
23203 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
23204 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
23205 __spin_lock_locked): Likewise.
23206 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
23207 __spin_lock_locked): Likewise.
23208 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
23209 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
23210 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
23211 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
23212 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
23213 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
23214 _POSIX_NO_TRUNC): Define to 0.
23215 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
23216 check size against PTHREAD_STACK_MIN.
23217 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
23218 IS_IN(libpthread)]: Include <sigsetops.h>.
23219 * mach/Makefile (user-interfaces): Add mach/gnumach.
23220 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
23221 * sysdeps/mach/configure (mach_interface_list): Regenerate.
23222 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
23223 instead of invalid -1.
23224 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
23225 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
23226 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
23229 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
23231 * hurd/fcntl-internal.h: New file.
23233 2018-01-27 James Clarke <jrtc27@jrtc27.com>
23235 * sysdeps/hppa/fpu/libm-test-ulps: Update.
23237 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23239 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
23242 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
23243 Build only shared objects.
23245 2018-01-26 Carlos O'Donell <carlos@redhat.com>
23247 * README: Update for hppa.
23249 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23251 * sysdeps/sparc/fpu/libm-test-ulps: Update
23252 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
23254 2018-01-26 Carlos O'Donell <carlos@redhat.com>
23258 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23261 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23262 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23263 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23264 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23267 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23270 * bits/types/__cancel_jmp_buf_tag.h: New file.
23271 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23272 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23273 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23274 * nptl/Makefile (headers): Add
23275 bits/types/__cancel_jmp_buf_tag.h.
23276 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23277 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23278 * sysdeps/nptl/pthread.h: Include
23279 <bits/types/__cancel_jmp_buf_tag.h>.
23280 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23282 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23284 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
23287 * localedata/locales/uk_UA (mon): Renamed to...
23289 (alt_digits): "0" removed and then renamed to...
23291 (date_fmt): Definition changed not to use the alternative
23294 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
23296 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
23297 FLAG_RISCV_FLOAT_ABI_DOUBLE.
23298 * elf/elf.h (EF_RISCV_RVC): New define.
23299 (EF_RISCV_FLOAT_ABI): Likewise.
23300 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
23301 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
23302 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
23303 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
23304 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
23306 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
23308 2018-01-25 Andreas Schwab <schwab@suse.de>
23310 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
23312 * sysdeps/gnu/configure: Regenerate.
23313 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
23314 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23316 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
23317 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
23318 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
23319 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
23320 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
23322 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
23324 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
23325 URL, and run autoconf, make it the default for now.
23327 2018-01-24 Joseph Myers <joseph@codesourcery.com>
23329 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23330 soft-float ColdFire configuration.
23332 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
23333 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
23334 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
23336 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
23339 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
23341 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
23343 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
23346 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
23347 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
23348 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
23351 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23354 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
23355 Rename to __reserved and add comment.
23356 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
23357 Rename to __reserved.
23359 2018-01-24 Joseph Myers <joseph@codesourcery.com>
23361 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23362 i686-gnu configurations.
23363 (Context.run_builds): Include mig, gnumach and hurd in components
23365 (Context.checkout): Add mig, gnumach and hurd to components.
23366 (Context.checkout_tar): Add URL mappings for mig, gnumach and
23368 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
23369 (Config.build): Install gnumach headers, build mig and install
23370 hurd headers for 'gnu' OS.
23371 (Config.install_gnumach_headers): New function.
23372 (Config.install_hurd_headers): Likewise.
23373 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
23374 when building for 'gnu' OS.
23376 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
23378 * manual/tunables.texi (Hardware Capability Tunables): Fix
23381 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
23383 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
23384 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
23385 (ALTMON_11, ALTMON_12): Improve documentation.
23386 * manual/time.texi (strftime): Likewise.
23388 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23391 * localedata/locales/pl_PL: Alternative month names added,
23392 primary month names are genitive now.
23393 * time/tst-strptime.c (day_tests): Actually use a genitive case
23394 of a month name in Polish language.
23396 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23399 * manual/locale.texi: Document ALTMON_1..12 constants for
23400 nl_langinfo. Specify when to use ALTMON instead of MON.
23401 * manual/time.texi (strftime, strptime): Document GNU extension
23402 permitting O modifier with %B and %b. Specify when to use
23405 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23408 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
23409 names, define them as the same as abbreviated month names explicitly.
23410 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
23411 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
23412 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
23413 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
23414 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
23415 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
23416 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
23417 _NL_WABALTMON_12): New enum constants.
23418 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
23419 wab_alt_mon, and ab_alt_mon_defined members.
23420 (time_output): Output ab_alt_mon and wab_alt_mon members.
23421 (time_read): Read them, initialize them as copies of abmon and wabmon
23422 respectively if they are missing, initialize ab_alt_mon_defined.
23423 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
23424 * locale/programs/locfile-kw.h: Regenerate.
23425 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
23426 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
23428 * time/strftime_l.c (a_altmonth, aam_len): New macros.
23429 [!COMPILE_WIDE] (ABALTMON_1): New macro.
23430 (__strftime_internal): Handle %Ob and %Oh formats.
23431 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
23432 (__strptime_internal): Handle %Ob and %Oh formats.
23433 * time/tst-strptime.c (day_tests): Add more tests to parse different
23434 forms of month names including the new %Ob format specifier.
23436 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23439 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
23440 define them as the same as primary full month names explicitly.
23441 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
23442 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
23443 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
23444 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
23445 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
23446 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
23447 _NL_WALTMON_12): New enum constants.
23448 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
23449 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
23451 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
23452 walt_mon, and alt_mon_defined members.
23453 (time_output): Output alt_mon and walt_mon members.
23454 (time_read): Read them, initialize them as copies of mon and wmon
23455 respectively if they are missing, initialize alt_mon_defined.
23456 * locale/programs/locfile-kw.gperf (alt_mon): Define.
23457 * locale/programs/locfile-kw.h: Regenerate.
23458 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
23459 * localedata/tst-langinfo.c (map): Add tests for the new constants
23460 ALTMON_1 .. ALTMON_12.
23461 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
23463 * time/strftime_l.c (f_altmonth): New macro.
23464 (__strftime_internal): Handle %OB format.
23465 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
23466 (__strptime_internal): Handle %OB format.
23467 * time/tst-strptime.c (day_tests): Add tests to parse different forms
23468 of month names including the new %OB format specifier.
23470 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23473 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
23474 from ABORT_TRANSACTION.
23475 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
23476 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
23477 ABORT_TRANSACTION_IMPL): Likewise.
23478 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
23479 Linux code, but remove the code that aborts transactions.
23481 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
23483 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
23485 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
23487 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
23488 in date: "2004-14-09" should be "2004-09-14".
23489 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
23490 "2003-15-09" should be "2003-09-15".
23492 2018-01-18 Arjun Shankar <arjun@redhat.com>
23498 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
23500 (_int_memalign): check for integer overflow before calling
23502 * malloc/tst-malloc-too-large.c: New test.
23503 * malloc/Makefile: Add tst-malloc-too-large.
23505 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
23507 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
23508 in date: "2017-24-07" should be "2017-07-24".
23509 * localedata/locales/mai_IN: Likewise.
23510 * localedata/locales/mai_NP: Likewise.
23512 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
23514 * po/ru.po: Update translations.
23516 2018-01-17 Joseph Myers <joseph@codesourcery.com>
23519 * sysdeps/hppa/backtrace.c: New file.
23521 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
23524 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
23525 align La_x86_64_retval to VEC_SIZE.
23527 2018-01-16 Joseph Myers <joseph@codesourcery.com>
23529 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
23530 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
23532 2018-01-16 Florian Weimer <fweimer@redhat.com>
23534 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
23535 Move tst-thread-exit-clobber ...
23536 [$(CXX)] (tests-unsupported): ... to here.
23538 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23540 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
23541 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
23542 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23543 (_dl_aarch64_cap_flags): Update.
23544 (_DL_HWCAP_COUNT): Update.
23546 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23548 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23549 (_DL_HWCAP_LAST): Remove.
23550 (_DL_HWCAP_COUNT): Move to ...
23551 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23552 (_DL_HWCAP_COUNT): ... here.
23554 2018-01-16 Florian Weimer <fweimer@redhat.com>
23556 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23557 mode with GNU extensions.
23559 2018-01-15 Alan Hayward <alan.hayward@arm.com>
23561 * elf/elf.h (NT_ARM_SVE): Define.
23563 2018-01-15 Florian Weimer <fweimer@redhat.com>
23566 * nptl/tst-minstack-throw.cc: New file.
23567 * nptl/Makefile (tests): Add tst-minstack-throw.
23568 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23569 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23571 2018-01-15 Joseph Myers <joseph@codesourcery.com>
23573 * scripts/build-many-glibcs.py (Context.checkout): Default
23574 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23577 2018-01-13 Carlos O'Donell <carlos@redhat.com>
23580 * elf/elf.h (DF_1_STUB): Define.
23581 (DF_1_PIE): Define.
23583 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23586 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23587 Do not add 0.5 to integer or out-of-range arguments.
23589 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23591 * po/bg.po: Update translations.
23592 * po/cs.po: Likewise.
23593 * po/de.po: Likewise.
23594 * po/ko.po: Likewise.
23595 * po/pl.po: Likewise.
23596 * po/sv.po: Likewise.
23597 * po/uk.po: Likewise.
23598 * po/vi.po: Likewise.
23600 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23602 * aarch64/start.S (_start): Use __wrap_main.
23603 (__wrap_main): New local symbol.
23605 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23609 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23610 generic_getcwd if the path returned by getcwd syscall is not absolute.
23611 * io/tst-getcwd-abspath.c: New test.
23612 * io/Makefile (tests): Add tst-getcwd-abspath.
23614 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23616 * malloc/malloc.c (malloc_consolidate): Add size check.
23618 2018-01-12 Florian Weimer <fweimer@redhat.com>
23620 * support/write_message.c (write_message): Preserve errno.
23621 * support/check.c (print_failure): Likewise.
23622 * support/support_test_verify_impl.c (support_test_verify_impl):
23624 * support/support_test_compare_failure.c
23625 (support_test_compare_failure): Likewise.
23627 2018-01-12 Florian Weimer <fweimer@redhat.com>
23630 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23631 Prevent installation of libnsl.so.
23632 (libnsl-inhibit-o): Do not build (or install) static libraries.
23634 2018-01-12 Egmont Koblinger <egmont@gmail.com>
23637 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23638 before the day number which may produce a double space.
23639 (date_fmt): Likewise.
23641 2018-01-12 Joseph Myers <joseph@codesourcery.com>
23643 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23644 instead of fegetenv.
23646 2018-01-11 Joseph Myers <joseph@codesourcery.com>
23649 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23650 comment to say exceptions are discarded.
23651 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23653 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23656 2018-01-11 Florian Weimer <fweimer@redhat.com>
23658 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23661 2018-01-11 Florian Weimer <fweimer@redhat.com>
23664 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23665 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23667 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23670 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23671 negative arguments in test for NaN or infinity argument.
23673 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23675 * po/libc.pot: Regenerate.
23677 2018-01-10 Florian Weimer <fweimer@redhat.com>
23680 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23681 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23683 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23685 * hurd/hurd/fd.h: Include <fcntl.h>
23686 (__hurd_at_flags): New function.
23687 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23688 with call to __hurd_at_flags.
23689 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23690 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23692 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23693 (__access_noerrno): Use __faccessat_common instead of access_common.
23694 (__access): Likewise.
23695 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23696 with a call to __faccessat.
23697 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23698 (__faccessat_common): ... this. Move implementation of __access into it when
23699 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23700 reauthenticate_cwdir_at helper to implement AT mechanism.
23701 (__faccessat_noerrno): New function, just calls __faccessat_common.
23702 (__faccessat): New function, just calls __faccessat_common.
23703 (faccessat): Define weak alias.
23705 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23708 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23709 (CFLAGS-s_fmaxmagl.c): New variable.
23710 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23713 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23714 long int for arguments of possibly overflowing addition or
23716 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23718 2018-01-09 Joseph Myers <joseph@codesourcery.com>
23721 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23722 (CFLAGS-e_remainderl.c): New variable.
23725 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23727 (CFLAGS-s_cacoshl.c): Likewise.
23728 (CFLAGS-s_casinhl.c): Likewise.
23729 (CFLAGS-s_catanl.c): Likewise.
23730 (CFLAGS-s_catanhl.c): Likewise.
23731 (CFLAGS-s_cexpl.c): Likewise.
23732 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23733 (CFLAGS-s_csinhl.c): Likewise.
23734 (CFLAGS-s_clogl.c): Likewise.
23735 (CFLAGS-s_clog10l.c): Likewise.
23736 (CFLAGS-s_csinl.c): Likewise.
23737 (CFLAGS-s_csqrtl.c): Likewise.
23739 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
23740 2017-01-09 Svante Signell <svante.signell@gmail.com>
23742 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23743 (_hurd_exec_paths): New function.
23744 * hurd/hurd.h (_hurd_exec): Deprecate function.
23745 (_hurd_exec_paths): Declare function.
23746 * hurd/Versions: Export _hurd_exec_paths.
23747 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23748 (__execve): Use __getcwd to build absolute path, and use
23749 _hurd_exec_paths instead of _hurd_exec.
23750 * sysdeps/mach/hurd/spawni.c: Likewise.
23751 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23754 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23756 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23757 test instead of failing in case of ENOENT returned by posix_openpt.
23759 2018-01-08 Florian Weimer <fweimer@redhat.com>
23761 resolv: Support binary labels in test framework.
23762 * support/resolv_test.c (struct to_be_freed): Remove.
23763 (struct compressed_name): New.
23764 (allocate_compressed_name, ascii_tolower)
23765 (compare_compressed_name): New functions.
23766 (struct resolv_response_builder): Update type of
23767 compression_offsets for use with tsearch. Rempve to_be_freed.
23768 (response_push_pointer_to_free): Remove function.
23769 (resolv_response_add_name): Rewrite using struct compressed_name
23770 and tsearch instead of hsearch_r.
23771 (response_builder_allocate): Remove initialization of
23772 compression_offsets.
23773 (response_builder_free): Update for removal of to_be_freed. Use
23774 tdestroy instead of hdestroy_r.
23775 * resolv/Makefile (tests): Add tst-resolv-binary.
23776 (tst-resolv-binary): Link with -lresolv -lpthread.
23778 2018-01-08 Florian Weimer <fweimer@redhat.com>
23780 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23781 time. Pass positive flag instead of negative flag to
23782 support_test_compare_failure.
23783 (support_test_compare_failure): Change negative parameter to
23785 * support/support_test_compare_failure.c (report)
23786 (support_test_compare_failure): Likewise.
23787 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23788 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23790 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23793 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23794 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23795 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23797 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23799 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23801 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23802 Add s_sincosf-sse2 and s_sincosf-fma.
23803 (CFLAGS-s_sincosf-fma.c): New.
23804 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23805 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23806 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23807 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23808 __sincosf is defined.
23810 2018-01-08 Florian Weimer <fweimer@redhat.com>
23812 * nptl/tst-thread-exit-clobber.cc: New file.
23813 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23815 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23816 (tests): Add tst-thread-exit-clobber.
23817 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23819 2018-01-08 Florian Weimer <fweimer@redhat.com>
23821 * support/check.h (support_static_assert): Define.
23822 (TEST_COMPARE): Use it.
23824 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23826 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23827 [!__RLIM_T_MATCHES_RLIM64_T]
23828 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23829 __getrlimit64. Add libc_hidden_weak.
23831 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
23833 * elf/elf.h (R_RISCV_NONE): New define.
23834 (R_RISCV_32): Likewise.
23835 (R_RISCV_64): Likewise.
23836 (R_RISCV_RELATIVE): Likewise.
23837 (R_RISCV_COPY): Likewise.
23838 (R_RISCV_JUMP_SLOT): Likewise.
23839 (R_RISCV_TLS_DTPMOD32): Likewise.
23840 (R_RISCV_TLS_DTPMOD64): Likewise.
23841 (R_RISCV_TLS_DTPREL32): Likewise.
23842 (R_RISCV_TLS_DTPREL64): Likewise.
23843 (R_RISCV_TLS_TPREL32): Likewise.
23844 (R_RISCV_TLS_TPREL64): Likewise.
23845 * Makerules (make-link-multidir): Make directories before linking into
23847 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23849 (VDSO_HASH_LINUX_4_15): Likewise.
23850 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23851 in subdirectories of lib.
23852 * nptl/Makefile (/librt.so): Always depend on
23853 "$(shared-thread-library)".
23855 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23857 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
23858 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23859 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23861 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
23862 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23864 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
23865 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23866 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23867 * sysdeps/gnu/glob-lstat-compat.c: New file.
23868 * sysdeps/gnu/glob64-lstat-compat.c: New file.
23869 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
23871 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23873 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23874 Reserve 16 chars to reloc_addr before calling _itoa_word.
23876 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23879 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23880 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23882 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23883 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23885 * resource/tst-getrlimit.c: Add copyright header.
23887 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23888 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23890 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23891 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23892 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23893 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23895 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23896 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23897 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23898 RLIM64_INFINITY): Fix values to match the kernel ones.
23899 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23900 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23901 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23902 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23903 getrlimit64@@GLIBC_2_27.
23904 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23906 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23907 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23908 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23909 setrlimit, getrlimit64 and setrlimit64.
23911 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23914 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23915 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23917 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23919 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23920 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23921 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23923 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23927 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23928 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23932 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23933 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23934 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23935 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23937 2018-01-04 Florian Weimer <fweimer@redhat.com>
23940 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23941 Align the stack before calling exit.
23942 * stdlib/tst-makecontext-align.c: New file.
23943 * stdlib/Makefile (tests): Add tst-makecontext-align.
23945 2018-01-04 Florian Weimer <fweimer@redhat.com>
23947 Add support for calling dlvsym from libc.so.
23948 * include/dlfcn.h (__libc_dlvsym): Declare.
23949 * elf/Makefile (tests-static-internal): Add
23950 tst-libc_dlvsym-static.
23951 (tests-internal): Add tst-libc_dlvsym.
23952 (modules-names): Add tst-libc_dlvsym-dso.
23953 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23954 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23955 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23956 object tst-libc_dlvsym-dso.so needs to be built before running
23958 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23959 * elf/Versions: Export __libc_dlvsym.
23960 * elf/dl-libc.c (struct do_dlvsym_args): New.
23961 (do_dlvsym, __libc_dlvsym): New functions.
23962 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23963 (_dl_open_hook2): New variable.
23964 (__libc_register_dl_open_hook): Set it.
23965 * elf/tst-libc_dlvsym-dso.c: New file.
23966 * elf/tst-libc_dlvsym-static.c: Likewise.
23967 * elf/tst-libc_dlvsym.c: Likewise.
23968 * elf/tst-libc_dlvsym.h: Likewise.
23970 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23972 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23973 include <sys/mount.h>.
23975 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23977 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23978 Add __NO_MATH_ERRNO__ check.
23980 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23982 * sysdeps/mips/mips32/libm-test-ulps: Update.
23983 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23985 2018-01-02 Florian Weimer <fweimer@redhat.com>
23987 * misc/tst-pselect.c: Add copyright header.
23989 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23991 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23993 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23995 (settrlimit): Rename into setrlimit.
23996 (__sttrlimit): Rename into __setrlimit.
23998 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23999 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
24000 never defined in that case.
24002 2018-01-02 Joseph Myers <joseph@codesourcery.com>
24004 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
24006 * sysdeps/arm/libm-test-ulps: Update.
24008 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
24009 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
24011 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24013 * NEWS: Add cosf and sincosf to list of optimized functions.
24015 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
24018 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
24019 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
24020 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
24021 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
24023 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
24026 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
24028 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
24029 making a copy of it.
24031 2018-01-01 Joseph Myers <joseph@codesourcery.com>
24033 * manual/texinfo.tex: Update to version 2017-12-26.21 with
24034 trailing whitespace removed.
24035 * scripts/config.guess: Update to version 2018-01-01.
24036 * scripts/config.sub: Update to version 2018-01-01.
24037 * scripts/move-if-change: Update from gnulib.
24039 * NEWS: Update copyright dates.
24040 * catgets/gencat.c (print_version): Likewise.
24041 * csu/version.c (banner): Likewise.
24042 * debug/catchsegv.sh: Likewise.
24043 * debug/pcprofiledump.c (print_version): Likewise.
24044 * debug/xtrace.sh (do_version): Likewise.
24045 * elf/ldconfig.c (print_version): Likewise.
24046 * elf/ldd.bash.in: Likewise.
24047 * elf/pldd.c (print_version): Likewise.
24048 * elf/sotruss.sh: Likewise.
24049 * elf/sprof.c (print_version): Likewise.
24050 * iconv/iconv_prog.c (print_version): Likewise.
24051 * iconv/iconvconfig.c (print_version): Likewise.
24052 * locale/programs/locale.c (print_version): Likewise.
24053 * locale/programs/localedef.c (print_version): Likewise.
24054 * login/programs/pt_chown.c (print_version): Likewise.
24055 * malloc/memusage.sh (do_version): Likewise.
24056 * malloc/memusagestat.c (print_version): Likewise.
24057 * malloc/mtrace.pl: Likewise.
24058 * manual/libc.texinfo: Likewise.
24059 * nptl/version.c (banner): Likewise.
24060 * nscd/nscd.c (print_version): Likewise.
24061 * nss/getent.c (print_version): Likewise.
24062 * nss/makedb.c (print_version): Likewise.
24063 * posix/getconf.c (main): Likewise.
24064 * scripts/test-installation.pl: Likewise.
24065 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24067 * All files with FSF copyright notices: Update copyright dates
24068 using scripts/update-copyrights.
24069 * locale/programs/charmap-kw.h: Regenerated.
24070 * locale/programs/locfile-kw.h: Likewise.
24072 2017-12-31 Zack Weinberg <zackw@panix.com>
24074 * libio/bits/libio-ldbl.h: Correct check for improper
24075 inclusion. Add own multiple include guard.
24077 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
24078 Dmitry V. Levin <ldv@altlinux.org>
24082 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
24083 string token expansion. Check for NULL pointer or empty string possibly
24084 returned by expand_dynamic_string_token.
24085 (decompose_rpath): Check for empty path after dynamic string
24088 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
24091 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
24093 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
24094 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
24095 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
24096 and PTRACE_SYSCALL.
24097 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
24098 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24099 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24100 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24101 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24102 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
24104 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
24105 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
24106 __ptrace_peeksiginfo_flags, ptrace): Move to ...
24107 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
24108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24109 bits/ptrace-shared.h.
24110 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
24111 <bits/ptrace-shared.h>.
24112 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
24113 __ptrace_peeksiginfo_flags, ptrace): Remove.
24114 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24115 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24116 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24117 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24118 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
24120 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
24123 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
24124 end of the loop. Improve comments.
24126 2017-12-29 Zack Weinberg <zackw@panix.com>
24129 * manual/errno.texi (Checking for Errors): Explicitly say that errno
24130 might be set on success.
24132 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
24135 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
24136 is unchanged on success.
24138 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
24140 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
24142 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
24143 expand_dynamic_string_token): Likewise.
24144 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
24147 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
24150 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
24151 is set and name contains ':', and all code depending on these checks.
24153 2017-12-24 Zack Weinberg <zackw@panix.com>
24155 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
24156 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
24158 * libio/libio.h: Rename the original version of this file to
24159 libio/bits/libio.h. Error out if not included by stdio.h or the
24161 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
24162 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
24163 if not included by bits/libio.h or the stub _G_config.h.
24164 * sysdeps/unix/sysv/linux/_G_config.h: Move to
24165 sysdeps/unix/sysv/linux/bits. Error out if not included by
24166 bits/libio.h or the stub _G_config.h.
24167 * libio/stdio.h: Include bits/libio.h, not libio.h.
24168 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
24169 well as libio.h and _G_config.h.
24171 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
24172 * libio/strfile.h, stdio-common/vfscanf.c
24173 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
24174 Include stdio.h, not _G_config.h nor libio.h.
24175 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
24176 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
24178 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
24180 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
24183 * stdlib/getrandom.c (getrandom): Fix comment.
24184 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
24186 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
24189 * manual/arith.texi (strtoul): Fix a typo.
24192 * manual/arith.texi (finite): Fix the description of the return
24195 2017-12-22 Eric Blake <ebb9@byu.net>
24197 Avoid gcc warnings on cygwin
24198 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
24199 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
24200 Avoid unused variable.
24202 2017-12-22 Florian Weimer <fweimer@redhat.com>
24204 * io/Makefile (routines): Add copy_file_range.
24205 (tests): Add tst-copy_file_range.
24206 (tests-static, tests-internal): Add tst-copy_file_range-compat.
24207 * io/Versions (GLIBC_2.27): Export copy_file_range.
24208 * io/copy_file_range-compat.c: New file.
24209 * io/copy_file_range.c: Likewise.
24210 * io/tst-copy_file_range-compat.c: Likewise.
24211 * io/tst-copy_file_range.c: Likewise.
24212 * manual/llio.texi (Copying File Data): New section.
24213 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
24214 * support/Makefile (libsupport-routines): Add support-xfstat,
24215 xftruncate, xlseek.
24216 * support/support-xfstat.c: New file.
24217 * support/xftruncate.c: Likewise.
24218 * support/xlseek.c: Likewise.
24219 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
24220 * sysdeps/unix/sysv/linux/**.abilist: Update.
24221 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
24223 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
24225 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24226 disable-multi-arch variant to aarch64-linux-gnu.
24228 2017-12-20 Joseph Myers <joseph@codesourcery.com>
24230 * manual/texinfo.tex: Update to version 2017-12-18.20 with
24231 trailing whitespace removed.
24232 * scripts/config.guess: Update to version 2017-12-17.
24233 * scripts/config.sub: Update to version 2017-11-23.
24234 * scripts/install-sh: Update to version 2017-09-23.17.
24235 * scripts/move-if-change: Update to version 2017-09-13 06:45.
24237 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24239 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
24240 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
24241 * sysdeps/tile/_mcount.S (__mcount): Likewise.
24242 * sysdeps/tile/crti.S (_init, _fini): Likewise.
24243 * sysdeps/tile/crtn.S: Likewise.
24244 * sysdeps/tile/dl-start.S (_start): Likewise.
24245 * sysdeps/tile/dl-trampoline.S: Likewise.
24246 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
24247 * sysdeps/tile/start.S (_start): Likewise.
24248 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
24249 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
24250 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
24251 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
24252 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
24253 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
24254 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
24256 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
24258 * sysdeps/tile/preconfigure: Remove tilegx folder.
24259 * sysdeps/tile/tilegx/Implies: Move definitions to ...
24260 * sysdeps/tile/Implies: ... here.
24261 * sysdeps/tile/tilegx/Makefile: Move rules to ...
24262 * sysdeps/tile/Makefile: ... here.
24263 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
24264 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
24265 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
24266 * sysdeps/tile/bits/wordsize.h: ... here.
24267 * sysdeps/tile/tilegx/*: Move to ...
24268 * sysdeps/tile/*: ... here.
24269 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
24270 * sysdeps/tile/tilegx32/Implies: ... here.
24271 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
24272 * sysdeps/tile/tilegx64/Implies: ... here.
24273 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
24275 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24276 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
24277 * sysdeps/unix/sysv/linux/tile/*: ... here.
24278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
24279 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
24280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
24281 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
24283 * README: Remove tilepro-*-linux-gnu from supported architecture.
24284 * scripts/build-many-glibcs.py: Likewise.
24285 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
24286 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
24287 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
24288 elf_machine_matches_host, elf_machine_dynamic,
24289 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
24290 howto, elf_machine_rela): Likewise.
24291 * sysdeps/tile/dl-start.S (_start): Likewise.
24292 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
24293 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
24294 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
24295 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
24296 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
24297 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24299 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
24300 * sysdeps/tile/preconfigure: Likewise.
24301 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
24302 POINTER_CHK_GUARD): Likewise.
24303 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
24304 * sysdeps/tile/start.S (_start): Likewise.
24305 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
24307 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
24308 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
24310 * sysdeps/unix/sysv/linux/tile/bits/environments.h
24311 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
24312 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
24314 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
24315 * sysdeps/tile/tilepro/Implies: Remove file.
24316 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
24317 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
24318 * sysdeps/tile/tilepro/memchr.c: Likewise.
24319 * sysdeps/tile/tilepro/memcpy.S: Likewise.
24320 * sysdeps/tile/tilepro/memset.c: Likewise.
24321 * sysdeps/tile/tilepro/memusage.h: Likewise.
24322 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
24323 * sysdeps/tile/tilepro/strchr.c: Likewise.
24324 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
24325 * sysdeps/tile/tilepro/strlen.c: Likewise.
24326 * sysdeps/tile/tilepro/strrchr.c: Likewise.
24327 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
24328 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
24329 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24330 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
24331 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
24332 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24334 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
24335 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24336 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
24337 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
24338 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24339 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
24340 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
24341 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
24342 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
24343 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
24344 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
24345 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
24346 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
24347 tilepro mention in comment.
24349 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
24350 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
24351 * nptl/pthread_join_common.c: New file: common function used on
24352 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
24353 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
24354 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
24355 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24356 (cleanup): Move definition to pthread_join_common.c.
24357 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
24358 Remove superflous checks.
24359 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
24362 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
24364 * sysdeps/aarch64/libm-test-ulps: Update.
24366 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24368 * sysdeps/aarch64/memset.S (MEMSET): Define.
24370 2017-12-20 Florian Weimer <fweimer@redhat.com>
24373 nptl: Provide full implementation of pthread_self in libc.so.
24374 * nptl/Makefile (routines): Add pthread_self.
24375 (libpthread-routines): Replace pthread_self with
24376 compat-pthread_self.
24377 * nptl/forward.c (pthread_self): Remove.
24378 * nptl/nptl-init.c (pthread_functions): Do not initialize
24380 * nptl/pthread_self.c (pthread_self): Remove weak alias.
24381 * nptl/compat-pthread_self.c: New file.
24382 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
24383 Remove ptr_pthread_self.
24385 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
24387 * posix/regcomp.c: Fix spelling in comments.
24388 * posix/regex.h: Likewise.
24389 * posix/regex_internal.c: Likewise.
24390 * posix/regexec.c: Likewise.
24392 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24395 * math/Makefile [C++] (tests): Add test for iseqsig.
24396 * math/math.h [C++] (iseqsig): New implementation, which does
24397 not rely on __MATH_TG/__builtin_types_compatible_p.
24398 * math/test-math-iseqsig.cc: New file.
24399 * sysdeps/powerpc/powerpc64le/Makefile
24400 (CFLAGS-test-math-iseqsig.cc): New variable.
24402 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
24404 * elf/dl-load.c (is_trusted_path): Remove.
24405 (fillin_rpath): Remove check_trusted argument and its use,
24406 all callers changed.
24408 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24411 * Makeconfig (link-pie-before-libc): Replace -pie with
24412 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
24413 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
24414 (tst-dlopen-aout-no-pie): New.
24415 (LDFLAGS-tst-prelink): Removed.
24416 (tst-prelink-no-pie): New.
24417 (LDFLAGS-tst-main1): Removed.
24418 (tst-main1-no-pie): New.
24419 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
24420 (tst-gmon-no-pie): New.
24422 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24424 * manual/install.texi: Document that --enable-static-pie
24426 * INSTALL: Regenerated.
24428 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
24431 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
24434 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24438 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24440 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24442 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24444 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24445 <errno.h>. Include "eexp.tbl".
24446 (half): New constant.
24448 (__ieee754_exp): Rewrite.
24449 (__slowexp): Remove prototype.
24450 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24451 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24452 * sysdeps/i386/fpu/slowexp.c: Likewise.
24453 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24454 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24455 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24456 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24457 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24458 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24459 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24461 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24462 (CPPFLAGS-slowexp.c): Remove variable.
24463 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24464 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24465 (CFLAGS-slowexp-fma.c): Remove variable.
24466 (CFLAGS-slowexp-fma4.c): Likewise.
24467 (CFLAGS-slowexp-avx.c): Likewise.
24468 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24470 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24471 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24472 * math/Makefile (type-double-routines): Remove slowexp.
24473 * manual/probes.texi (slowexp_p6): Remove.
24474 (slowexp_p32): Likewise.
24476 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24478 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
24481 * lib/glob.c (glob): Do not pass NULL to mempcpy.
24483 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24487 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24489 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24490 <errno.h>. Include "eexp.tbl".
24491 (half): New constant.
24493 (__ieee754_exp): Rewrite.
24494 (__slowexp): Remove prototype.
24495 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24496 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24497 * sysdeps/i386/fpu/slowexp.c: Likewise.
24498 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24499 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24500 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24501 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24502 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24503 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24504 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24506 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24507 (CPPFLAGS-slowexp.c): Remove variable.
24508 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24509 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24510 (CFLAGS-slowexp-fma.c): Remove variable.
24511 (CFLAGS-slowexp-fma4.c): Likewise.
24512 (CFLAGS-slowexp-avx.c): Likewise.
24513 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24515 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24516 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24517 * math/Makefile (type-double-routines): Remove slowexp.
24518 * manual/probes.texi (slowexp_p6): Remove.
24519 (slowexp_p32): Likewise.
24521 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24522 James Clarke <jrtc27@jrtc27.com>
24525 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
24528 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24531 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
24534 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24537 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24538 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
24539 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24540 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
24543 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24546 * bits/types/__cancel_jmp_buf_tag.h: New file.
24547 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24548 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24549 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24550 * nptl/Makefile (headers): Add
24551 bits/types/__cancel_jmp_buf_tag.h.
24552 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24553 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24554 * sysdeps/nptl/pthread.h: Include
24555 <bits/types/__cancel_jmp_buf_tag.h>.
24556 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24558 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24560 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24562 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24563 --enable-static-pie variants to x86_64, x32 and i686.
24565 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24568 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24569 argument for attrubutes. All callers changed.
24570 (__inline_mathop1): Likewise. All callers changed.
24571 (__inline_mathop): Likewise. All callers changed.
24572 [__USE_MISC] (scalbn): Use __inline_forward instead of
24573 __inline_forward_c.
24574 [__USE_ISOC99] (scalbln): Likewise.
24575 [__USE_ISOC99] (nearbyint): Likewise.
24576 [__USE_ISOC99] (lrint): Likewise.
24577 [__USE_MISC] (scalbnf): Likewise.
24578 [__USE_ISOC99] (scalblnf): Likewise.
24579 [__USE_ISOC99] (nearbyintf): Likewise.
24580 [__USE_ISOC99] (lrintf): Likewise.
24581 [__USE_MISC] (scalbnl): Likewise.
24582 [__USE_ISOC99] (scalblnl): Likewise.
24583 [__USE_ISOC99] (nearbyintl): Likewise.
24584 [__USE_ISOC99] (lrintl): Likewise.
24585 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24586 __inline_mathop and __m81_defun changed.
24588 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24589 CPU or FPU for ARM hard-float configurations.
24591 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24593 * nptl/tst-attr3.c: Include <libc-diag.h>.
24594 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24596 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24598 * string/tester.c (test_strncat): Also disable -Warray-bounds
24599 warnings for two tests.
24601 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24604 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24605 $(cc-pie-default) == yes.
24606 * config.make.in (cc-pie-default): New.
24607 * configure.ac (libc_cv_pie_default): Renamed to ...
24608 (libc_cv_cc_pie_default): This.
24609 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24610 * configure: Regenerated.
24612 2017-12-18 Florian Weimer <fweimer@redhat.com>
24615 ld.so: Harden dl-libc/libdl hooks.
24616 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24617 (rtld_active): New function.
24618 * dlfcn/dladdr.c (__dladdr): Call it.
24619 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24620 * dlfcn/dlclose.c (__dlcose): Likewise.
24621 * dlfcn/dlerror.c (__dlerror): Likewise.
24622 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24623 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24624 * dlfcn/dlopen.c (__dlopen): Likewise.
24625 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24626 * dlfcn/dlsym.c (__dlsym): Likewise.
24627 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24628 * libio/vtables.c (_IO_vtable_check): Likewise.
24629 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24630 (__libc_dlclose): Likewise.
24631 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24634 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24637 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24638 buffers for readlink input and output.
24640 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24643 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24644 inhibit_stack_protector.
24647 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24648 inhibit_stack_protector.
24650 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24653 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24654 code and invocation.
24656 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24658 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24660 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24663 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24665 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24667 * sysdeps/s390/fpu/libm-test-ulps: Update.
24669 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24673 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24675 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24676 constants to s_sincosf.h file.
24677 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24678 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24680 * sysdeps/ieee754/flt-32/s_sincosf.h:
24683 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24686 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24689 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24692 * INSTALL: Regenerated.
24693 * Makeconfig (real-static-start-installed-name): New.
24694 (pic-default): Updated for --enable-static-pie.
24695 (pie-default): New for --enable-static-pie.
24696 (default-pie-ldflag): Likewise.
24697 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24698 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24699 Replace $(static-start-installed-name) with
24700 $(real-static-start-installed-name).
24701 (+prectorT): Updated for --enable-static-pie.
24702 (+postctorT): Likewise.
24703 (CFLAGS-.o): Add $(pie-default).
24704 (CFLAGS-.op): Likewise.
24705 * NEWS: Mention --enable-static-pie.
24706 * config.h.in (ENABLE_STATIC_PIE): New.
24707 * configure.ac (--enable-static-pie): New configure option.
24708 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24709 (have-static-pie): Likewise.
24710 Enable static PIE if linker supports --no-dynamic-linker.
24711 (ENABLE_STATIC_PIE): New AC_DEFINE.
24712 (enable-static-pie): New LIBC_CONFIG_VAR.
24713 * configure: Regenerated.
24714 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24715 gr$(start-installed-name) for --enable-static-pie.
24716 (extra-objs): Likewise.
24717 (install-lib): Likewise.
24718 (extra-objs): Add static-reloc.o and static-reloc.os
24719 ($(objpfx)$(start-installed-name)): Also depend on
24720 $(objpfx)static-reloc.o.
24721 ($(objpfx)r$(start-installed-name)): New.
24722 ($(objpfx)g$(start-installed-name)): Also depend on
24723 $(objpfx)static-reloc.os.
24724 ($(objpfx)gr$(start-installed-name)): New.
24725 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24727 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24729 * csu/static-reloc.c: New file.
24730 * elf/Makefile (routines): Add dl-reloc-static-pie.
24731 (elide-routines.os): Likewise.
24732 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24733 (tst-tls1-static-non-pie-no-pie): New.
24734 * elf/dl-reloc-static-pie.c: New file.
24735 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24736 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24737 STATIC_PIE_BOOTSTRAP.
24738 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24739 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24740 (tests-static): Likewise.
24741 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24742 (tst-gmon-static-no-pie): New.
24743 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24744 (CRT-tst-gmon-static-pie): Likewise.
24745 (tst-gmon-static-pie-ENV): Likewise.
24746 (tests-special): Likewise.
24747 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24748 (clean-tst-gmon-static-pie-data): Likewise.
24749 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24750 * gmon/tst-gmon-static-pie.c: New file.
24751 * manual/install.texi: Document --enable-static-pie.
24752 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24753 (_dl_get_dl_main_map): Likewise.
24754 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24755 * sysdeps/x86_64/configure.ac: Likewise.
24756 * sysdeps/i386/configure: Regenerated.
24757 * sysdeps/x86_64/configure: Likewise.
24758 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24759 (ASFLAGS-.op): Likewise.
24761 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24763 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24764 * posix/tst-mmap-offset.c (fname): Use /tmp.
24765 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24767 2017-12-15 Steve Ellcey <sellcey@cavium.com>
24769 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24771 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24773 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24776 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24778 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24779 --with-float=hard for arm-linux-gnueabihf configurations.
24782 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24783 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24784 ($(mo-installed)): Use $(objpfx)%.mo.
24785 (realclean): Remove rule.
24787 * po/Makefile (linguas): Remove rule and dependencies.
24788 (linguas.mo): Likewise.
24789 (.PHONY): Do not depend on linguas and linguas.mo.
24790 (podir): Remove variable.
24791 (pofiles): Likewise.
24792 [$(pofiles)] (%.po): Remove rule.
24794 * sysdeps/sparc/sparc32/Makefile
24795 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24796 start-of-line whitespace in argument of echo.
24797 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24798 with whitespace. Generate __wrap_.udiv alias.
24799 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24800 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24801 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24802 * sysdeps/sparc/sparc32/urem.S: Likewise.
24804 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24806 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24807 for aligned inputs.
24809 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24811 * benchtests/bench-strcmp.c: Print output in JSON format.
24813 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24815 2017-12-14 Florian Weimer <fweimer@redhat.com>
24819 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24820 the expanded path string.
24822 2017-12-14 Florian Weimer <fweimer@redhat.com>
24826 * elf/dl-load.c (system_dirs): Update comment.
24827 (nsystem_dirs_len): Use array_length.
24828 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24830 2017-12-14 Florian Weimer <fweimer@redhat.com>
24832 Simplify compiling most of support/ outside of glibc.
24833 * support/check_addrinfo.c: Include <string.h>.
24834 * support/check_dns_packet.c: Likewise.
24835 * support/check_hostent.c: Likewise.
24836 * support/support_can_chroot.c: Include <support/xunistd.h>.
24837 * support/support_format_addrinfo.c: Include <stdlib.h>
24838 * support/support_format_dns_packet.c: Include <stdbool.h>.
24839 * support/support_format_hostent.c: Include <stdlib.h>.
24840 * support/support_format_netent.c: Likewise.
24841 * support/support_write_string.c: Include <support/xunistd.h>.
24842 * support/xdlfcn.c: Include <stddef.h>.
24844 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24846 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24848 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24849 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24851 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24852 (sysdeps_routines): Add memset-niagara7.
24853 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24855 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24857 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24858 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24859 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24860 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24861 Add niagara7 option.
24862 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24865 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24866 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24867 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24869 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24871 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24872 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24873 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24874 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24875 and __memmove_niagara7.
24876 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24877 Add niagara7 option.
24878 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24879 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24880 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24881 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24882 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24884 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24886 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24887 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24888 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24889 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24891 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24892 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24893 _dl_sparc_cap_flags array.
24894 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24896 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24898 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24899 time whenever possible.
24901 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24903 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24904 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24906 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24908 * soft-fp/fmadf4.c: Move to ....
24909 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24910 * soft-fp/fmasf4.c: Move to ....
24911 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24912 * soft-fp/fmatf4.c: Move to ....
24913 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24914 * sysdeps/ieee754/soft-fp/Makefile: New file.
24915 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24916 * sysdeps/arm/preconfigure: Regenerated.
24917 * sysdeps/arm/nofpu/Implies: New file.
24918 * sysdeps/arm/s_fma.c: Remove file.
24919 * sysdeps/arm/s_fmaf.c: Likewise.
24920 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24921 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24922 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24923 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24924 * sysdeps/microblaze/s_fma.c: Remove file.
24925 * sysdeps/microblaze/s_fmaf.c: Likewise.
24926 * sysdeps/mips/mips32/nofpu/Implies: New file.
24927 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24928 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24929 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24930 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24931 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24932 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24933 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24935 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24936 * sysdeps/nios2/s_fma.c: Remove file.
24937 * sysdeps/nios2/s_fmaf.c: Likewise.
24938 * sysdeps/sh/nofpu/Implies: New file.
24939 * sysdeps/sh/s_fma.c: Remove file.
24940 * sysdeps/sh/s_fmaf.c: Likewise.
24941 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24942 * sysdeps/tile/s_fma.c: Remove file.
24943 * sysdeps/tile/s_fmaf.c: Likewise.
24945 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24947 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24948 Add s_cosf-sse2 and s_cosf-fma.
24949 (CFLAGS-s_cosf-fma.c): New.
24950 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24951 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24952 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24954 2017-12-12 Steve Ellcey <sellcey@cavium.com>
24956 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24958 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24960 * libio/Makefile (tests): Add tst-bz22415.
24961 (tst-bz22415-ENV): New rule.
24962 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24963 (tests-special): Add tst-bz22415-mem.out.
24964 ($(objpfx)tst-bz22415-mem.out): New rule.
24965 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24966 in case of a successful seek operation.
24967 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24968 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24969 buffer is required.
24970 * libio/tst-bz22415.c: New test.
24972 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24974 2017-12-12 James Clarke <jrtc27@jrtc27.com>
24976 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24977 __IPC_64 to 0 to avoid IPC_64 being set.
24979 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24982 * math/bits/mathcalls.h (nextafter): Remove const.
24983 (nexttoward): Likewise.
24985 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24987 * configure.ac (--with-fp): Remove configure option.
24988 (with_fp_cond): New variable.
24989 (libc_cv_with_fp): New configure test. Use this variable instead
24991 * configure: Regenerated.
24992 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24993 * manual/install.texi (Configuring and compiling): Remove
24995 * INSTALL: Regenerated.
24996 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24997 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24998 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24999 * sysdeps/sh/preconfigure (with_fp_cond): Define.
25000 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
25001 use --without-fp to configure glibc.
25003 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
25005 * manual/locale.texi (nl_langinfo): Fix a typo.
25007 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
25010 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
25012 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25014 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
25015 (CFLAGS-argp-parse.c): Likewise.
25016 (CFLAGS-argp-fmtstream.c): Likewise.
25017 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
25018 (CPPFLAGS-sha512-crypt.c): Likewise.
25019 (CPPFLAGS-md5-crypt.c): Likewise.
25020 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
25021 (CFLAGS-stack_chk_fail_local.c): Likewise.
25022 (CFLAGS-backtrace.c): Likewise.
25023 (CFLAGS-sprintf_chk.c): Likewise.
25024 (CFLAGS-snprintf_chk.c): Likewise.
25025 (CFLAGS-vsprintf_chk.c): Likewise.
25026 (CFLAGS-vsnprintf_chk.c): Likewise.
25027 (CFLAGS-asprintf_chk.c): Likewise.
25028 (CFLAGS-vasprintf_chk.c): Likewise.
25029 (CFLAGS-obprintf_chk.c): Likewise.
25030 (CFLAGS-dprintf_chk.c): Likewise.
25031 (CFLAGS-vdprintf_chk.c): Likewise.
25032 (CFLAGS-printf_chk.c): Likewise.
25033 (CFLAGS-fprintf_chk.c): Likewise.
25034 (CFLAGS-vprintf_chk.c): Likewise.
25035 (CFLAGS-vfprintf_chk.c): Likewise.
25036 (CFLAGS-gets_chk.c): Likewise.
25037 (CFLAGS-fgets_chk.c): Likewise.
25038 (CFLAGS-fgets_u_chk.c): Likewise.
25039 (CFLAGS-fread_chk.c): Likewise.
25040 (CFLAGS-fread_u_chk.c): Likewise.
25041 (CFLAGS-swprintf_chk.c): Likewise.
25042 (CFLAGS-vswprintf_chk.c): Likewise.
25043 (CFLAGS-wprintf_chk.c): Likewise.
25044 (CFLAGS-fwprintf_chk.c): Likewise.
25045 (CFLAGS-vwprintf_chk.c): Likewise.
25046 (CFLAGS-vfwprintf_chk.c): Likewise.
25047 (CFLAGS-fgetws_chk.c): Likewise.
25048 (CFLAGS-fgetws_u_chk.c): Likewise.
25049 (CFLAGS-read_chk.c): Likewise.
25050 (CFLAGS-pread_chk.c): Likewise.
25051 (CFLAGS-pread64_chk.c): Likewise.
25052 (CFLAGS-recv_chk.c): Likewise.
25053 (CFLAGS-recvfrom_chk.c): Likewise.
25054 (CFLAGS-tst-longjmp_chk.c): Likewise.
25055 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
25056 (CFLAGS-tst-longjmp_chk2.c): Likewise.
25057 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
25058 (CFLAGS-tst-longjmp_chk3.c): Likewise.
25059 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25060 (CFLAGS-tst-chk1.c): Likewise.
25061 (CFLAGS-tst-chk2.c): Likewise.
25062 (CFLAGS-tst-chk3.c): Likewise.
25063 (CFLAGS-tst-chk4.cc): Likewise.
25064 (CFLAGS-tst-chk5.cc): Likewise.
25065 (CFLAGS-tst-chk6.cc): Likewise.
25066 (CFLAGS-tst-lfschk1.c): Likewise.
25067 (CFLAGS-tst-lfschk2.c): Likewise.
25068 (CFLAGS-tst-lfschk3.c): Likewise.
25069 (CFLAGS-tst-lfschk4.cc): Likewise.
25070 (CFLAGS-tst-lfschk5.cc): Likewise.
25071 (CFLAGS-tst-lfschk6.cc): Likewise.
25072 (CFLAGS-tst-ssp-1.c): Likewise.
25073 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
25074 (CFLAGS-scandir64.c): Likewise.
25075 (CFLAGS-scandir-tail.c): Likewise.
25076 (CFLAGS-scandir64-tail.c): Likewise.
25077 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
25078 (CFLAGS-dl-tunables.c): Likewise.
25079 (CFLAGS-dl-runtime.c): Likewise.
25080 (CFLAGS-dl-lookup.c): Likewise.
25081 (CFLAGS-dl-iterate-phdr.c): Likewise.
25082 (CFLAGS-vismain.c): Likewise.
25083 (CFLAGS-tst-linkall-static.c): Likewise.
25084 (CFLAGS-tst-linkall-static.c): Likewise.
25085 (CPPFLAGS-dl-load.c): Likewise.
25086 (CFLAGS-ldconfig.c): Likewise.
25087 (CFLAGS-dl-cache.c): Likewise.
25088 (CFLAGS-cache.c): Likewise.
25089 (CFLAGS-rtld.c): Likewise.
25090 (CFLAGS-multiload.c): Likewise.
25091 (CFLAGS-filtmod1.c): Likewise.
25092 (CFLAGS-tst-align.c): Likewise.
25093 (CFLAGS-tst-align2.c): Likewise.
25094 (CFLAGS-tst-alignmod.c): Likewise.
25095 (CFLAGS-tst-alignmod2.c): Likewise.
25096 (CPPFLAGS-tst-execstack.c): Likewise.
25097 (CFLAGS-tst-ptrguard1-static.c): Likewise.
25098 (CFLAGS-tst-latepthreadmod.c): Likewise.
25099 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
25100 (CFLAGS-getgrnam_r.c): Likewise.
25101 (CFLAGS-getgrent_r.c): Likewise.
25102 (CFLAGS-getgrent.c): Likewise.
25103 (CFLAGS-fgetgrent.c): Likewise.
25104 (CFLAGS-fgetgrent_r.c): Likewise.
25105 (CFLAGS-putgrent.c): Likewise.
25106 (CFLAGS-initgroups.c): Likewise.
25107 (CFLAGS-getgrgid.c): Likewise.
25108 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
25109 (CFLAGS-getsgent.c): Likewise.
25110 (CFLAGS-fgetsgent.c): Likewise.
25111 (CFLAGS-fgetsgent_r.c): Likewise.
25112 (CFLAGS-putsgent.c): Likewise.
25113 (CFLAGS-getsgnam.c): Likewise.
25114 (CFLAGS-getsgnam_r.c): Likewise.
25115 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
25116 (CFLAGS-iconv_charmap.c): Likewise.
25117 (CFLAGS-dummy-repertoire.c): Likewise.
25118 (CFLAGS-charmap.c): Likewise.
25119 (CFLAGS-linereader.c): Likewise.
25120 (CFLAGS-simple-hash.c): Likewise.
25121 (CFLAGS-gconv_conf.c): Likewise.
25122 (CFLAGS-iconvconfig.c): Likewise.
25123 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25124 (CFLAGS-gethstbyad.c): Likewise.
25125 (CFLAGS-gethstbynm_r.c): Likewise.
25126 (CFLAGS-gethstbynm.c): Likewise.
25127 (CFLAGS-gethstbynm2_r.c): Likewise.
25128 (CFLAGS-gethstbynm2.c): Likewise.
25129 (CFLAGS-gethstent_r.c): Likewise.
25130 (CFLAGS-gethstent.c): Likewise.
25131 (CFLAGS-rcmd.c): Likewise.
25132 (CFLAGS-getnetbynm_r.c): Likewise.
25133 (CFLAGS-getnetbynm.c): Likewise.
25134 (CFLAGS-getnetbyad_r.c): Likewise.
25135 (CFLAGS-getnetbyad.c): Likewise.
25136 (CFLAGS-getnetent_r.c): Likewise.
25137 (CFLAGS-getnetent.c): Likewise.
25138 (CFLAGS-getaliasent_r.c): Likewise.
25139 (CFLAGS-getaliasent.c): Likewise.
25140 (CFLAGS-getrpcent_r.c): Likewise.
25141 (CFLAGS-getrpcent.c): Likewise.
25142 (CFLAGS-getservent_r.c): Likewise.
25143 (CFLAGS-getservent.c): Likewise.
25144 (CFLAGS-getprtent_r.c): Likewise.
25145 (CFLAGS-getprtent.c): Likewise.
25146 (CFLAGS-either_ntoh.c): Likewise.
25147 (CFLAGS-either_hton.c): Likewise.
25148 (CFLAGS-getnetgrent.c): Likewise.
25149 (CFLAGS-getnetgrent_r.c): Likewise.
25150 (CFLAGS-tst-checks-posix.c): Likewise.
25151 (CFLAGS-tst-sockaddr.c): Likewise.
25152 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
25153 (CFLAGS-tst-translit.c): Likewise.
25154 (CFLAGS-tst-gettext2.c): Likewise.
25155 (CFLAGS-tst-codeset.c): Likewise.
25156 (CFLAGS-tst-gettext3.c): Likewise.
25157 (CFLAGS-tst-gettext4.c): Likewise.
25158 (CFLAGS-tst-gettext5.c): Likewise.
25159 (CFLAGS-tst-gettext6.c): Likewise.
25160 * io/Makefile (CFLAGS-open.c): Likewise.
25161 (CFLAGS-open64.c): Likewise.
25162 (CFLAGS-creat.c): Likewise.
25163 (CFLAGS-creat64.c): Likewise.
25164 (CFLAGS-fcntl.c): Likewise.
25165 (CFLAGS-poll.c): Likewise.
25166 (CFLAGS-ppoll.c): Likewise.
25167 (CFLAGS-lockf.c): Likewise.
25168 (CFLAGS-statfs.c): Likewise.
25169 (CFLAGS-fstatfs.c): Likewise.
25170 (CFLAGS-statvfs.c): Likewise.
25171 (CFLAGS-fstatvfs.c): Likewise.
25172 (CFLAGS-fts.c): Likewise.
25173 (CFLAGS-fts64.c): Likewise.
25174 (CFLAGS-ftw.c): Likewise.
25175 (CFLAGS-ftw64.c): Likewise.
25176 (CFLAGS-lockf.c): Likewise.
25177 (CFLAGS-posix_fallocate.c): Likewise.
25178 (CFLAGS-posix_fallocate64.c): Likewise.
25179 (CFLAGS-fallocate.c): Likewise.
25180 (CFLAGS-fallocate64.c): Likewise.
25181 (CFLAGS-read.c): Likewise.
25182 (CFLAGS-write.c): Likewise.
25183 (CFLAGS-test-stat.c): Likewise.
25184 (CFLAGS-test-lfs.c): Likewise.
25185 * libio/Makefile (CFLAGS-fileops.c): Likewise.
25186 (CFLAGS-fputc.c): Likewise.
25187 (CFLAGS-fputwc.c): Likewise.
25188 (CFLAGS-freopen64.c): Likewise.
25189 (CFLAGS-freopen.c): Likewise.
25190 (CFLAGS-fseek.c): Likewise.
25191 (CFLAGS-fseeko64.c): Likewise.
25192 (CFLAGS-fseeko.c): Likewise.
25193 (CFLAGS-ftello64.c): Likewise.
25194 (CFLAGS-ftello.c): Likewise.
25195 (CFLAGS-fwide.c): Likewise.
25196 (CFLAGS-genops.c): Likewise.
25197 (CFLAGS-getc.c): Likewise.
25198 (CFLAGS-getchar.c): Likewise.
25199 (CFLAGS-getwc.c): Likewise.
25200 (CFLAGS-getwchar.c): Likewise.
25201 (CFLAGS-iofclose.c): Likewise.
25202 (CFLAGS-iofflush.c): Likewise.
25203 (CFLAGS-iofgetpos64.c): Likewise.
25204 (CFLAGS-iofgetpos.c): Likewise.
25205 (CFLAGS-iofgets.c): Likewise.
25206 (CFLAGS-iofgetws.c): Likewise.
25207 (CFLAGS-iofputs.c): Likewise.
25208 (CFLAGS-iofputws.c): Likewise.
25209 (CFLAGS-iofread.c): Likewise.
25210 (CFLAGS-iofsetpos64.c): Likewise.
25211 (CFLAGS-iofsetpos.c): Likewise.
25212 (CFLAGS-ioftell.c): Likewise.
25213 (CFLAGS-iofwrite.c): Likewise.
25214 (CFLAGS-iogetdelim.c): Likewise.
25215 (CFLAGS-iogetline.c): Likewise.
25216 (CFLAGS-iogets.c): Likewise.
25217 (CFLAGS-iogetwline.c): Likewise.
25218 (CFLAGS-ioputs.c): Likewise.
25219 (CFLAGS-ioseekoff.c): Likewise.
25220 (CFLAGS-ioseekpos.c): Likewise.
25221 (CFLAGS-iosetbuffer.c): Likewise.
25222 (CFLAGS-iosetvbuf.c): Likewise.
25223 (CFLAGS-ioungetc.c): Likewise.
25224 (CFLAGS-ioungetwc.c): Likewise.
25225 (CFLAGS-oldfileops.c): Likewise.
25226 (CFLAGS-oldiofclose.c): Likewise.
25227 (CFLAGS-oldiofgetpos64.c): Likewise.
25228 (CFLAGS-oldiofgetpos.c): Likewise.
25229 (CFLAGS-oldiofsetpos64.c): Likewise.
25230 (CFLAGS-oldiofsetpos.c): Likewise.
25231 (CFLAGS-peekc.c): Likewise.
25232 (CFLAGS-putc.c): Likewise.
25233 (CFLAGS-putchar.c): Likewise.
25234 (CFLAGS-putwc.c): Likewise.
25235 (CFLAGS-putwchar.c): Likewise.
25236 (CFLAGS-rewind.c): Likewise.
25237 (CFLAGS-wfileops.c): Likewise.
25238 (CFLAGS-wgenops.c): Likewise.
25239 (CFLAGS-oldiofopen.c): Likewise.
25240 (CFLAGS-iofopen.c): Likewise.
25241 (CFLAGS-iofopen64.c): Likewise.
25242 (CFLAGS-oldtmpfile.c): Likewise.
25243 (CFLAGS-tst_putwc.c): Likewise.
25244 * locale/Makefile (CFLAGS-md5.c): Likewise.
25245 (CFLAGS-charmap.c): Likewise.
25246 (CFLAGS-locfile.c): Likewise.
25247 (CFLAGS-charmap-dir.c): Likewise.
25248 * login/Makefile (CFLAGS-grantpt.c): Likewise.
25249 (CFLAGS-getpt.c): Likewise.
25250 (CFLAGS-pt_chown.c): Likewise.
25251 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
25252 (CFLAGS-obstack.c): Likewise.
25253 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
25254 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
25255 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
25256 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
25257 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
25258 (CFLAGS-test-tgmath.c): Likewise.
25259 (CFLAGS-test-tgmath2.c): Likewise.
25260 (CFLAGS-test-tgmath-ret.c): Likewise.
25261 (CFLAGS-test-powl.c): Likewise.
25262 (CFLAGS-test-snan.c): Likewise.
25263 (CFLAGS-test-signgam-finite.c): Likewise.
25264 (CFLAGS-test-signgam-finite-c99.c): Likewise.
25265 (CFLAGS-test-signgam-finite-c11.c): Likewise.
25266 (CFLAGS-test-signgam-uchar.c): Likewise.
25267 (CFLAGS-test-signgam-uchar-init.c): Likewise.
25268 (CFLAGS-test-signgam-uchar-static.c): Likewise.
25269 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25270 (CFLAGS-test-signgam-uint.c): Likewise.
25271 (CFLAGS-test-signgam-uint-init.c): Likewise.
25272 (CFLAGS-test-signgam-uint-static.c): Likewise.
25273 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
25274 (CFLAGS-test-signgam-ullong.c): Likewise.
25275 (CFLAGS-test-signgam-ullong-init.c): Likewise.
25276 (CFLAGS-test-signgam-ullong-static.c): Likewise.
25277 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
25278 (CFLAGS-test-math-cxx11.cc): Likewise.
25279 (CFLAGS-test-math-isinff.cc): Likewise.
25280 (CFLAGS-test-math-iszero.cc): Likewise.
25281 (CFLAGS-test-math-issignaling.cc): Likewise.
25282 (CFLAGS-test-math-iscanonical.cc): Likewise.
25283 (CFLAGS-test-iszero-excess-precision.c): Likewise.
25284 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
25285 (CFLAGS-test-flt-eval-method.c): Likewise.
25286 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
25287 (CFLAGS-test-finite-macros.c): Likewise.
25288 * misc/Makefile (CFLAGS-select.c): Likewise.
25289 (CFLAGS-tsearch.c): Likewise.
25290 (CFLAGS-lsearch.c): Likewise.
25291 (CFLAGS-pselect.c): Likewise.
25292 (CFLAGS-readv.c): Likewise.
25293 (CFLAGS-writev.c): Likewise.
25294 (CFLAGS-preadv.c): Likewise.
25295 (CFLAGS-preadv64.c): Likewise.
25296 (CFLAGS-pwritev.c): Likewise.
25297 (CFLAGS-pwritev64.c): Likewise.
25298 (CFLAGS-preadv2.c): Likewise.
25299 (CFLAGS-preadv64v2.c): Likewise.
25300 (CFLAGS-pwritev2.c): Likewise.
25301 (CFLAGS-pwritev64v2.c): Likewise.
25302 (CFLAGS-usleep.c): Likewise.
25303 (CFLAGS-syslog.c): Likewise.
25304 (CFLAGS-error.c): Likewise.
25305 (CFLAGS-getpass.c): Likewise.
25306 (CFLAGS-mkstemp.c): Likewise.
25307 (CFLAGS-mkstemp64.c): Likewise.
25308 (CFLAGS-getsysstats.c): Likewise.
25309 (CFLAGS-getusershell.c): Likewise.
25310 (CFLAGS-err.c): Likewise.
25311 (CFLAGS-tst-tsearch.c): Likewise.
25312 (CFLAGS-msync.c): Likewise.
25313 (CFLAGS-fdatasync.c): Likewise.
25314 (CFLAGS-fsync.c): Likewise.
25315 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
25316 (CFLAGS-unwind.c): Likewise.
25317 (CFLAGS-unwind-forcedunwind.c): Likewise.
25318 (CFLAGS-pthread_cancel.c): Likewise.
25319 (CFLAGS-pthread_setcancelstate.c): Likewise.
25320 (CFLAGS-pthread_setcanceltype.c): Likewise.
25321 (CFLAGS-cancellation.c): Likewise.
25322 (CFLAGS-libc-cancellation.c): Likewise.
25323 (CFLAGS-pthread_exit.c): Likewise.
25324 (CFLAGS-forward.c): Likewise.
25325 (CFLAGS-pthread_testcancel.c): Likewise.
25326 (CFLAGS-pthread_join.c): Likewise.
25327 (CFLAGS-pthread_timedjoin.c): Likewise.
25328 (CFLAGS-pthread_once.c): Likewise.
25329 (CFLAGS-pthread_cond_wait.c): Likewise.
25330 (CFLAGS-sem_wait.c): Likewise.
25331 (CFLAGS-sem_timedwait.c): Likewise.
25332 (CFLAGS-fcntl.c): Likewise.
25333 (CFLAGS-lockf.c): Likewise.
25334 (CFLAGS-pread.c): Likewise.
25335 (CFLAGS-pread64.c): Likewise.
25336 (CFLAGS-pwrite.c): Likewise.
25337 (CFLAGS-pwrite64.c): Likewise.
25338 (CFLAGS-wait.c): Likewise.
25339 (CFLAGS-waitpid.c): Likewise.
25340 (CFLAGS-sigwait.c): Likewise.
25341 (CFLAGS-msgrcv.c): Likewise.
25342 (CFLAGS-msgsnd.c): Likewise.
25343 (CFLAGS-tcdrain.c): Likewise.
25344 (CFLAGS-open.c): Likewise.
25345 (CFLAGS-open64.c): Likewise.
25346 (CFLAGS-pause.c): Likewise.
25347 (CFLAGS-recv.c): Likewise.
25348 (CFLAGS-send.c): Likewise.
25349 (CFLAGS-accept.c): Likewise.
25350 (CFLAGS-sendto.c): Likewise.
25351 (CFLAGS-connect.c): Likewise.
25352 (CFLAGS-recvfrom.c): Likewise.
25353 (CFLAGS-recvmsg.c): Likewise.
25354 (CFLAGS-sendmsg.c): Likewise.
25355 (CFLAGS-close.c): Likewise.
25356 (CFLAGS-read.c): Likewise.
25357 (CFLAGS-write.c): Likewise.
25358 (CFLAGS-nanosleep.c): Likewise.
25359 (CFLAGS-sigsuspend.c): Likewise.
25360 (CFLAGS-msync.c): Likewise.
25361 (CFLAGS-fdatasync.c): Likewise.
25362 (CFLAGS-fsync.c): Likewise.
25363 (CFLAGS-pt-system.c): Likewise.
25364 (CFLAGS-tst-cleanup2.c): Likewise.
25365 (CFLAGS-tst-cleanupx2.c): Likewise.
25366 (CFLAGS-flockfile.c): Likewise.
25367 (CFLAGS-ftrylockfile.c): Likewise.
25368 (CFLAGS-funlockfile.c): Likewise.
25369 (CFLAGS-tst-initializers1.c): Likewise.
25370 (CFLAGS-tst-initializers1-c89.c): Likewise.
25371 (CFLAGS-tst-initializers1-c99.c): Likewise.
25372 (CFLAGS-tst-initializers1-c11.c): Likewise.
25373 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
25374 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
25375 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25376 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
25377 (CFLAGS-nscd_getgr_r.c): Likewise.
25378 (CFLAGS-nscd_gethst_r.c): Likewise.
25379 (CFLAGS-nscd_getai.c): Likewise.
25380 (CFLAGS-nscd_initgroups.c): Likewise.
25381 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
25382 (CFLAGS-pause.c): Likewise.
25383 (CFLAGS-pread.c): Likewise.
25384 (CFLAGS-pread64.c): Likewise.
25385 (CFLAGS-pwrite.c): Likewise.
25386 (CFLAGS-pwrite64.c): Likewise.
25387 (CFLAGS-sleep.c): Likewise.
25388 (CFLAGS-wait.c): Likewise.
25389 (CFLAGS-waitid.c): Likewise.
25390 (CFLAGS-waitpid.c): Likewise.
25391 (CFLAGS-getopt.c): Likewise.
25392 (CFLAGS-wordexp.c): Likewise.
25393 (CFLAGS-sysconf.c): Likewise.
25394 (CFLAGS-pathconf.c): Likewise.
25395 (CFLAGS-fpathconf.c): Likewise.
25396 (CFLAGS-spawn.c): Likewise.
25397 (CFLAGS-spawnp.c): Likewise.
25398 (CFLAGS-spawni.c): Likewise.
25399 (CFLAGS-glob.c): Likewise.
25400 (CFLAGS-glob64.c): Likewise.
25401 (CFLAGS-getconf.c): Likewise.
25402 (CFLAGS-nanosleep.c): Likewise.
25403 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
25404 (CFLAGS-getpwent.c): Likewise.
25405 (CFLAGS-getpw.c): Likewise.
25406 (CFLAGS-fgetpwent_r.c): Likewise.
25407 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
25408 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
25409 (CFLAGS-mq_timedreceive.c): Likewise.
25410 (CFLAGS-mq_timedsend.c): Likewise.
25411 (CFLAGS-clock_nanosleep.c): Likewise.
25412 (CFLAGS-librt-cancellation.c): Likewise.
25413 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
25414 (CFLAGS-getspent.c): Likewise.
25415 (CFLAGS-fgetspent.c): Likewise.
25416 (CFLAGS-fgetspent_r.c): Likewise.
25417 (CFLAGS-putspent.c): Likewise.
25418 (CFLAGS-getspnam.c): Likewise.
25419 (CFLAGS-getspnam_r.c): Likewise.
25420 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
25421 (CFLAGS-sigsuspend.c): Likewise.
25422 (CFLAGS-sigtimedwait.c): Likewise.
25423 (CFLAGS-sigwait.c): Likewise.
25424 (CFLAGS-sigwaitinfo.c): Likewise.
25425 (CFLAGS-sigreturn.c): Likewise.
25426 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25427 (CFLAGS-vfwprintf.c): Likewise.
25428 (CFLAGS-tmpfile.c): Likewise.
25429 (CFLAGS-tmpfile64.c): Likewise.
25430 (CFLAGS-tempname.c): Likewise.
25431 (CFLAGS-psignal.c): Likewise.
25432 (CFLAGS-vprintf.c): Likewise.
25433 (CFLAGS-cuserid.c): Likewise.
25434 (CFLAGS-errlist.c): Likewise.
25435 (CFLAGS-siglist.c): Likewise.
25436 (CFLAGS-scanf15.c): Likewise.
25437 (CFLAGS-scanf17.c): Likewise.
25438 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
25439 (CFLAGS-msort.c): Likewise.
25440 (CFLAGS-qsort.c): Likewise.
25441 (CFLAGS-system.c): Likewise.
25442 (CFLAGS-fmtmsg.c): Likewise.
25443 (CFLAGS-strfmon.c): Likewise.
25444 (CFLAGS-strfmon_l.c): Likewise.
25445 (CFLAGS-strfromd.c): Likewise.
25446 (CFLAGS-strfromf.c): Likewise.
25447 (CFLAGS-strfroml.c): Likewise.
25448 (CFLAGS-tst-bsearch.c): Likewise.
25449 (CFLAGS-tst-qsort.c): Likewise.
25450 (CFLAGS-tst-makecontext2.c): Likewise.
25451 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
25452 (CFLAGS-xnlm_prot.c): Likewise.
25453 (CFLAGS-xrstat.c): Likewise.
25454 (CFLAGS-xyppasswd.c): Likewise.
25455 (CFLAGS-xklm_prot.c): Likewise.
25456 (CFLAGS-xrex.c): Likewise.
25457 (CFLAGS-xsm_inter.c): Likewise.
25458 (CFLAGS-xmount.c): Likewise.
25459 (CFLAGS-xrusers.c): Likewise.
25460 (CFLAGS-xspray.c): Likewise.
25461 (CFLAGS-xnfs_prot.c): Likewise.
25462 (CFLAGS-xrquota.c): Likewise.
25463 (CFLAGS-xkey_prot.c): Likewise.
25464 (CFLAGS-auth_unix.c): Likewise.
25465 (CFLAGS-key_call.c): Likewise.
25466 (CFLAGS-pmap_rmt.c): Likewise.
25467 (CFLAGS-clnt_perr.c): Likewise.
25468 (CFLAGS-openchild.c): Likewise.
25469 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
25470 (CFLAGS-msgsnd.c): Likewise.
25471 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
25472 * time/Makefile (CFLAGS-tzfile.c): Likewise.
25473 (CFLAGS-tzset.c): Likewise.
25474 (CFLAGS-getdate.c): Likewise.
25475 (CFLAGS-test_time.c): Likewise.
25476 (CPPFLAGS-tst-tzname.c): Likewise.
25477 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
25478 (CFLAGS-zic.c): Likewise.
25479 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
25480 (CFLAGS-wcswidth.c): Likewise.
25481 (CFLAGS-wcstol.c): Likewise.
25482 (CFLAGS-wcstoul.c): Likewise.
25483 (CFLAGS-wcstoll.c): Likewise.
25484 (CFLAGS-wcstoull.c): Likewise.
25485 (CFLAGS-wcstod.c): Likewise.
25486 (CFLAGS-wcstold.c): Likewise.
25487 (CFLAGS-wcstof128.c): Likewise.
25488 (CFLAGS-wcstof.c): Likewise.
25489 (CFLAGS-wcstol_l.c): Likewise.
25490 (CFLAGS-wcstoul_l.c): Likewise.
25491 (CFLAGS-wcstoll_l.c): Likewise.
25492 (CFLAGS-wcstoull_l.c): Likewise.
25493 (CFLAGS-wcstod_l.c): Likewise.
25494 (CFLAGS-wcstold_l.c): Likewise.
25495 (CFLAGS-wcstof128_l.c): Likewise.
25496 (CFLAGS-wcstof_l.c): Likewise.
25497 (CPPFLAGS-tst-wchar-h.c): Likewise.
25498 (CPPFLAGS-wcstold_l.c): Likewise.
25500 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
25502 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
25504 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25505 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25507 * manual/tunables.texi (Hardware Capability Tunables): Document
25508 glibc.tune.cached_memopt.
25509 * sysdeps/powerpc/cpu-features.c: New file.
25510 * sysdeps/powerpc/cpu-features.h: New file.
25511 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
25512 _dl_powerpc_cpu_features.
25513 * sysdeps/powerpc/dl-tunables.list: New file.
25514 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
25515 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25516 (INIT_ARCH): Initialize use_aligned_memopt.
25517 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
25518 IS_IN(rtld))]: Restrict dl_platform_init availability and
25519 initialize CPU features used by tunables.
25520 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
25521 Add memcpy-power8-cached.
25522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
25523 __memcpy_power8_cached.
25524 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25525 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
25528 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25530 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
25531 (CFLAGS-noinl-tester.c): Likewise.
25532 (CFLAGS-tst-strlen.c): Likewise.
25533 (CFLAGS-stratcliff.c): Likewise.
25534 (CFLAGS-test-ffs.c): Likewise.
25535 (CFLAGS-tst-inlcall.c): Likewise.
25536 (CFLAGS-tst-xbzero-opt.c): Likewise.
25537 (CFLAGS-memcpy.c): Likewise.
25538 (CFLAGS-wordcopy.c): Likewise.
25540 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25542 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
25543 Store r15 on stack and add cfi rule.
25544 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
25547 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
25550 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25553 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25555 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25556 Add s_sinf-sse2 and s_sinf-fma.
25557 (CFLAGS-s_sinf-fma.c): New.
25558 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25559 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25560 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25562 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25564 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25566 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25569 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25570 part of result to imaginary part of argument if it is zero and the
25571 real part of the argument is not finite.
25572 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25573 of result to real part of argument if it is zero and the imaginary
25574 part of the argument is not finite.
25576 2017-12-07 Mike FABIAN <mfabian@redhat.com>
25579 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25580 and to the list of locales to be built for testing.
25581 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25582 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25583 and build the collation rules upon that.
25585 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25587 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25588 * manual/math.texi (Mathematics): Document support for _Float32.
25589 * math/Makefile (test-types): Add float32.
25590 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25591 * stdlib/Versions (GLIBC_2.27): Likewise.
25592 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25593 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25594 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25595 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25596 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25597 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25598 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25599 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25600 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25601 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25602 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25603 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25604 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25605 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25606 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25607 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25608 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25609 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25610 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25611 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25612 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25613 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25615 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25616 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25617 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25618 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25619 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25637 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25638 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25639 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25640 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25641 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25642 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25643 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25644 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25645 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25646 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25655 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25656 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25657 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25658 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25659 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25660 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25661 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25662 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25664 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25666 * stdlib/strtof.c: Include <bits/floatn.h>
25667 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25668 and later undefine as macro. Define as weak alias if
25670 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25671 and later undefine as macro. Define as weak alias if
25673 * stdlib/strtof_l.c: Include <bits/floatn.h>
25674 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25675 and later undefine as macro. Define as weak alias if
25677 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25678 and later undefine as macro. Define as weak alias if
25681 * stdlib/strfromf.c: Include <bits/floatn.h>.
25682 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25683 and later undefine as macro and define as weak alias.
25685 * math/test-float32.h: New file.
25687 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25688 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25689 (libm_alias_float_other_r): Create f32 alias.
25690 (libm_alias_float_r): Use semicolon before call to
25691 libm_alias_float_other_r.
25693 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25694 second argument to libm_alias_float_other.
25695 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25696 second argument to libm_alias_float_other.
25697 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25698 argument to libm_alias_float_other.
25701 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25702 real part of result for argument 0 + i * NaN.
25703 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25704 results for tests of 0 + i * NaN.
25706 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25708 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25710 2017-12-06 David S. Miller <davem@davemloft.net>
25712 * sysdeps/sparc/fpu/libm-test-ulps: Update
25713 exp_{downward,towardzero,upward} ulps.
25715 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25717 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25720 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25722 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25724 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25726 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25729 2017-12-06 Mike FABIAN <mfabian@redhat.com>
25732 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25733 and to the list of locales to be built for testing.
25734 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25735 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25736 and build the collation rules upon that.
25738 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25740 * NEWS: Add sinf to list of optimized functions.
25742 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25744 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25745 (__HAVE_FLOAT32X): Likewise.
25746 * manual/math.texi (Mathematics): Document support for _Float64
25748 * math/Makefile (test-types): Add float64 and float32x.
25749 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25751 * stdlib/Versions (GLIBC_2.27): Likewise.
25752 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25753 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25754 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25755 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25756 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25757 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25758 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25759 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25760 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25761 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25762 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25763 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25764 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25765 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25766 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25767 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25768 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25769 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25770 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25771 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25772 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25773 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25775 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25776 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25777 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25778 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25779 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25796 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25797 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25798 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25799 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25800 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25801 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25802 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25803 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25804 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25805 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25814 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25815 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25816 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25817 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25818 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25819 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25820 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25821 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25823 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25825 * bits/floatn-common.h: Include <bits/long-double.h>.
25826 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25827 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25828 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25829 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25830 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25831 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25832 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25833 (__builtin_huge_valf64): Use __builtin_huge_vall.
25834 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25835 (__builtin_inff64): Use __builtin_infl.
25836 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25837 (__builtin_nanf64): Use __builtin_nanl.
25838 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25839 (__builtin_nansf64): Use __builtin_nansl.
25841 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25842 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25843 Carlos O'Donell <carlos@redhat.com>
25845 * elf/dl-tunables.list: Add elision parameters.
25846 * manual/tunables.texi: Add entries about elision tunable.
25847 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25848 Add callback functions to dynamically enable/disable elision.
25849 Add multiple callbacks functions to set elision parameters.
25850 Deleted __libc_enable_secure check.
25851 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25852 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25853 * configure: Regenerated.
25854 * configure.ac: Option enable_lock_elision was deleted.
25855 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25856 * config.make.in: Remove references to enable_lock_elision.
25857 * manual/install.texi: Elision configure option was removed.
25858 * INSTALL: Regenerated to remove enable_lock_elision.
25860 Disable elision so it can verify error case for destroying a mutex.
25861 * sysdeps/powerpc/nptl/elide.h:
25862 Cleanup ENABLE_LOCK_ELISION check.
25863 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25864 * sysdeps/s390/configure: Regenerated.
25865 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25866 * nptl/tst-mutex8.c:
25867 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25868 * sysdeps/powerpc/powerpc32/sysdep.h:
25869 Deleted all ENABLE_LOCK_ELISION checks.
25870 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25871 * sysdeps/powerpc/sysdep.h: Likewise.
25872 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25873 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25874 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25875 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25876 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25877 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25878 enable-lock-elision.
25880 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25882 * stdlib/strtod.c: Include <bits/floatn.h>.
25883 (BUILD_DOUBLE): New macro.
25884 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25885 (strtof64): Define and later undefine as macro. Define as weak
25886 alias if [!USE_WIDE_CHAR].
25887 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25888 (wcstof64): Define and later undefine as macro. Define as weak
25889 alias if [USE_WIDE_CHAR].
25890 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25891 (strtof32x): Define and later undefine as macro. Define as weak
25892 alias if [!USE_WIDE_CHAR].
25893 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25894 (wcstof32x): Define and later undefine as macro. Define as weak
25895 alias if [USE_WIDE_CHAR].
25896 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25897 (BUILD_DOUBLE): New macro.
25898 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25899 (strtof64_l): Define and later undefine as macro. Define as weak
25900 alias if [!USE_WIDE_CHAR].
25901 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25902 (wcstof64_l): Define and later undefine as macro. Define as weak
25903 alias if [USE_WIDE_CHAR].
25904 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25905 (strtof32x_l): Define and later undefine as macro. Define as weak
25906 alias if [!USE_WIDE_CHAR].
25907 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25908 (wcstof32x_l): Define and later undefine as macro. Define as weak
25909 alias if [USE_WIDE_CHAR].
25911 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25913 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25914 (reduced): Use ones as double instead of integer.
25916 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25918 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25920 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25922 * stdlib/strfromd.c: Include <bits/floatn.h>.
25923 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25924 and later undefine as macro and define as weak alias.
25925 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25928 * math/test-float32x.h: New file.
25929 * math/test-float64.h: Likewise.
25931 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25932 (libm_alias_double_other_r_f64): New macro.
25933 (libm_alias_double_other_r_f32x): Likewise.
25934 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25935 libm_alias_double_other_r_f32x.
25936 (libm_alias_double_r): Use semicolon before call to
25937 libm_alias_double_other_r.
25938 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25940 (libm_alias_double_other_r_f64): New macro.
25941 (libm_alias_double_other_r_f32x): Likewise.
25942 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25943 libm_alias_double_other_r_f32x.
25945 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25947 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25949 (SINF_FUNC): Likewise. Replace floor with simple casts.
25951 2017-12-05 Mike FABIAN <mfabian@redhat.com>
25954 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25955 and to the list of locales to be built for testing.
25956 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25957 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25958 and build the collation rules upon that.
25960 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25962 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25963 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25964 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25965 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25966 instead of __insn__xxx.
25967 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25968 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25969 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25970 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25971 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25972 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25974 2017-12-05 Florian Weimer <fweimer@redhat.com>
25976 Linux: Implement interfaces for memory protection keys
25977 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25979 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25980 * support/xunistd.h (xsysconf): Declare.
25981 * support/xraise.c: New file.
25982 * support/xsigaction.c: Likewise.
25983 * support/xsignal.c: Likewise.
25984 * support/xsysconf.c: Likewise.
25985 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25986 pkey_set, pkey_get, pkey_mprotect.
25987 [misc] (tests): Add tst-pkey.
25988 (tst-pkey): Link with -lpthread.
25989 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25990 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25991 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25992 (PKEY_DISABLE_WRITE): Define.
25993 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25995 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25996 (SEGV_PKUERR): Add.
25997 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25998 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25999 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
26000 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
26002 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
26003 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
26004 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
26005 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
26006 * sysdeps/unix/sysv/linux/**.abilist: Update.
26008 2017-12-05 Florian Weimer <fweimer@redhat.com>
26010 * support/tst-test_compare.c (subprocess): Use long long instead
26011 of long argument for consistent type width across 32-bit and
26012 64-bit architectures.
26013 (do_test): Adjust expected output.
26015 2017-12-05 Joseph Myers <joseph@codesourcery.com>
26017 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
26018 (cosf): Define using libm_alias_float.
26019 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
26020 (fabsf): Define using libm_alias_float.
26021 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
26022 (fmaf): Define using libm_alias_float.
26023 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
26024 (rintf): Define using libm_alias_float.
26025 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
26026 (sinf): Define using libm_alias_float.
26027 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
26028 <libm-alias-float.h>.
26029 (modff): Define using libm_alias_float.
26030 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
26031 <libm-alias-float.h>.
26032 (logbf): Define using libm_alias_float.
26033 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
26034 <libm-alias-float.h>.
26035 (ceilf): Define using libm_alias_float.
26036 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
26037 <libm-alias-float.h>.
26038 (copysignf): Define using libm_alias_float.
26039 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
26040 <libm-alias-float.h>.
26041 (floorf): Define using libm_alias_float.
26042 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
26043 <libm-alias-float.h>.
26044 (llrintf): Define using libm_alias_float.
26045 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
26046 <libm-alias-float.h>.
26047 (llroundf): Define using libm_alias_float.
26048 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
26049 <libm-alias-float.h>.
26050 (lrintf): Define using libm_alias_float.
26051 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
26052 <libm-alias-float.h>.
26053 (lroundf): Define using libm_alias_float.
26054 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
26055 <libm-alias-float.h>.
26056 (nearbyintf): Define using libm_alias_float.
26057 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
26058 <libm-alias-float.h>.
26059 (rintf): Define using libm_alias_float.
26060 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
26061 <libm-alias-float.h>.
26062 (roundf): Define using libm_alias_float.
26063 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
26064 <libm-alias-float.h>.
26065 (truncf): Define using libm_alias_float.
26066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
26067 Include <libm-alias-float.h>.
26068 (ceilf): Define using libm_alias_float.
26069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
26070 Include <libm-alias-float.h>.
26071 (copysignf): Define using libm_alias_float.
26072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
26073 Include <libm-alias-float.h>.
26074 (floorf): Define using libm_alias_float.
26075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
26076 Include <libm-alias-float.h>.
26077 (llrintf): Define using libm_alias_float.
26078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
26079 Include <libm-alias-float.h>.
26080 (llroundf): Define using libm_alias_float.
26081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
26082 Include <libm-alias-float.h>.
26083 (logbf): Define using libm_alias_float.
26084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
26085 Include <libm-alias-float.h>.
26086 (lrintf): Define using libm_alias_float.
26087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
26088 Include <libm-alias-float.h>.
26089 (lroundf): Define using libm_alias_float.
26090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
26091 Include <libm-alias-float.h>.
26092 (modff): Define using libm_alias_float.
26093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
26094 Include <libm-alias-float.h>.
26095 (roundf): Define using libm_alias_float.
26096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
26097 Include <libm-alias-float.h>.
26098 (truncf): Define using libm_alias_float.
26099 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
26100 <libm-alias-float.h>.
26101 (llrintf): Define using libm_alias_float.
26102 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
26103 <libm-alias-float.h>.
26104 (llroundf): Define using libm_alias_float.
26105 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
26106 <libm-alias-float.h>.
26107 (ceilf): Define using libm_alias_float.
26108 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
26109 <libm-alias-float.h>.
26110 (floorf): Define using libm_alias_float.
26111 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
26112 <libm-alias-float.h>.
26113 (llroundf): Define using libm_alias_float.
26114 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
26115 <libm-alias-float.h>.
26116 (lroundf): Define using libm_alias_float.
26117 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
26118 <libm-alias-float.h>.
26119 (roundf): Define using libm_alias_float.
26120 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
26121 <libm-alias-float.h>.
26122 (truncf): Define using libm_alias_float.
26123 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
26124 <libm-alias-float.h>.
26125 (copysignf): Define using libm_alias_float.
26126 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
26127 <libm-alias-float.h>.
26128 (llrintf): Define using libm_alias_float.
26129 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
26130 <libm-alias-float.h>.
26131 (llroundf): Define using libm_alias_float.
26132 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
26133 <libm-alias-float.h>.
26134 (lrintf): Define using libm_alias_float.
26135 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
26136 <libm-alias-float.h>.
26137 (lroundf): Define using libm_alias_float.
26138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
26139 <libm-alias-float.h>.
26140 (ceilf): Define using libm_alias_float.
26141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
26142 <libm-alias-float.h>.
26143 (copysignf): Define using libm_alias_float.
26144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
26145 <libm-alias-float.h>.
26146 (cosf): Define using libm_alias_float.
26147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
26148 <libm-alias-float.h>.
26149 (floorf): Define using libm_alias_float.
26150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
26151 <libm-alias-float.h>.
26152 (llrintf): Define using libm_alias_float.
26153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
26154 <libm-alias-float.h>.
26155 (llroundf): Define using libm_alias_float.
26156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
26157 <libm-alias-float.h>.
26158 (logbf): Define using libm_alias_float.
26159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
26160 <libm-alias-float.h>.
26161 (modff): Define using libm_alias_float.
26162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
26163 <libm-alias-float.h>.
26164 (roundf): Define using libm_alias_float.
26165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
26166 <libm-alias-float.h>.
26167 (sinf): Define using libm_alias_float.
26168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
26169 <libm-alias-float.h>.
26170 (truncf): Define using libm_alias_float.
26171 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
26172 <libm-alias-float.h>.
26173 (ceilf): Define using libm_alias_float.
26174 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
26175 <libm-alias-float.h>.
26176 (copysignf): Define using libm_alias_float.
26177 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
26178 <libm-alias-float.h>.
26179 (floorf): Define using libm_alias_float.
26180 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
26181 <libm-alias-float.h>.
26182 (llrintf): Define using libm_alias_float.
26183 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
26184 <libm-alias-float.h>.
26185 (llroundf): Define using libm_alias_float.
26186 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
26187 <libm-alias-float.h>.
26188 (nearbyintf): Define using libm_alias_float.
26189 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
26190 <libm-alias-float.h>.
26191 (rintf): Define using libm_alias_float.
26192 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
26193 <libm-alias-float.h>.
26194 (roundf): Define using libm_alias_float.
26195 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
26196 <libm-alias-float.h>.
26197 (truncf): Define using libm_alias_float.
26198 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
26199 <libm-alias-float.h>.
26200 (ceilf): Define using libm_alias_float.
26201 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
26202 <libm-alias-float.h>.
26203 (floorf): Define using libm_alias_float.
26204 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
26205 <libm-alias-float.h>.
26206 (llroundf): Define using libm_alias_float.
26207 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
26208 <libm-alias-float.h>.
26209 (roundf): Define using libm_alias_float.
26210 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
26211 <libm-alias-float.h>.
26212 (truncf): Define using libm_alias_float.
26213 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
26214 <libm-alias-float.h>.
26215 (copysignf): Define using libm_alias_float.
26216 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
26217 <libm-alias-float.h>.
26218 (llrintf): Define using libm_alias_float.
26219 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
26220 <libm-alias-float.h>.
26221 (llroundf): Define using libm_alias_float.
26222 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
26223 <libm-alias-float.h>.
26224 (cosf): Define using libm_alias_float.
26225 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
26226 <libm-alias-float.h>.
26227 (llrintf): Define using libm_alias_float.
26228 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
26229 <libm-alias-float.h>.
26230 (llroundf): Define using libm_alias_float.
26231 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
26232 <libm-alias-float.h>.
26233 (sinf): Define using libm_alias_float.
26235 2017-12-04 Florian Weimer <fweimer@redhat.com>
26237 * support/check.h (TEST_COMPARE): Define.
26238 (support_test_compare_failure): Declare.
26239 * support/Makefile (libsupport-routines): Add
26240 support_test_compare_failure.
26241 (tests): Add tst-test_compare.
26242 * support /support_test_compare_failure.c: New file.
26243 * support/tst-test_compare.c: Likewise.
26245 2017-12-04 Mike FABIAN <mfabian@redhat.com>
26248 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
26249 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
26250 available, this rewrite of the collation rules does reproduce
26251 the test file in the same order.
26253 2017-12-04 Mike FABIAN <mfabian@redhat.com>
26256 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
26257 digraphs in the month and day names. Using single code points for
26258 digraphs is deprecated. While there are dedicated Unicode
26259 codepoints, for the digraphs, these are included for backwards
26260 compatibility and modern texts use a sequence of Basic Latin
26261 characters. See: https://www.unicode.org/faq/ligature_digraph.html
26262 This makes the month and day names agree exactly with CLDR now,
26263 CLDR does not use the single code points for the digraphs either.
26265 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
26267 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
26269 2017-12-04 Joseph Myers <joseph@codesourcery.com>
26271 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
26274 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
26276 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
26277 Define only for libc.so.
26279 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
26281 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26282 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
26283 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
26284 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
26285 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26287 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26290 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
26292 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
26295 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
26296 PREINIT_FUNCTION_WEAK is nonzero.
26297 (gmon_initializer): New function. Put procedure label for it in
26298 .init_array section.
26299 (_init): Don't call PREINIT_FUNCTION.
26300 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
26301 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
26302 value when map argument is null.
26304 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
26305 depi instruction from PIC pc-relative sequence.
26306 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
26307 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
26308 (elf_machine_load_address): Likewise.
26309 (elf_machine_runtime_setup): Likewise.
26311 2017-12-02 Joseph Myers <joseph@codesourcery.com>
26313 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
26314 <libm-alias-double.h>.
26315 (logb): Define using libm_alias_double.
26316 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
26317 <libm-alias-double.h>.
26318 (copysign): Define using libm_alias_double.
26319 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
26320 <libm-alias-double.h>.
26321 (llrint): Define using libm_alias_double.
26322 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
26323 <libm-alias-double.h>.
26324 (llround): Define using libm_alias_double.
26325 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
26326 <libm-alias-double.h>.
26327 (lrint): Define using libm_alias_double.
26328 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
26329 <libm-alias-double.h>.
26330 (lround): Define using libm_alias_double.
26331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26332 Include <libm-alias-double.h>.
26333 (copysign): Define using libm_alias_double.
26334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
26335 Include <libm-alias-double.h>.
26336 (llrint): Define using libm_alias_double.
26337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
26338 Include <libm-alias-double.h>.
26339 (llround): Define using libm_alias_double.
26340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
26341 <libm-alias-double.h>.
26342 (logb): Define using libm_alias_double.
26343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
26344 Include <libm-alias-double.h>.
26345 (lrint): Define using libm_alias_double.
26346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
26347 Include <libm-alias-double.h>.
26348 (lround): Define using libm_alias_double.
26349 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
26350 <libm-alias-double.h>.
26351 (llrint): Define using libm_alias_double.
26352 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
26353 <libm-alias-double.h>.
26354 (llround): Define using libm_alias_double.
26355 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
26356 <libm-alias-double.h>.
26357 (llround): Define using libm_alias_double.
26358 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
26359 <libm-alias-double.h>.
26360 (lround): Define using libm_alias_double.
26361 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
26362 <libm-alias-double.h>.
26363 (copysign): Define using libm_alias_double.
26364 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
26365 <libm-alias-double.h>.
26366 (llrint): Define using libm_alias_double.
26367 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
26368 <libm-alias-double.h>.
26369 (llround): Define using libm_alias_double.
26370 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
26371 <libm-alias-double.h>.
26372 (lrint): Define using libm_alias_double.
26373 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
26374 <libm-alias-double.h>.
26375 (lround): Define using libm_alias_double.
26376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
26377 <libm-alias-double.h>.
26378 (copysign): Define using libm_alias_double.
26379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
26380 <libm-alias-double.h>.
26381 (llrint): Define using libm_alias_double.
26383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
26384 <libm-alias-double.h>.
26385 (llround): Define using libm_alias_double.
26386 (lround): Likewise.
26387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
26388 <libm-alias-double.h>.
26389 (logb): Define using libm_alias_double.
26390 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
26391 <libm-alias-double.h>.
26392 (copysign): Define using libm_alias_double.
26393 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
26394 <libm-alias-double.h>.
26395 (llrint): Define using libm_alias_double.
26397 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
26398 <libm-alias-double.h>.
26399 (llround): Define using libm_alias_double.
26400 (lround): Likewise.
26401 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
26402 <libm-alias-double.h>.
26403 (llround): Define using libm_alias_double.
26404 (lround): Likewise.
26405 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
26406 <libm-alias-double.h>.
26407 (copysign): Define using libm_alias_double.
26408 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
26409 <libm-alias-double.h>.
26410 (llrint): Define using libm_alias_double.
26412 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
26413 <libm-alias-double.h>.
26414 (llround): Define using libm_alias_double.
26415 (lround): Likewise.
26416 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
26417 <libm-alias-double.h>.
26418 (llrint): Define using libm_alias_double.
26420 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
26421 <libm-alias-double.h>.
26422 (llround): Define using libm_alias_double.
26423 (lround): Likewise.
26425 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26428 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
26429 compat symbol based on llround.
26431 * sysdeps/powerpc/power7/fpu/s_logb.c
26432 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
26433 symbol based on __logb, not on logb.
26434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
26435 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
26437 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26439 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
26440 (rint): Define using libm_alias_double.
26441 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
26442 <libm-alias-double.h>.
26443 (modf): Define using libm_alias_double.
26444 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
26445 <libm-alias-double.h>.
26446 (ceil): Define using libm_alias_double.
26447 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
26448 <libm-alias-double.h>.
26449 (floor): Define using libm_alias_double.
26450 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
26451 <libm-alias-double.h>.
26452 (nearbyint): Define using libm_alias_double.
26453 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
26454 <libm-alias-double.h>.
26455 (rint): Define using libm_alias_double.
26456 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
26457 <libm-alias-double.h>.
26458 (round): Define using libm_alias_double.
26459 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
26460 <libm-alias-double.h>.
26461 (trunc): Define using libm_alias_double.
26462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
26463 <libm-alias-double.h>.
26464 (ceil): Define using libm_alias_double.
26465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
26466 Include <libm-alias-double.h>.
26467 (floor): Define using libm_alias_double.
26468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
26469 <libm-alias-double.h>.
26470 (modf): Define using libm_alias_double.
26471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
26472 Include <libm-alias-double.h>.
26473 (round): Define using libm_alias_double.
26474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
26475 Include <libm-alias-double.h>.
26476 (trunc): Define using libm_alias_double.
26477 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
26478 <libm-alias-double.h>.
26479 (ceil): Define using libm_alias_double.
26480 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
26481 <libm-alias-double.h>.
26482 (floor): Define using libm_alias_double.
26483 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
26484 <libm-alias-double.h>.
26485 (round): Define using libm_alias_double.
26486 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
26487 <libm-alias-double.h>.
26488 (trunc): Define using libm_alias_double.
26489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
26490 <libm-alias-double.h>.
26491 (ceil): Define using libm_alias_double.
26492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
26493 <libm-alias-double.h>.
26494 (floor): Define using libm_alias_double.
26495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
26496 <libm-alias-double.h>.
26497 (modf): Define using libm_alias_double.
26498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
26499 <libm-alias-double.h>.
26500 (round): Define using libm_alias_double.
26501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
26502 <libm-alias-double.h>.
26503 (trunc): Define using libm_alias_double.
26504 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
26505 <libm-alias-double.h>.
26506 (ceil): Define using libm_alias_double.
26507 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
26508 <libm-alias-double.h>.
26509 (floor): Define using libm_alias_double.
26510 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
26511 <libm-alias-double.h>.
26512 (nearbyint): Define using libm_alias_double.
26513 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
26514 <libm-alias-double.h>.
26515 (rint): Define using libm_alias_double.
26516 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
26517 <libm-alias-double.h>.
26518 (round): Define using libm_alias_double.
26519 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
26520 <libm-alias-double.h>.
26521 (trunc): Define using libm_alias_double.
26522 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
26523 <libm-alias-double.h>.
26524 (ceil): Define using libm_alias_double.
26525 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
26526 <libm-alias-double.h>.
26527 (floor): Define using libm_alias_double.
26528 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
26529 <libm-alias-double.h>.
26530 (round): Define using libm_alias_double.
26531 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
26532 <libm-alias-double.h>.
26533 (trunc): Define using libm_alias_double.
26535 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
26536 (fabs): Define using libm_alias_double.
26537 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
26538 (fma): Define using libm_alias_double.
26539 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
26540 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
26541 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
26542 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
26544 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26546 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26548 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26549 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26550 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26553 due redirect macro.
26555 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26557 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26559 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26561 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26562 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26563 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26564 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26567 (libm-sysdep_routines): Add s_nearbyintf-generic and
26568 s_nearbyint-generic.
26569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26582 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26593 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26604 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26615 (sysdep_calls): New rule.
26616 (sysdep_routines): Use sysdep_calls as base.
26617 (libm-sysdep_routines): Add generic rule for symbols shared with
26618 libc. Add s_copysign-generic and s_copysign-generic objects.
26619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26628 2017-12-01 Mike FABIAN <mfabian@redhat.com>
26631 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26632 the list of locales to be built for testing.
26633 * localedata/is_IS.UTF-8.in: New file.
26634 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26637 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26639 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26640 <libm-alias-float.h>.
26641 (fabsf): Define using libm_alias_float.
26643 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26645 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26647 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26649 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26650 <libm-alias-float.h>.
26651 (fabsf): Define using libm_alias_float.
26652 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26653 <libm-alias-float.h>.
26654 (lrintf): Define using libm_alias_float.
26655 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26656 <libm-alias-float.h>.
26657 (rintf): Define using libm_alias_float.
26659 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26660 <libm-alias-double.h>.
26661 (fabs): Define using libm_alias_double.
26662 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26663 <libm-alias-double.h>.
26664 (lrint): Define using libm_alias_double.
26665 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26666 <libm-alias-double.h>.
26667 (rint): Define using libm_alias_double.
26669 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26670 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26671 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26672 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26673 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26674 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26675 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26676 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26677 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26678 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26679 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26680 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26681 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26682 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26683 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26684 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26685 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26686 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26688 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26689 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26690 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26692 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26693 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26694 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26696 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26697 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26698 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26699 s_expm1_template.c.
26700 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26701 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26702 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26704 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26705 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26706 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26707 s_floor_template.c.
26708 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26709 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26710 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26711 s_frexp_template.c.
26712 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26713 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26714 s_lrint_template.c.
26715 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26716 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26717 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26719 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26720 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26721 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26722 s_nearbyint_template.c.
26723 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26724 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26725 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26726 s_remquo_template.c.
26727 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26728 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26729 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26731 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26732 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26733 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26735 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26736 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26737 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26738 s_sincos_template.c.
26739 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26740 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26741 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26743 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26744 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26745 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26747 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26748 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26749 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26750 s_trunc_template.c.
26751 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26752 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26753 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26754 s_atan.c instead of including s_atan.c.
26755 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26756 s_atanf.c instead of including s_atanf.c.
26757 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26758 s_atanl.c instead of including s_atanl.c.
26759 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26760 instead of s_atan.c.
26761 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26762 instead of s_atanf.c.
26763 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26764 instead of s_atanl.c.
26766 * scripts/update-copyrights: Do not handle intl/plural.c
26769 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26772 * configure.ac (BISON): Require to be present.
26773 * configure: Regenerated.
26774 * intl/Makefile (generated): Add plural.c.
26775 [$(BISON) != no]: Make code unconditional.
26776 (plural.c): Change rule to $(objpfx)plural.c.
26777 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26778 * intl/plural.c: Remove.
26779 * manual/install.texi (Tools for Compilation): Document bison as
26781 * INSTALL: Regenerated.
26783 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26785 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26786 <libm-alias-double.h>.
26787 (llrint): Define using libm_alias_double.
26788 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26789 <libm-alias-float.h>.
26790 (llrintf): Define using libm_alias_float.
26791 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26792 <libm-alias-ldouble.h>.
26793 (llrintl): Define using libm_alias_ldouble.
26795 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26796 declare_mgen_alias instead of weak_alias.
26797 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26798 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26799 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26801 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26803 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26805 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26806 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26807 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26809 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26810 Add submul_1-generic.
26811 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26812 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26813 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26815 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26816 Add addmul_1-generic.
26817 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26818 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26819 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26821 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26823 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26824 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26825 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26827 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26829 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26830 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26831 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26833 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26835 According to CLDR, collation rules for Serbian and Bosnian
26836 should be the same as for Croatian.
26839 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26840 and to the list of locales to be built for testing.
26841 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26842 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26843 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26844 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26846 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26848 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26849 to make test case pass.
26850 * localedata/hr_HR.UTF-8.in: Add more test strings.
26852 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26854 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26856 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26858 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26859 the list of locales to built for testing.
26860 * localedata/hr_HR.UTF-8.in: New file.
26862 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26865 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26867 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26868 CLDR (except use ligatures for the digraphs, CLDR does not use
26869 the ligatures), add first_workday, some fixes in the date and time
26871 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26873 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26874 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26875 Add int_p_cs_precedes and int_n_cs_precedes.
26876 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26877 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26879 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26880 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26882 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26883 and lang_lib. Change postal_fmt.
26885 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26887 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26889 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26890 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26891 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26892 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26893 * sysdeps/generic/setjmpP.h: New file.
26894 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26895 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26896 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26897 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26898 Add jmp_buf-ssp.sym.
26899 (tests): Add tst-saved_mask-1.
26901 2017-11-30 Arjun Shankar <arjun@redhat.com>
26905 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26906 instead of request2size.
26908 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26911 (__lllrint): Remove alias.
26912 (lllrint): Likewise.
26913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26914 (__lllrintf): Likewise.
26915 (lllrintf): Likewise.
26917 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26918 <libm-alias-float.h>.
26919 (copysignf): Define using libm_alias_float.
26920 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26921 <libm-alias-float.h>.
26922 (fabsf): Define using libm_alias_float.
26923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26924 Include <libm-alias-float.h>.
26925 (copysignf): Define using libm_alias_float.
26926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26927 <libm-alias-float.h>.
26928 (fabsf): Define using libm_alias_float.
26929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26930 <libm-alias-float.h>.
26931 (fdimf): Define using libm_alias_float.
26932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26933 <libm-alias-float.h>.
26934 (fmaf): Define using libm_alias_float.
26935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26936 <libm-alias-float.h>.
26937 (llrintf): Define using libm_alias_float.
26938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26939 Include <libm-alias-float.h>.
26940 (nearbyintf): Define using libm_alias_float.
26941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26942 <libm-alias-float.h>.
26943 (rintf): Define using libm_alias_float.
26944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26945 <libm-alias-float.h>.
26946 (llrintf): Define using libm_alias_float.
26947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26948 <libm-alias-float.h>.
26949 (lrintf): Define using libm_alias_float.
26950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26951 <libm-alias-float.h>.
26952 (nearbyintf): Define using libm_alias_float.
26953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26954 <libm-alias-float.h>.
26955 (rintf): Define using libm_alias_float.
26956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26957 <libm-alias-float.h>.
26958 (ceilf): Define using libm_alias_float.
26959 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26960 <libm-alias-float.h>.
26961 (floorf): Define using libm_alias_float.
26962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26963 <libm-alias-float.h>.
26964 (fmaf): Define using libm_alias_float.
26965 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26966 <libm-alias-float.h>.
26967 (lrintf): Define using libm_alias_float.
26968 (llrintf): Likewise.
26969 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26970 <libm-alias-float.h>.
26971 (nearbyintf): Define using libm_alias_float.
26972 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26973 <libm-alias-float.h>.
26974 (rintf): Define using libm_alias_float.
26975 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26976 <libm-alias-float.h>.
26977 (truncf): Define using libm_alias_float.
26978 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26979 <libm-alias-float.h>.
26980 (copysignf): Define using libm_alias_float.
26981 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26982 <libm-alias-float.h>.
26983 (fabsf): Define using libm_alias_float.
26984 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26985 <libm-alias-float.h>.
26986 (lrintf): Define using libm_alias_float.
26987 (llrintf): Likewise.
26988 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26989 <libm-alias-float.h>.
26990 (nearbyintf): Define using libm_alias_float.
26991 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26992 <libm-alias-float.h>.
26993 (rintf): Define using libm_alias_float.
26995 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26997 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26998 <libm-alias-double.h>.
26999 (copysign): Define using libm_alias_double.
27000 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
27001 <libm-alias-double.h>.
27002 (fabs): Define using libm_alias_double.
27003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27004 Include <libm-alias-double.h>.
27005 (copysign): Define using libm_alias_double.
27006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27007 <libm-alias-double.h>.
27008 (fabs): Define using libm_alias_double.
27009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
27010 <libm-alias-double.h>.
27011 (fdim): Define using libm_alias_double.
27012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
27013 <libm-alias-double.h>.
27014 (fma): Define using libm_alias_double.
27015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
27016 <libm-alias-double.h>.
27017 (llrint): Define using libm_alias_double.
27018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
27019 Include <libm-alias-double.h>.
27020 (nearbyint): Define using libm_alias_double.
27021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
27022 <libm-alias-double.h>.
27023 (rint): Define using libm_alias_double.
27024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
27025 <libm-alias-double.h>.
27026 (fabs): Define using libm_alias_double.
27027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
27028 <libm-alias-double.h>.
27029 (llrint): Define using libm_alias_double.
27030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
27031 <libm-alias-double.h>.
27032 (nearbyint): Define using libm_alias_double.
27033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
27034 <libm-alias-double.h>.
27035 (rint): Define using libm_alias_double.
27036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
27037 <libm-alias-double.h>.
27038 (ceil): Define using libm_alias_double.
27039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
27040 <libm-alias-double.h>.
27041 (floor): Define using libm_alias_double.
27042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
27043 <libm-alias-double.h>.
27044 (fma): Define using libm_alias_double.
27045 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
27046 <libm-alias-double.h>.
27047 (lrint): Define using libm_alias_double.
27048 (llrint): Likewise.
27049 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
27050 <libm-alias-double.h>.
27051 (nearbyint): Define using libm_alias_double.
27052 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
27053 <libm-alias-double.h>.
27054 (rint): Define using libm_alias_double.
27055 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
27056 <libm-alias-double.h>.
27057 (trunc): Define using libm_alias_double.
27058 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
27059 <libm-alias-double.h>.
27060 (copysign): Define using libm_alias_double.
27061 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
27062 <libm-alias-double.h>.
27063 (fabs): Define using libm_alias_double.
27064 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
27065 <libm-alias-double.h>.
27066 (lrint): Define using libm_alias_double.
27067 (llrint): Likewise.
27068 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
27069 <libm-alias-double.h>.
27070 (nearbyint): Define using libm_alias_double.
27071 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
27072 <libm-alias-double.h>.
27073 (rint): Define using libm_alias_double.
27076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
27078 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27080 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
27081 SPARC --disable-multi-arch glibc variants.
27083 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
27084 <libm-alias-float.h>.
27085 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27087 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
27088 <libm-alias-float.h>.
27089 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27091 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
27092 <libm-alias-float.h>.
27093 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27095 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
27096 <libm-alias-float.h>.
27097 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27099 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
27100 <libm-alias-float.h>.
27101 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27103 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
27104 <libm-alias-float.h>.
27105 (ceilf): Define using libm_alias_float.
27106 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
27107 <libm-alias-float.h>.
27108 (floorf): Define using libm_alias_float.
27109 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
27110 <libm-alias-float.h>.
27111 (fmaf): Define using libm_alias_float.
27112 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
27113 <libm-alias-float.h>.
27114 (nearbyintf): Define using libm_alias_float.
27115 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
27116 <libm-alias-float.h>.
27117 (rintf): Define using libm_alias_float.
27118 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
27119 <libm-alias-float.h>.
27120 (truncf): Define using libm_alias_float.
27121 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
27122 (copysignf): Define using libm_alias_float.
27123 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
27124 (cosf): Define using libm_alias_float.
27125 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27126 (fabsf): Define using libm_alias_float.
27127 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27128 (fmaxf): Define using libm_alias_float.
27129 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
27130 (fminf): Define using libm_alias_float.
27131 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
27132 (llrintf): Define using libm_alias_float.
27133 [!__ILP32__] (lrintf): Likewise.
27134 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
27135 (sincosf): Define using libm_alias_float.
27136 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
27137 (sinf): Define using libm_alias_float.
27138 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
27139 (lrintf): Define using libm_alias_float.
27141 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
27142 <libm-alias-double.h>.
27143 (atan): Define using libm_alias_double.
27144 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
27145 <libm-alias-double.h>.
27146 (ceil): Define using libm_alias_double.
27147 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
27148 <libm-alias-double.h>.
27149 (floor): Define using libm_alias_double.
27150 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
27151 <libm-alias-double.h>.
27152 (fma): Define using libm_alias_double.
27153 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
27154 <libm-alias-double.h>.
27155 (nearbyint): Define using libm_alias_double.
27156 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
27157 <libm-alias-double.h>.
27158 (rint): Define using libm_alias_double.
27159 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
27160 <libm-alias-double.h>.
27161 (sin): Define using libm_alias_double.
27163 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
27164 <libm-alias-double.h>.
27165 (tan): Define using libm_alias_double.
27166 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
27167 <libm-alias-double.h>.
27168 (trunc): Define using libm_alias_double.
27169 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
27170 (copysign): Define using libm_alias_double.
27171 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
27172 (fabs): Define using libm_alias_double.
27173 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
27174 (fmax): Define using libm_alias_double.
27175 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
27176 (fmin): Define using libm_alias_double.
27177 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
27178 (llrint): Define using libm_alias_double.
27179 [!__ILP32__] (lrint): Likewise.
27180 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
27181 (lrint): Define using libm_alias_double.
27183 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27185 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
27186 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
27188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
27189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
27190 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
27191 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
27192 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
27193 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27195 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
27196 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
27198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
27199 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
27200 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
27201 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
27202 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
27203 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27205 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
27206 (libm-sysdep_routines): Add s_nearbyint-generic and
27207 s_nearbyintf-generic objects.
27208 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
27209 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
27210 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
27211 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
27212 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
27213 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
27215 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
27216 Add s_finitef-generic and s_finite-generic objects.
27217 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
27218 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
27219 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
27220 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
27221 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
27222 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
27224 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
27225 Add s_isinff-generic and s_isinf-generic objects.
27226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
27227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
27228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
27229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
27230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
27231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27233 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
27234 Add s_isnanf-generic and s_isnan-generic objects.
27235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
27236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
27237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
27238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
27239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
27240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27242 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
27244 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
27246 (sysdep_routines): Use sysdep_calls as base.
27247 (libm-sysdep_routines): Add generic rule for symbols shared with
27248 libc. Add s_signbit-generic and s_signbitf-generic objects.
27249 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
27250 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
27251 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
27252 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
27253 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
27254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27256 2017-11-29 Joseph Myers <joseph@codesourcery.com>
27258 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
27259 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
27260 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
27261 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
27262 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
27263 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
27264 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
27265 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
27266 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
27267 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
27268 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
27269 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
27270 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
27271 libm_alias_float_r.
27272 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
27273 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
27275 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
27276 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
27277 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
27278 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
27279 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
27280 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
27281 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
27282 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
27283 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
27284 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
27286 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
27288 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
27289 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
27290 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
27291 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
27292 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
27293 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
27294 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
27295 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
27296 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
27297 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
27298 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
27299 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
27300 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
27301 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
27302 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
27303 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
27304 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
27305 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
27306 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
27308 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
27309 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
27310 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
27311 * sysdeps/ia64/fpu/w_lgammaf_main.c
27312 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
27313 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
27315 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27316 Alexandre Oliva <aoliva@redhat.com>
27319 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
27320 * localedata/fr_CA.UTF-8.in: New file with test data for backward
27322 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
27324 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
27325 * localedata/locales/de_DE (LC_COLLATE): Likewise.
27326 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
27327 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
27328 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
27329 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
27330 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
27331 instead of “ifdef DIACRIT_BACKWARD”.
27333 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27335 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
27336 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
27337 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
27338 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
27339 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
27340 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
27341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
27342 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
27343 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
27344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
27345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
27346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
27347 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
27348 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
27349 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
27350 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
27351 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
27352 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
27353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
27354 ($(have-as-vis3) == yes): Remove conditional.
27355 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
27357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
27359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
27361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
27363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
27365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
27366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
27367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
27368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
27369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
27370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
27371 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
27372 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
27374 2017-11-29 Joseph Myers <joseph@codesourcery.com>
27376 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
27377 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
27378 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
27379 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
27380 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
27381 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
27382 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
27383 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
27384 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
27385 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
27386 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
27387 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
27388 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
27389 libm_alias_double_r.
27390 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
27392 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
27393 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
27394 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
27395 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
27396 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
27397 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
27398 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
27399 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
27400 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
27401 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
27402 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
27404 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
27406 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
27407 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
27408 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
27409 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
27410 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
27411 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
27412 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
27413 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
27414 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
27415 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
27416 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
27417 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
27418 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
27419 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
27420 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
27421 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
27422 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
27423 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
27425 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
27426 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
27427 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
27428 * sysdeps/ia64/fpu/w_lgamma_main.c
27429 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
27430 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
27432 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
27434 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
27435 address of $global$ into %dp register earlier. Use pc-relative
27436 instruction sequence for PIC case.
27438 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27440 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
27441 (asinhf): Define using libm_alias_float.
27442 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
27443 (atanf): Define using libm_alias_float.
27444 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
27445 (cbrtf): Define using libm_alias_float.
27446 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
27447 (ceilf): Define using libm_alias_float.
27448 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
27449 (copysignf): Define using libm_alias_float.
27450 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
27451 (expm1f): Define using libm_alias_float.
27452 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
27453 (fabsf): Define using libm_alias_float.
27454 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
27455 (floorf): Define using libm_alias_float.
27456 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27457 (fmaxf): Define using libm_alias_float.
27458 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
27459 (fminf): Define using libm_alias_float.
27460 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
27461 (frexpf): Define using libm_alias_float.
27462 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
27463 (llrintf): Define using libm_alias_float.
27464 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
27465 (logbf): Define using libm_alias_float.
27466 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
27467 (lrintf): Define using libm_alias_float.
27468 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
27469 (nearbyintf): Define using libm_alias_float.
27470 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
27471 (remquof): Define using libm_alias_float.
27472 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
27473 (rintf): Define using libm_alias_float.
27474 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
27475 (truncf): Define using libm_alias_float.
27476 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
27477 <libm-alias-float.h>.
27478 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27480 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
27481 <libm-alias-float.h>.
27482 (expf): Define using libm_alias_float, or libm_alias_float_other
27484 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
27485 <libm-alias-float.h>.
27486 (log2f): Define using libm_alias_float, or libm_alias_float_other
27488 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
27489 <libm-alias-float.h>.
27490 (logf): Define using libm_alias_float, or libm_alias_float_other
27492 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
27493 <libm-alias-float.h>.
27494 (powf): Define using libm_alias_float, or libm_alias_float_other
27496 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
27497 <libm-alias-float.h>.
27498 (cosf): Define using libm_alias_float.
27499 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
27500 <libm-alias-float.h>.
27501 (sincosf): Define using libm_alias_float.
27502 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
27503 <libm-alias-float.h>.
27504 (sinf): Define using libm_alias_float.
27505 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27506 (fmaxf): Define using libm_alias_float.
27507 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
27508 (fminf): Define using libm_alias_float.
27509 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27510 <libm-alias-float.h>.
27511 (fmaf): Define using libm_alias_float.
27513 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
27514 (asinh): Define using libm_alias_double.
27515 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
27516 (atan): Define using libm_alias_double.
27517 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
27518 (cbrt): Define using libm_alias_double.
27519 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
27520 (ceil): Define using libm_alias_double.
27521 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
27522 (copysign): Define using libm_alias_double.
27523 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
27524 (expm1): Define using libm_alias_double.
27525 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
27526 (fabs): Define using libm_alias_double.
27527 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
27528 (fdim): Define using libm_alias_double.
27529 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
27530 (floor): Define using libm_alias_double.
27531 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
27532 (fmax): Define using libm_alias_double.
27533 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
27534 (fmin): Define using libm_alias_double.
27535 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
27536 (frexp): Define using libm_alias_double.
27537 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
27538 (llrint): Define using libm_alias_double.
27539 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
27540 (logb): Define using libm_alias_double.
27541 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
27542 (lrint): Define using libm_alias_double.
27543 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
27544 (nearbyint): Define using libm_alias_double.
27545 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
27546 (remquo): Define using libm_alias_double.
27547 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27548 (rint): Define using libm_alias_double.
27549 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27550 (trunc): Define using libm_alias_double.
27551 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27552 (fmax): Define using libm_alias_double.
27553 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27554 (fmin): Define using libm_alias_double.
27555 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27556 (fma): Define using libm_alias_double.
27558 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27561 * elf/dl-hwcaps.c (ROUND): Removed.
27562 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27563 and ELF_NOTE_NEXT_OFFSET.
27564 * elf/dl-load.c (ROUND): Removed.
27565 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27566 * elf/readelflib.c (ROUND): Removed.
27567 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27568 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27569 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27570 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27572 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27574 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27575 [!__fmaf] (fmaf): Define using libm_alias_float.
27577 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27578 [!__fma] (fma): Define using libm_alias_double.
27579 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27581 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27584 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27585 and implement the collation rules for cs from CLDR on top of that.
27586 * Makefile: Add cs_CZ.UTF-8 to test-input.
27587 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27589 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27591 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27593 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27594 Icarus Sparry <icarus.w.sparry@intel.com>
27596 * benchtests/Makefile:Add BENCHSET to allow subsets of
27597 benchmarks to be run.
27598 * benchtests/README: Add documentation for: Running subsets of
27601 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27603 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27604 range of tests names.
27606 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27607 result from property and remove "max", min" and "mean" from
27608 required properties based on benchtests/bench-skeleton.c.
27610 2017-11-28 Florian Weimer <fweimer@redhat.com>
27613 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27614 due to Internet requirement.
27615 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27617 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27619 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27621 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27622 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27623 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27624 (sysdep_routines): Add memset-ultra1.
27625 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27627 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27628 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27629 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27630 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27631 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27632 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27633 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27634 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27636 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27638 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27639 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27640 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27641 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27642 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27643 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27644 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27646 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27647 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27648 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27649 (sysdep_routines): Add memcpy-ultra1.
27650 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27651 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27653 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27655 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27656 (cfloat_versions): Take function argument without trailing 'f'.
27657 Call libm_alias_float_other.
27658 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27659 * sysdeps/alpha/fpu/cargf.c: Likewise.
27660 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27661 * sysdeps/alpha/fpu/conjf.c: Likewise.
27662 * sysdeps/alpha/fpu/crealf.c: Likewise.
27663 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27664 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27665 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27666 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27667 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27668 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27669 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27670 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27671 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27672 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27673 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27674 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27675 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27676 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27677 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27678 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27679 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27680 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27681 (clog10f): Use libm_alias_float_other.
27682 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27683 (ceilf): Define using libm_alias_float.
27684 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27685 (copysignf): Define using libm_alias_float.
27686 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27687 (fabsf): Define using libm_alias_float.
27688 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27689 (floorf): Define using libm_alias_float.
27690 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27691 (fmaxf): Define using libm_alias_float.
27692 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27693 (fminf): Define using libm_alias_float.
27694 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27695 (lrintf): Define using libm_alias_float.
27696 (llrintf): Likewise.
27697 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27698 (lroundf): Define using libm_alias_float.
27699 (llroundf): Likewise.
27700 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27701 (rintf): Define using libm_alias_float.
27702 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27703 (truncf): Define using libm_alias_float.
27705 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27706 (ceilf): Define using libm_alias_float.
27707 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27708 (floorf): Define using libm_alias_float.
27709 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27710 (fmaf): Define using libm_alias_float.
27711 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27712 (fmaxf): Define using libm_alias_float.
27713 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27714 (fminf): Define using libm_alias_float.
27715 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27716 (llrintf): Define using libm_alias_float.
27717 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27718 (llroundf): Define using libm_alias_float.
27719 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27720 (lrintf): Define using libm_alias_float.
27721 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27722 (lroundf): Define using libm_alias_float.
27723 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27724 <libm-alias-float.h>.
27725 (nearbyintf): Define using libm_alias_float.
27726 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27727 (rintf): Define using libm_alias_float.
27728 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27729 (roundf): Define using libm_alias_float.
27730 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27731 (truncf): Define using libm_alias_float.
27733 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27734 (ceil): Define using libm_alias_double.
27735 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27736 (copysign): Define using libm_alias_double.
27737 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27738 (fabs): Define using libm_alias_double.
27739 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27740 (floor): Define using libm_alias_double.
27741 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27742 (fmax): Define using libm_alias_double.
27743 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27744 (fmin): Define using libm_alias_double.
27745 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27746 (lrint): Define using libm_alias_double.
27747 (llrint): Likewise.
27748 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27749 (lround): Define using libm_alias_double.
27750 (llround): Likewise.
27751 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27752 (rint): Define using libm_alias_double.
27753 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27754 (trunc): Define using libm_alias_double.
27756 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27757 (libm_alias_double_r): Add semicolon after weak_alias call.
27759 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27761 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27762 (ceil): Define using libm_alias_double.
27763 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27764 (floor): Define using libm_alias_double.
27765 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27766 (fma): Define using libm_alias_double.
27767 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27768 (fmax): Define using libm_alias_double.
27769 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27770 (fmin): Define using libm_alias_double.
27771 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27772 (llrint): Define using libm_alias_double.
27773 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27774 (llround): Define using libm_alias_double.
27775 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27776 (lrint): Define using libm_alias_double.
27777 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27778 (lround): Define using libm_alias_double.
27779 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27780 (nearbyint): Define using libm_alias_double.
27781 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27782 (rint): Define using libm_alias_double.
27783 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27784 (round): Define using libm_alias_double.
27785 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27786 (trunc): Define using libm_alias_double.
27788 2017-11-27 Florian Weimer <fweimer@redhat.com>
27790 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27791 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27792 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27793 (tests): Add tst-mlock2.
27794 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27795 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27796 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27797 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27798 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27799 for mlock. Document mlock2.
27801 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27803 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27804 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27806 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27808 * sysdeps/x86/Makeconfig: New file.
27809 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27810 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27811 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27812 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27813 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27814 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27815 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27817 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27818 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27819 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27820 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27821 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27822 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27823 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27824 * manual/math.texi (Mathematics): Document support for _Float64x.
27825 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27826 * stdlib/Versions (GLIBC_2.27): Likewise.
27827 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27828 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27829 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27830 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27831 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27832 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27833 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27834 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27835 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27836 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27837 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27838 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27843 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27844 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27845 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27846 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27847 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27848 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27849 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27850 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27851 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27852 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27853 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27854 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27855 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27856 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27858 2017-11-27 Andreas Schwab <schwab@suse.de>
27860 * elf/Makefile (dl-routines): Add dl-sort-maps.
27861 * elf/dl-sort-maps.c: New file.
27862 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27863 (_dl_sort_maps): Declare.
27864 * elf/dl-fini.c (_dl_sort_fini): Remove.
27865 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27866 * elf/dl-close.c (_dl_close_worker): Likewise.
27867 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27869 * elf/dl-open.c (dl_open_worker): Likewise.
27871 2017-11-24 Joseph Myers <joseph@codesourcery.com>
27873 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27874 using libm_alias_float128.
27875 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27877 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27879 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27880 (setpayloadsigf128): Likewise.
27881 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27883 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27886 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27887 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27888 -mfloat128 to CFLAGS.
27890 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27892 (CFLAGS-libm-test-support-float64x.c): New variable.
27893 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27894 $(f128-loader-link) to gnulib-tests.
27896 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27897 (libm_alias_float128_other_r): If
27898 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27900 (libm_alias_float128_r): Add semicolon after weak_alias call.
27901 * sysdeps/generic/libm-alias-ldouble.h
27902 (libm_alias_ldouble_other_r_f128): New macro.
27903 (libm_alias_ldouble_other_r_f64x): Likewise.
27904 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27905 and libm_alias_ldouble_other_r_f64x.
27906 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27907 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27908 (libm_alias_ldouble_other_r_f128): New macro.
27909 (libm_alias_ldouble_other_r_f64x): Likewise.
27910 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27911 and libm_alias_ldouble_other_r_f64x.
27913 * stdlib/strfroml.c: Always include <stdlib.h>.
27914 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27915 undefine as macro and define as weak alias.
27916 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27917 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27919 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27920 Define and later undefine as macro and define as weak alias.
27922 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27923 Define and later undefine as macro. Define as weak alias if
27925 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27926 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27927 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27928 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27929 Define and later undefine as macro. Define as weak alias if
27931 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27932 Define and later undefine as macro. Define as weak alias if
27934 * sysdeps/ieee754/float128/strtof128_l.c
27935 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27936 Define and later undefine as macro. Define as weak alias if
27938 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27939 Define and later undefine as macro. Define as weak alias if
27941 * sysdeps/ieee754/ldbl-128/strtold_l.c
27942 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27943 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27944 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27945 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27946 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27947 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27948 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27949 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27950 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27951 * sysdeps/ieee754/ldbl-96/strtold_l.c
27952 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27953 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27954 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27955 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27957 * math/test-float64x.h: New file.
27958 * math/Makefile (type-float64x-yes): New variable.
27959 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27961 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27962 function-like macro.
27963 (min_of_type_): Likewise.
27964 (min_of_type_l): Likewise.
27965 (min_of_type_f128): Likewise.
27966 (min_of_type): Pass () as last argument of __MATH_TG.
27968 * stdlib/tst-strtod-round-skeleton.c
27969 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27972 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27973 for combinations of long double with _Float64 and _Float64x.
27975 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27976 (__DECL_SIMD_cosf32): Likewise.
27977 (__DECL_SIMD_cosf64): Likewise.
27978 (__DECL_SIMD_cosf32x): Likewise.
27979 (__DECL_SIMD_cosf64x): Likewise.
27980 (__DECL_SIMD_cosf128x): Likewise.
27981 (__DECL_SIMD_sinf16): Likewise.
27982 (__DECL_SIMD_sinf32): Likewise.
27983 (__DECL_SIMD_sinf64): Likewise.
27984 (__DECL_SIMD_sinf32x): Likewise.
27985 (__DECL_SIMD_sinf64x): Likewise.
27986 (__DECL_SIMD_sinf128x): Likewise.
27987 (__DECL_SIMD_sincosf16): Likewise.
27988 (__DECL_SIMD_sincosf32): Likewise.
27989 (__DECL_SIMD_sincosf64): Likewise.
27990 (__DECL_SIMD_sincosf32x): Likewise.
27991 (__DECL_SIMD_sincosf64x): Likewise.
27992 (__DECL_SIMD_sincosf128x): Likewise.
27993 (__DECL_SIMD_logf16): Likewise.
27994 (__DECL_SIMD_logf32): Likewise.
27995 (__DECL_SIMD_logf64): Likewise.
27996 (__DECL_SIMD_logf32x): Likewise.
27997 (__DECL_SIMD_logf64x): Likewise.
27998 (__DECL_SIMD_logf128x): Likewise.
27999 (__DECL_SIMD_expf16): Likewise.
28000 (__DECL_SIMD_expf32): Likewise.
28001 (__DECL_SIMD_expf64): Likewise.
28002 (__DECL_SIMD_expf32x): Likewise.
28003 (__DECL_SIMD_expf64x): Likewise.
28004 (__DECL_SIMD_expf128x): Likewise.
28005 (__DECL_SIMD_powf16): Likewise.
28006 (__DECL_SIMD_powf32): Likewise.
28007 (__DECL_SIMD_powf64): Likewise.
28008 (__DECL_SIMD_powf32x): Likewise.
28009 (__DECL_SIMD_powf64x): Likewise.
28010 (__DECL_SIMD_powf128x): Likewise.
28012 * stdlib/Versions (libc): Move entries for wcstof128 and
28013 wcstof128_l to ....
28014 * wcsmbs/Versions (libc): ... here.
28015 Include <float128-abi.h>.
28017 2017-11-24 Florian Weimer <fweimer@redhat.com>
28019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28020 bits/mman-shared.h.
28021 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
28022 <bits/mman-shared.h>.
28023 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
28025 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
28026 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
28027 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
28028 <bits/mman-shared.h>.
28030 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28033 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
28034 posix_memalign/free.
28035 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
28037 2017-11-22 Mike FABIAN <mfabian@redhat.com>
28040 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
28041 and implement the collation rules for pl from CLDR on top of that.
28042 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
28043 of locales to be built for testing.
28044 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
28046 2017-11-23 Joseph Myers <joseph@codesourcery.com>
28048 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
28049 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
28050 libm_alias_ldouble_other.
28051 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
28052 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
28053 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
28054 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
28055 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
28056 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
28057 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
28058 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
28059 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
28060 libm_alias_ldouble_r.
28061 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
28062 libm_alias_ldouble_other.
28063 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
28064 (log10l): Likewise.
28065 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
28066 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
28067 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
28068 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
28069 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
28070 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
28071 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
28072 (atan2l): Likewise.
28073 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
28074 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
28075 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
28076 libm_alias_ldouble.
28077 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
28079 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
28080 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
28081 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
28083 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
28084 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
28085 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
28086 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
28087 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
28088 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
28089 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
28090 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
28091 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
28092 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
28093 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
28094 libm_alias_ldouble.
28095 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
28096 libm_alias_ldouble_other.
28097 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
28098 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
28099 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
28100 libm_alias_ldouble.
28101 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
28102 libm_alias_ldouble_other.
28103 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
28104 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
28105 * sysdeps/ia64/fpu/w_lgammal_main.c
28106 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
28107 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
28109 2017-11-23 Florian Weimer <fweimer@redhat.com>
28111 * malloc/malloc.c (tcache_thread_shutdown): Rename from
28112 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
28113 alike. Remove freeres marker.
28114 * malloc/arena.c (arena_thread_freeres): Call
28115 tcache_thread_shutdown.
28117 2017-11-23 Florian Weimer <fweimer@redhat.com>
28120 Export nscd hash function as __nss_hash.
28121 * include/nss.h (__nss_hash): Declare.
28122 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
28124 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
28125 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
28127 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
28128 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
28129 * nss/Makefiles (routines): Add nss_hash.
28130 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
28131 * nss/nss_hash.c: Rename from nis/nis_hash.c.
28132 (__nss_hash): Rename from __nis_hash. Define hidden alias.
28133 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
28135 2017-11-23 Florian Weimer <fweimer@redhat.com>
28138 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
28139 Return error code, not -1.
28140 * signal/tst-sigwait-eintr.c: New file.
28141 * signal/Makefile (tests): Add tst-sigwait-eintr.
28143 2017-11-23 Florian Weimer <fweimer@redhat.com>
28145 Linux: Add memfd_create system call wrapper
28146 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
28148 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
28149 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
28150 [__USE_GNU] (memfd_create): Declare.
28151 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
28152 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
28153 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
28154 * sysdeps/unix/sysv/linux/**.abilist: Update.
28155 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
28157 2017-11-22 Joseph Myers <joseph@codesourcery.com>
28159 * localedata/gen-locale.sh: Fix typo in variable name.
28161 * resolv/res_debug.c (p_secstodate): Condition definition on
28162 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
28163 directly as __p_secstodate, and as a compat symbol. Do not use
28164 libresolv_hidden_def.
28165 * resolv/resolv.h (p_secstodate): Remove macro and function
28167 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
28168 using p_secstodate.
28169 * include/resolv.h (__p_secstodate): Do not use
28170 libresolv_hidden_proto.
28171 * resolv/Makefile (tests): Move tst-p_secstodate to ....
28172 (tests-internal): ... here.
28173 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
28174 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
28175 and declare and use __p_secstodate and use compat_symbol_reference
28177 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
28178 implementation returning 77.
28181 * resolv/res_debug.c: Include <libc-diag.h>.
28182 (p_secstodate): Assert time_t at least as wide as u_long. On
28183 overflow, use integer seconds since the epoch as output, or use
28184 "<overflow>" as output and set errno to EOVERFLOW if integer
28185 seconds since the epoch would be 14 or more characters.
28186 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
28188 * resolv/tst-p_secstodate.c: New file.
28189 * resolv/Makefile (tests): Add tst-p_secstodate.
28190 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
28192 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
28193 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
28194 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
28196 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
28198 * posix/regcomp.c (init_word_char): Add comments.
28200 2017-11-22 Joseph Myers <joseph@codesourcery.com>
28203 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
28204 strlen to compute length of ut_user and set trailing NUL byte of
28207 2017-11-21 Mike FABIAN <mfabian@redhat.com>
28210 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
28211 using “copy "iso14651_t1"” and then implementing the
28212 collation rules for lv from CLDR on top of that.
28213 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
28214 of locales to be built for testing.
28215 * lv_LV.UTF-8.in: New file with test data to test the Latvian
28218 2017-11-21 Joseph Myers <joseph@codesourcery.com>
28220 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28221 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
28222 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
28223 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
28224 [__USE_MISC] (MADV_HWPOISON): New macro.
28225 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
28227 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28229 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
28230 -Wmissing-braces on GCC 4.9.
28232 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
28234 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
28235 * sysdeps/s390/s390-32/start.S (_start): Likewise
28236 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
28237 (thread_start): Likewise.
28238 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
28239 (thread_start): Likewise.
28240 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
28241 (__makecontext_ret): Likewise.
28242 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
28243 (__makecontext_ret): Likewise.
28245 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
28247 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
28248 __wcschrnul): Remove attribute_hidden.
28250 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
28252 regex: don't assume uint64_t or uint32_t
28253 This avoids -Werror=overflow errors for 32-bit systems in
28254 the 64-bit case. Problem reported by Joseph Myers in:
28255 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
28256 Also, when this code is used in Gnulib it ports to platforms
28257 that lack uint64_t and uint32_t. The C standard doesn't guarantee
28258 them, and on some 32-bit compilers there is no uint64_t.
28259 Problem reported by Gianluigi Tiesi in:
28260 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
28261 * posix/regcomp.c (init_word_char): Don't assume that the types
28262 uint64_t and uint32_t exist. Adapted from Gnulib patch
28263 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
28264 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
28266 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
28268 * sysdeps/aarch64/memset-reg.h: New file.
28269 * sysdeps/aarch64/memset.S: Use it.
28270 (__memset): Rename to MEMSET macro.
28271 [ZVA_MACRO]: Use zva_macro.
28272 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
28273 Add memset_generic and memset_falkor.
28274 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28275 (__libc_ifunc_impl_list): Add memset ifuncs.
28276 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
28277 local variable zva_size.
28278 * sysdeps/aarch64/multiarch/memset.c: New file.
28279 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
28280 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
28281 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
28282 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
28283 (DCZID_DZP_MASK): New macro.
28284 (DCZID_BS_MASK): Likewise.
28285 (init_cpu_features): Read and set zva_size.
28286 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
28287 (struct cpu_features): New member zva_size.
28289 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
28290 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
28291 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
28293 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
28294 backwards. Fix timing computation.
28295 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
28296 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
28297 on memset by N at a time. Fix timing computation.
28299 2017-11-20 Florian Weimer <fweimer@redhat.com>
28301 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
28302 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
28304 2017-11-19 Florian Weimer <fweimer@redhat.com>
28306 manual: Document mprotect
28307 * manual/memory.texi (Memory Protection): New section.
28308 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
28309 documentation of PROT_* flags and reference the Memory Protection
28312 2017-11-19 Florian Weimer <fweimer@redhat.com>
28314 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
28315 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
28316 (Scatter-Gather): ... to here. Remove misleading comment.
28318 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
28320 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
28323 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
28324 when /proc/<pid>/setgroups does not exist.
28326 2017-11-18 Florian Weimer <fweimer@redhat.com>
28328 * sysdeps/unix/sysv/linux/tst-ttyname.c
28329 (become_root_in_mount_ns): Remove.
28330 (do_in_chroot_1): Call support_enter_mount_namespace.
28331 (do_in_chroot_2): Likewise.
28332 (do_test): Call support_become_root early.
28334 2017-11-18 Florian Weimer <fweimer@redhat.com>
28336 * support/namespace.h (support_enter_mount_namespace): Declare.
28337 * support/support_enter_mount_namespace.c: New file.
28338 * support/Makefile (libsupport-routines): Add
28339 support_enter_mount_namespace.
28341 2017-11-18 Florian Weimer <fweimer@redhat.com>
28343 * support/temp_file.c (support_create_temp_directory): Use
28344 test_dir and do not rely on the presence of the XXXXXX suffix.
28345 * support/temp_file.h (support_create_temp_directory): Update
28347 * support/tst-xreadlink.c (do_test): Adjust.
28348 * support/support_chroot.c (support_chroot_create): Likewise.
28350 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28352 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
28354 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
28357 2017-11-17 Joseph Myers <joseph@codesourcery.com>
28359 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28360 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28361 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28362 (ceill): Define using libm_alias_ldouble.
28363 * sysdeps/x86_64/fpu/s_copysignl.S: Include
28364 <libm-alias-ldouble.h>.
28365 (copysignl): Define using libm_alias_ldouble.
28366 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28367 (fabsl): Define using libm_alias_ldouble.
28368 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28369 (floorl): Define using libm_alias_ldouble.
28370 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28371 (fmaxl): Define using libm_alias_ldouble.
28372 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28373 (fminl): Define using libm_alias_ldouble.
28374 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28375 (llrintl): Define using libm_alias_ldouble.
28376 (lrintl): Likewise.
28377 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
28378 <libm-alias-ldouble.h>.
28379 (nearbyintl): Define using libm_alias_ldouble.
28380 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28381 (truncl): Define using libm_alias_ldouble.
28382 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
28383 <libm-alias-ldouble.h>.
28384 (lrintl): Define using libm_alias_ldouble.
28386 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28387 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28388 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
28389 (asinhl): Define using libm_alias_ldouble.
28390 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
28391 (atanl): Define using libm_alias_ldouble.
28392 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
28393 (cbrtl): Define using libm_alias_ldouble.
28394 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28395 (ceill): Define using libm_alias_ldouble.
28396 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
28397 (copysignl): Define using libm_alias_ldouble.
28398 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28399 (fabsl): Define using libm_alias_ldouble.
28400 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28401 (floorl): Define using libm_alias_ldouble.
28402 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28403 (fmaxl): Define using libm_alias_ldouble.
28404 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28405 (fminl): Define using libm_alias_ldouble.
28406 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
28407 (frexpl): Define using libm_alias_ldouble.
28408 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28409 (llrintl): Define using libm_alias_ldouble.
28410 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
28411 (logbl): Define using libm_alias_ldouble.
28412 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
28413 (lrintl): Define using libm_alias_ldouble.
28414 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
28415 (nearbyintl): Define using libm_alias_ldouble.
28416 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
28417 (nextafterl): Define using libm_alias_ldouble.
28418 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
28419 (remquol): Define using libm_alias_ldouble.
28420 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
28421 (rintl): Define using libm_alias_ldouble.
28422 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28423 (truncl): Define using libm_alias_ldouble.
28424 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28425 (fmaxl): Define using libm_alias_ldouble.
28426 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28427 (fminl): Define using libm_alias_ldouble.
28429 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
28430 to C syntax instead of availability and properties of types.
28431 * bits/floatn.h [!__ASSEMBLER]: Likewise.
28432 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
28433 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
28434 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
28435 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
28436 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
28438 2017-11-17 Florian Weimer <fweimer@redhat.com>
28440 support_become_root: Enable file creation in namespaces.
28441 * support/support_become_root.c (setup_mapping): New function.
28442 (support_become_root): Call it.
28444 2017-11-17 Joseph Myers <joseph@codesourcery.com>
28446 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
28449 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28451 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
28452 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
28454 2017-11-16 Joseph Myers <joseph@codesourcery.com>
28456 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
28458 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28461 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28463 * INSTALL: Fix botched up regeneration.
28465 * NEWS: Update sourceare link to https.
28466 * configure.ac: Likewise.
28467 * crypt/md5test-giant.c: Likewise.
28468 * dlfcn/bug-atexit1.c: Likewise.
28469 * dlfcn/bug-atexit2.c: Likewise.
28470 * localedata/README: Likewise.
28471 * malloc/tst-mallocfork.c: Likewise.
28472 * manual/install.texi: Likewise.
28473 * nptl/tst-pthread-getattr.c: Likewise.
28474 * stdio-common/tst-fgets.c: Likewise.
28475 * stdio-common/tst-fwrite.c: Likewise.
28476 * sunrpc/Makefile: Likewise.
28477 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
28478 * wcsmbs/tst-mbrtowc2.c: Likewise.
28479 * configure: Regenerate.
28480 * INSTALL: Regenerate.
28482 2017-11-15 Martin Sebor <msebor@redhat.com>
28484 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
28485 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
28486 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
28488 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28491 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
28492 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
28495 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
28496 Defer is_pty check until end of the function.
28497 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28500 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
28501 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
28502 (ttyname): Likewise.
28503 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28504 (__ttyname_r): Likewise.
28506 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
28509 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
28511 * manual/terminal.texi (Is It a Terminal):
28512 Mention ENODEV for ttyname and ttyname_r.
28514 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28516 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
28517 constant and macro.
28519 * sysdeps/unix/sysv/linux/bits/mman-linux.h
28520 [__USE_MISC] (MADV_WIPEONFORK): New macro.
28521 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28522 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28523 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28524 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28526 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28528 * signal/sigrelse.c (sigrelse): Optimize implementation.
28530 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
28531 (__sigpause): Rely on __sigsuspend to implement single thread
28532 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
28534 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28536 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28537 kernel version to 4.14.
28539 2017-11-15 Steve Ellcey <sellcey@cavium.com>
28542 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
28543 Check if ifname is too long.
28545 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28547 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28549 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28551 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
28552 was accidentally lost.
28554 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28556 * localedata/locales/az_IR: Add standard copyright header.
28558 2017-11-15 Florian Weimer <fweimer@redhat.com>
28561 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28562 not just the top one. Output a new "subheaps" statistic.
28564 2017-11-15 Florian Weimer <fweimer@redhat.com>
28567 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28568 under the per-arena lock.
28569 * malloc/Makefile (tests): Add tst-malloc_info.
28570 (tst-malloc_info): Link with libpthread.
28571 * malloc/tst-malloc_info.c: New file.
28573 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28576 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28577 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28578 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28579 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28580 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28581 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28582 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28583 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28584 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28585 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28586 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28587 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28588 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28589 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28590 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28591 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28592 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28593 (__floating_type): Likewise.
28594 (__real_integer_type): Likewise.
28595 (__complex_integer_type): Likewise.
28596 (__expr_is_real): Likewise.
28597 (__tgmath_real_type_sub): Likewise.
28598 (__tgmath_real_type): Likewise.
28599 (__tgmath_complex_type_sub): Likewise.
28600 (__tgmath_complex_type): Likewise.
28601 (__TGMATH_F128): Likewise.
28602 (__TGMATH_CF128): Likewise.
28603 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28605 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28606 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28608 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28610 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28611 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28612 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28613 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28615 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28616 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28618 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28619 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28620 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28622 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28623 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28624 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28628 2017-11-14 Joseph Myers <joseph@codesourcery.com>
28630 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28631 for stpncpy calls for GCC 8.
28632 (test_strncat): Disable -Wstringop-truncation warning for strncat
28633 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28634 strncat call for GCC 7.
28635 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28637 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28640 * string/bug-strncat1.c: Include <libc-diag.h>.
28641 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28643 2017-11-13 Claude Paroz <claude@2xlibre.net>
28646 * localedata/locales/aa_DJ: Improved readibility by replacing
28647 <Uxxxx> sequences in the ASCII printable range by their ASCII
28648 character equivalents.
28649 * localedata/locales/aa_ER: Likewise.
28650 * localedata/locales/aa_ER@saaho: Likewise.
28651 * localedata/locales/aa_ET: Likewise.
28652 * localedata/locales/af_ZA: Likewise.
28653 * localedata/locales/agr_PE: Likewise.
28654 * localedata/locales/ak_GH: Likewise.
28655 * localedata/locales/am_ET: Likewise.
28656 * localedata/locales/anp_IN: Likewise.
28657 * localedata/locales/ar_AE: Likewise.
28658 * localedata/locales/ar_BH: Likewise.
28659 * localedata/locales/ar_DZ: Likewise.
28660 * localedata/locales/ar_EG: Likewise.
28661 * localedata/locales/ar_IN: Likewise.
28662 * localedata/locales/ar_IQ: Likewise.
28663 * localedata/locales/ar_JO: Likewise.
28664 * localedata/locales/ar_KW: Likewise.
28665 * localedata/locales/ar_LB: Likewise.
28666 * localedata/locales/ar_LY: Likewise.
28667 * localedata/locales/ar_MA: Likewise.
28668 * localedata/locales/ar_OM: Likewise.
28669 * localedata/locales/ar_QA: Likewise.
28670 * localedata/locales/ar_SA: Likewise.
28671 * localedata/locales/ar_SD: Likewise.
28672 * localedata/locales/ar_SS: Likewise.
28673 * localedata/locales/ar_SY: Likewise.
28674 * localedata/locales/ar_TN: Likewise.
28675 * localedata/locales/ar_YE: Likewise.
28676 * localedata/locales/as_IN: Likewise.
28677 * localedata/locales/ast_ES: Likewise.
28678 * localedata/locales/ayc_PE: Likewise.
28679 * localedata/locales/az_AZ: Likewise.
28680 * localedata/locales/az_IR: Likewise.
28681 * localedata/locales/be_BY: Likewise.
28682 * localedata/locales/be_BY@latin: Likewise.
28683 * localedata/locales/bem_ZM: Likewise.
28684 * localedata/locales/ber_DZ: Likewise.
28685 * localedata/locales/ber_MA: Likewise.
28686 * localedata/locales/bg_BG: Likewise.
28687 * localedata/locales/bhb_IN: Likewise.
28688 * localedata/locales/bho_IN: Likewise.
28689 * localedata/locales/bi_VU: Likewise.
28690 * localedata/locales/bn_BD: Likewise.
28691 * localedata/locales/bn_IN: Likewise.
28692 * localedata/locales/bo_CN: Likewise.
28693 * localedata/locales/bo_IN: Likewise.
28694 * localedata/locales/br_FR: Likewise.
28695 * localedata/locales/brx_IN: Likewise.
28696 * localedata/locales/bs_BA: Likewise.
28697 * localedata/locales/byn_ER: Likewise.
28698 * localedata/locales/ca_AD: Likewise.
28699 * localedata/locales/ca_ES: Likewise.
28700 * localedata/locales/ca_FR: Likewise.
28701 * localedata/locales/ca_IT: Likewise.
28702 * localedata/locales/ce_RU: Likewise.
28703 * localedata/locales/chr_US: Likewise.
28704 * localedata/locales/cmn_TW: Likewise.
28705 * localedata/locales/crh_UA: Likewise.
28706 * localedata/locales/cs_CZ: Likewise.
28707 * localedata/locales/csb_PL: Likewise.
28708 * localedata/locales/cv_RU: Likewise.
28709 * localedata/locales/cy_GB: Likewise.
28710 * localedata/locales/da_DK: Likewise.
28711 * localedata/locales/de_AT: Likewise.
28712 * localedata/locales/de_BE: Likewise.
28713 * localedata/locales/de_CH: Likewise.
28714 * localedata/locales/de_DE: Likewise.
28715 * localedata/locales/de_IT: Likewise.
28716 * localedata/locales/de_LI: Likewise.
28717 * localedata/locales/de_LU: Likewise.
28718 * localedata/locales/doi_IN: Likewise.
28719 * localedata/locales/dv_MV: Likewise.
28720 * localedata/locales/dz_BT: Likewise.
28721 * localedata/locales/el_CY: Likewise.
28722 * localedata/locales/el_GR: Likewise.
28723 * localedata/locales/en_AG: Likewise.
28724 * localedata/locales/en_AU: Likewise.
28725 * localedata/locales/en_BW: Likewise.
28726 * localedata/locales/en_CA: Likewise.
28727 * localedata/locales/en_DK: Likewise.
28728 * localedata/locales/en_GB: Likewise.
28729 * localedata/locales/en_HK: Likewise.
28730 * localedata/locales/en_IE: Likewise.
28731 * localedata/locales/en_IL: Likewise.
28732 * localedata/locales/en_IN: Likewise.
28733 * localedata/locales/en_NG: Likewise.
28734 * localedata/locales/en_NZ: Likewise.
28735 * localedata/locales/en_PH: Likewise.
28736 * localedata/locales/en_SG: Likewise.
28737 * localedata/locales/en_US: Likewise.
28738 * localedata/locales/en_ZA: Likewise.
28739 * localedata/locales/en_ZM: Likewise.
28740 * localedata/locales/en_ZW: Likewise.
28741 * localedata/locales/eo: Likewise.
28742 * localedata/locales/es_AR: Likewise.
28743 * localedata/locales/es_BO: Likewise.
28744 * localedata/locales/es_CL: Likewise.
28745 * localedata/locales/es_CO: Likewise.
28746 * localedata/locales/es_CR: Likewise.
28747 * localedata/locales/es_CU: Likewise.
28748 * localedata/locales/es_DO: Likewise.
28749 * localedata/locales/es_EC: Likewise.
28750 * localedata/locales/es_ES: Likewise.
28751 * localedata/locales/es_GT: Likewise.
28752 * localedata/locales/es_HN: Likewise.
28753 * localedata/locales/es_MX: Likewise.
28754 * localedata/locales/es_NI: Likewise.
28755 * localedata/locales/es_PA: Likewise.
28756 * localedata/locales/es_PE: Likewise.
28757 * localedata/locales/es_PR: Likewise.
28758 * localedata/locales/es_PY: Likewise.
28759 * localedata/locales/es_SV: Likewise.
28760 * localedata/locales/es_US: Likewise.
28761 * localedata/locales/es_UY: Likewise.
28762 * localedata/locales/es_VE: Likewise.
28763 * localedata/locales/et_EE: Likewise.
28764 * localedata/locales/eu_ES: Likewise.
28765 * localedata/locales/eu_ES@euro: Likewise.
28766 * localedata/locales/fa_IR: Likewise.
28767 * localedata/locales/ff_SN: Likewise.
28768 * localedata/locales/fi_FI: Likewise.
28769 * localedata/locales/fil_PH: Likewise.
28770 * localedata/locales/fo_FO: Likewise.
28771 * localedata/locales/fr_BE: Likewise.
28772 * localedata/locales/fr_CA: Likewise.
28773 * localedata/locales/fr_CH: Likewise.
28774 * localedata/locales/fr_FR: Likewise.
28775 * localedata/locales/fr_LU: Likewise.
28776 * localedata/locales/fur_IT: Likewise.
28777 * localedata/locales/fy_DE: Likewise.
28778 * localedata/locales/fy_NL: Likewise.
28779 * localedata/locales/ga_IE: Likewise.
28780 * localedata/locales/gd_GB: Likewise.
28781 * localedata/locales/gez_ER: Likewise.
28782 * localedata/locales/gez_ET: Likewise.
28783 * localedata/locales/gl_ES: Likewise.
28784 * localedata/locales/gu_IN: Likewise.
28785 * localedata/locales/gv_GB: Likewise.
28786 * localedata/locales/ha_NG: Likewise.
28787 * localedata/locales/hak_TW: Likewise.
28788 * localedata/locales/he_IL: Likewise.
28789 * localedata/locales/hi_IN: Likewise.
28790 * localedata/locales/hif_FJ: Likewise.
28791 * localedata/locales/hne_IN: Likewise.
28792 * localedata/locales/hr_HR: Likewise.
28793 * localedata/locales/hsb_DE: Likewise.
28794 * localedata/locales/ht_HT: Likewise.
28795 * localedata/locales/hu_HU: Likewise.
28796 * localedata/locales/hy_AM: Likewise.
28797 * localedata/locales/i18n: Likewise.
28798 * localedata/locales/ia_FR: Likewise.
28799 * localedata/locales/id_ID: Likewise.
28800 * localedata/locales/ig_NG: Likewise.
28801 * localedata/locales/ik_CA: Likewise.
28802 * localedata/locales/is_IS: Likewise.
28803 * localedata/locales/it_CH: Likewise.
28804 * localedata/locales/it_IT: Likewise.
28805 * localedata/locales/iu_CA: Likewise.
28806 * localedata/locales/ja_JP: Likewise.
28807 * localedata/locales/ka_GE: Likewise.
28808 * localedata/locales/kk_KZ: Likewise.
28809 * localedata/locales/kl_GL: Likewise.
28810 * localedata/locales/kn_IN: Likewise.
28811 * localedata/locales/ko_KR: Likewise.
28812 * localedata/locales/kok_IN: Likewise.
28813 * localedata/locales/ks_IN: Likewise.
28814 * localedata/locales/ks_IN@devanagari: Likewise.
28815 * localedata/locales/ku_TR: Likewise.
28816 * localedata/locales/kw_GB: Likewise.
28817 * localedata/locales/ky_KG: Likewise.
28818 * localedata/locales/lb_LU: Likewise.
28819 * localedata/locales/lg_UG: Likewise.
28820 * localedata/locales/li_BE: Likewise.
28821 * localedata/locales/li_NL: Likewise.
28822 * localedata/locales/lij_IT: Likewise.
28823 * localedata/locales/ln_CD: Likewise.
28824 * localedata/locales/lo_LA: Likewise.
28825 * localedata/locales/lt_LT: Likewise.
28826 * localedata/locales/lv_LV: Likewise.
28827 * localedata/locales/lzh_TW: Likewise.
28828 * localedata/locales/mag_IN: Likewise.
28829 * localedata/locales/mai_IN: Likewise.
28830 * localedata/locales/mg_MG: Likewise.
28831 * localedata/locales/mhr_RU: Likewise.
28832 * localedata/locales/mi_NZ: Likewise.
28833 * localedata/locales/mk_MK: Likewise.
28834 * localedata/locales/ml_IN: Likewise.
28835 * localedata/locales/mn_MN: Likewise.
28836 * localedata/locales/mni_IN: Likewise.
28837 * localedata/locales/mr_IN: Likewise.
28838 * localedata/locales/ms_MY: Likewise.
28839 * localedata/locales/mt_MT: Likewise.
28840 * localedata/locales/my_MM: Likewise.
28841 * localedata/locales/nan_TW: Likewise.
28842 * localedata/locales/nan_TW@latin: Likewise.
28843 * localedata/locales/nb_NO: Likewise.
28844 * localedata/locales/nds_DE: Likewise.
28845 * localedata/locales/nds_NL: Likewise.
28846 * localedata/locales/ne_NP: Likewise.
28847 * localedata/locales/nhn_MX: Likewise.
28848 * localedata/locales/niu_NU: Likewise.
28849 * localedata/locales/niu_NZ: Likewise.
28850 * localedata/locales/nl_AW: Likewise.
28851 * localedata/locales/nl_BE: Likewise.
28852 * localedata/locales/nl_NL: Likewise.
28853 * localedata/locales/nn_NO: Likewise.
28854 * localedata/locales/nr_ZA: Likewise.
28855 * localedata/locales/nso_ZA: Likewise.
28856 * localedata/locales/oc_FR: Likewise.
28857 * localedata/locales/om_ET: Likewise.
28858 * localedata/locales/om_KE: Likewise.
28859 * localedata/locales/or_IN: Likewise.
28860 * localedata/locales/os_RU: Likewise.
28861 * localedata/locales/pa_IN: Likewise.
28862 * localedata/locales/pa_PK: Likewise.
28863 * localedata/locales/pap_AW: Likewise.
28864 * localedata/locales/pap_CW: Likewise.
28865 * localedata/locales/pl_PL: Likewise.
28866 * localedata/locales/ps_AF: Likewise.
28867 * localedata/locales/pt_BR: Likewise.
28868 * localedata/locales/pt_PT: Likewise.
28869 * localedata/locales/quz_PE: Likewise.
28870 * localedata/locales/raj_IN: Likewise.
28871 * localedata/locales/ro_RO: Likewise.
28872 * localedata/locales/ru_RU: Likewise.
28873 * localedata/locales/ru_UA: Likewise.
28874 * localedata/locales/rw_RW: Likewise.
28875 * localedata/locales/sa_IN: Likewise.
28876 * localedata/locales/sat_IN: Likewise.
28877 * localedata/locales/sc_IT: Likewise.
28878 * localedata/locales/sd_IN: Likewise.
28879 * localedata/locales/sd_IN@devanagari: Likewise.
28880 * localedata/locales/se_NO: Likewise.
28881 * localedata/locales/sgs_LT: Likewise.
28882 * localedata/locales/shs_CA: Likewise.
28883 * localedata/locales/si_LK: Likewise.
28884 * localedata/locales/sid_ET: Likewise.
28885 * localedata/locales/sk_SK: Likewise.
28886 * localedata/locales/sl_SI: Likewise.
28887 * localedata/locales/sm_WS: Likewise.
28888 * localedata/locales/so_DJ: Likewise.
28889 * localedata/locales/so_ET: Likewise.
28890 * localedata/locales/so_KE: Likewise.
28891 * localedata/locales/so_SO: Likewise.
28892 * localedata/locales/sq_AL: Likewise.
28893 * localedata/locales/sq_MK: Likewise.
28894 * localedata/locales/sr_ME: Likewise.
28895 * localedata/locales/sr_RS: Likewise.
28896 * localedata/locales/sr_RS@latin: Likewise.
28897 * localedata/locales/ss_ZA: Likewise.
28898 * localedata/locales/st_ZA: Likewise.
28899 * localedata/locales/sv_FI: Likewise.
28900 * localedata/locales/sv_SE: Likewise.
28901 * localedata/locales/sw_KE: Likewise.
28902 * localedata/locales/sw_TZ: Likewise.
28903 * localedata/locales/szl_PL: Likewise.
28904 * localedata/locales/ta_IN: Likewise.
28905 * localedata/locales/ta_LK: Likewise.
28906 * localedata/locales/tcy_IN: Likewise.
28907 * localedata/locales/te_IN: Likewise.
28908 * localedata/locales/tg_TJ: Likewise.
28909 * localedata/locales/th_TH: Likewise.
28910 * localedata/locales/the_NP: Likewise.
28911 * localedata/locales/ti_ER: Likewise.
28912 * localedata/locales/ti_ET: Likewise.
28913 * localedata/locales/tig_ER: Likewise.
28914 * localedata/locales/tk_TM: Likewise.
28915 * localedata/locales/tl_PH: Likewise.
28916 * localedata/locales/tn_ZA: Likewise.
28917 * localedata/locales/to_TO: Likewise.
28918 * localedata/locales/tpi_PG: Likewise.
28919 * localedata/locales/tr_CY: Likewise.
28920 * localedata/locales/tr_TR: Likewise.
28921 * localedata/locales/ts_ZA: Likewise.
28922 * localedata/locales/tt_RU: Likewise.
28923 * localedata/locales/tt_RU@iqtelif: Likewise.
28924 * localedata/locales/ug_CN: Likewise.
28925 * localedata/locales/uk_UA: Likewise.
28926 * localedata/locales/unm_US: Likewise.
28927 * localedata/locales/ur_IN: Likewise.
28928 * localedata/locales/ur_PK: Likewise.
28929 * localedata/locales/uz_UZ: Likewise.
28930 * localedata/locales/uz_UZ@cyrillic: Likewise.
28931 * localedata/locales/ve_ZA: Likewise.
28932 * localedata/locales/vi_VN: Likewise.
28933 * localedata/locales/wa_BE: Likewise.
28934 * localedata/locales/wae_CH: Likewise.
28935 * localedata/locales/wal_ET: Likewise.
28936 * localedata/locales/wo_SN: Likewise.
28937 * localedata/locales/xh_ZA: Likewise.
28938 * localedata/locales/yi_US: Likewise.
28939 * localedata/locales/yo_NG: Likewise.
28940 * localedata/locales/yue_HK: Likewise.
28941 * localedata/locales/yuw_PG: Likewise.
28942 * localedata/locales/zh_CN: Likewise.
28943 * localedata/locales/zh_HK: Likewise.
28944 * localedata/locales/zh_SG: Likewise.
28945 * localedata/locales/zh_TW: Likewise.
28946 * localedata/locales/zu_ZA: Likewise.
28948 2017-11-13 Florian Weimer <fweimer@redhat.com>
28950 * support/next_to_fault.h, support/next_to_fault.c: New files.
28951 * support/Makefile (libsupport-routines): Add next_to_fault.
28952 * resolv/tst-inet_pton.c (struct next_to_fault)
28953 (next_to_fault_allocate, next_to_fault_free): Remove.
28954 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28956 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28958 * elf/dl-support.c: Include <dl-procruntime.c>.
28959 * include/link.h: Include <link_map.h>.
28960 * sysdeps/generic/dl-procruntime.c: New file.
28961 * sysdeps/generic/link_map.h: Likewise.
28962 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28963 the writable ld.so namespace.
28965 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28967 timezone: pacify GCC -Wstringop-truncation
28968 Problem reported by Martin Sebor in:
28969 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28970 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28972 2017-11-12 Florian Weimer <fweimer@redhat.com>
28974 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28976 (tests): Add tst-xreadlink.
28977 * support/support.h (xstrndup): Declare.
28978 * support/xunistd.h (xunlink, xreadlink): Declare.
28979 * support/temp_file.h (support_create_temp_directory): Declare.
28980 * support/temp_file.c (support_create_temp_directory): New function.
28981 * support/support_chroot.c (support_chroot_create): Use it.
28982 * support/xreadlink.c: New file.
28983 * support/xstrndup.c: Likewise.
28984 * support/xunlink.c: Likewise.
28985 * support/tst-xreadlink.c: Likewise.
28987 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
28989 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28991 2017-11-11 Florian Weimer <fweimer@redhat.com>
28995 * resolv/res_comp.c (printable_string, binary_hnok)
28996 (binary_leading_dash): New functions.
28997 (res_hnok): Reimplement using these functions and ns_name_pton.
28998 (res_ownok): Likewise.
28999 (res_mailok): Reimplement using printable_string, ns_name_pton and
29001 (res_dnok): Reimplement using printable_string and ns_name_pton.
29002 * resolv/tst-res_hnok.c (tests): Add additional tests.
29003 (LETTERDIGITS, PRINTABLE): Define.
29004 (do_test): Adjust one_char results.
29006 2017-11-11 Florian Weimer <fweimer@redhat.com>
29009 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
29010 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
29012 2017-11-11 Florian Weimer <fweimer@redhat.com>
29014 * resolv/tst-ns_name_pton.c: New file.
29015 * resolv/Makefile (tests): Add tst-ns_name_pton.
29016 (tst-ns_name_pton): Link against libresolv.
29018 2017-11-11 Florian Weimer <fweimer@redhat.com>
29020 * resolv/tst-res_hnok.c: New file.
29021 * resolv/Makefile (tests): Add tst-res_hnok.
29022 (tst-res_hnok): Link against libresolv.
29024 2017-11-11 Florian Weimer <fweimer@redhat.com>
29026 * resolv/tst-resolv-network.c: Use test framework instead explicit
29029 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
29031 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
29032 <jmp_buf-macros.h>.
29033 [!_ISOMAC] (STR_HELPER): New.
29034 [!_ISOMAC] (STR): Likewise.
29035 [!_ISOMAC] (TEST_SIZE): Likewise.
29036 [!_ISOMAC] (TEST_ALIGN): Likewise.
29037 [!_ISOMAC] (TEST_OFFSET): Likewise.
29038 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
29039 field offsets of jmp_buf as well as sigjmp_buf.
29040 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
29041 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
29042 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
29043 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
29044 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
29045 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
29046 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
29047 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
29048 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
29049 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
29051 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
29053 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
29054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
29056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
29058 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
29059 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
29060 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
29061 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
29062 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
29063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
29065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
29067 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
29068 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
29069 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
29071 2017-11-07 Joseph Myers <joseph@codesourcery.com>
29074 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29075 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
29076 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29077 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
29078 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29079 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
29080 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29081 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
29082 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29083 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
29084 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29085 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
29086 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29087 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
29088 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29089 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
29090 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29091 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
29092 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29093 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
29094 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29095 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
29096 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29097 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
29098 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29099 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
29100 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29101 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
29102 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29103 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
29104 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29105 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
29106 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29107 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
29108 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29109 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
29110 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29111 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
29112 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29113 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
29114 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29115 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
29116 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29117 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
29118 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29119 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
29120 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29121 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
29122 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29123 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
29124 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29125 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
29126 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29127 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
29128 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29129 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
29130 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29131 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
29132 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29133 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
29134 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29135 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
29136 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29137 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
29138 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29139 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
29140 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29141 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
29142 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29143 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
29144 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29145 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
29146 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29147 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
29148 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29149 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
29150 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29151 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
29152 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29153 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
29154 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29155 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
29156 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29157 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
29158 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29159 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
29160 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29161 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
29163 * stdlib/tst-strtod.h (F16): New macro.
29169 (IF_FLOAT16): Likewise.
29170 (IF_FLOAT32): Likewise.
29171 (IF_FLOAT64): Likewise.
29172 (IF_FLOAT32X): Likewise.
29173 (IF_FLOAT64X): Likewise.
29174 (IF_FLOAT128X): Likewise.
29175 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
29176 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
29177 (STRTOD_TEST_FOREACH): Likewise.
29178 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
29179 (CHOOSE_f64): Likewise.
29180 (CHOOSE_f32x): Likewise.
29181 (CHOOSE_f64x): Likewise.
29183 2017-11-07 Andreas Schwab <schwab@suse.de>
29185 * nptl/Makefile (tests-internal): Remove tst-typesizes.
29187 2017-11-07 Mike FABIAN <mfabian@redhat.com>
29190 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
29192 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
29195 2017-11-07 Claude Paroz <claude@2xlibre.net>
29198 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
29200 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
29202 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
29205 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29208 * nptl/allocatestack.c (allocate_stack): Check if
29209 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
29210 __PTHREAD_MUTEX_HAVE_PREV is defined.
29211 * nptl/descr.h (pthread): Likewise.
29212 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29214 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
29215 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
29216 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
29217 * sysdeps/nptl/bits/thread-shared-types.h
29218 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
29220 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
29221 of __WORDSIZE for internal layout.
29222 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
29223 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
29224 instead of __WORDSIZE whether to use an union for __spins and __list
29226 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
29228 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
29229 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
29231 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
29232 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29234 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
29235 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29237 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
29238 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29240 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
29241 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29243 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
29244 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29246 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
29247 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29249 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
29250 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29252 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
29253 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29255 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
29256 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29258 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
29259 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29261 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
29262 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29264 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
29265 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29267 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
29268 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29270 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
29271 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29274 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
29276 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
29277 checks for expected input type size.
29278 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
29279 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
29281 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
29282 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
29283 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
29284 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
29285 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
29286 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
29287 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
29288 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
29289 superflous runtime assert check.
29290 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
29292 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
29294 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
29296 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
29298 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
29300 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
29302 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
29303 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
29304 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
29306 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
29308 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
29310 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
29312 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
29314 * nptl/pthread_attr_setinheritsched.c
29315 (__pthread_attr_setinheritsched): Likewise.
29316 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
29318 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
29320 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
29321 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
29322 __old_pthread_attr_setstack): Likewise.
29323 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
29325 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
29327 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
29329 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
29330 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
29332 * nptl/tst-typesizes.c: Remove file.
29334 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
29335 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
29336 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
29337 checks for internal pthread_mutex_t offsets.
29338 * sysdeps/aarch64/nptl/pthread-offsets.h
29339 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
29340 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
29341 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
29342 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
29343 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
29344 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
29345 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
29346 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
29347 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
29348 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
29349 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
29350 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
29351 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
29352 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
29353 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
29354 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
29355 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
29356 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
29358 2017-11-07 Florian Weimer <fweimer@redhat.com>
29360 * bits/mman-linux.h: Move ...
29361 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
29363 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
29366 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29368 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
29369 Redefine STRNLEN as __strnlen_power8.
29371 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29373 * signal/sighold.c (sighold): Optimize implementation.
29375 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
29376 __NR_rt_sigqueueinfo.
29378 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29380 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
29381 assume __NR_rt_sigtimedwait.
29382 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
29383 and add LIBC_CANCEL_HANDLED for cancellation marking.
29384 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29386 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29387 (sysdeps_routines): Add memchr_noneon.
29388 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
29389 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
29390 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
29391 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
29392 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
29393 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
29394 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
29396 * sysdeps/arm/arm-ifunc.h: New file.
29397 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
29398 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
29399 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
29400 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
29401 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
29402 (__memcpy_neon): Avoid create hidden alias.
29403 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
29404 (__memcpy_vfp): Likewise.
29405 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29406 (sysdep_routines): Add memcpy_arm.
29407 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
29409 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
29412 * Makerules (make-link-multidir): New.
29413 * config.make.in (multidir): New.
29414 * configure.ac (libc_cv_multidir): New. AC_SUBST.
29415 * configure: Regenerated.
29416 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
29417 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
29418 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
29421 2017-11-06 Joseph Myers <joseph@codesourcery.com>
29424 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
29425 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
29427 2017-11-04 Mike FABIAN <mfabian@redhat.com>
29429 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
29432 2017-11-04 Florian Weimer <fweimer@redhat.com>
29434 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
29436 2017-11-03 Joseph Myers <joseph@codesourcery.com>
29438 * math/math.h [__HAVE_DISTINCT_FLOAT16
29439 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29440 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29441 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29442 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
29443 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
29444 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
29445 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29446 (__MATH_TG_F32): New macro.
29447 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29448 (__MATH_TG_F64X): Likewise.
29449 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29450 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
29452 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
29454 * po/de.po: Update translations.
29455 * po/ru.po: Likewise.
29457 2017-11-03 Florian Weimer <fweimer@redhat.com>
29459 * manual/filesys.texi (Hard Links): Document linkat.
29461 2017-11-03 Joseph Myers <joseph@codesourcery.com>
29463 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
29464 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29465 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29466 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29467 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29468 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29469 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
29470 the same as _Float128.
29471 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29472 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29473 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
29476 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
29478 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
29480 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
29482 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29483 (strtof32x): Likewise.
29484 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29485 (strtof64x): Likewise.
29486 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29487 (strtof128x): Likewise.
29488 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29489 (strfromf16): Likewise.
29490 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29491 (strfromf32): Likewise.
29492 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29493 (strfromf64): Likewise.
29494 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29495 (strfromf32x): Likewise.
29496 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29497 (strfromf64x): Likewise.
29498 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29499 (strfromf128x): Likewise.
29500 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
29501 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
29502 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
29503 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
29504 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
29505 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
29507 2017-11-03 Richard Henderson <rth@twiddle.net>
29509 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
29511 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29513 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
29515 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29517 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
29518 DT_TLSDESC_GOT initialization.
29519 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
29520 (_dl_tlsdesc_resolve_hold): Likewise.
29521 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
29522 (_dl_tlsdesc_resolve_hold): Likewise.
29523 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
29524 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29526 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29528 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
29530 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29533 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
29534 non-lazily for R_ARM_TLS_DESC.
29536 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29539 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
29540 R_ARM_TLS_DESC case.
29541 (elf_machine_lazy_rel): Remove the prelink check.
29543 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29545 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
29546 DT_TLSDESC_GOT initialization.
29547 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29548 (_dl_tlsdesc_resolve_rela): Likewise.
29549 (_dl_tlsdesc_resolve_hold): Likewise.
29550 (_dl_tlsdesc_undefweak): Remove ldar.
29551 (_dl_tlsdesc_dynamic): Likewise.
29552 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29553 (_dl_tlsdesc_resolve_rela): Likewise.
29554 (_dl_tlsdesc_resolve_hold): Likewise.
29555 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29556 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29557 (_dl_tlsdesc_resolve_rela): Likewise.
29558 (_dl_tlsdesc_resolve_hold): Likewise.
29560 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29562 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29563 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29565 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29567 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29568 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29570 2017-11-02 Joseph Myers <joseph@codesourcery.com>
29572 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29574 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29575 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29576 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29577 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29578 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29579 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29580 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29581 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29582 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29583 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29584 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29586 2017-11-02 Mike FABIAN <mfabian@redhat.com>
29589 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29590 * localedata/locales/tpi_PG: Add standard header.
29592 2017-11-02 Florian Weimer <fweimer@redhat.com>
29594 test-errno-linux: quotactl can fail with EPERM in containers.
29595 * sysdeps/unix/sysv/linux/test-errno-linux.c
29596 (LIST, LIST_FORWARD): New macros.
29597 (check_error_in_list): New function.
29598 (test_wrp_rv): Accept list of permitted error codes.
29599 (test_wrp_rv2): Remove.
29600 (test_wrp): Call test_wrp_rv with list of error codes.
29601 (test_wrp2): Accept list of error codes.
29602 (do_test): Adjust. Allow EPERM for quotactl.
29604 2017-11-02 Florian Weimer <fweimer@redhat.com>
29606 * stdio-common/bug16.c (do_test): Use array_length.
29607 * stdio-common/errlist.c (_sys_nerr): Likewise.
29608 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29609 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29610 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29611 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29612 (do_test): Use array_length.
29613 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29614 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29615 * stdio-common/tst-printf-round.c (do_test): Likewise.
29616 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29617 (CHECK): Use array_length.
29618 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29619 * stdio-common/tstscanf.c (main): Likewise.
29620 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29622 2017-11-02 Florian Weimer <fweimer@redhat.com>
29624 Add array_length and array_end macros.
29625 * include/array_length.h: New file.
29627 2017-11-02 Florian Weimer <fweimer@redhat.com>
29630 * posix/tst-glob-tilde.c (do_noescape): New variable.
29631 (one_test): Process it.
29632 (do_test): Set do_noescape. Add unescaping test case.
29634 2017-11-01 Joseph Myers <joseph@codesourcery.com>
29637 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29638 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29639 with appropriate macros defined and undefined.
29640 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29641 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29642 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29643 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29644 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29645 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29646 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29647 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29648 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29649 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29652 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29653 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29654 that for long double. Do not condition define and undefine of
29655 _Mdouble_complex_ on [__CFLOAT128].
29657 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29659 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29660 of <sysdeps/generic/sysdep.h>.
29661 (ALIGNARG): Removed.
29662 (ASM_SIZE_DIRECTIVE): Likewise.
29665 (ENTRY_CHK): Likewise.
29666 (END_CHK): Likewise.
29667 (syscall_error): Likewise.
29668 (mcount): Likewise.
29669 (PSEUDO_END): Likewise.
29671 (atom_text_section): Likewise.
29672 * sysdeps/x86/sysdep.h: New file.
29673 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29674 of <sysdeps/generic/sysdep.h>.
29675 (ALIGNARG): Removed.
29676 (ASM_SIZE_DIRECTIVE): Likewise.
29679 (ENTRY_CHK): Likewise.
29680 (END_CHK): Likewise.
29681 (syscall_error): Likewise.
29682 (mcount): Likewise.
29683 (PSEUDO_END): Likewise.
29685 (atom_text_section): Likewise.
29687 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
29689 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29690 category of LC_CTYPE set to "i18n:2012".
29691 * localedata/locales/i18n_ctype: Regenerate.
29693 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
29695 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29696 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29697 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29698 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29700 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29701 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29702 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29703 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29705 2017-10-31 Joseph Myers <joseph@codesourcery.com>
29708 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29710 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29712 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29714 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29715 (CMPLXF32X): Likewise.
29716 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29717 (CMPLXF64X): Likewise.
29718 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29719 (CMPLXF128X): Likewise.
29722 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29723 (__MATH_EVAL_FMT2): Define to add 0.0f.
29725 2017-10-31 Alan Modra <amodra@gmail.com>
29727 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29743 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29744 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29745 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29746 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29747 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29748 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29749 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29750 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29751 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29752 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29753 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29754 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29755 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29756 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29757 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29758 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29759 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29760 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29761 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29762 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29763 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29764 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29765 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29766 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29767 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29768 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29769 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29770 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29771 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29772 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29773 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29774 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29775 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29776 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29777 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29778 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29779 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29780 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29781 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29782 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29783 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29784 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29785 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29786 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29787 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29788 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29789 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29790 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29791 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29792 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29793 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29794 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29795 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29796 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29797 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29800 include sysdep.h and math_ldbl_opt.h.
29802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29803 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29829 2017-10-31 Alan Modra <amodra@gmail.com>
29831 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29832 string/strncase_l.c, not string/strncase.c.
29833 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29834 (libc_hidden_def): Redefine.
29836 2017-10-31 Alan Modra <amodra@gmail.com>
29838 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29839 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29840 (__strcasecmp): Don't define.
29842 2017-10-31 Alan Modra <amodra@gmail.com>
29844 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29846 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29847 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29848 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29850 2017-10-31 Alan Modra <amodra@gmail.com>
29852 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29855 2017-10-31 Alan Modra <amodra@gmail.com>
29857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29858 Redefine only when SHARED.
29860 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29862 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29863 Include <bits/math-finite.h> with appropriate macros defined and
29865 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29866 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29867 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29868 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29869 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29871 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29872 [!_Mlong_double_] (_Mlong_double_): Likewise.
29873 [!_Mfloat16_] (_Mfloat16_): Likewise.
29874 [!_Mfloat32_] (_Mfloat32_): Likewise.
29875 [!_Mfloat64_] (_Mfloat64_): Likewise.
29876 [!_Mfloat128_] (_Mfloat128_): Likewise.
29877 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29878 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29879 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29880 (_Mdouble_): Define without indirection through those macros.
29881 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29882 [!_Mfloat128_] (_Mfloat128_): Likewise.
29883 [_Mlong_double_] (_Mlong_double_): Likewise.
29884 (_Mdouble_): Define without indirection through those macros.
29885 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29886 not add -D_Mlong_double_=double.
29887 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29888 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29890 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29892 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29894 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29896 * sysdeps/x86/libc-start.c: Reformat.
29898 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29901 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29902 (1): Renamed to ...
29905 (L(Src2)): Likewise.
29906 (L(1)): Renamed to ...
29909 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29911 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29912 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29913 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29914 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29915 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29916 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29917 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29918 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29919 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29920 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29921 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29922 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29923 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29924 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29925 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29926 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29927 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29928 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29929 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29930 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29931 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29932 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29933 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29934 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29935 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29936 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29937 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29938 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29939 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29940 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29941 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29942 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29943 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29944 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29945 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29946 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29947 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29948 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29949 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29950 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29951 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29952 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29953 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29954 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29955 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29956 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29957 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29958 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29959 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29960 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29961 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29962 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29963 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29964 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29965 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29966 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29967 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29968 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29969 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29970 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29971 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29972 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29973 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29974 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29975 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29976 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29978 2017-10-30 Florian Weimer <fweimer@redhat.com>
29980 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29982 * io/tst-mkdirat.c (do_test): Likewise.
29983 * io/tst-mkfifoat.c (do_test): Likewise.
29984 * io/tst-mknodat.c (do_test): Likewise.
29985 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29986 * locale/programs/locale.c (select_dirs): Likewise.
29987 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29988 * posix/bug-glob2.c (my_readdir): Likewise.
29989 * posix/tst-dir.c (main): Likewise.
29990 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29991 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29993 2017-10-30 Florian Weimer <fweimer@redhat.com>
29995 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29998 2017-10-30 Florian Weimer <fweimer@redhat.com>
30000 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
30001 Convert to support/test-driver.c.
30002 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
30003 New macro parameters.
30004 (PRINTF): Remove macro. Use test_verbose conditionals instead.
30005 * posix/tst-gnuglob.c: New file.
30006 * posix/tst-gnuglob64.c: Likewise.
30007 * posix/Makefile (tests): Add tst-gnuglob64.
30009 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
30012 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
30013 and use a better translation for March in “mon”.
30014 * localedata/locales/csb_PL: Use more ASCII to improve the
30015 readability of the source.
30017 2017-10-30 Mike FABIAN <mfabian@redhat.com>
30020 * localedata/locales/km_KH: Use ASCII as much
30021 as possible for better readability of the source and
30022 remove useless comments.
30023 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
30024 was commented out and apparently wrong anyway because it was
30025 using Lao characters. If Buddhist era should be used
30026 for km_KH, a native speaker should write the correct formaat
30028 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
30029 (According to CLDR, the first weekday for Cambodia is Sunday).
30030 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
30031 (These were using Lao characters which must be wrong. If we get
30032 the correct data from a native speaker, we could add it back, until
30033 then it is better not to have name_mr and name_mrs at all than
30036 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
30038 * locale/loadlocale.c: Correct size of
30039 _nl_value_type_LC_<category> arrays.
30041 2017-10-27 Joseph Myers <joseph@codesourcery.com>
30043 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
30044 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
30045 with appropriate macros defined and undefined.
30046 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
30047 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
30048 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
30049 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
30050 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
30052 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
30054 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
30057 2017-10-27 Mike FABIAN <mfabian@redhat.com>
30059 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
30060 with lowercase letters to make it agree with CLDR.
30062 2017-10-27 Mike FABIAN <mfabian@redhat.com>
30065 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
30066 first letters of yesstr and nostr in yesexpr and noexpr,
30067 not for the full words.
30068 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
30069 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
30070 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
30071 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
30072 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
30073 first letters of yesstr and nostr in yesexpr and noexpr,
30074 until now only English was matched in yesexpr and noexpr.
30075 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
30076 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
30077 fil but not for tl. As tl and fil are very similar, using fil
30078 is probably better than using English.
30080 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
30083 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
30084 in yesstr and nostr.
30086 2017-10-26 Joseph Myers <joseph@codesourcery.com>
30088 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
30089 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
30090 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
30092 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
30094 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
30096 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
30098 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30099 (SNANF128X): Likewise.
30101 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
30102 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
30103 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30104 (HUGE_VAL_F32): Likewise.
30105 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30106 (HUGE_VAL_F64): Likewise.
30107 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30108 (HUGE_VAL_F32X): Likewise.
30109 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30110 (HUGE_VAL_F64X): Likewise.
30111 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30112 (HUGE_VAL_F128X): Likewise.
30114 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
30116 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
30117 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
30118 for the br_FR locale.
30120 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
30123 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
30125 2017-10-25 Carlos O'Donell <carlos@redhat.com>
30127 * locale/programs/record-status.h: Define globals, and function
30128 prototypes. Move function bodies...
30129 * locale/programs/record-status.c: ... to here. New file.
30130 * iconv/Makefile (iconv_prog-modules): Add record-status.
30131 * locale/Makefile (lib-modules): Likewise.
30132 * iconv/iconv_prog.c: Remove verbose.
30133 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
30134 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
30135 record a warning about ASCII compatibility.
30136 * locale/programs/ld-monetary.c (monetary_finish): If
30137 warn_int_curr_symbol is true then record a warning about the symbol
30138 not being in our ISO 4217 list.
30139 * locale/programs/locale.c: Include record-status.h. Remove verbose.
30140 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
30141 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
30142 (OPT_NO_WARN): Define.
30143 (OPT_WARN): Define.
30144 (options): Add entry for --no-warnings, and --warnings.
30145 (set_warnings): New function to enable/disable warnings.
30146 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
30147 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
30148 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
30149 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
30150 Pass flags to generate_locale.
30151 (generate_locale): Accept new flag argument and pass it to localedef
30153 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
30154 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
30156 * localedata/Makefile (test-input-data): Use full file name.
30157 * localedata/da_DK.in: Rename to...
30158 * localedata/da_DK.ISO-8859-1.in: ...this.
30159 * localedata/de_DE.in: Rename to...
30160 * localedata/de_DE.ISO-8859-1.in: ...this.
30161 * localedata/en_US.in: Rename to...
30162 * localedata/en_US.ISO-8859-1.in: ...this.
30163 * localedata/fr_FR.in: Rename to...
30164 * localedata/fr_FR.UTF-8.in: ... this.
30165 * localedata/hr_HR.in: Rename to...
30166 * localedata/hr_HR.ISO-8859-2.in: ...this.
30167 * localedata/hu_HU.in: Rename to...
30168 * localedata/hu_HU.UTF-8.in: ...this.
30169 * localedata/si_LK.in: Rename to...
30170 * localedata/si_LK.UTF-8.in: ...this.
30171 * localedata/sv_SE.in: Rename to...
30172 * localedata/sv_SE.ISO-8859-1.in: ...this.
30173 * localedata/tr_TR.in: Rename to...
30174 * localedata/tr_TR.UTF-8.in: ...this.
30175 * localedata/uk_UA.in: Rename to...
30176 * localedata/uk_UA.UTF-8.in: ...this.
30177 * localedata/sort-test.sh: Test file is locale name with the
30180 * localedata/unicode-gen/Makefile (check_i18n): Rename to
30181 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
30183 * localedata/locales/i18n_ctype: Regenerate.
30184 * localedata/locales/tr_TR: Likewise.
30185 * localedata/locales/translit_circle: Likewise.
30186 * localedata/locales/translit_cjk_compat: Likewise.
30187 * localedata/locales/translit_combining: Likewise.
30188 * localedata/locales/translit_compat: Likewise.
30189 * localedata/locales/translit_font: Likewise.
30190 * localedata/locales/translit_fraction: Likewise.
30192 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30194 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
30195 lxvd2x/stxvd2x with lvx/stvx.
30196 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
30198 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
30200 * include/alloc_buffer.h: Replace "if if " with "if " in
30202 * sysdeps/mips/memcpy.S: Likkewise.
30203 * sysdeps/mips/memset.S: Likewise.
30204 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30206 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
30208 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
30211 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30214 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
30215 yesexpr and noexpr.
30216 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
30217 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
30218 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
30219 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
30220 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
30221 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
30222 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
30224 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30226 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
30227 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
30228 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
30229 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
30230 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
30231 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
30232 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
30233 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
30234 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
30235 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
30236 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
30237 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
30239 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30241 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
30242 as possible for better readability of the source.
30243 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
30244 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
30245 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
30246 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
30247 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
30248 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
30249 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
30250 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
30251 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
30252 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
30253 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
30254 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
30255 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
30256 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
30257 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
30258 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
30259 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
30260 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
30261 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
30262 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
30263 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
30264 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
30265 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
30266 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
30267 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
30268 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
30269 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
30270 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
30271 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
30272 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
30273 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
30274 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
30275 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
30276 * localedata/locales/en_US (LC_MESSAGES): Likewise.
30277 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
30278 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
30279 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
30280 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
30281 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
30282 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
30283 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
30284 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
30285 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
30286 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
30287 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
30288 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
30289 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
30290 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
30291 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
30292 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
30293 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
30294 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
30295 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
30296 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
30297 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
30298 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
30299 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
30300 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
30301 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
30302 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
30303 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
30304 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
30305 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
30306 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
30307 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
30308 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
30309 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
30310 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
30311 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
30312 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
30313 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
30314 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
30315 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
30316 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
30317 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
30318 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
30319 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
30320 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
30321 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
30322 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
30323 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
30324 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
30325 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
30326 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
30327 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
30328 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
30329 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
30330 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
30331 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
30332 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
30333 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
30334 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
30335 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
30336 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
30337 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
30338 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
30339 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
30340 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
30341 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
30342 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
30343 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
30344 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
30345 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
30346 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
30347 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
30348 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
30349 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
30350 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
30351 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
30352 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
30353 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
30354 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
30355 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
30356 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
30357 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
30358 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
30359 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
30360 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
30361 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
30362 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
30363 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
30364 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
30365 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
30366 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
30367 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
30368 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
30369 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
30370 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
30371 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
30372 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
30373 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
30374 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
30375 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
30376 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
30377 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
30378 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
30379 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
30380 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
30381 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
30382 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
30383 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
30384 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
30385 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
30386 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
30387 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
30388 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
30389 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
30390 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
30391 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
30392 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
30393 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
30394 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
30395 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
30396 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
30397 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
30398 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
30399 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
30400 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
30401 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
30402 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
30403 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
30404 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
30405 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
30406 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
30407 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
30408 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
30409 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
30410 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
30411 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
30412 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
30413 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
30414 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
30415 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
30416 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
30418 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30420 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
30421 (Use first letters of yesstr and nostr correctly instead of using
30424 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30426 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
30427 (Use first letters of yesstr and nostr correctly).
30429 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30431 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
30432 also check for the first characters of yesstr and nostr.
30433 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
30434 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
30436 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30438 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
30439 also check for Chinese characters.
30441 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30443 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
30444 match also for the contents of yesstr and nostr. As the first letter
30445 of yesstr and nostr is equal, checking only for the first letter
30448 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30450 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
30451 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
30453 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30455 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
30456 of main contributor.
30458 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30460 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
30461 instead of using English.
30463 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30465 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
30466 by including the first letters of nostr and yesexpr in the regexp.
30467 Also make it more readable by using ASCII where possible.
30469 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30471 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
30472 the first letter of nostr in the regexp. It agrees with CLDR now.
30473 Also make it more readable by using ASCII where possible.
30475 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30477 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
30478 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
30479 these strings contain a U+17D6 (which somewhat looks like a colon)
30480 instead of a real colon to separate the full words for “yes”
30481 and “no” from the single letter responses.
30483 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30485 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
30486 it agree with CLDR (include the first letter of yesstr).
30487 Also make it more readable by using ASCII where possible.
30489 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30491 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
30492 and improve yesexpr and noexpr. The yesstr and nostr apparently
30493 came from CLDR. And CLDR has a bug there: these strings contain
30494 a U+0903 (which looks like a colon) instead of a real colon
30495 to separate the full words for “yes” and “no” from the single
30498 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30500 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
30501 letters of the full yesstr and nostr in yesexpr and noexpr.
30503 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30505 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
30506 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
30507 * localedata/locales/an_ES: Make source more readable by using ASCII
30510 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30513 * localedata/locales/yuw_PG: New file.
30514 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
30515 * locale/iso-639.def: Add Yau (Uruwa).
30517 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30519 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
30521 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30523 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
30524 (__libc_realloc): Likewise.
30525 (_mid_memalign): Likewise.
30526 (__libc_calloc): Likewise.
30528 2017-10-23 Mike FABIAN <mfabian@redhat.com>
30530 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
30531 by adding the generic +1 and -0 as in all other locales.
30532 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
30533 day names and make it more readable by using ASCII where possible.
30535 2017-10-24 Joseph Myers <joseph@codesourcery.com>
30537 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
30538 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
30540 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30542 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
30543 WNOHANG in waitpid call.
30545 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
30547 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30548 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30550 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30551 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30552 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30553 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30554 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30555 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30556 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30557 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30560 2017-10-23 Michael Collison <michael.collison@arm.com>
30562 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30563 with __builtin_sqrt.
30564 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30565 with __builtin_sqrtf.
30566 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30567 with __builtin_ceil.
30568 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30569 with __builtin_ceilf.
30570 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30571 with __builtin_floor.
30572 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30573 with __builtin_floorf.
30574 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30575 with __builtin_fma.
30576 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30577 with __builtin_fmaf.
30578 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30579 with __builtin_fmax.
30580 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30581 with __builtin_fmaxf.
30582 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30583 with __builtin_fmin.
30584 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30585 with __builtin_fminf.
30586 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30587 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30588 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30589 with builtin_rint and conversion to int.
30590 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30591 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30592 with builtin_llround.
30593 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30594 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30595 with builtin_rint and conversion to long int.
30596 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30597 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30598 with builtin_lround.
30599 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30600 with builtin_lroundf.
30601 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30602 statements with __builtin_nearbyint.
30603 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30604 statements with __builtin_nearbyintf.
30605 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30606 with __builtin_rint.
30607 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30608 with __builtin_rintf.
30609 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30610 with __builtin_round.
30611 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30612 with __builtin_roundf.
30613 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30614 with __builtin_trunc.
30615 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30616 with __builtin_truncf.
30617 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30618 and s_l[l]round[f].c too.
30620 2017-10-23 Alan Modra <amodra@gmail.com>
30622 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30623 Adjust stack after restoring regs. Add missing LR cfi_restore.
30625 2017-10-23 Alan Modra <amodra@gmail.com>
30627 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30628 Move LR save and frame setup/teardown and LR restore to
30629 immediately around memset call. Provide cfi.
30631 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30633 * sysdeps/i386/fpu/e_powf.S: Removed.
30634 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30635 * sysdeps/i386/fpu/w_powf.c: Likewise.
30636 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30637 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30638 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30640 (CFLAGS-e_powf-sse2.c): New.
30641 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30642 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30644 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30646 * sysdeps/i386/fpu/e_log2f.S: Removed.
30647 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30648 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30649 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30650 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30651 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30653 (CFLAGS-e_log2f-sse2.c): New.
30654 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30655 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30657 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30659 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30661 (CFLAGS-e_powf-fma.c): New.
30662 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30663 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30665 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30667 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30669 (CFLAGS-e_log2f-fma.c): New.
30670 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30671 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30673 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30675 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30677 (CFLAGS-e_logf-fma.c): New.
30678 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30679 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30681 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30683 * sysdeps/i386/fpu/e_logf.S: Removed.
30684 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30685 * sysdeps/i386/fpu/w_logf.c: Likewise.
30686 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30687 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30688 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30689 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30691 (CFLAGS-e_logf-sse2.c): New.
30692 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30693 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30695 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30697 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30698 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30699 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30700 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30701 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30703 (CFLAGS-e_exp2f-sse2.c): New.
30704 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30705 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30707 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30709 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30711 (CFLAGS-e_exp2f-fma.c): New.
30712 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30713 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30715 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30717 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30718 * sysdeps/i386/fpu/e_expf.S: Likewise.
30719 * sysdeps/i386/fpu/math_errf.c: Likewise.
30720 * sysdeps/i386/fpu/w_expf.c: Likewise.
30721 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30722 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30723 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30724 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30725 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30726 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30727 Remove e_expf-ia32.
30728 (CFLAGS-e_expf-sse2.c): New.
30729 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30730 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30732 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30734 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30735 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30736 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30737 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30739 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30741 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30742 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30744 (__redirect_expf): This.
30745 (SYMBOL_NAME): Changed to expf.
30746 (__ieee754_expf): Renamed to ...
30748 (__GI___expf): This.
30749 (__ieee754_expf): Add strong_alias.
30750 (__expf_finite): Likewise.
30752 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30754 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
30757 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30760 2017-10-21 Florian Weimer <fweimer@redhat.com>
30762 * posix/Makefile (tests): Add tst-glob-tilde.
30763 (tests-special): Add tst-glob-tilde-mem.out
30764 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30765 (tst-glob-tilde-mem.out): Add mtrace check.
30766 * posix/tst-glob-tilde.c: New file.
30768 2017-10-20 Joseph Myers <joseph@codesourcery.com>
30770 * bits/floatn-common.h: New file.
30771 * math/Makefile (headers): Add bits/floatn-common.h.
30772 * bits/floatn.h: Include <bits/floatn-common.h>.
30773 * sysdeps/ia64/bits/floatn.h: Likewise.
30774 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30775 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30776 * sysdeps/powerpc/bits/floatn.h: Likewise.
30777 * sysdeps/x86/bits/floatn.h: Likewise.
30779 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30781 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30782 indicates whether compiler emits an warning for alias for
30783 functions with incompatible types.
30786 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30787 the auxiliary process is terminated by a signal before calling _exit
30790 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30793 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30795 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30796 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30797 and bit_arch_XSAVEC_Usable if needed.
30798 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30799 and bit_arch_Use_dl_runtime_resolve_opt.
30800 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30802 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30803 (bit_arch_Prefer_No_AVX512): Updated.
30804 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30805 (bit_arch_XSAVEC_Usable): New.
30806 (STATE_SAVE_OFFSET): Likewise.
30807 (STATE_SAVE_MASK): Likewise.
30808 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30809 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30810 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30811 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30812 (index_arch_XSAVEC_Usable): New.
30813 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30814 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30815 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30817 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30818 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30819 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30820 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30821 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30822 _dl_runtime_resolve_xsavec.
30823 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30825 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30826 instead of VEC_SIZE.
30827 (REGISTER_SAVE_BND0): Removed.
30828 (REGISTER_SAVE_BND1): Likewise.
30829 (REGISTER_SAVE_BND3): Likewise.
30830 (REGISTER_SAVE_RAX): Always defined to 0.
30832 (_dl_runtime_resolve_avx): Likewise.
30833 (_dl_runtime_resolve_avx_slow): Likewise.
30834 (_dl_runtime_resolve_avx_opt): Likewise.
30835 (_dl_runtime_resolve_avx512): Likewise.
30836 (_dl_runtime_resolve_avx512_opt): Likewise.
30837 (_dl_runtime_resolve_sse): Likewise.
30838 (_dl_runtime_resolve_sse_vex): Likewise.
30840 (_dl_runtime_resolve_fxsave): Likewise.
30841 (USE_XSAVE): Likewise.
30842 (_dl_runtime_resolve_xsave): Likewise.
30843 (USE_XSAVEC): Likewise.
30844 (_dl_runtime_resolve_xsavec): Likewise.
30845 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30847 (_dl_runtime_resolve_avx512_opt): Likewise.
30848 (_dl_runtime_resolve_avx): Likewise.
30849 (_dl_runtime_resolve_avx_opt): Likewise.
30850 (_dl_runtime_resolve_sse): Likewise.
30851 (_dl_runtime_resolve_sse_vex): Likewise.
30852 (_dl_runtime_resolve_fxsave): New.
30853 (_dl_runtime_resolve_xsave): Likewise.
30854 (_dl_runtime_resolve_xsavec): Likewise.
30856 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
30860 * posix/glob.c (__glob): Fix one-byte overflow.
30862 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30864 * malloc/malloc.c (sysdep-cancel.h): Add include.
30866 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30868 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30870 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30872 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30873 (tests): Remove $(objpfx)ga_test depdendency.
30874 * resolv/ga_test.c: Remove file.
30876 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30879 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30880 * localedata/locales/kab_DZ: New file.
30882 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30884 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30885 _dl_relocate_static_pie instead of _dl_start to compute load
30886 address in static PIE.
30888 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30890 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30892 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30895 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30896 * localedata/locales/shn_MM: New file.
30898 2017-10-20 Florian Weimer <fweimer@redhat.com>
30901 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30902 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30903 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30904 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30905 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30906 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30908 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30910 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30912 2017-10-19 Joseph Myers <joseph@codesourcery.com>
30914 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30917 * sysdeps/mips/bits/long-double.h: Move to ....
30918 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30920 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30922 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30924 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30925 H.J. Lu <hongjiu.lu@intel.com>
30928 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30929 GLRO(dl_platform) to NULL.
30930 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30931 (modules-names): Add tst-platformmod-1 and
30932 x86_64/tst-platformmod-2.
30933 (CFLAGS-tst-platform-1.c): New.
30934 (CFLAGS-tst-platformmod-1.c): Likewise.
30935 (CFLAGS-tst-platformmod-2.c): Likewise.
30936 (LDFLAGS-tst-platformmod-2.so): Likewise.
30937 ($(objpfx)tst-platform-1): Likewise.
30938 ($(objpfx)tst-platform-1.out): Likewise.
30939 (tst-platform-1-ENV): Likewise.
30940 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30941 * sysdeps/x86_64/tst-platform-1.c: New file.
30942 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30943 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30945 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30948 * locale/iso-639.def: Add Karbi.
30949 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30950 * localedata/locales/mjw_IN: New file.
30952 2017-10-18 Joseph Myers <joseph@codesourcery.com>
30954 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30955 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30956 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30957 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30958 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30959 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30960 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30962 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30963 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30964 * manual/math.texi (Mathematics): Document additional architecture
30965 support for _Float128.
30966 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30967 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30968 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30969 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30970 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30971 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30972 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30973 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30974 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30975 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30976 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30977 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30978 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30979 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30980 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30982 2017-10-18 Renlin Li <renlin.li@arm.com>
30984 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30985 _DYNAMIC symbol to calculate load address.
30987 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
30989 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30990 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30992 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30993 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30995 2017-10-18 Mike FABIAN <mfabian@redhat.com>
30998 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30999 and improve readability by using more ASCII.
31000 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
31001 and improve readability by using more ASCII.
31003 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
31005 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
31006 not all targets support atomics on bool.
31008 2017-10-17 Joseph Myers <joseph@codesourcery.com>
31010 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
31011 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
31013 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
31014 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
31015 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
31016 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
31017 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
31018 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
31020 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31022 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
31025 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
31028 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
31029 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
31030 (do_check_remalloced_chunk): Fix build bug.
31031 (do_check_malloc_state): Add assert that checks arena->top.
31032 (malloc_consolidate): Remove initialization.
31033 (int_mallinfo): Remove call to malloc_consolidate.
31034 (__libc_mallopt): Clarify why malloc_consolidate is needed.
31036 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
31038 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
31039 (have_fastchunks): Remove.
31040 (clear_fastchunks): Remove.
31041 (set_fastchunks): Remove.
31042 (malloc_state): Add have_fastchunks.
31043 (malloc_init_state): Use have_fastchunks.
31044 (do_check_malloc_state): Remove incorrect invariant checks.
31045 (_int_malloc): Use have_fastchunks.
31046 (_int_free): Likewise.
31047 (malloc_consolidate): Likewise.
31049 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
31051 * malloc/malloc.c (tcache_put): Inline.
31052 (tcache_get): Inline.
31054 2017-10-17 Jordi Mallach <jordi@gnu.org>
31056 Aurelien Jarno <aurelien@aurel32.net>
31058 * localedata/locales/ca_ES@valencia: New file.
31059 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
31061 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
31064 * math/math.h: Let signbit use the builtin in C++ mode with gcc
31067 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31069 * scripts/build-many-glibcs.py (Context.add_all_configs):
31070 Add arm-linux-gnueabihf multiarch extra_glibcs.
31072 * sysdeps/generic/ifunc-init.h: New file.
31073 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
31075 2017-10-17 Mike FABIAN <mfabian@redhat.com>
31078 * localedata/locales/el_GR: Set n_cs_precedes to 0.
31079 * localedata/locales/el_CY: copy "el_GR" because it is identical.
31080 * stdlib/tst-strfmon_l.c: adapt test case.
31082 2017-10-16 Joseph Myers <joseph@codesourcery.com>
31084 * sysdeps/generic/float128-abi.h: New file.
31085 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
31086 non-__prefixed symbols to ....
31087 * math/Versions: ... here. Include <float128-abi.h>.
31088 * stdlib/Versions ... and here. Include <float128-abi.h>
31090 2017-10-16 Florian Weimer <fweimer@redhat.com>
31092 * version.h (VERSION): Switch to ".9000" as the development
31095 2017-10-16 Florian Weimer <fweimer@redhat.com>
31098 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
31099 compat_symbol_reference to access non-default version.
31101 2017-10-16 Florian Weimer <fweimer@redhat.com>
31103 * malloc/Makefile (others-extras): Set to mcheck-init.o.
31105 2017-10-16 Carlos O'Donell <carlos@redhat.com>
31107 * include/shlib-compat.h (compat_symbol_reference): Update
31110 2017-10-16 Joseph Myers <joseph@codesourcery.com>
31112 * math/Makefile (test-types): Add
31113 $(type-float128-$(float128-alias-fcts)).
31114 * math/test-float128.h (TYPE_STR): Define conditional on
31115 [FLT128_MANT_DIG == LDBL_MANT_DIG].
31116 (ULP_IDX): Likewise.
31117 (ULP_I_IDX): Likewise.
31119 * stdlib/strtold.c: Include <bits/floatn.h>
31120 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
31121 and later undefine as macro. Define as weak alias if
31123 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
31124 and later undefine as macro. Define as weak alias if
31126 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
31127 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
31128 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
31129 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
31130 Define and later undefine as macro. Define as weak alias if
31132 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
31134 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
31135 Define and later undefine as macro. Define as weak alias if
31137 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
31138 Define and later undefine as macro. Define as weak alias if
31141 2017-10-15 Carlos O'Donell <carlos@redhat.com>
31143 * localedata/collate-test.c (allocate_arrays): Don't use \n in
31144 record_verbose messages.
31146 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
31149 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
31150 to silence -O3 -Wall warning with GCC 7.
31152 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
31154 * Makeconfig (+link-static-before-libc): Use the first of
31155 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
31156 * gmon/Makefile (tests): Add tst-gmon-static.
31157 (tests-static): Likewise.
31158 (CFLAGS-tst-gmon-static.c): New.
31159 (CRT-tst-gmon-static): Likewise.
31160 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
31161 (tst-gmon-static-ENV): Likewise.
31162 (tests-special): Likewise.
31163 ($(objpfx)tst-gmon-static.out): Likewise.
31164 (clean-tst-gmon-static-data): Likewise.
31165 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
31166 * gmon/tst-gmon-static-gprof.sh: New file.
31167 * gmon/tst-gmon-static.c: Likewise.
31169 2017-10-13 Carlos O'Donell <carlos@redhat.com>
31172 * locale/programs/linereader.c (get_string): Don't warn on
31173 non-symbolic character.
31176 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
31180 * locale/programs/record-status.h: New file
31181 * locale/programs/locale.c: Add comment.
31182 * locale/programs/charmap-dir.c: Don't include error.h.
31183 (charmap_opendir): Use record_error.
31184 * locale/programs/charmap.c: Don't include error.h.
31185 (charmap_read): Use record_error, and record_warning.
31186 (parse_charmap): Likewise.
31187 * locale/programs/ld-address.c: Don't include error.h.
31188 (address_finish): Use record_error, and record_warning.
31189 * locale/programs/ld-collate.c: Don't include error.h.
31190 (collate_finish): Use record_error, and record_error_at_line.
31191 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
31192 (ctype_class_new): Likewise.
31193 (ctype_map_new): Likewise.
31194 (set_one_default): Likewise.
31195 (set_class_defaults): Likewise.
31196 (translit_flatten): Likewise.
31197 (allocate_arrays): Use record_error, and record_verbose.
31198 * locale/programs/ld-identification.c: Don't include error.h.
31199 (indentation_finish): Use record_error and record_warning.
31200 * locale/programs/ld-measurement.c: Don't include error.h.
31201 (measurement_finish): Use record_error.
31202 * locale/programs/ld-messages.c
31203 (message_finish): Likewise.
31204 * locale/programs/ld-monetary.c
31205 (monetary_finish): Likewise.
31206 * locale/programs/ld-name.c (name_finish): Use record_error
31207 and record_warning.
31208 * locale/programs/ld-numeric.c
31209 (numeric_finish): Use record_error.
31210 * locale/programs/ld-paper.c: Don't include error.h.
31211 (paper_finish): Use record_error.
31212 * locale/programs/ld-telephone.c: Don't include error.h.
31213 (telephone_finish): Use record_error.
31214 * locale/programs/ld-time.c (time_finish): Likewise.
31215 * locale/programs/linereader.h (lr_error): Make inline func.
31216 * locale/programs/localedef.c: Define recorded_warning_count,
31217 and recorded_error_count.
31218 (main): Use record_error. Use recorded_error_count and
31219 recorded_warning_count to issue correct error returns.
31220 (add_to_readlist): Use record_error.
31221 (find_locale): Likewise.
31222 (load_locale): Likewise.
31223 * locale/programs/localedef.h: Remove be_quiet
31224 and WITH_CUR_LOCALE.
31225 * locale/programs/locarchive.c (compare_from_file): Use
31227 * locale/programs/locfile.c (write_locale_data): Use
31229 * locale/programs/repertoire.c: Dont include error.h.
31230 (repertoire_complain): Use record_error.
31231 * localedata/tst-fmon.sh: Expect failures from localedef.
31232 * localedata/tst-locale.sh: Likewise.
31233 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
31235 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
31236 (REPORTS): Likewise.
31238 (i18n): Rename to...
31239 (i18n_ctype): ...this.
31240 (i18n-report): Rename to...
31241 (i18n_ctype-report): ...this.
31242 * localedata/locales/i18n_ctype: Regenerate.
31243 * localedata/locales/i18n: copy i18n_ctype.
31245 2017-10-13 Joseph Myers <joseph@codesourcery.com>
31247 * stdlib/strfroml.c: Include <bits/floatn.h>.
31248 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
31249 Define before include of <stdlib.h> and undefine afterwards, then
31250 define as weak alias.
31252 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
31253 Undefine and restore default definition. Use
31254 libm_alias_ldouble_other.
31256 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
31259 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
31262 2017-10-13 James Clarke <jrtc27@jrtc27.com>
31264 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31265 Assign sym_map to be map for local symbols, as TLS relocations
31266 use sym_map to determine whether the symbol is defined and to
31267 extract the TLS information.
31268 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31269 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31271 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31274 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
31275 (math_force_eval): Add powerpc version.
31278 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
31280 (do_test): Likewise.
31281 * stdio-common/tst-printf.sh: Likewise.
31282 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
31283 ifdef clause in order to set the carry bit right. Replace r0 by
31284 0 without changing the behavior.
31286 2017-10-13 Joseph Myers <joseph@codesourcery.com>
31288 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
31289 <libm-alias-ldouble.h>.
31290 (fabsl): Define using libm_alias_ldouble.
31291 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
31292 <libm-alias-ldouble.h>.
31293 (fabsl): Define using libm_alias_ldouble.
31295 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
31296 Remove conditional code.
31298 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
31299 Rename to __clog10_internal_l.
31300 (__clog10_internal_l): Define aliases using
31301 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
31304 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31306 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
31307 * benchtests/sincosf-inputs: New file.
31308 * benchtests/cosf-inputs: New file.
31309 * benchtests/sinf-inputs: New file.
31311 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
31313 * posix/tst-spawn.c (do_test): Wait for both children.
31315 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
31318 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
31319 tests-pie): Add tst-gmon-pie.
31320 (CFLAGS-tst-gmon-pie.c): New.
31321 (CRT-tst-gmon-pie): Likewise.
31322 (tst-gmon-pie-ENV): Likewise.
31323 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
31324 ($(objpfx)tst-gmon-pie.out): Likewise.
31325 (clean-tst-gmon-pie-data): Likewise.
31326 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
31327 * gmon/gmon.c [PIC]: Include <link.h>.
31328 [PIC] (callback): New function.
31329 (write_hist): Add an argument for load address. Subtract load
31331 (write_call_graph): Likewise.
31332 (write_gmon): Call __dl_iterate_phdr to get load address, pass
31333 it to write_hist and write_call_graph.
31334 * gmon/tst-gmon-pie.c: New file.
31336 2017-10-11 Joseph Myers <joseph@codesourcery.com>
31338 * math/Makefile (test-types-basic): New variable.
31339 (test-types): Likewise.
31340 (libm-test-support): Use $(test-types) instead of $(types).
31341 (libm-tests-base-normal): Likewise.
31342 (libm-tests-base-finite): Likewise.
31343 (libm-tests-base-inline): Likewise.
31344 (generated): Likewise.
31345 ($(objpfx)libm-test-support-$(t).c): Likewise.
31346 (libm-tests-for-type iterator): Likewise.
31347 (libm-test-support iterator): Likewise.
31348 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
31349 (ulp_idx): Use ULP_IDX.
31350 * math/test-ldouble.h: Include <float.h>.
31351 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
31352 (ULP_IDX): New macro.
31353 (ULP_I_IDX): Likewise.
31354 * math/test-double.h (ULP_IDX): Likewise.
31355 (ULP_I_IDX): Likewise.
31356 * math/test-float.h (ULP_IDX): Likewise.
31357 (ULP_I_IDX): Likewise.
31358 * math/test-float128.h (ULP_IDX): Likewise.
31359 (ULP_I_IDX): Likewise.
31361 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31363 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
31364 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31365 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31366 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
31367 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31368 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
31369 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
31370 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31371 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31372 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31373 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
31374 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31375 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31376 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31377 (SINGLE_THREAD_BY_GLOBAL): Define.
31378 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31380 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31382 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31384 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31386 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
31387 (SINGLE_THREAD_BY_GLOBAL): Likewise.
31388 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31391 2017-10-11 Andreas Schwab <schwab@suse.de>
31393 * nis/Makefile (aux): Remove.
31394 * nscd/Makefile (aux): Add nscd_hash.
31395 (nscd-modules): Likewise.
31396 ($(objpfx)nscd): Don't depend on libnsl.
31397 * nscd/nscd_hash.c: New file.
31398 * nscd/nscd_hash.h: Likewise.
31399 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
31400 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
31401 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
31402 instead of <nis/rpcsvc/nis.h>.
31403 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
31405 2017-10-11 Florian Weimer <fweimer@redhat.com>
31408 Avoid large NSS buffers with many addresses, aliases.
31409 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
31410 using dynarrays and struct alloc_buffer.
31411 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
31412 (tst-nss-files-hosts-multi): Link with -ldl.
31413 * nss/tst-nss-files-hosts-multi.c: New file.
31415 2017-10-11 Florian Weimer <fweimer@redhat.com>
31418 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
31419 scratch_buffer. Eliminate gotos.
31421 2017-10-11 Joseph Myers <joseph@codesourcery.com>
31423 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
31424 libm_alias_ldouble_other.
31425 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
31426 undefine and redefine.
31427 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31428 (exp10l): Do not define here.
31429 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
31430 (weak_alias): Undefine and redefine.
31431 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
31432 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31433 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
31434 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
31436 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
31437 [!__fma] (fma): Define using libm_alias_double.
31438 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
31439 [!__fmaf] (fmaf): Define using libm_alias_float.
31440 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
31441 (fmal): Define using libm_alias_ldouble.
31443 2017-10-10 Joseph Myers <joseph@codesourcery.com>
31445 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
31447 (libm_alias_double_other): Likewise.
31448 (libm_alias_double_r): Use libm_alias_double_other_r.
31449 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
31451 (libm_alias_float_other): Likewise.
31452 (libm_alias_float_r): Use libm_alias_float_other_r.
31453 * sysdeps/generic/libm-alias-float128.h
31454 (libm_alias_float128_other_r): New macro.
31455 (libm_alias_float128_other): Likewise.
31456 (libm_alias_float128_r): Use libm_alias_float128_other_r.
31457 * sysdeps/generic/libm-alias-ldouble.h
31458 (libm_alias_ldouble_other_r): New macro.
31459 (libm_alias_ldouble_other): Likewise.
31460 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31461 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
31462 (libm_alias_double_other_r): New macro.
31463 (libm_alias_double_other): Likewise.
31464 (libm_alias_double_r): Use libm_alias_double_other_r.
31465 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
31466 (libm_alias_ldouble_other_r): New macro.
31467 (libm_alias_ldouble_other): Likewise.
31468 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31469 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
31470 [!USE_AS_COMPAT]: Use libm_alias_double_other.
31471 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
31472 [!USE_AS_COMPAT]: Use libm_alias_float_other.
31473 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
31474 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
31475 * math/w_exp2f.c: Use libm_alias_float_other.
31476 * math/w_expf.c: Likewise.
31477 * math/w_log2f.c: Likewise.
31478 * math/w_logf.c: Likewise.
31479 * math/w_powf.c: Likewise.
31480 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
31481 [!__exp2f]: Use libm_alias_float_other.
31482 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
31483 [!__expf]: Use libm_alias_float_other.
31484 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
31485 [!__log2f]: Use libm_alias_float_other.
31486 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
31487 [!__logf]: Use libm_alias_float_other.
31488 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
31489 [!__powf]: Use libm_alias_float_other.
31491 2017-10-10 Florian Weimer <fweimer@redhat.com>
31493 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
31495 (_nss_files_gethostbyname3_r): Call it.
31497 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31499 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
31500 error. Remove default definition of declare_mgen_alias.
31501 [!declare_mgen_alias_r]: Likewise.
31502 * sysdeps/generic/math-type-macros-double.h
31503 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
31504 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
31505 (declare_mgen_alias_r): Likewise.
31506 * sysdeps/generic/math-type-macros-float128.h
31507 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31508 * sysdeps/generic/math-type-macros-ldouble.h
31509 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31510 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
31512 (declare_mgen_alias_r_s): Likewise.
31513 (declare_mgen_alias_r): Likewise.
31514 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
31515 (lgamma_r): Define using libm_alias_double_r.
31516 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
31517 (lgammaf_r): Define using libm_alias_float_r.
31518 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
31519 (lgammal_r): Define using libm_alias_ldouble_r.
31520 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
31521 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31523 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31525 * lib/glob.c (__glob_pattern_type): Remove now-spurious
31526 extern declaration.
31528 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31530 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
31532 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
31535 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
31536 [__cplusplus >= 201103] (__USE_ISOC99): Define.
31537 * math/Makefile (test-math-cxx11): New test.
31538 * math/test-math-cxx11.cc: New file.
31540 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
31542 * login/openpty.c (openpty): Close slave pty file descriptor on error.
31544 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
31545 call to allocate the slave pty file descriptor.
31547 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31549 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31550 [!__fma] (fma): Define using libm_alias_double.
31551 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31552 [!__fma] (fma): Define using libm_alias_double.
31554 * sysdeps/ieee754/float128/float128_private.h: Include
31555 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31556 (libm_alias_ldouble_r): Undefine and redefine.
31557 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31558 <libm-alias-ldouble.h>.
31559 (asinhl): Define using libm_alias_ldouble.
31560 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31561 <libm-alias-ldouble.h>.
31562 (atanl): Define using libm_alias_ldouble.
31563 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31564 <libm-alias-ldouble.h>.
31565 (cbrtl): Define using libm_alias_ldouble.
31566 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31567 <libm-alias-ldouble.h>.
31568 (ceill): Define using libm_alias_ldouble.
31569 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31570 <libm-alias-ldouble.h>.
31571 (copysignl): Define using libm_alias_ldouble.
31572 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31573 <libm-alias-ldouble.h>.
31574 (cosl): Define using libm_alias_ldouble.
31575 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31576 <libm-alias-ldouble.h>.
31577 (erfl): Define using libm_alias_ldouble.
31579 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31580 <libm-alias-ldouble.h>.
31581 (expm1l): Define using libm_alias_ldouble.
31582 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31583 <libm-alias-ldouble.h>.
31584 (fabsl): Define using libm_alias_ldouble.
31585 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31586 <libm-alias-ldouble.h>.
31587 (floorl): Define using libm_alias_ldouble.
31588 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31589 <libm-alias-ldouble.h>.
31590 (fmal): Define using libm_alias_ldouble.
31591 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31592 <libm-alias-ldouble.h>.
31593 (frexpl): Define using libm_alias_ldouble.
31594 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31595 libm_alias_ldouble.
31596 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31597 <libm-alias-ldouble.h>.
31598 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31599 libm_alias_ldouble.
31600 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31601 <libm-alias-ldouble.h>.
31602 (getpayloadl): Define using libm_alias_ldouble.
31603 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31604 <libm-alias-ldouble.h>.
31605 (llrintl): Define using libm_alias_ldouble.
31606 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31607 <libm-alias-ldouble.h>.
31608 (llroundl): Define using libm_alias_ldouble.
31609 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31610 <libm-alias-ldouble.h>.
31611 (logbl): Define using libm_alias_ldouble.
31612 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31613 <libm-alias-ldouble.h>.
31614 (lrintl): Define using libm_alias_ldouble.
31615 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31616 <libm-alias-ldouble.h>.
31617 (lroundl): Define using libm_alias_ldouble.
31618 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31619 <libm-alias-ldouble.h>.
31620 (modfl): Define using libm_alias_ldouble.
31621 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31622 <libm-alias-ldouble.h>.
31623 (nearbyintl): Define using libm_alias_ldouble.
31624 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31625 <libm-alias-ldouble.h>.
31626 (nextafterl): Define using libm_alias_ldouble.
31627 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31628 <libm-alias-ldouble.h>.
31629 (nextupl): Define using libm_alias_ldouble.
31630 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31631 <libm-alias-ldouble.h>.
31632 (remquol): Define using libm_alias_ldouble.
31633 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31634 <libm-alias-ldouble.h>.
31635 (rintl): Define using libm_alias_ldouble.
31636 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31637 <libm-alias-ldouble.h>.
31638 (roundevenl): Define using libm_alias_ldouble.
31639 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31640 <libm-alias-ldouble.h>.
31641 (roundl): Define using libm_alias_ldouble.
31642 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31643 using libm_alias_ldouble.
31644 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31645 <libm-alias-ldouble.h>.
31646 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31647 Define using libm_alias_ldouble.
31648 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31649 <libm-alias-ldouble.h>.
31650 (sincosl): Define using libm_alias_ldouble.
31651 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31652 <libm-alias-ldouble.h>.
31653 (sinl): Define using libm_alias_ldouble.
31654 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31655 <libm-alias-ldouble.h>.
31656 (tanhl): Define using libm_alias_ldouble.
31657 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31658 <libm-alias-ldouble.h>.
31659 (tanl): Define using libm_alias_ldouble.
31660 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31661 <libm-alias-ldouble.h>.
31662 (totalorderl): Define using libm_alias_ldouble.
31663 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31664 <libm-alias-ldouble.h>.
31665 (totalordermagl): Define using libm_alias_ldouble.
31666 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31667 <libm-alias-ldouble.h>.
31668 (truncl): Define using libm_alias_ldouble.
31669 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31670 libm_alias_ldouble.
31671 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31672 libm_alias_ldouble.
31673 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31674 <libm-alias-ldouble.h>.
31675 (weak_alias): Do not undefine and redefine.
31676 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31677 (copysignl): Define with long_double_symbol only if [IS_IN
31679 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31680 <libm-alias-ldouble.h>.
31681 (weak_alias): Do not undefine and redefine.
31682 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31683 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31684 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31685 <libm-alias-ldouble.h>.
31686 (weak_alias): Do not undefine and redefine.
31687 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31688 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31689 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31690 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31691 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31692 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31693 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31694 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31695 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31696 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31697 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31698 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31699 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31700 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31701 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31702 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31703 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31704 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31705 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31706 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31707 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31708 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31709 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31710 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31711 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31712 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31714 2017-10-06 Carlos O'Donell <carlos@redhat.com>
31717 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31718 (tcache_thread_freeres): Set tcache_shutting_down before
31719 freeing the tcache.
31720 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31721 * malloc/tst-malloc-tcache-leak.c: New file.
31723 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31725 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31726 back to powerpc32 file.
31727 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31728 (memrchr): Add __memrchr_power8 to ifunc list.
31729 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31730 extra bytes for unaligned inputs.
31732 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31734 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31735 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31736 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31737 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31738 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31740 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31742 * sysdeps/arm/libm-test-ulps: Update.
31744 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31745 <libm-alias-ldouble.h>.
31746 (asinhl): Define using libm_alias_ldouble.
31747 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31748 <libm-alias-ldouble.h>.
31749 (cbrtl): Define using libm_alias_ldouble.
31750 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31751 <libm-alias-ldouble.h>.
31752 (copysignl): Define using libm_alias_ldouble.
31753 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31754 <libm-alias-ldouble.h>.
31755 (cosl): Define using libm_alias_ldouble.
31756 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31757 <libm-alias-ldouble.h>.
31758 (erfl): Define using libm_alias_ldouble.
31760 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31761 <libm-alias-ldouble.h>.
31762 (fmal): Define using libm_alias_ldouble.
31763 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31764 <libm-alias-ldouble.h>.
31765 (frexpl): Define using libm_alias_ldouble.
31766 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31767 libm_alias_ldouble.
31768 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31769 <libm-alias-ldouble.h>.
31770 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31771 libm_alias_ldouble.
31772 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31773 <libm-alias-ldouble.h>.
31774 (getpayloadl): Define using libm_alias_ldouble.
31775 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31776 <libm-alias-ldouble.h>.
31777 (llrintl): Define using libm_alias_ldouble.
31778 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31779 <libm-alias-ldouble.h>.
31780 (llroundl): Define using libm_alias_ldouble.
31781 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31782 <libm-alias-ldouble.h>.
31783 (lrintl): Define using libm_alias_ldouble.
31784 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31785 <libm-alias-ldouble.h>.
31786 (lroundl): Define using libm_alias_ldouble.
31787 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31788 <libm-alias-ldouble.h>.
31789 (modfl): Define using libm_alias_ldouble.
31790 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31791 <libm-alias-ldouble.h>.
31792 (nextupl): Define using libm_alias_ldouble.
31793 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31794 <libm-alias-ldouble.h>.
31795 (remquol): Define using libm_alias_ldouble.
31796 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31797 <libm-alias-ldouble.h>.
31798 (roundevenl): Define using libm_alias_ldouble.
31799 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31800 <libm-alias-ldouble.h>.
31801 (roundl): Define using libm_alias_ldouble.
31802 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31803 using libm_alias_ldouble.
31804 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31805 <libm-alias-ldouble.h>.
31806 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31807 <libm-alias-ldouble.h>.
31808 (setpayloadsigl): Define using libm_alias_ldouble.
31809 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31810 <libm-alias-ldouble.h>.
31811 (sincosl): Define using libm_alias_ldouble.
31812 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31813 <libm-alias-ldouble.h>.
31814 (sinl): Define using libm_alias_ldouble.
31815 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31816 <libm-alias-ldouble.h>.
31817 (tanhl): Define using libm_alias_ldouble.
31818 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31819 <libm-alias-ldouble.h>.
31820 (tanl): Define using libm_alias_ldouble.
31821 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31822 <libm-alias-ldouble.h>.
31823 (totalorderl): Define using libm_alias_ldouble.
31824 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31825 <libm-alias-ldouble.h>.
31826 (totalordermagl): Define using libm_alias_ldouble.
31827 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31828 libm_alias_ldouble.
31829 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31830 libm_alias_ldouble.
31832 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31834 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31836 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31837 (__libc_ifunc_impl_list): Likewise.
31838 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31839 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31841 * benchtests/bench-memmove-walk.c: New file.
31842 * benchtests/Makefile (string-benchset): Add it.
31844 * benchtests/bench-memset-walk.c: New file.
31845 * benchtests/Makefile (string-benchset): Add it.
31847 * benchtests/bench-memcpy-walk.c: New file.
31848 * benchtests/Makefile (string-benchset): Add it.
31850 2017-10-05 Florian Weimer <fweimer@redhat.com>
31852 nscd: Eliminate compilation time dependency in the build output.
31853 * nscd/nscd_stat.c (STATDATA_VERSION)
31854 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31855 (STATDATA_VERSION_FULL): New macro definitions.
31856 (compilation): Remove.
31857 (struct statdata): Adjust version member.
31858 (send_stats): Set version from STATDATA_VERSION_FULL.
31859 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31861 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31863 * configure.ac (--enable-add-ons): Remove option.
31864 (machine): Do not mention add-ons in comment.
31865 (LIBC_PRECONFIGURE): Likewise.
31866 (add_ons): Remove variable and sanity checks and logic to locate
31868 (add_ons_automatic): Remove variable.
31869 (configured_add_ons): Likewise.
31870 (add_ons_sfx): Likewise.
31871 (add_ons_pfx): Likewise.
31872 (add_on_subdirs): Likewise.
31873 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31874 consideration of add-ons in Implies handling.
31875 (sysdeps_add_ons): Likewise.
31876 * configure: Regenerated.
31877 * libidn/configure.ac: Remove.
31878 * libidn/configure: Likewise.
31879 * sysdeps/unix/inet/configure.ac: New file.
31880 * sysdeps/unix/inet/configure: New generated file.
31881 * sysdeps/unix/inet/Subdirs: Add libidn.
31882 * Makeconfig (sysdeps-srcdirs): Remove variable.
31883 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31884 ($(common-objpfx)config.status): Do not depend on add-on files.
31885 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31887 (all-subdirs): Do not include $(add-on-subdirs).
31888 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31889 * config.make.in (add-ons): Remove variable.
31890 (add-on-subdirs): Likewise.
31891 (sysdeps-add-ons): Likewise.
31892 * manual/Makefile (add-chapters): Remove.
31893 ($(objpfx)texis): Do not depend on $(add-chapters).
31894 (nonexamples): Do not handle $(add-chapters).
31895 (examples): Do not handle $(add-ons).
31896 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31898 * manual/install.texi (Installation): Do not mention add-ons.
31899 (--enable-add-ons): Do not document configure option.
31900 * INSTALL: Regenerated.
31901 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31902 * manual/maint.texi (Hierarchy Conventions): Do not mention
31904 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31906 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31908 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31909 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31911 2017-10-05 Andreas Schwab <schwab@suse.de>
31914 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31915 (_IO_flush_all_lockp): Always lock list_all_lock.
31916 (_IO_flush_all_linebuffered): Likewise.
31917 (_IO_unbuffer_all): Likewise.
31919 2017-10-05 Florian Weimer <fweimer@redhat.com>
31922 Do not flush stdio streams on abort.
31923 * stdlib/abort.c (fflush): Remove macro definition.
31924 (abort): Remove stages related to stdio flushing.
31926 2017-10-05 Florian Weimer <fweimer@redhat.com>
31928 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31930 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31932 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31934 2017-10-05 Florian Weimer <fweimer@redhat.com>
31936 * support/support_format_hostent.c (support_format_hostent): Add
31937 more error information for NETDB_INTERNAL.
31939 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31941 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31942 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31943 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31944 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31945 AC_DEFINE if multi-arch is enabled.
31946 * sysdeps/i386/configure: Regenerated.
31948 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31950 * Makeconfig (+link-static-before-libc): Use
31951 $(DEFAULT-LDFLAGS-$(@F)).
31952 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31953 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31954 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31956 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31958 * elf/Makefile (tests): Add tst-main1.
31959 (modules-names): Add tst-main1mod.
31960 ($(objpfx)tst-main1): New.
31961 (CRT-tst-main1): Likewise.
31962 (LDFLAGS-tst-main1): Likewise.
31963 (LDLIBS-tst-main1): Likewise.
31964 (tst-main1mod.so-no-z-defs): Likewise.
31965 * elf/tst-main1.c: New file.
31966 * elf/tst-main1mod.c: Likewise.
31968 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31970 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31972 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31974 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31975 (fma): Define using libm_alias_double.
31976 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31977 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31979 (fmal): Do not define as compat symbol here.
31980 * sysdeps/alpha/fpu/s_fma.c: New file.
31982 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31984 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31986 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31989 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31991 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31993 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31994 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31995 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31996 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31998 Include <math_ldbl_opt.h>
31999 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
32001 (compat_symbol): Undefine and redefine.
32002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
32004 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
32005 (compat_symbol): Undefine and redefine.
32006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
32007 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
32008 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
32009 GLIBC_2_1 for libm.
32010 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
32011 GLIBC_2.0 copysignl symbol.
32012 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32013 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
32015 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
32017 2017-10-04 Florian Weimer <fweimer@redhat.com>
32019 * scripts/check-local-headers.sh: Ignore nspr4 header file
32020 directory in addition to nspr.
32022 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
32025 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
32026 * configure: Regenerate.
32027 * crypt/Makefile (nss-cpp-flags): New variable.
32028 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
32029 (CPPFLAGS-md5-crypt.c): Use it.
32030 * scripts/check-local-headers.sh: Ignore nspr header file
32033 2017-10-04 Andreas Schwab <schwab@suse.de>
32035 * nis/Makefile (services): Remove compat.
32036 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
32037 ($(objpfx)libnss_compat.so): Remove rule.
32038 * nis/Versions (libnss_compat): Remove.
32039 * nss/Makefile (services): Add compat.
32040 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
32041 * nss/Versions (libnss_compat): Define.
32042 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
32043 Don't include <rpc/types.h>. Replace bool_t by bool.
32044 * nss/nss_compat/compat-initgroups.c: Likewise.
32045 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
32046 instead of <rpcsrv/ypclnt.h>.
32047 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
32048 yp_get_default_domain.
32049 * nss/nss_compat/compat-pwd.c: Likewise.
32050 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
32051 yp_get_default_domain.
32052 * nss/nss_compat/nisdomain.c: New file.
32053 * nss/nss_compat/nisdomain.h: Likewise.
32055 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
32058 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
32059 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32061 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
32064 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
32065 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
32067 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32069 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
32070 "movl main@GOTOFF(%ebx), %eax".
32072 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32074 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
32075 allow undefined _DYNAMIC in PIE libc.a.
32076 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32079 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32081 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
32084 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32086 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
32089 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32091 * math/test-math-iscanonical.cc (error): Replace bool with int.
32093 2017-10-03 Joseph Myers <joseph@codesourcery.com>
32095 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
32096 (modf): Define using libm_alias_double, only if [!__modf].
32097 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
32098 <libm-alias-double.h>.
32099 (modf): Define using libm_alias_double, only if [!__modf].
32100 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
32101 compat symbol here.
32102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
32103 (weak_alias): Do not undefine and redefine.
32104 (strong_alias): Likewise.
32105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
32106 (weak_alias): Likewise.
32107 (strong_alias): Likewise.
32109 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
32110 (logb): Define using libm_alias_double, only if [!__logb].
32111 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
32112 <libm-alias-double.h>.
32113 (logb): Define using libm_alias_double, only if [!__logb].
32114 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
32115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
32116 (weak_alias): Do not undefine and redefine.
32117 (strong_alias): Likewise.
32118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
32119 (weak_alias): Likewise.
32120 (strong_alias): Likewise.
32122 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32124 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
32125 Check SHARED instead PIC.
32127 2017-10-03 Joseph Myers <joseph@codesourcery.com>
32129 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
32130 [!__fmaf] (fmaf): Define using libm_alias_float.
32132 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
32133 (frexp): Define using libm_alias_double.
32134 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
32135 <libm-alias-double.h>.
32136 (frexp): Define using libm_alias_double.
32137 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
32138 compat symbol here.
32140 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32143 * math/math.h: Trivial fix for unbalanced parentheses in comment.
32144 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
32145 (CFLAGS-test-math-iscanonical.cc): New variable.
32146 * math/test-math-iscanonical.cc: New file.
32147 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
32148 Provide a C++ implementation based on function overloading,
32149 rather than using __MATH_TG, which uses C-only builtins.
32150 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
32152 * sysdeps/powerpc/powerpc64le/Makefile
32153 (CFLAGS-test-math-iscanonical.cc): New variable.
32155 2017-10-03 Joseph Myers <joseph@codesourcery.com>
32157 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
32158 (ceil): Define using libm_alias_double.
32159 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
32160 (floor): Define using libm_alias_double.
32161 * sysdeps/ieee754/dbl-64/s_llround.c: Include
32162 <libm-alias-double.h>.
32163 (llround): Define using libm_alias_double.
32164 * sysdeps/ieee754/dbl-64/s_lround.c: Include
32165 <libm-alias-double.h>.
32166 (lround): Define using libm_alias_double.
32167 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
32168 <libm-alias-double.h>.
32169 (nearbyint): Define using libm_alias_double.
32170 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
32171 <libm-alias-double.h>.
32172 (remquo): Define using libm_alias_double.
32173 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
32174 (rint): Define using libm_alias_double.
32175 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
32176 (round): Define using libm_alias_double.
32177 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
32178 (trunc): Define using libm_alias_double.
32179 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
32180 <libm-alias-double.h>.
32181 (ceil): Define using libm_alias_double.
32182 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
32183 <libm-alias-double.h>.
32184 (floor): Define using libm_alias_double.
32185 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
32186 <libm-alias-double.h>.
32187 (llround): Define using libm_alias_double.
32188 [_LP64] (lround): Likewise.
32189 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
32190 <libm-alias-double.h>.
32191 [!_LP64] (lround): Define using libm_alias_double.
32192 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
32193 <libm-alias-double.h>.
32194 (nearbyint): Define using libm_alias_double.
32195 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
32196 <libm-alias-double.h>.
32197 (remquo): Define using libm_alias_double.
32198 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
32199 <libm-alias-double.h>.
32200 (rint): Define using libm_alias_double.
32201 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
32202 <libm-alias-double.h>.
32203 (round): Define using libm_alias_double.
32204 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
32205 <libm-alias-double.h>.
32206 (trunc): Define using libm_alias_double.
32207 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
32208 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
32209 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
32210 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
32211 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
32212 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
32213 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
32214 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
32215 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
32217 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
32219 * math/w_remainder.c: New file.
32220 * math/w_remainderf.c: New file.
32221 * math/w_remainderl.c: New file.
32223 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32225 * elf/rtld.c (BOOTSTRAP_MAP): New.
32226 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
32227 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
32229 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
32231 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
32234 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32236 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
32237 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
32238 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
32239 rtld_hidden_data_ver): Define to empty.
32240 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
32241 __assert_perror_fail): Likewise.
32242 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32243 (__rewinddir): Likewise.
32244 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32245 (__profile_frequency): Likewise.
32246 * include/setjmp.h (__sigsetjmp): Likewise.
32247 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
32248 __libc_sigaction): Likewise.
32249 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
32250 not set hidden attribute.
32251 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
32252 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
32253 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
32254 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
32255 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
32256 __fxstatat64): Likewise.
32257 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32258 (__uname): Likewise.
32259 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32260 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
32261 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
32262 (NO_RTLD_HIDDEN): Set.
32263 * sysdeps/mach/hurd/configure: Refresh.
32264 * config.h.in: Refresh.
32266 2017-10-02 Joseph Myers <joseph@codesourcery.com>
32268 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
32269 (atan): Define using libm_alias_double.
32270 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
32271 (tan): Define using libm_alias_double.
32272 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
32273 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
32275 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
32276 define as weak alias of __atan. Do not define any aliases if
32278 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
32279 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
32280 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
32281 as weak alias of __tan. Do not define any aliases if [__tan].
32282 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
32283 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
32284 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
32286 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
32287 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
32288 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
32289 and define as weak alias of __atan.
32290 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
32292 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
32293 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
32294 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
32295 define as weak alias of __tan.
32297 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32299 * math/w_lgamma.c: New file.
32300 * math/w_lgammaf.c: New file.
32301 * math/w_lgammal.c: New file.
32303 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32305 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
32306 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
32307 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
32308 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
32309 * sysdeps/ieee754/flt-32/w_logf.c: New file.
32310 * sysdeps/ieee754/flt-32/w_powf.c: New file.
32311 * sysdeps/i386/fpu/w_log2f.c: New file.
32312 * sysdeps/i386/fpu/w_logf.c: New file.
32313 * sysdeps/i386/fpu/w_powf.c: New file.
32314 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
32315 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
32316 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
32318 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32319 H.J. Lu <hongjiu.lu@intel.com>
32321 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
32322 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
32323 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
32324 * sysdeps/ieee754/flt-32/w_expf.c: New file.
32325 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
32327 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
32328 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
32329 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
32330 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
32331 * sysdeps/i386/fpu/w_exp2f.c: New file.
32332 * sysdeps/i386/fpu/w_expf.c: New file.
32333 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
32334 * sysdeps/x86_64/fpu/w_expf.c: New file.
32336 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32338 * math/Versions (logf): New libm symbol at GLIBC_2.27.
32341 * math/w_log2f.c: New file.
32342 * math/w_logf.c: New file.
32343 * math/w_powf.c: New file.
32344 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
32345 * math/w_logf_compat.c (__logf_compat): Likewise.
32346 * math/w_powf_compat.c (__powf_compat): Likewise.
32347 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
32348 * sysdeps/ia64/fpu/e_logf.S: Likewise.
32349 * sysdeps/ia64/fpu/e_powf.S: Likewise.
32350 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32351 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32352 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32353 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32354 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32355 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32356 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32357 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32358 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32359 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32360 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32361 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32370 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32371 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32372 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32373 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32374 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32379 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32380 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32381 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32383 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32385 * sysdeps/powerpc/powerpc64/multiarch/Makefile
32386 (sysdep_routines): Add memrchr_power8.
32387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32388 (memrchr): Add __memrchr_power8 to list of memrchr functions.
32389 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
32391 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
32392 (memrchr): Add __memrchr_power8 to ifunc list.
32393 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
32395 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32398 * sysdeps/unix/sysv/linux/posix_fadvise64.c
32399 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
32401 * sysdeps/unix/sysv/linux/posix_fallocate64.c
32402 (__posix_fallocate64_l64): Likewise.
32404 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32407 * sysdeps/unix/sysv/linux/sched_setaffinity.c
32408 (__sched_setaffinity_new): Add libc_hidden_proto and
32411 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32414 * include/glob.h (__glob64): Add libc_hidden_proto.
32415 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
32418 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32421 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
32424 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32427 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
32429 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32432 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
32435 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32438 * csu/version.c (__libc_print_version): Add attribute_hidden.
32440 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32443 * include/libc-internal.h (__init_misc): Add attribute_hidden.
32445 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32448 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
32450 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32453 * nscd/nscd_helper.c (__nis_hash): New prototype.
32455 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32458 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
32459 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
32461 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32462 * termios/tcgetattr.c (__tcgetattr): Likewise.
32464 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32467 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
32468 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
32469 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
32470 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
32471 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
32473 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32476 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
32478 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32481 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
32482 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
32484 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32487 * intl/hash-string.h (__hash_string): Add attribute_hidden.
32489 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32492 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
32493 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
32495 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32498 * include/ifreq.h: New file.
32499 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
32500 (__ifreq): Likewise.
32501 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
32502 (__ifreq): Likewise.
32504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32507 * include/idna.h: New file.
32508 * inet/getnameinfo.c: Include <idna.h> instead of
32510 (__idna_to_unicode_lzlz): Removed.
32511 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
32513 (__idna_to_ascii_lz): Removed.
32514 (__idna_to_unicode_lzlz): Likewise.
32516 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32519 * include/plural-exp.h: New file.
32520 * intl/plural-exp.c: Include <plural-exp.h> instead of
32523 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32526 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
32527 "getsourcefilter.h".
32528 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
32529 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
32530 "getsourcefilter.h".
32531 (__get_sol): Removed.
32533 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32536 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
32538 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
32540 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32543 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
32546 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32549 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32551 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32554 * include/search.h (__tdestroy): Add libc_hidden_proto.
32555 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32557 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32560 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32562 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32565 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32568 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32571 * include/signal.h (__kill): Add libc_hidden_proto.
32572 (__sigblock): Likewise.
32573 (__sigprocmask): Likewise.
32574 (__sigaltstack): Likewise.
32575 * signal/kill.c (__kill): Add libc_hidden_def.
32576 * signal/sigblock.c (__sigblock): Likewise.
32577 * signal/sigprocmask.c (__sigprocmask): Likewise.
32578 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32579 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32580 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32581 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32582 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32584 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32586 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32587 (__sigprocmask): Likewise.
32588 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32590 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32591 (__sigprocmask): Likewise.
32592 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32595 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32598 * include/string.h (__strsep): Add libc_hidden_proto.
32599 * string/strsep.c (__strsep): Add libc_hidden_def.
32601 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32604 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32606 (__spawni): Likewise.
32608 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32611 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32612 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32615 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32618 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32620 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32623 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32624 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32625 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32626 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32627 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32629 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32630 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32632 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32635 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32636 (__dcigettext): Likewise.
32638 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32641 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32643 (__get_nprocs): Likewise.
32644 (__get_phys_pages): Likewise.
32645 (__get_avphys_pages): Likewise.
32646 (__get_child_max): Add attribute_hidden.
32647 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32648 (__get_nprocs): Likewise.
32649 (__get_phys_pages): Likewise.
32650 (__get_avphys_pages): Likewise.
32651 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32653 (__get_nprocs): Likewise.
32654 (__get_phys_pages): Likewise.
32655 (__get_avphys_pages): Likewise.
32656 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32658 (__get_nprocs_conf): Likewise.
32659 (__get_phys_pages): Likewise.
32660 (__get_avphys_pages): Likewise.
32662 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32665 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32667 (__netlink_close): Likewise.
32668 (__netlink_free_handle): Likewise.
32669 (__netlink_request): Likewise.
32671 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32674 * include/rpc/rpc.h (__rpc_thread_variables): Add
32676 (__rpc_thread_svc_cleanup): Likewise.
32677 (__rpc_thread_clnt_cleanup): Likewise.
32678 (__rpc_thread_key_cleanup): Likewise.
32680 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32683 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32684 (__writev): Likewise.
32685 * misc/readv.c (__readv): Add libc_hidden_def.
32686 * misc/writev.c (__writev): Likewise.
32687 * sysdeps/posix/readv.c (__readv): Likewise.
32688 * sysdeps/posix/writev.c (__writev): Likewise.
32689 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32690 (__readv): Likewise.
32691 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32692 (__writev): Likewise.
32694 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32697 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32698 (__regcomp): Add libc_hidden_proto.
32699 (__regexec): Likewise.
32700 (__regfree): Likewise.
32701 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32702 (__regfree): Likewise.
32703 * posix/regexec.c (__regexec): Likewise.
32705 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32708 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32709 (__getutent): Likewise.
32710 (__getutid): Likewise.
32711 (__getutline): Likewise.
32712 (__pututline): Likewise.
32713 (__getutent_r): Likewise.
32714 (__getutid_r): Likewise.
32715 (__getutline_r): Likewise.
32716 (__utmpname): Add attribute_hidden.
32717 (__setutent): Likewise.
32718 (__endutent): Likewise.
32719 * login/getutent.c (__getutent): Add libc_hidden_def.
32720 * login/getutent_r.c (__getutent_r): Likewise.
32721 (__pututline): Likewise.
32722 * login/getutid.c (__getutid): Likewise.
32723 * login/getutid_r.c (__getutid_r): Likewise.
32724 * login/getutline.c (__getutline): Likewise.
32725 * login/getutline_r.c (__getutline_r): Likewise.
32726 * login/updwtmp.c (__updwtmp): Likewise.
32728 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32731 * include/dirent.h (__opendir): Always add attribute_hidden.
32732 (__fdopendir): Likewise.
32733 (__closedir): Likewise.
32734 (__readdir): Likewise.
32735 (__readdir64): Add libc_hidden_proto.
32736 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32737 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32738 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32739 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32742 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32745 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32746 * include/netdb.h (__gethostbyaddr_r): Likewise.
32747 (__gethostbyname_r): Likewise.
32748 (__gethostbyname2_r): Likewise.
32749 (__getnetbyaddr_r): Likewise.
32750 (__getnetbyname_r): Likewise.
32751 (__getservbyname_r): Likewise.
32752 (__getservbyport_r): Likewise.
32753 (__getprotobyname_r): Likewise.
32754 (__getprotobynumber_r): Likewise.
32755 (__getnetgrent_r): Likewise.
32756 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32757 (__getrpcbynumber_r): Likewise.
32758 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32760 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32763 * include/stdio.h (__fcloseall): Add attribute_hidden.
32764 (__getline): Likewise.
32765 (__path_search): Likewise.
32766 (__gen_tempname): Likewise.
32767 (__libc_message): Likewise.
32768 (__flockfile): Likewise.
32769 (__funlockfile): Likewise.
32770 (__fxprintf): Likewise.
32771 (__fxprintf_nocancel): Likewise.
32773 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32776 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32777 (__sgetsgent_r): Likewise.
32779 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32782 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32783 (__statfs64): Likewise.
32784 (__fstatfs64): Likewise.
32785 * include/sys/statvfs.h (__statvfs64): Likewise.
32786 (__fstatvfs64): Likewise.
32787 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32788 (__statfs_filesize_max): Likewise.
32789 (__statfs_symlinks): Likewise.
32790 (__statfs_chown_restricted): Likewise.
32792 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32795 * include/time.h (__tzstring): Add attribute_hidden.
32796 (__tzfile_read): Likewise.
32797 (__tzfile_compute): Likewise.
32798 (__tzfile_default): Likewise.
32799 (__tzset_parse_tz): Likewise.
32800 (__offtime): Likewise.
32801 (__asctime_r): Likewise.
32802 (__tzset): Likewise.
32803 (__tz_convert): Likewise.
32804 (__getdate_r): Likewise.
32805 (__getclktck): Likewise.
32807 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32810 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32811 (__nscd_unmap): Likewise.
32812 (__nscd_cache_search): Likewise.
32813 (__nscd_get_nl_timestamp): Likewise.
32814 (__nscd_getpwnam_r): Likewise.
32815 (__nscd_getpwuid_r): Likewise.
32816 (__nscd_getgrnam_r): Likewise.
32817 (__nscd_getgrgid_r): Likewise.
32818 (__nscd_gethostbyname_r): Likewise.
32819 (__nscd_gethostbyname2_r): Likewise.
32820 (__nscd_gethostbyaddr_r): Likewise.
32821 (__nscd_getai): Likewise.
32822 (__nscd_getgrouplist): Likewise.
32823 (__nscd_getservbyname_r): Likewise.
32824 (__nscd_getservbyport_r): Likewise.
32825 (__nscd_innetgr): Likewise.
32826 (__nscd_setnetgrent): Likewise.
32828 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32831 * include/gmp.h: Declare internal functions only if _ISOMAC is
32833 (__mpn_extract_double): Add attribute_hidden.
32834 (__mpn_extract_long_double): Likewise.
32835 (__mpn_extract_float128): Likewise.
32836 (__mpn_construct_float): Likewise.
32837 (__mpn_construct_double): Likewise.
32838 (__mpn_construct_long_double): Likewise.
32839 (__mpn_construct_float128): Likewise.
32840 (mpn_add_1): Likewise.
32841 (mpn_addmul_1): Likewise.
32842 (mpn_add_n): Likewise.
32843 (mpn_cmp): Likewise.
32844 (mpn_divrem): Likewise.
32845 (mpn_lshift): Likewise.
32846 (mpn_mul): Likewise.
32847 (mpn_mul_1): Likewise.
32848 (mpn_rshift): Likewise.
32849 (mpn_sub_1): Likewise.
32850 (mpn_submul_1): Likewise.
32851 (mpn_sub_n): Likewise.
32853 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32856 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32857 (__wcscat): Likewise.
32858 (__btowc): Likewise.
32859 (__wcrtomb): Likewise.
32860 (__mbsrtowcs): Likewise.
32861 (__wcsrtombs): Likewise.
32862 (__mbsnrtowcs): Likewise.
32863 (__wcsnrtombs): Likewise.
32864 (__wcsncpy): Likewise.
32865 (__wcpncpy): Likewise.
32866 (__wmemcpy): Likewise.
32867 (__wmempcpy): Likewise.
32868 (__wmemmove): Likewise.
32869 (__wcschrnul): Likewise.
32870 (__vfwscanf): Likewise.
32871 (__vswprintf): Likewise.
32872 (__fwprintf): Likewise.
32873 (__vfwprintf): Likewise.
32875 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32878 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32879 (__getgrgid_r): Likewise.
32880 (__getgrnam_r): Likewise.
32881 * include/pwd.h (__getpwuid_r): Likewise.
32882 (__getpwnam_r): Likewise.
32883 (__fgetpwent_r): Likewise.
32884 * include/shadow.h (__getspnam_r): Likewise.
32885 (__sgetspent_r): Likewise.
32886 (__fgetspent_r): Likewise.
32888 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32891 * include/unistd.h (__access): Add attribute_hidden.
32892 (__lseek64): Likewise.
32893 (__libc_pread64): Likewise.
32894 (__pipe2): Likewise.
32895 (__sleep): Likewise.
32896 (__chdir): Likewise.
32897 (__fchdir): Likewise.
32898 (__getcwd): Likewise.
32899 (__rmdir): Likewise.
32900 (__execvpe): Likewise.
32901 (__execve): Likewise.
32902 (__setsid): Likewise.
32903 (__getuid): Likewise.
32904 (__geteuid): Likewise.
32905 (__getgid): Likewise.
32906 (__getegid): Likewise.
32907 (__getgroups): Likewise.
32908 (__group_member): Likewise.
32909 (__ttyname_r): Likewise.
32910 (__isatty): Likewise.
32911 (__readlink): Likewise.
32912 (__unlink): Likewise.
32913 (__gethostname): Likewise.
32914 (__profil): Likewise.
32915 (__getdtablesize): Likewise.
32917 (__ftruncate): Likewise.
32918 (__ftruncate64): Likewise.
32920 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32923 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32924 * argp/argp-fs-xinl.c: Likewise.
32925 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32926 * argp/argp-parse.c: Include <argp.h>.
32927 * argp/argp-xinl.c: Likewise.
32928 * include/argp-fmtstream.h: New file.
32929 * include/argp.h (__argp_error): Add attribute_hidden.
32930 (__argp_failure): Likewise.
32931 (__argp_input): Likewise.
32932 (__argp_state_help): Likewise.
32934 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32937 * include/wchar.h (____wcstof_l_internal): New prototype.
32938 (____wcstod_l_internal): Likewise.
32939 (____wcstold_l_internal): Likewise.
32940 (____wcstol_l_internal): Likewise.
32941 (____wcstoul_l_internal): Likewise.
32942 (____wcstoll_l_internal): Likewise.
32943 (____wcstoull_l_internal): Likewise.
32944 (____wcstof128_l_internal): Likewise.
32945 * sysdeps/ieee754/float128/wcstof128.c
32946 (____wcstof128_l_internal): Removed.
32947 * sysdeps/ieee754/float128/wcstof128_l.c
32948 (____wcstof128_l_internal): Likewise.
32949 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32950 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32951 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32952 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32953 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32954 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32955 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32956 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32957 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32958 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32960 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32963 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32964 instead of <sys/statvfs.h>.
32965 (__internal_statvfs): Removed.
32966 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32967 instead of <sys/statvfs.h>.
32968 (__internal_statvfs64): Removed.
32969 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32970 "internal_statvfs.h" instead of <sys/statvfs.h>.
32971 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32972 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32973 instead of <sys/statvfs.h>.
32974 (__internal_statvfs): Removed.
32975 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32976 instead of <sys/statvfs.h>.
32977 (__internal_statvfs64): Removed.
32979 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32982 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32983 (__gconv_close): Likewise.
32984 (__gconv): Likewise.
32985 (__gconv_find_transform): Likewise.
32986 (__gconv_lookup_cache): Likewise.
32987 (__gconv_compare_alias_cache): Likewise.
32988 (__gconv_load_cache): Likewise.
32989 (__gconv_get_path): Likewise.
32990 (__gconv_close_transform): Likewise.
32991 (__gconv_release_cache): Likewise.
32992 (__gconv_find_shlib): Likewise.
32993 (__gconv_release_shlib): Likewise.
32994 (__gconv_get_builtin_trans): Likewise.
32995 (__gconv_compare_alias): Likewise.
32996 * include/dlfcn.h (_dlerror_run): Likewise.
32997 * include/stdio.h (__fortify_fail_abort): Likewise.
32998 * include/time.h (__tz_compute): Likewise.
32999 (__strptime_internal): Likewise.
33000 * intl/gettextP.h (_nl_find_domain): Likewise.
33001 (_nl_load_domain): Likewise.
33002 (_nl_find_msg): Likewise.
33003 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
33004 (EXTRACT_PLURAL_EXPRESSION): Likewise.
33005 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
33006 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
33007 (__gai_find_request): Likewise.
33008 (__gai_remove_request): Likewise.
33009 (__gai_notify): Likewise.
33010 (__gai_notify_only): Likewise.
33011 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33012 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33013 (_dl_non_dynamic_init): Likewise.
33014 (_dl_aux_init): Likewise.
33015 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
33016 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33018 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
33019 (__wcsmbs_clone_conv): Likewise.
33020 (__wcsmbs_named_conv): Likewise.
33022 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
33025 * include/stdlib.h (__random): Add attribute_hidden.
33026 (__random_r): Likewise.
33027 (__srandom_r): Likewise.
33028 (__initstate_r): Likewise.
33029 (__setstate_r): Likewise.
33030 (__erand48_r): Likewise.
33031 (__nrand48_r): Likewise.
33032 (__jrand48_r): Likewise.
33033 (__srand48_r): Likewise.
33034 (__seed48_r): Likewise.
33035 (__lcong48_r): Likewise.
33036 (__drand48_iterate): Likewise.
33037 (__setenv): Likewise.
33038 (__unsetenv): Likewise.
33039 (__clearenv): Likewise.
33040 (__ptsname_r): Likewise.
33041 (__posix_openpt): Likewise.
33042 (__add_to_environ): Likewise.
33043 (__realpath): Add libc_hidden_proto.
33044 (__ecvt_r): Likewise.
33045 (__fcvt_r): Likewise.
33046 (__qecvt_r): Likewise.
33047 (__qfcvt_r): Likewise.
33048 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
33049 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
33051 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
33054 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
33055 * include/time.h (__mktime_internal): Likewise.
33056 * libio/iolibio.h (__fopen_internal): Likewise.
33058 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
33060 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
33062 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
33063 Correct offset used to restore PIC register.
33065 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
33068 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
33069 code to load address of __getcontext_ret when generating PIC code.
33071 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
33073 * elf/Makefile (tests-static-internal): Add
33074 tst-tls1-static-non-pie.
33075 (LDFLAGS-tst-tls1-static-non-pie): New.
33076 * elf/tst-tls1-static-non-pie.c: New file.
33078 2017-09-29 Joseph Myers <joseph@codesourcery.com>
33080 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
33081 (asinh): Define using libm_alias_double.
33082 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
33083 (cbrt): Define using libm_alias_double.
33084 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
33085 <libm-alias-double.h>.
33086 (copysign): Define using libm_alias_double.
33087 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
33088 (erf): Define using libm_alias_double.
33090 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
33091 (expm1): Define using libm_alias_double.
33092 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
33093 (fabs): Define using libm_alias_double.
33094 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
33096 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
33097 <libm-alias-double.h>.
33098 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
33100 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
33101 <libm-alias-double.h>.
33102 (getpayload): Define using libm_alias_double.
33103 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
33104 <libm-alias-double.h>.
33105 (llrint): Define using libm_alias_double.
33106 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
33107 (lrint): Define using libm_alias_double.
33108 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
33109 <libm-alias-double.h>.
33110 (nextup): Define using libm_alias_double.
33111 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
33112 <libm-alias-double.h>.
33113 (roundeven): Define using libm_alias_double.
33114 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
33116 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
33117 <libm-alias-double.h>.
33118 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
33119 using libm_alias_double.
33120 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
33121 (cos): Define using libm_alias_double.
33123 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
33124 <libm-alias-double.h>.
33125 (sincos): Define using libm_alias_double.
33126 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
33127 (tanh): Define using libm_alias_double.
33128 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
33129 <libm-alias-double.h>.
33130 (totalorder): Define using libm_alias_double.
33131 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
33132 <libm-alias-double.h>.
33133 (totalordermag): Define using libm_alias_double.
33134 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
33136 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
33138 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
33139 <libm-alias-double.h>.
33140 (getpayload): Define using libm_alias_double.
33141 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
33142 <libm-alias-double.h>.
33143 (roundeven): Define using libm_alias_double.
33144 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
33145 <libm-alias-double.h>.
33146 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
33147 <libm-alias-double.h>.
33148 (totalorder): Define using libm_alias_double.
33149 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
33150 <libm-alias-double.h>.
33151 (totalordermag): Define using libm_alias_double.
33152 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
33153 libc compat symbol here.
33154 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
33155 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
33156 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
33157 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
33158 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
33159 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
33160 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
33161 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
33162 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
33163 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
33165 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
33167 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
33168 _dl_relocate_static_pie instead of _dl_start to compute load
33169 address in static PIE. Return 0 if _DYNAMIC is undefined for
33172 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
33174 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
33175 _DYNAMIC is undefined for static executable.
33177 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
33179 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
33181 2017-09-29 Joseph Myers <joseph@codesourcery.com>
33183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33185 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
33187 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
33188 (__ieee754_lgamma_r): Use fabs rather than __fabs.
33189 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33190 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33191 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
33192 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
33193 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33194 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
33195 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
33196 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
33197 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
33198 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
33199 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33200 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
33201 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
33202 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33203 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
33205 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
33207 * math/bits/cmathcalls.h (cimag): Remove inline.
33208 (creal): Remove inline.
33209 (conj): Remove inline.
33211 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33213 * math/Makefile (type-float-routines): Add e_powf_log2_data.
33214 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
33215 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
33216 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
33217 (issignalingf_inline): Likewise.
33218 (POWF_LOG2_TABLE_BITS): Likewise.
33219 (POWF_LOG2_POLY_ORDER): Likewise.
33220 (POWF_SCALE_BITS): Likewise.
33221 (POWF_SCALE): Likewise.
33222 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
33223 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
33224 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
33226 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33228 * math/Makefile (type-float-routines): Add e_log2f_data.
33229 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
33230 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
33231 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
33232 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
33233 * sysdeps/i386/fpu/e_log2f_data.c: New file.
33234 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
33235 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
33237 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33239 * math/Makefile (type-float-routines): Add e_logf_data.
33240 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
33241 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
33242 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
33243 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
33244 * sysdeps/i386/fpu/e_logf_data.c: New file.
33245 * sysdeps/ia64/fpu/e_logf_data.c: New file.
33246 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
33248 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
33250 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
33251 undefined _DYNAMIC in PIE libc.a.
33252 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
33255 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
33257 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
33258 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
33259 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
33260 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
33261 (__signbit): Remove.
33262 (__signbitl): Remove.
33263 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
33264 (__signbit): Remove.
33265 (__signbitl): Remove.
33266 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
33267 (__signbit): Remove.
33268 (__signbitl): Remove.
33269 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
33270 (__signbit): Remove.
33271 (__signbitl): Remove.
33272 * sysdeps/tile/bits/mathinline.h: Delete file.
33273 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
33274 (__signbit): Remove.
33275 (__signbitl): Remove.
33277 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
33279 * math/math.h: Improve handling of C99 isgreater macros.
33280 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
33281 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
33282 * sysdeps/powerpc/bits/mathinline.h: Likewise.
33283 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33284 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
33286 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
33288 * sysdeps/aarch64/libm-test-ulps: Update.
33290 2017-09-28 Joseph Myers <joseph@codesourcery.com>
33293 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33294 math_opt_barrier on argument when doing arithmetic on it.
33295 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33296 Likewise. Use math_force_eval not math_opt_barrier after
33298 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
33299 math_opt_barrier on argument when doing arithmetic on it.
33300 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33303 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
33305 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
33307 (__freeifaddrs): Likewise.
33309 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33311 * include/dirent.h (__dirfd): New declaration.
33312 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
33314 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
33315 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
33316 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
33317 * include/unistd.h (__revoke): New declaration.
33318 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
33320 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
33321 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
33323 * include/dirent.h (__seekdir): New declaration.
33324 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
33325 redefine as weak alias.
33326 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
33328 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
33329 and use libc_hidden_def on them.
33330 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
33332 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
33333 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
33334 instead of getifaddrs and freeifaddrs.
33336 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
33339 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
33340 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
33341 (__dso_handle): Remove declaration.
33342 * dlfcn/tstatexit.c (__dso_handle): Removed.
33343 (main): Don't check __dso_handle.
33344 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
33345 (main): Don't check __dso_handle.
33346 * include/dso_handle.h: New file.
33347 * malloc/mtrace.c: Include <dso_handle.h>.
33348 (mtrace): Pass __dso_handle directly.
33349 * nptl/pthread_atfork.c: Include <dso_handle.h>.
33350 (__dso_handle): Remove declaration.
33351 (__pthread_atfork): Pass __dso_handle directly.
33352 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
33353 (__dso_handle): Removed.
33354 * posix/wordexp-test.c: Include <dso_handle.h>.
33355 (__dso_handle): Remove declaration.
33356 (__app_register_atfork): Pass __dso_handle directly.
33357 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
33358 (__dso_handle): Remove declaration.
33359 (at_quick_exit): Pass __dso_handle directly.
33360 * stdlib/atexit.c: Include <dso_handle.h>.
33361 (__dso_handle): Remove declaration.
33362 (atexit): Pass __dso_handle directly.
33363 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
33364 (__dso_handle): Removed.
33366 2017-09-26 Joseph Myers <joseph@codesourcery.com>
33368 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
33371 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
33373 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
33374 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
33375 values to correct default value for given type.
33377 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
33380 * elf/Makefile (tests): Add tst-debug1.
33381 ($(objpfx)tst-debug1): New.
33382 ($(objpfx)tst-debug1.out): Likewise.
33383 ($(objpfx)tst-debug1mod1.so): Likewise.
33384 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
33385 with p_filesz == 0.
33386 * elf/tst-debug1.c: New file.
33388 2017-09-26 Joseph Myers <joseph@codesourcery.com>
33390 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
33391 Define using __ifunc.
33393 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33395 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
33398 2017-09-26 Joseph Myers <joseph@codesourcery.com>
33401 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
33403 2017-09-26 Florian Weimer <fweimer@redhat.com>
33405 * resolv/Makefile (tests-internal): Fix typo in comment.
33407 2017-09-26 Florian Weimer <fweimer@redhat.com>
33409 * resolv/nss_dns/dns-host.c: Fix typo in comment.
33411 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33413 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
33414 Use an union instead of a max_align_t array for __space,
33415 so that __space is the same size on all platforms.
33416 * malloc/scratch_buffer_grow_preserve.c
33417 (__libc_scratch_buffer_grow_preserve): Likewise.
33420 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
33422 * posix/Makefile (routines): Add glob-lstat-compat and
33423 glob64-lstat-compat.
33424 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
33425 * posix/glob-lstat-compat.c: New file.
33426 * posix/glob64-lstat-compat.c: Likewise.
33427 * posix/tst-glob_lstat_compat.c: Likewise.
33428 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
33429 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
33430 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
33431 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
33433 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
33434 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33435 * posix/glob.c (glob_lstat): New function.
33436 (glob): Rename to __glob and add versioned symbol to 2.27.
33437 (glob_in_dir): Use glob_lstat.
33438 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
33439 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
33440 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
33442 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
33443 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
33444 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
33445 gl_lstat on glob call.
33446 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
33447 and glob64 symbols.
33448 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
33449 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
33450 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
33451 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
33452 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
33453 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
33454 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
33455 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
33456 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
33457 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
33458 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
33459 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
33460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
33462 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
33463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
33464 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
33465 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
33466 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
33467 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
33468 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
33469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
33470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
33471 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
33472 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
33473 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
33475 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
33477 * configure.ac (AS): Require binutils 2.25 or later.
33478 * configure: Regenerated.
33480 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33483 * stdlib/test-atexit-race-common.c (do_test): Minimize required
33486 2017-09-25 DJ Delorie <dj@redhat.com>
33489 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
33492 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
33494 * sysdeps/ieee754/dbl-64/sincos32.h
33495 [SINCCOS32_H]: Remove define.
33496 [SINCOS32_H]: Define.
33498 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33500 * math/Versions (expf): New libm symbol at GLIBC_2.27.
33502 * math/w_exp2f.c: New file.
33503 * math/w_expf.c: New file.
33504 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
33505 * math/w_expf_compat.c (__expf_compat): Likewise.
33506 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
33507 * sysdeps/ia64/fpu/e_expf.S: Likewise.
33508 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
33509 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
33510 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
33511 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
33512 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
33513 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
33514 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
33515 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
33516 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
33517 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33518 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
33519 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
33520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
33522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
33526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
33528 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
33529 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
33530 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
33531 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
33532 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
33533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
33535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
33537 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
33538 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
33539 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
33541 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33543 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
33544 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
33545 (roundtoint, converttoint): Likewise.
33546 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
33547 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33548 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33549 * sysdeps/ieee754/flt-32/math_config.h: New file.
33550 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33551 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33552 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33553 * sysdeps/i386/fpu/math_errf.c: New file.
33554 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33555 * sysdeps/ia64/fpu/math_errf.c: New file.
33556 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33557 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33559 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33561 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33562 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33563 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33564 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33565 to make sure that these symbols are defined.
33566 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33568 (__need_NULL): Do not define.
33569 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33571 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33572 CMGROUP_MAX, cmsgcred): Do not define.
33573 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33575 * bits/socket.h: Likewise.
33576 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33577 __gettimeofday instead of gettimeofday.
33578 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33579 instead of settimeofday.
33581 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33583 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33584 (asinhf): Define using libm_alias_float.
33585 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33586 (atanf): Define using libm_alias_float.
33587 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33588 (cbrtf): Define using libm_alias_float.
33589 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33590 (ceilf): Define using libm_alias_float.
33591 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33592 <libm-alias-float.h>.
33593 (copysignf): Define using libm_alias_float.
33594 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33595 (cosf): Define using libm_alias_float.
33596 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33597 (erff): Define using libm_alias_float.
33599 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33600 (expm1f): Define using libm_alias_float.
33601 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33602 (fabsf): Define using libm_alias_float.
33603 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33604 (floorf): Define using libm_alias_float.
33605 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33606 (frexpf): Define using libm_alias_float.
33607 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33609 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33610 <libm-alias-float.h>.
33611 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33613 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33614 <libm-alias-float.h>.
33615 (getpayloadf): Define using libm_alias_float.
33616 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33617 <libm-alias-float.h>.
33618 (llrintf): Define using libm_alias_float.
33619 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33620 <libm-alias-float.h>.
33621 (llroundf): Define using libm_alias_float.
33622 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33623 (logbf): Define using libm_alias_float.
33624 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33625 (lrintf): Define using libm_alias_float.
33626 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33627 (lroundf): Define using libm_alias_float.
33628 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33629 (modff): Define using libm_alias_float.
33630 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33631 <libm-alias-float.h>.
33632 (nearbyintf): Define using libm_alias_float.
33633 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33634 <libm-alias-float.h>.
33635 (nextafterf): Define using libm_alias_float.
33636 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33637 <libm-alias-float.h>.
33638 (nextupf): Define using libm_alias_float.
33639 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33640 <libm-alias-float.h>.
33641 (remquof): Define using libm_alias_float.
33642 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33643 (rintf): Define using libm_alias_float.
33644 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33645 <libm-alias-float.h>.
33646 (roundevenf): Define using libm_alias_float.
33647 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33648 (roundf): Define using libm_alias_float.
33649 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33650 using libm_alias_float.
33651 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33652 <libm-alias-float.h>.
33653 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33654 Define using libm_alias_float.
33655 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33656 <libm-alias-float.h>.
33657 (sincosf): Define using libm_alias_float.
33658 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33659 (sinf): Define using libm_alias_float.
33660 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33661 (tanf): Define using libm_alias_float.
33662 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33663 (tanhf): Define using libm_alias_float.
33664 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33665 <libm-alias-float.h>.
33666 (totalorderf): Define using libm_alias_float.
33667 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33668 <libm-alias-float.h>.
33669 (totalordermagf): Define using libm_alias_float.
33670 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33671 (truncf): Define using libm_alias_float.
33672 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33674 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33677 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33680 math/math.h: Let fpclassify use the builtin in C++ mode, even
33681 when optimazing for size.
33683 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33685 * csu/Makefile (generated): Do not add version-info.h.
33686 (before-compile): Likewise.
33687 (all-Banner-files): Remove variable.
33688 ($(objpfx)version-info.h): Remove rule.
33689 * csu/version.c (banner): Do not include "version-info.h".
33690 * libidn/Banner: Remove.
33691 * manual/contrib.texi (Simon Josefsson): New entry.
33693 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33695 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33696 Remove conditionals on LDBL_MANT_DIG.
33697 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33698 (__ieee754_lgammal_r): Likewise.
33700 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33702 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33704 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33705 _Float128 and L(). Replace _Float128 with long double and L(x)
33706 with xL, throughout the file.
33707 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33708 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33709 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33710 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33712 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33714 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33715 sysdeps/ieee754/ldbl-128ibm.
33716 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33717 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33718 of including it. Keep _Float128 and L() intact. These will be
33719 reviewed by a separate patch.
33720 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33721 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33722 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33723 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33725 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33728 (__finitef128): Define to __redirect___finitef128.
33729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33730 (__isinff128): Define to __redirect___isinff128.
33731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33732 (__isnanf128): Define to __redirect___isnanf128.
33734 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33736 * sysdeps/powerpc/powerpc64le/Makefile
33737 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33738 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33740 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33741 Carlos O'Donell <carlos@redhat.com>
33744 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33745 * stdlib/test-dlclose-exit-race.c: New file.
33746 * stdlib/test-dlclose-exit-race-helper.c: New file.
33747 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33749 2017-09-21 Joseph Myers <joseph@codesourcery.com>
33751 * crypt/Banner: Remove file.
33752 * nptl/Banner: Likewise.
33753 * resolv/Banner: Likewise.
33754 * soft-fp/Banner: Likewise.
33755 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33756 ($(objpfx)version.d): Remove dependency on banner.h.
33757 ($(objpfx)version.os): Likewise.
33758 * nptl/version.c (banner): Do not include banner.h.
33759 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33760 Jelinek and BIND code.
33762 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33763 Carlos O'Donell <carlos@redhat.com>
33765 * support/xdlfcn.h: New file.
33766 * support/xdlfcn.c: New file.
33767 * support/Makefile (libsupport-routines): Add xdlfcn.
33768 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33770 2017-09-20 Joseph Myers <joseph@codesourcery.com>
33773 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33774 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33775 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33776 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33777 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33778 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33779 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33780 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33782 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33783 Ricky Zhou <rickyz@google.com>
33784 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
33787 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33789 (__new_exitfn): Fail registration when we finished at_exit processing.
33790 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33791 * stdlib/on_exit.c (__on_exit): Likewise.
33792 * stdlib/exit.c (__exit_funcs_done): New variable.
33793 (__run_exit_handlers): Use __exit_funcs_lock.
33794 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33796 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33797 (test-cxa_atexit-race, test-on_exit-race): New tests.
33798 * stdlib/test-atexit-race-common.c: New file.
33799 * stdlib/test-atexit-race.c: New file.
33800 * stdlib/test-at_quick_exit-race.c: New file.
33801 * stdlib/test-cxa_atexit-race.c: New file.
33802 * stdlib/test-on_exit-race.c: New file.
33804 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33806 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33807 * benchtests/exp2f-inputs: Copy of expf-inputs.
33808 * benchtests/log2f-inputs: Copy of logf-inputs.
33810 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33812 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33813 Explicitly take address of first element of array arguments in
33814 call to INLINE_SYSCALL.
33816 2017-09-19 Andreas Schwab <schwab@suse.de>
33819 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33821 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33823 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33824 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33825 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33826 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33827 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33828 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33829 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33830 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33831 * posix/Makefile (tests): Add tst-fexecve.
33832 * posix/tst-fexecve.c: New file.
33834 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33836 * benchtests/Makefile: Add logf benchmark.
33837 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33839 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33841 * benchtests/Makefile: Add expf benchmark.
33842 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33844 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33846 * csu/Makefile: Add -funwind-tables to libc-start.c.
33847 * debug/Makefile: Add -funwind-tables to backtrace.c.
33848 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33849 * sysdeps/arm/Makefile: Likewise.
33850 * sysdeps/i386/Makefile: Likewise.
33851 * sysdeps/m68k/Makefile: Likewise.
33852 * sysdeps/mips/Makefile: Likewise.
33853 * sysdeps/nios2/Makefile: Likewise.
33854 * sysdeps/sh/Makefile: Likewise.
33855 * sysdeps/sparc/Makefile: Likewise.
33857 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33859 * benchtests/Makefile (bench-math): Add trunc and truncf.
33860 (CFLAGS-bench-trunc.c): New variable.
33861 (CFLAGS-bench-truncf.c): Likewise.
33862 * benchtests/trunc-inputs: New file.
33863 * benchtests/truncf-inputs: Likewise.
33865 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33867 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33869 2017-09-18 Joseph Myers <joseph@codesourcery.com>
33871 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33872 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33874 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33875 (exp10l): Define as weak alias.
33876 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33877 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33879 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33880 (remainderl): Define as weak alias.
33882 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33883 (fmal): Define using libm_alias_ldouble.
33884 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33885 (acoshl): Define using libm_alias_ldouble.
33886 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33887 (acosl): Define using libm_alias_ldouble.
33888 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33889 (asinl): Define using libm_alias_ldouble.
33890 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33891 (atan2l): Define using libm_alias_ldouble.
33892 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33893 (atanhl): Define using libm_alias_ldouble.
33894 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33895 (coshl): Define using libm_alias_ldouble.
33896 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33897 (exp10l): Define using libm_alias_ldouble.
33898 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33899 (exp2l): Define using libm_alias_ldouble.
33900 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33901 (expl): Define using libm_alias_ldouble.
33902 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33903 (fmodl): Define using libm_alias_ldouble.
33904 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33905 (hypotl): Define using libm_alias_ldouble.
33906 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33907 (j0l): Define using libm_alias_ldouble.
33909 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33910 (j1l): Define using libm_alias_ldouble.
33912 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33913 (jnl): Define using libm_alias_ldouble.
33915 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33916 (log10l): Define using libm_alias_ldouble.
33917 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33918 (log2l): Define using libm_alias_ldouble.
33919 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33920 (logl): Define using libm_alias_ldouble.
33921 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33922 (powl): Define using libm_alias_ldouble.
33923 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33924 (remainderl): Define using libm_alias_ldouble.
33925 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33926 (sinhl): Define using libm_alias_ldouble.
33927 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33928 (sqrtl): Define using libm_alias_ldouble.
33929 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33930 (tgammal): Define using libm_alias_ldouble.
33931 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33932 (exp10l): Do not use long_double_symbol here.
33933 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33934 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33935 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33936 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33937 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33938 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33939 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33940 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33941 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33942 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33943 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33944 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33945 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33946 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33947 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33948 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33949 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33950 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33951 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33952 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33953 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33954 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33956 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33958 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33959 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33961 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33963 * io/read.c (read): Add libc_hidden_weak.
33964 * sysdeps/mach/hurd/read.c (read): Likewise.
33965 * io/write.c (write): Likewise.
33966 * sysdeps/mach/hurd/write.c (write): Likewise.
33967 * io/pread64.c (__pread64): Likewise.
33968 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33969 * posix/pread64.c (__pread64): Add libc_hidden_def.
33971 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33973 * benchtests/scripts/compare_strings.py: New option -g.
33974 (draw_graph): Print a message that a graph is being generated.
33975 (process_results): Generate graph only if -g is passed.
33976 (main): Process option -g.
33978 * benchtests/scripts/compare_strings.py (process_results):
33979 Better spacing for output.
33981 * benchtests/scripts/compare_strings.py: Use argparse.
33982 * benchtests/README: Document existence of compare_strings.py.
33984 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33986 * math/s_fma.c: Include <libm-alias-double.h>.
33987 (fma): Define using libm_alias_double.
33988 * math/s_nextafter.c: Include <libm-alias-double.h>.
33989 (nextafter): Define using libm_alias_double.
33990 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33991 (acos): Define using libm_alias_double.
33992 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33993 (aocsh): Define using libm_alias_double.
33994 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33995 (asin): Define using libm_alias_double.
33996 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33997 (atan2): Define using libm_alias_double.
33998 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33999 (atanh): Define using libm_alias_double.
34000 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
34001 (cosh): Define using libm_alias_double.
34002 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
34003 (exp10): Define using libm_alias_double.
34004 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
34005 (exp2): Define using libm_alias_double.
34006 * math/w_exp_compat.c: Include <libm-alias-double.h>.
34007 (exp): Define using libm_alias_double.
34008 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
34009 (fmod): Define using libm_alias_double.
34010 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
34011 (hypot): Define using libm_alias_double.
34012 * math/w_j0_compat.c: Include <libm-alias-double.h>.
34013 (j0): Define using libm_alias_double.
34015 * math/w_j1_compat.c: Include <libm-alias-double.h>.
34016 (j1): Define using libm_alias_double.
34018 * math/w_jn_compat.c: Include <libm-alias-double.h>.
34019 (jn): Define using libm_alias_double.
34021 * math/w_log10_compat.c: Include <libm-alias-double.h>.
34022 (log10): Define using libm_alias_double.
34023 * math/w_log2_compat.c: Include <libm-alias-double.h>.
34024 (log2): Define using libm_alias_double.
34025 * math/w_log_compat.c: Include <libm-alias-double.h>.
34026 (log): Define using libm_alias_double.
34027 * math/w_pow_compat.c: Include <libm-alias-double.h>.
34028 (pow): Define using libm_alias_double.
34029 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
34030 (remainder): Define using libm_alias_double.
34031 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
34032 (sinh): Define using libm_alias_double.
34033 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
34034 (sqrt): Define using libm_alias_double.
34035 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
34036 (tgamma): Define using libm_alias_double.
34037 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
34038 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
34039 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
34040 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
34041 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
34042 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
34043 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
34044 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
34045 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
34046 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
34047 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
34048 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
34049 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
34050 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
34051 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
34052 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
34053 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
34054 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
34055 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
34056 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
34057 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
34058 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
34059 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
34060 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
34061 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
34063 * math/e_acoshl.c: Remove.
34064 * math/e_acosl.c: Likewise.
34065 * math/e_asinl.c: Likewise.
34066 * math/e_atan2l.c: Likewise.
34067 * math/e_atanhl.c: Likewise.
34068 * math/e_coshl.c: Likewise.
34069 * math/e_expl.c: Likewise.
34070 * math/e_fmodl.c: Likewise.
34071 * math/e_gammal_r.c: Likewise.
34072 * math/e_hypotl.c: Likewise.
34073 * math/e_j0l.c: Likewise.
34074 * math/e_j1l.c: Likewise.
34075 * math/e_jnl.c: Likewise.
34076 * math/e_lgammal_r.c: Likewise.
34077 * math/e_log10l.c: Likewise.
34078 * math/e_log2l.c: Likewise.
34079 * math/e_logl.c: Likewise.
34080 * math/e_powl.c: Likewise.
34081 * math/e_rem_pio2l.c: Likewise.
34082 * math/e_sinhl.c: Likewise.
34083 * math/e_sqrtf128.c: Likewise.
34084 * math/e_sqrtl.c: Likewise.
34085 * math/k_cosl.c: Likewise.
34086 * math/k_sinl.c: Likewise.
34087 * math/k_tanl.c: Likewise.
34088 * math/s_asinhl.c: Likewise.
34089 * math/s_atanl.c: Likewise.
34090 * math/s_cbrtl.c: Likewise.
34091 * math/s_erfl.c: Likewise.
34092 * math/s_expm1l.c: Likewise.
34093 * math/s_log1pl.c: Likewise.
34094 * math/s_tanhl.c: Likewise.
34096 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34099 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
34100 [$(subdir) = math] (sysdep_calls): New variable. Has the
34101 previous contents of sysdep_routines, but re-sorted..
34102 [$(subdir) = math] (sysdep_routines): Re-use the contents from
34104 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
34105 defined in sysdep_calls and replace by the respective m_* names.
34106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
34107 (compat_symbol): Undefine to avoid duplicated compat symbols in
34110 2017-09-15 Joseph Myers <joseph@codesourcery.com>
34112 * math/s_fmaf.c: Include <libm-alias-float.h>.
34113 (fmaf): Define using libm_alias_float.
34114 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
34115 (acosf): Define using libm_alias_float.
34116 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
34117 (acoshf): Define using libm_alias_float.
34118 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
34119 (asinf): Define using libm_alias_float.
34120 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
34121 (atan2f): Define using libm_alias_float.
34122 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
34123 (atanhf): Define using libm_alias_float.
34124 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
34125 (coshf): Define using libm_alias_float.
34126 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
34127 (exp10f): Define using libm_alias_float.
34128 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
34129 (fmodf): Define using libm_alias_float.
34130 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
34131 (hypotf): Define using libm_alias_float.
34132 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
34133 (j0f): Define using libm_alias_float.
34135 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
34136 (j1f): Define using libm_alias_float.
34138 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
34139 (jnf): Define using libm_alias_float.
34141 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
34142 (log10f): Define using libm_alias_float.
34143 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
34144 (log2f): Define using libm_alias_float.
34145 * math/w_logf_compat.c: Include <libm-alias-float.h>.
34146 (logf): Define using libm_alias_float.
34147 * math/w_powf_compat.c: Include <libm-alias-float.h>.
34148 (powf): Define using libm_alias_float.
34149 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
34150 (remainderf): Define using libm_alias_float.
34151 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
34152 (sinhf): Define using libm_alias_float.
34153 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
34154 (sqrtf): Define using libm_alias_float.
34155 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
34156 (tgammaf): Define using libm_alias_float.
34158 2017-09-14 Joseph Myers <joseph@codesourcery.com>
34160 * include/math.h (roundeven): Change hidden_proto call to
34162 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
34164 [NO_LONG_DOUBLE] (__j0l): New strong alias.
34165 (y0): Rename to __y0 and define as weak alias.
34166 [NO_LONG_DOUBLE] (__y0l): New strong alias.
34167 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
34169 (y0f): Rename to __y0f and define as weak alias.
34170 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
34172 [NO_LONG_DOUBLE] (__j1l): New strong alias.
34173 (y1): Rename to __y1 and define as weak alias.
34174 [NO_LONG_DOUBLE] (__y1l): New strong alias.
34175 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
34177 (y1f): Rename to __y1f and define as weak alias.
34178 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
34180 [NO_LONG_DOUBLE] (__jnl): New strong alias.
34181 (yn): Rename to __yn and define as weak alias.
34182 [NO_LONG_DOUBLE] (__ynl): New strong alias.
34183 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
34185 (ynf): Rename to __ynf and define as weak alias.
34186 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
34187 (fromfp): Define as weak alias.
34188 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
34189 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
34190 (fromfpx): Define as weak alias.
34191 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
34192 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
34193 __getpayload and define as weak alias.
34194 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
34195 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
34196 __roundeven and define as weak alias.
34197 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
34198 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
34200 (setpayload): Define as weak alias.
34201 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
34202 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
34204 (setpayloadsig): Define as weak alias.
34205 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
34206 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
34207 __totalorder and define as weak alias.
34208 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
34209 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
34210 to __totalordermag and define as weak alias.
34211 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
34212 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
34213 (ufromfp): Define as weak alias.
34214 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
34215 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
34217 (ufromfpx): Define as weak alias.
34218 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
34219 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
34220 Rename to __getpayload and define as weak alias.
34221 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
34222 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
34223 Rename to __roundeven and define as weak alias.
34224 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
34225 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
34226 Rename to __totalorder and define as weak alias.
34227 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
34228 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
34229 (totalordermag): Rename to __totalordermag and define as weak
34231 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
34232 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
34234 (__roundevenl): Likewise.
34235 (__totalorderl): Likewise.
34236 (__totalordermagl): Likewise
34237 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
34239 (fromfpf128): Define as weak alias.
34240 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
34242 (fromfpxf128): Define as weak alias.
34243 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
34245 (setpayloadf128): Define as weak alias.
34246 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
34247 __setpayloadsigf128.
34248 (setpayloadsigf128): Define as weak alias.
34249 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
34251 (ufromfpf128): Define as weak alias.
34252 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
34254 (ufromfpxf128): Define as weak alias.
34255 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
34256 (fromfpf): Define as weak alias.
34257 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
34259 (fromfpxf): Define as weak alias.
34260 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
34261 __getpayloadf and define as weak alias.
34262 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
34263 __roundevenf and define as weak alias.
34264 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
34266 (setpayloadf): Define as weak alias.
34267 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
34269 (setpayloadsigf): Define as weak alias.
34270 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
34271 __totalorderf and define as weak alias.
34272 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
34273 Rename to __totalordermagf and define as weak alias.
34274 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
34276 (ufromfpf): Define as weak alias.
34277 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
34279 (ufromfpxf): Define as weak alias.
34280 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
34282 (fromfpl): Define as weak alias.
34283 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
34285 (fromfpxl): Define as weak alias.
34286 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
34287 to __getpayloadl and define as weak alias.
34288 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
34289 __roundevenl and define as weak alias.
34290 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
34292 (setpayloadl): Define as weak alias.
34293 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
34295 (setpayloadsigl): Define as weak alias.
34296 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
34297 to __totalorderl and define as weak alias.
34298 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
34299 Rename to __totalordermagl and define as weak alias.
34300 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
34302 (ufromfpl): Define as weak alias.
34303 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
34305 (ufromfpxl): Define as weak alias.
34306 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
34308 (fromfpl): Define as weak alias.
34309 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
34311 (fromfpxl): Define as weak alias.
34312 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
34313 Rename to __getpayloadl and define as weak alias.
34314 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
34315 to __roundevenl and define as weak alias. Call __roundeven
34316 instead of roundeven.
34317 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
34319 (setpayloadl): Define as weak alias.
34320 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
34322 (setpayloadsigl): Define as weak alias.
34323 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
34324 Rename to __totalorderl and define as weak alias.
34325 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
34326 Rename to __totalordermagl and define as weak alias.
34327 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
34329 (ufromfpl): Define as weak alias.
34330 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
34332 (ufromfpxl): Define as weak alias.
34333 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
34335 (fromfpl): Define as weak alias.
34336 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
34338 (fromfpxl): Define as weak alias.
34339 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
34340 __getpayloadl and define as weak alias.
34341 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
34342 __roundevenl and define as weak alias.
34343 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
34345 (setpayloadl): Define as weak alias.
34346 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
34348 (setpayloadsigl): Define as weak alias.
34349 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
34350 __totalorderl and define as weak alias.
34351 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
34352 Rename to __totalordermagl and define as weak alias.
34353 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
34355 (ufromfpl): Define as weak alias.
34356 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
34358 (ufromfpxl): Define as weak alias.
34360 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
34362 * benchtests/bench-string.h (realloc_bufs): New function.
34363 (test_init): Call it.
34364 * benchtests/bench-memset-large.c (do_test): Likewise.
34365 * benchtests/bench-memset.c (do_test): Likewise.
34367 * benchtests/bench-memset-large.c: Print output in JSON
34369 * benchtests/bench-memset.c: Likewise.
34371 2017-09-14 Mike FABIAN <mfabian@redhat.com>
34374 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
34375 * iconvdata/Makefile: Add IBM858.
34376 * iconvdata/gconv-modules: Likewise.
34377 * iconvdata/tst-tables.sh: Likewise.
34378 * iconvdata/ibm858.c: New file.
34379 * localedata/charmaps/IBM858: Likewise.
34381 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
34384 * locales/niu_NZ (LC_TIME): copy "niu_NU".
34385 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
34387 2017-09-14 Mike FABIAN <mfabian@redhat.com>
34390 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
34391 and add tel_int_fmt.
34393 2017-09-14 Joseph Myers <joseph@codesourcery.com>
34395 * sysdeps/generic/libm-alias-float128.h: New file.
34396 * sysdeps/generic/math-type-macros-float128.h: Include
34397 <libm-alias-float128.h>.
34398 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34400 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34402 * sysdeps/generic/libm-alias-ldouble.h: New file.
34403 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
34404 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
34405 * sysdeps/generic/math-type-macros-ldouble.h: Include
34406 <libm-alias-ldouble.h>.
34407 [!declare_mgen_alias] (declare_mgen_alias): Define to use
34408 libm_alias_ldouble.
34410 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
34412 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
34413 * math/w_exp_compat.c: ... here.
34414 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
34415 * math/w_expf_compat.c: ... here.
34416 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
34417 * math/w_expl_compat.c: ... here.
34418 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
34419 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
34420 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
34421 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
34423 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34425 * math/w_scalbln_template.c (strong_alias): Do not undefine and
34427 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
34429 (ldexpl): Only define as compat symbol for libc, not libm.
34430 (scalbnl): Define as compat symbol for libc here.
34431 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
34432 define for [IS_IN (libc)].
34433 (__ldexpl_2): Remove alias.
34434 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
34435 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
34436 name in long_double_symbol call.
34437 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
34438 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34439 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34440 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
34441 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
34443 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
34444 Define as compat symbol.
34446 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34448 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
34449 * sysdeps/unix/sysv/linux/alpha/Makefile
34450 [$(subdir) = csu] (sysdep_routines): Remove rule.
34452 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34454 * sysdeps/generic/libm-alias-double.h: New file.
34455 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
34456 * sysdeps/generic/math-type-macros-double.h: Include
34457 <libm-alias-double.h>.
34458 [declare_mgen_alias] (declare_mgen_alias): Define to use
34460 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
34461 (M_LIBM_NEED_COMPAT): Remove macro.
34462 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
34463 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
34464 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
34466 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34467 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34468 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34469 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34470 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34471 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34472 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34473 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34474 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34475 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34476 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34477 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34478 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34479 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34480 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34481 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34482 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34483 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34484 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34485 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34486 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34487 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34488 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34489 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34490 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34491 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34492 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34493 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
34494 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
34496 (declare_mgen_alias): New macro.
34497 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
34498 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
34499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
34500 (M_LIBM_NEED_COMPAT): Remove macro.
34501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
34502 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
34503 <first-versions.h>.
34504 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
34505 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
34507 2017-09-12 Joseph Myers <joseph@codesourcery.com>
34509 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
34510 (declare_mgen_alias_2): Remove.
34511 * sysdeps/generic/math-type-macros-double.h
34512 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
34514 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
34516 (ldexp): Define with declare_mgen_alias.
34517 (scalbn): Likewise.
34519 2017-09-12 Steve Ellcey <sellcey@cavium.com>
34521 * grp/initgroups.c: Include config.h.
34522 (DEFAULT_CONFIG): New macro.
34523 (internal_getgrouplist): Use DEFAULT_CONFIG.
34524 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34525 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
34526 (DEFAULT_DEFCONFIG): New macro.
34527 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
34528 * nss/grp-lookup.c: Include config.h
34529 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
34530 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
34531 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
34532 * manual/nss.texi: Update default values section.
34534 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
34537 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
34539 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34540 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34541 Handle MathVec_Prefer_No_AVX512.
34542 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
34543 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
34546 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34548 * posix/sched_primax.c (__sched_get_priority_max): Add
34550 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34551 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34552 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34553 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34554 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34555 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34556 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34557 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34560 2017-09-11 Joseph Myers <joseph@codesourcery.com>
34562 * sysdeps/generic/libm-alias-float.h: New file.
34563 * sysdeps/generic/math-type-macros-float.h: Include
34564 <libm-alias-float.h>.
34565 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34567 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34570 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34571 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34572 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34573 (HWCAP_IMPORTANT): Likewise.
34574 (HWCAP_X86_64): New enum.
34575 (HWCAP_X86_AVX512_1): Updated.
34576 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34577 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34578 (modules-names): Add x86_64/tst-x86_64mod-1.
34579 (LDFLAGS-tst-x86_64mod-1.so): New.
34580 ($(objpfx)tst-x86_64-1): Likewise.
34581 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34582 (tst-x86_64-1-clean): Likewise.
34583 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34584 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34586 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34588 * po/sv.po: Update translations.
34589 * po/fr.po: Likewise.
34591 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34593 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34595 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34597 * elf/rtld-Rules: Fix $(error) use.
34599 2017-09-09 Mike FABIAN <mfabian@redhat.com>
34602 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34603 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34604 * localedata/locales/bn_BD: “Bengali” was still used in some
34605 comments. Change it to “Bangla”.
34607 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34609 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34611 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34613 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34614 thunderx2t99p1 to list of cpu names.
34615 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34616 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34618 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34620 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34621 Use strcmp instead of tunable_is_name.
34623 2017-09-08 Joseph Myers <joseph@codesourcery.com>
34625 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34626 (F_GET_RW_HINT): New macro.
34627 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34628 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34629 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34630 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34631 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34632 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34633 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34634 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34635 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34637 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34638 (F_ADD_SEALS): New macro.
34639 [__USE_GNU] (F_GET_SEALS): Likewise.
34640 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34641 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34642 [__USE_GNU] (F_SEAL_GROW): Likewise.
34643 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34645 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34647 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34648 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34649 * posix/glob_internal.h (__glob_pattern_type):
34650 * posix/glob.c (glob):
34651 * posix/glob_pattern_p.c (__glob_pattern_p):
34654 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34655 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34656 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34657 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34658 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34660 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34661 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34662 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34663 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34664 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34665 * sysdeps/wordsize-64/glob.c: Likewise.
34666 * sysdeps/wordsize-64/glob64.c: Likewise.
34667 * sysdeps/wordsize-64/globfree.c: Likewise.
34668 * sysdeps/wordsize-64/globfree64.c: Likewise.
34669 * sysdeps/unix/sysv/linux/glob.c: New file.
34670 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34671 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34672 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34673 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34674 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34675 adds !GLOB_NO_OLD_VERSION as an extra condition.
34676 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34677 using relative path instead of absolute one.
34678 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34679 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34680 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34681 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34682 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34683 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34686 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34687 (glob): Use the same scratch buffer for both getlogin_r and
34688 getpwnam_r. Don’t require preallocation of the login name. This
34689 simplifies storage allocation, and corrects the handling of
34693 * posix/glob.c (glob): Port recent patches to platforms
34694 lacking getpwnam_r.
34695 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34696 returns an error number rather than setting errno.
34698 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34699 instead of GCC extension.
34700 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34701 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34702 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34706 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34707 * posix/bug-glob1.c: Remove file.
34708 * posix/tst-glob_symlinks.c: New file.
34709 * posix/glob.c (__lstat64): New macro.
34710 (is_dir): New function.
34711 (glob, glob_in_dir): Match symlinks even if they are dangling.
34712 (link_stat, link_exists_p): Remove. All uses removed.
34716 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34717 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34722 * posix/Makefile (routines): Add globfree, globfree64, and
34724 * posix/flexmember.h: New file.
34725 * posix/glob_internal.h: Likewise.
34726 * posix/glob_pattern_p.c: Likewise.
34727 * posix/globfree.c: Likewise.
34728 * posix/globfree64.c: Likewise.
34729 * sysdeps/gnu/globfree64.c: Likewise.
34730 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34731 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34732 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34733 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34734 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34735 * sysdeps/wordsize-64/globfree.c: Likewise.
34736 * sysdeps/wordsize-64/globfree64.c: Likewise.
34737 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34738 [NDEBUG): Remove comments.
34739 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34740 (dirent_type): New type. Use uint_fast8_t not
34741 uint8_t, as C99 does not require uint8_t.
34742 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34743 (struct readdir_result): Use dirent_type. Do not define skip_entry
34744 unless it is needed; this saves a byte on platforms lacking d_ino.
34745 (readdir_result_type, readdir_result_skip_entry):
34746 New functions, replacing ...
34747 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
34748 these functions, which were removed. This makes the callers
34749 easier to read. All callers changed.
34750 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34751 (size_add_wrapv, glob_use_alloca): New static functions.
34752 (glob, glob_in_dir): Check for size_t overflow in several places,
34753 and fix some size_t checks that were not quite right.
34754 Remove old code using SHELL since Bash no longer
34756 (glob, prefix_array): Separate MS code better.
34757 (glob_in_dir): Remove old Amiga and VMS code.
34758 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34760 (glob_in_dir): Do not rely on undefined behavior in accessing
34761 struct members beyond their bounds. Use a flexible array member
34763 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34764 0/1. Caller changed.
34765 (glob): Fix memory leaks.
34766 * posix/glob64 (globfree64): Move to separate file.
34767 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34768 (globfree64): Remove hidden alias.
34769 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34771 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34773 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34775 Move compat code to separate file.
34776 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34779 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34781 * resolv/tst-resolv-qtypes.c (domain): Changed to
34782 "const char domain[] =".
34784 2017-09-07 Joseph Myers <joseph@codesourcery.com>
34786 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34789 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34790 (TCP_MD5SIG_EXT): Likewise.
34791 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34792 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34793 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34795 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34797 2017-09-07 Mike FABIAN <mfabian@redhat.com>
34799 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34801 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
34804 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34806 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34808 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34809 before assuming that the file is empty. Avoid testing buffer content
34812 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34815 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34817 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34819 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34821 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34823 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34825 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34827 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34830 2017-09-06 Florian Weimer <fweimer@redhat.com>
34832 * malloc/dynarray_emplace_enlarge.c
34833 (__libc_dynarray_emplace_enlarge): Add missing else.
34835 2017-09-06 Florian Weimer <fweimer@redhat.com>
34838 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34839 case of failure to obtain the global conf object.
34841 2017-09-06 Florian Weimer <fweimer@redhat.com>
34844 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34845 dynarray allocation failure.
34847 2017-09-06 Florian Weimer <fweimer@redhat.com>
34849 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34850 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34851 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34853 (response): Call them. Add 'p', '6' flag processing.
34854 (test_reverse): New function.
34855 (test_get2_any): Call it.
34856 (test_no_inet6): Add 'p' test.
34857 (test_inet6): Likewise.
34859 2017-09-06 Florian Weimer <fweimer@redhat.com>
34861 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34862 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34864 (test_gai): Adjust query names. Add additional tests.
34865 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34866 test_get2. Adjust query names. Add additional tests.
34867 (test_no_inet6): New function, extracted from threadfunc.
34868 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34869 Add additional tests.
34871 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34874 * localedata/unicode-gen/utf8_gen.py: Set the width for
34875 characters with Prepended_Concatenation_Mark property to 1
34876 * localedata/charmaps/UTF-8: Updated using the improved script.
34878 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34881 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34882 use the range notation for all ranges of neighbouring characters
34883 with the same width.
34885 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34887 * sysdeps/generic/math-type-macros-double.h: Include
34888 <math-svid-compat.h>.
34889 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34890 * sysdeps/generic/math-type-macros-float.h: Include
34891 <math-svid-compat.h>.
34892 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34893 * sysdeps/generic/math-type-macros-ldouble.h: Include
34894 <math-svid-compat.h>.
34895 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34896 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34898 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34899 * math/w_acosf_compat.c: Likewise.
34900 * math/w_acosh_compat.c: Likewise.
34901 * math/w_acoshf_compat.c: Likewise.
34902 * math/w_acoshl_compat.c: Likewise.
34903 * math/w_acosl_compat.c: Likewise.
34904 * math/w_asin_compat.c: Likewise.
34905 * math/w_asinf_compat.c: Likewise.
34906 * math/w_asinl_compat.c: Likewise.
34907 * math/w_atan2_compat.c: Likewise.
34908 * math/w_atan2f_compat.c: Likewise.
34909 * math/w_atan2l_compat.c: Likewise.
34910 * math/w_atanh_compat.c: Likewise.
34911 * math/w_atanhf_compat.c: Likewise.
34912 * math/w_atanhl_compat.c: Likewise.
34913 * math/w_cosh_compat.c: Likewise.
34914 * math/w_coshf_compat.c: Likewise.
34915 * math/w_coshl_compat.c: Likewise.
34916 * math/w_exp10_compat.c: Likewise.
34917 * math/w_exp10f_compat.c: Likewise.
34918 * math/w_exp10l_compat.c: Likewise.
34919 * math/w_exp2_compat.c: Likewise.
34920 * math/w_exp2f_compat.c: Likewise.
34921 * math/w_exp2l_compat.c: Likewise.
34922 * math/w_fmod_compat.c: Likewise.
34923 * math/w_fmodf_compat.c: Likewise.
34924 * math/w_fmodl_compat.c: Likewise.
34925 * math/w_hypot_compat.c: Likewise.
34926 * math/w_hypotf_compat.c: Likewise.
34927 * math/w_hypotl_compat.c: Likewise.
34928 * math/w_j0_compat.c: Likewise.
34929 * math/w_j0f_compat.c: Likewise.
34930 * math/w_j0l_compat.c: Likewise.
34931 * math/w_j1_compat.c: Likewise.
34932 * math/w_j1f_compat.c: Likewise.
34933 * math/w_j1l_compat.c: Likewise.
34934 * math/w_jn_compat.c: Likewise.
34935 * math/w_jnf_compat.c: Likewise.
34936 * math/w_jnl_compat.c: Likewise.
34937 * math/w_lgamma_r_compat.c: Likewise.
34938 * math/w_lgammaf_r_compat.c: Likewise.
34939 * math/w_lgammal_r_compat.c: Likewise.
34940 * math/w_log10_compat.c: Likewise.
34941 * math/w_log10f_compat.c: Likewise.
34942 * math/w_log10l_compat.c: Likewise.
34943 * math/w_log2_compat.c: Likewise.
34944 * math/w_log2f_compat.c: Likewise.
34945 * math/w_log2l_compat.c: Likewise.
34946 * math/w_log_compat.c: Likewise.
34947 * math/w_logf_compat.c: Likewise.
34948 * math/w_logl_compat.c: Likewise.
34949 * math/w_pow_compat.c: Likewise.
34950 * math/w_powf_compat.c: Likewise.
34951 * math/w_powl_compat.c: Likewise.
34952 * math/w_remainder_compat.c: Likewise.
34953 * math/w_remainderf_compat.c: Likewise.
34954 * math/w_remainderl_compat.c: Likewise.
34955 * math/w_sinh_compat.c: Likewise.
34956 * math/w_sinhf_compat.c: Likewise.
34957 * math/w_sinhl_compat.c: Likewise.
34958 * math/w_sqrt_compat.c: Likewise.
34959 * math/w_sqrtf_compat.c: Likewise.
34960 * math/w_sqrtl_compat.c: Likewise.
34961 * math/w_tgamma_compat.c: Likewise.
34962 * math/w_tgammaf_compat.c: Likewise.
34963 * math/w_tgammal_compat.c: Likewise.
34964 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34965 [LIBM_SVID_COMPAT].
34966 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34967 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34968 [LIBM_SVID_COMPAT].
34969 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34970 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34971 [LIBM_SVID_COMPAT].
34972 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34973 * sysdeps/i386/fpu/w_sqrt.c: New file.
34974 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34975 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34976 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34977 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34978 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34979 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34980 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34981 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34982 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34983 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34984 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34985 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34986 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34987 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34988 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34989 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34990 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34991 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34992 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34993 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34994 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34995 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34996 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34997 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34998 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34999 * sysdeps/ia64/fpu/w_expf.c: Likewise.
35000 * sysdeps/ia64/fpu/w_expl.c: Likewise.
35001 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
35002 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
35003 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
35004 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
35005 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
35006 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
35007 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
35008 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
35009 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
35010 * sysdeps/ia64/fpu/w_log.c: Likewise.
35011 * sysdeps/ia64/fpu/w_log10.c: Likewise.
35012 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
35013 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
35014 * sysdeps/ia64/fpu/w_log2.c: Likewise.
35015 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
35016 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
35017 * sysdeps/ia64/fpu/w_logf.c: Likewise.
35018 * sysdeps/ia64/fpu/w_logl.c: Likewise.
35019 * sysdeps/ia64/fpu/w_pow.c: Likewise.
35020 * sysdeps/ia64/fpu/w_powf.c: Likewise.
35021 * sysdeps/ia64/fpu/w_powl.c: Likewise.
35022 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
35023 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
35024 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
35025 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
35026 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
35027 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
35028 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
35029 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
35030 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
35031 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
35032 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
35033 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
35034 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
35035 [LIBM_SVID_COMPAT].
35036 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
35037 * sysdeps/ieee754/k_standard.c: Likewise.
35038 * sysdeps/ieee754/k_standardf.c: Likewise.
35039 * sysdeps/ieee754/k_standardl.c: Likewise.
35040 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
35041 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
35042 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
35043 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
35044 long_double_symbol call on [LIBM_SVID_COMPAT].
35045 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
35046 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
35047 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
35048 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
35049 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
35050 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
35051 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
35052 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
35053 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
35054 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
35055 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
35056 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
35057 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
35058 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
35059 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
35060 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
35061 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
35062 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
35063 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
35064 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
35065 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
35066 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
35068 2017-09-05 Steve Ellcey <sellcey@cavium.com>
35070 * include/shlib-compat.h (TEST_COMPAT): New Macro.
35071 * malloc/tst-mallocstate.c: Convert from test-skeleton
35072 to test-driver. Ifdef code using TEST_COMPAT macro.
35073 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
35074 * math/test-matherr.c: Likewise.
35076 2017-09-05 Joseph Myers <joseph@codesourcery.com>
35079 * debug/pcprofiledump.c (main): Use byte-swapped mask when
35080 comparing word with byte-swapped constant.
35082 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
35085 * locale/iso-639.def: add Miskito.
35086 * localedata/SUPPORTED: Add miq_NI/UTF-8.
35087 * localedata/locales/miq_NI: New file.
35089 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
35092 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
35093 (__mkdir): Likewise.
35094 * io/chmod.c (__chmod): Add libc_hidden_def.
35095 * io/mkdir.c (__mkdir): Likewise.
35096 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
35097 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
35098 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
35099 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
35101 2017-09-04 Joseph Myers <joseph@codesourcery.com>
35103 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
35107 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
35108 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
35110 2017-09-04 Florian Weimer <fweimer@redhat.com>
35112 * math/math.h: Issue warning if log is defined.
35114 2017-09-04 Joseph Myers <joseph@codesourcery.com>
35116 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
35117 kernel version to 4.13.
35119 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
35121 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
35122 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
35124 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
35125 just <bits/types.h>.
35126 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
35127 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
35128 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
35129 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
35130 * misc/preadv2.c: Include <errno.h>.
35131 * misc/preadv64v2.c: Include <errno.h>.
35132 * misc/pwritev2.c: Include <errno.h>.
35133 * misc/pwritev64v2.c: Include <errno.h>.
35134 * sysdeps/posix/preadv2.c: Include <errno.h>.
35135 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
35136 Fix <unistd.h> inclusion.
35137 * sysdeps/posix/pwritev2.c: Include <errno.h>.
35138 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
35139 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
35140 __strtoul_internal): New functions.
35141 * sysdeps/posix/pause.c: Include <sigsetops.h>.
35142 * sysdeps/posix/system.c: Include <sigsetops.h>.
35143 * sysdeps/mach/hurd/i386/Makefile
35144 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
35145 [$(subdir) = csu] (sysdep-only-routines): Likewise.
35146 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
35147 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
35148 __feraiseexcept_renamed to feraiseexcept instead of
35149 __GI_feraiseexcept.
35150 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
35151 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
35152 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
35153 RWF_NOWAIT): Define to 0 if undefined already.
35154 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
35156 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
35157 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
35159 2017-09-01 Joseph Myers <joseph@codesourcery.com>
35161 * manual/math.texi (pow10): Do not document.
35162 (pow10f): Likewise.
35163 (pow10l): Likewise.
35164 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
35165 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
35166 * math/libm-test-exp10.inc (pow10_test): Remove.
35167 (do_test): Do not call pow10.
35168 * math/w_exp10_compat.c (pow10): Make into compat symbol.
35169 [NO_LONG_DOUBLE] (pow10l): Likewise.
35170 * math/w_exp10f_compat.c (pow10f): Likewise.
35171 * math/w_exp10l_compat.c (pow10l): Likewise.
35172 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
35173 (pow10): Make into compat symbol.
35174 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
35175 (pow10f): Make into compat symbol.
35176 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
35177 (pow10l): Make into compat symbol.
35178 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
35180 (CFLAGS-nldbl-pow10.c): Remove variable..
35181 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
35182 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
35183 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
35184 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
35185 Undefine and redefine.
35186 (pow10l): Make into compat symbol.
35187 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
35188 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35189 * sysdeps/arm/libm-test-ulps: Likewise.
35190 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
35191 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35192 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
35193 * sysdeps/microblaze/libm-test-ulps: Likewise.
35194 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35195 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35196 * sysdeps/nios2/libm-test-ulps: Likewise.
35197 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35198 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35199 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35200 * sysdeps/sh/libm-test-ulps: Likewise.
35201 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35202 * sysdeps/tile/libm-test-ulps: Likewise.
35203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35205 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
35207 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
35209 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
35211 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
35212 "../ChangeLog.old/ChangeLog.8".
35213 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
35214 "../ChangeLog.old/ChangeLog.14".
35216 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
35218 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
35221 2017-09-01 Joseph Myers <joseph@codesourcery.com>
35223 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
35225 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
35227 * csu/version.c (banner): Remove "by Roland McGrath et al.".
35228 * nptl/Banner: Remove "by Ulrich Drepper et al.".
35230 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
35232 * stdlib/tst-atexit-common.c (do_test): Test support for at least
35233 32 atexit handlers.
35235 2017-09-01 Zack Weinberg <zackw@panix.com>
35237 * math/math.h (HUGE_VAL): Improve commentary.
35239 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35240 Andreas Schwab <schwab@suse.de>
35243 * include/stdio.h (__gen_tempfd): New function.
35244 * stdio-common/Makefile (routines): Add gentempfd.
35245 * stdio-common/gentempfd.c: New file.
35246 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
35247 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
35248 unnamed file first.
35250 2017-09-01 Florian Weimer <fweimer@redhat.com>
35254 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
35255 result to determine success or failure, not the errno value.
35256 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
35257 (tst-nss-files-hosts-erange): Link with -ldl.
35258 * nss/tst-nss-files-hosts-erange.c: New file.
35259 * nss/tst-resolv-basic.c (response): Handle nodata.example.
35260 (do_test): Add NO_DATA tests.
35261 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
35262 (do_test): Call it.
35264 2017-09-01 Florian Weimer <fweimer@redhat.com>
35267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
35268 coming from gethostbyname2_r.
35270 2017-09-01 Florian Weimer <fweimer@redhat.com>
35272 * support/namespace.h (struct support_chroot_configuration): Add
35274 (struct support_chroot): Add path_hosts, path_host_conf.
35275 * support/support_chroot.c (write_file): New function.
35276 (support_chroot_create): Call it to process /etc/resolv.conf,
35277 /etc/hosts, /etc/host.conf.
35278 (support_chroot_free): Update.
35280 2017-09-01 Florian Weimer <fweimer@redhat.com>
35282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
35283 status indicates it is set.
35285 2017-09-01 Florian Weimer <fweimer@redhat.com>
35288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
35289 function lookup failures more reliable.
35291 2017-09-01 Florian Weimer <fweimer@redhat.com>
35293 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
35294 (getcanonname): Likewise.
35295 (gaih_inet): Likewise.
35297 2017-09-01 Florian Weimer <fweimer@redhat.com>
35299 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
35300 (getcanonname): Likewise.
35301 (gaih_inet): Likewise.
35303 2017-08-31 Steve Ellcey <sellcey@cavium.com>
35304 Richard Henderson <rth@twiddle.net>
35306 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
35307 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
35308 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
35309 (IREG_SIZE, OREG_SIZE): New macros.
35310 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
35311 (IREG_SIZE, OREG_SIZE): New macros.
35312 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
35313 (IREG_SIZE): New macro.
35314 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
35315 (IREG_SIZE): New macro.
35316 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
35318 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
35319 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
35320 (__CONCATX): Handle exceptions correctly on large values that may
35322 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
35323 Initialize if not already set.
35324 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
35326 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35328 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
35329 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
35331 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
35333 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
35335 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
35337 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
35339 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
35341 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
35343 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
35344 (NO_CANCELLATION): Likewise.
35345 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
35347 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
35349 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
35351 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
35352 (NO_CANCELLATION): Likewise.
35353 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
35354 (NO_CANCELLATION): Likewise.
35355 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
35357 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
35359 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
35361 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
35363 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
35365 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
35366 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
35368 2017-08-31 Steve Ellcey <sellcey@cavium.com>
35370 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
35373 2017-08-31 Florian Weimer <fweimer@redhat.com>
35375 * include/libc-symbols.h (internal_function): Remove.
35377 2017-08-31 Florian Weimer <fweimer@redhat.com>
35379 * stdlib/fmtmsg.c (internal_addseverity): Remove
35382 2017-08-31 Florian Weimer <fweimer@redhat.com>
35384 * stdio-common/printf_fp.c (group_number): Remove
35386 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
35388 2017-08-31 Florian Weimer <fweimer@redhat.com>
35390 * posix/fnmatch.c (internal_function): Remove definition.
35391 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
35392 * posix/regcomp.c (peek_token, init_word_char)
35393 (duplicate_node_closure, fetch_token, peek_token)
35394 (peek_token_bracket, build_range_exp, build_collating_symbol):
35396 * posix/regex_internal.c (re_string_construct_common)
35397 (create_ci_newstate, create_cd_newstate, re_string_allocate)
35398 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
35399 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
35400 (re_string_translate_buffer, re_string_reconstruct)
35401 (re_string_peek_byte_case, re_string_fetch_byte_case)
35402 (re_string_destruct, re_string_context_at, re_node_set_alloc)
35403 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
35404 (re_node_set_add_intersect, re_node_set_init_union)
35405 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
35406 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
35407 (re_dfa_add_node, calc_state_hash, re_acquire_state)
35408 (re_acquire_state_context): Likewise.
35409 * posix/regex_internal.h (internal_function): Remove definition.
35410 (re_string_realloc_buffers, build_wcs_buffer)
35411 (build_wcs_upper_buffer, build_upper_buffer)
35412 (re_string_translate_buffer, re_string_context_at)
35413 (re_string_char_size_at, re_string_wchar_at)
35414 (re_string_elem_size_at): Likewise.
35415 * posix/regexec.c (match_ctx_init, match_ctx_clean)
35416 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
35417 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
35418 (re_search_internal, re_search_2_stub, re_search_stub)
35419 (re_copy_regs, prune_impossible_nodes, check_matching)
35420 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
35421 (free_fail_stack_return, sift_states_iter_mb)
35422 (sift_states_backward, build_sifted_states)
35423 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
35424 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
35425 (check_subexp_limits, sift_states_bkref, merge_state_array)
35426 (find_recover_state, transit_state, merge_state_with_log)
35427 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
35428 (transit_state_mb, transit_state_bkref, get_subexp)
35429 (get_subexp_sub, find_subexp_node, check_arrival)
35430 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
35431 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
35432 (check_node_accept_bytes, find_collation_sequence_value)
35433 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
35434 (acquire_init_state_context, check_halt_node_context)
35435 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
35436 (sub_epsilon_src_nodes): Likewise.
35437 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
35438 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
35439 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
35440 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
35441 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
35442 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
35443 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
35444 * sysdeps/posix/ttyname.c (getttyname): Likewise.
35445 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
35446 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
35447 (PREADV): Likewise.
35448 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
35449 (PREADV): Likewise.
35450 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
35451 (PWRITEV): Likewise.
35452 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
35453 (PWRITEV): Likewise.
35454 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
35455 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
35457 2017-08-31 Florian Weimer <fweimer@redhat.com>
35459 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
35460 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
35461 Remove internal_function.
35462 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
35463 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
35464 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
35465 (__deallocate_stack, __libc_pthread_init)
35466 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
35467 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
35468 (__libc_disable_asynccancel, __librt_disable_asynccancel):
35470 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
35471 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
35472 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
35474 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
35475 (__pthread_mutex_unlock_usercnt): Likewise.
35477 2017-08-31 Florian Weimer <fweimer@redhat.com>
35479 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
35480 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
35481 (fts_safe_changedir): Remove internal_function.
35482 * io/ftw.c (internal_function): Remove definition.
35483 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
35485 2017-08-31 Florian Weimer <fweimer@redhat.com>
35487 * inet/deadline.c (__deadline_current_time)
35488 (__deadline_from_timeval, __deadline_to_ms): Remove
35490 * inet/getnameinfo.c (nrl_domainname): Likewise.
35491 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
35492 * inet/inet6_option.c (add_pad): Likewise.
35493 * inet/net-internal.h (__deadline_current_time)
35494 (__deadline_from_timeval, __deadline_to_ms): Likewise.
35495 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
35496 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
35497 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
35499 2017-08-31 Joseph Myers <joseph@codesourcery.com>
35501 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
35502 include <bits/nan.h>.
35503 * math/Makefile (headers): Remove bits/nan.h.
35504 * bits/nan.h: Remove.
35505 * sysdeps/ieee754/bits/nan.h: Likewise.
35506 * sysdeps/mips/bits/nan.h: Likewise.
35508 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
35509 not include <bits/inf.h>.
35510 * math/Makefile (headers): Remove bits/inf.h.
35511 * bits/inf.h: Remove.
35512 * sysdeps/ieee754/bits/inf.h: Likewise.
35514 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
35515 bits/huge_vall.h or bits/huge_val_flt128.h.
35516 (HUGE_VAL): Define directly here.
35517 [__USE_ISOC99] (HUGE_VALF): Likewise.
35518 [__USE_ISOC99] (HUGE_VALL): Likewise.
35519 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35520 (HUGE_VAL_F128): Likewise.
35521 * math/Makefile (headers): Remove bits/huge_val.h,
35522 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
35523 * bits/huge_val.h: Remove.
35524 * bits/huge_val_flt128.h: Likewise.
35525 * bits/huge_valf.h: Likewise.
35526 * bits/huge_vall.h: Likewise.
35527 * sysdeps/ia64/bits/huge_vall.h: Likewise.
35528 * sysdeps/ieee754/bits/huge_val.h: Likewise.
35529 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
35530 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
35531 * sysdeps/sh/bits/huge_val.h: Likewise.
35532 * sysdeps/sparc/bits/huge_vall.h: Likewise.
35533 * sysdeps/x86/bits/huge_vall.h: Likewise.
35535 2017-08-31 Florian Weimer <fweimer@redhat.com>
35537 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
35539 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
35541 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
35542 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35543 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
35544 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
35545 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35546 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35547 * elf/dl-libc.c (dlerror_run): Likewise.
35548 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35549 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35550 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35551 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35553 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35554 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35555 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35556 * elf/dl-profile.c (_dl_start_profile): Likewise.
35557 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35558 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35560 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35561 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35562 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35563 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35564 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35565 (_dl_allocate_tls_storage): Likewise.
35566 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35567 (_dl_check_all_versions): Likewise.
35568 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35569 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35570 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35571 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35572 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35573 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35574 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35575 internal_function from __dl_start.
35576 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35577 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35578 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35579 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35580 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35581 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35582 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35583 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35584 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35585 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35586 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35587 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35588 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35589 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35590 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35592 (struct rtld_global_ro): Remove internal_function from the
35593 _dl_lookup_symbol_x member.
35594 (_dl_symbol_value): Remove. No longer defined anywhere.
35595 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35597 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35598 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35599 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35600 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35601 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35602 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35603 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35604 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35605 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35606 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35607 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35608 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35610 2017-08-31 Florian Weimer <fweimer@redhat.com>
35612 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35613 Remove internal_function.
35614 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35616 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35619 2017-08-31 Florian Weimer <fweimer@redhat.com>
35621 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35622 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35623 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35625 2017-08-31 Florian Weimer <fweimer@redhat.com>
35627 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35628 (__gai_enqueue_request): Remove internal_function.
35629 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35630 (__gai_remove_request, __gai_notify, __gai_notify_only)
35631 (__gai_sigqueue): Likewise.
35632 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35633 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35634 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35635 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35638 2017-08-31 Florian Weimer <fweimer@redhat.com>
35640 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35641 * include/dirent.h (__opendirat, __getdents, __getdents64)
35642 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35643 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35644 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35645 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35647 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35649 2017-08-31 Florian Weimer <fweimer@redhat.com>
35651 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35653 (GETCWD_RETURN_TYPE): Likewise.
35655 2017-08-31 Florian Weimer <fweimer@redhat.com>
35657 * include/time.h (__tz_compute, __strptime_internal): Remove
35659 * time/strptime_l.c (__strptime_internal): Likewise.
35660 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35662 2017-08-31 Florian Weimer <fweimer@redhat.com>
35664 * iconv/gconv.c (__gconv): Remove internal_function.
35665 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35666 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35667 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35668 (__gconv_release_cache): Likewise.
35669 * iconv/gconv_close.c (__gconv_close): Likewise.
35670 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35671 (read_conf_file, __gconv_get_path): Likewise.
35672 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35673 (__gconv_release_step, gen_steps, increment_counter)
35674 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35675 (__gconv_close_transform, free_modules_db): Likewise.
35676 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35678 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35679 (__gconv_find_transform, __gconv_lookup_cache)
35680 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35681 (__gconv_close_transform, __gconv_release_cache)
35682 (__gconv_loaded_object, __gconv_release_shlib)
35683 (__gconv_compare_alias): Likewise.
35684 * iconv/gconv_open.c (__gconv_open): Likewise.
35685 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35686 * iconv/iconvconfig.c (add_module): Likewise.
35687 * intl/dcigettext.c (plural_lookup, guess_category_value)
35688 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35689 * intl/eval-plural.h (plural_eval): Likewise.
35690 * intl/finddomain.c (_nl_find_domain): Likewise.
35691 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35692 (_nl_load_domain, _nl_find_msg): Likewise.
35693 (internal_function): Remove definition.
35694 * intl/loadinfo.h (internal_function): Likewise.
35695 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35697 * intl/localealias.c (internal_function): Remove definition.
35698 (read_alias_file): Remove internal_function.
35699 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35700 * intl/plural-exp.h (internal_function): Remove definition.
35701 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35703 * intl/plural.c: Regenerate.
35704 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35705 * locale/coll-lookup.c (__collidx_table_lookup)
35706 (__collseq_table_lookup): Likewise.
35707 * locale/coll-lookup.h (__collidx_table_lookup)
35708 (__collseq_table_lookup): Likewise.
35709 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35710 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35711 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35712 (_nl_unload_locale): Likewise.
35713 * locale/localeinfo.h (struct __locale_data): Remove
35714 internal_function from cleanup member.
35715 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35716 (_nl_remove_locale, _nl_load_locale_from_archive)
35717 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35718 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35719 (_nl_cleanup_time): Remove internal_function.
35720 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35721 (_nl_parse_alt_digit): Likewise.
35722 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35723 (_nl_select_era_entry): Likewise.
35724 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35725 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35726 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35727 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35728 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35730 2017-08-31 Florian Weimer <fweimer@redhat.com>
35732 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35733 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35734 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35735 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35737 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35738 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35739 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35740 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35742 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35744 2017-08-31 Florian Weimer <fweimer@redhat.com>
35746 * misc/getttyent.c (skip, value): Remove internal_function.
35747 * misc/syslog.c (openlog_internal): Likewise.
35748 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35750 2017-08-31 Florian Weimer <fweimer@redhat.com>
35752 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35753 (__nss_rewrite_field): Remove internal_function.
35754 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35755 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35756 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35757 * nss/nsswitch.c (nss_parse_file, nss_getline)
35758 (nss_parse_service_list, nss_new_service): Likewise.
35759 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35760 * nss/valid_field.c (__nss_valid_field): Likewise.
35761 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35763 2017-08-31 Florian Weimer <fweimer@redhat.com>
35765 * malloc/arena.c (__malloc_fork_lock_parent)
35766 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35767 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35768 internal_function from defintions.
35769 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35770 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35771 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35772 internal_function from declarations.
35773 * malloc/malloc.c (internal_function): Do not define.
35774 (mem2mem_check): Remove internal_function from declaration.
35775 (munmap_chunk, mremap_chunk): Remove internal_function.
35776 * malloc/mtrace.c (tr_where): Likewise.
35778 2017-08-31 Florian Weimer <fweimer@redhat.com>
35780 * include/rpc/pmap_clnt.h (__get_socket): Remove
35782 * sunrpc/auth_des.c (synchronize): Likewise.
35783 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35784 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35785 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35786 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35787 (key_call): Likewise.
35788 * sunrpc/pm_getport.c (__get_socket): Likewise.
35789 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35790 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35791 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35792 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35793 (invalidate): Likewise.
35794 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35795 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35796 (set_input_fragment, get_input_bytes): Likewise.
35798 2017-08-31 Florian Weimer <fweimer@redhat.com>
35800 * malloc/malloc.c (_int_free): Remove locked variable and related
35803 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35806 * Makerules (build-module-helper-objlist): Filter out
35807 $(elf-objpfx)sofini.os.
35808 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35811 2017-08-31 Florian Weimer <fweimer@redhat.com>
35813 * libio/fcloseall.c: Assume weak_alias is defined.
35814 * libio/feof.c: Likewise.
35815 * libio/fileno.c: Likewise.
35816 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35817 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35819 (_IO_file_open): Call __open directly.
35820 (_IO_new_file_sync): Assume ESPIPE is defined.
35821 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35822 (_IO_new_file_write): Call __write directly.
35823 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35824 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35825 * libio/genops.c: Assume _LIBC is defined.
35826 (save_for_backup): Remove internal_function.
35827 * libio/getc.c: Assume weak_alias is defined.
35828 * libio/getwc.c: Likewise.
35829 * libio/iofclose.c: Assume _LIBC is defined.
35830 * libio/iofdopen.c: Likewise.
35831 (_IO_fcntl): Remove macro definition.
35832 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35833 Call __fcntl directly.
35834 * libio/iofflush.c: Assume weak_alias is defined.
35835 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35837 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35838 * libio/iofgets.c: Likewise.
35839 * libio/iofopen.c: Assume _LIBC is defined.
35840 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35841 * libio/iofputs.c: Assume weak_alias is defined.
35842 * libio/iofread.c: Likewise.
35843 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35844 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35845 * libio/ioftell.c: Assume weak_alias is defined.
35846 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35847 * libio/iofwide.c: Assume _LIBC is defined.
35848 (_IO_fwide): Drop SHARED conditional because it is implied by
35850 * libio/iofwrite.c: Assume weak_alias is defined.
35851 * libio/iogetdelim.c: Likewise.
35852 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35853 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35854 (_IO_getwline): Call __wmemcpy directly.
35855 * libio/iopopen.c: Assume _LIBC is defined.
35856 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35857 (_IO_close): Remove macro definitions.
35858 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35860 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35862 * libio/ioputs.c: Assume weak_alias is defined.
35863 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35864 * libio/iosetbuffer.c: Assume weak_alias is defined.
35865 * libio/iosetvbuf.c: Likewise.
35866 * libio/ioungetc.c: Likewise.
35867 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35868 libc_hidden_def, libc_hidden_weak, NULL are defined.
35869 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35870 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35872 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35874 (_IO_old_file_init_internal): Drop SHARED conditional because it
35875 is implied by SHLIB_COMPAT.
35876 (_IO_old_file_fopen): Call __open directly.
35877 (_IO_old_file_sync): Assume ESPIPE is defined.
35878 (_IO_old_file_write): Call __write directly.
35879 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35880 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35881 Call __fcntl directly.
35882 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35883 (_IO_old_fgetpos): Assume EIO is defined.
35884 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35885 (_IO_old_fgetpos64): Assume EIO is defined.
35886 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35887 (_IO_old_fsetpos): Assume EIO is defined.
35888 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35889 (_IO_old_fsetpos64): Assume EIO is defined.
35890 * libio/oldiopopen.c: Assume _LIBC is defined.
35891 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35892 (_IO_close): Remove macro definitions.
35893 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35895 (_IO_old_proc_close): Call __close, __waitpid directly.
35896 * libio/put.c: Assume weak_alias is defined.
35897 * libio/stdfiles.c: Assume _LIBC is defined.
35898 * libio/stdio.c: Likewise.
35899 * libio/wfileops.c: Likewise.
35900 (_IO_wfile_sync): Assume ESPIPE is defined.
35901 * libio/wgenops.c: Assume _LIBC is defined.
35902 (save_for_wbackup): Remove internal_function.
35904 2017-08-31 Florian Weimer <fweimer@redhat.com>
35906 * malloc/malloc.c (top_check): Change return type to void. Remove
35908 * malloc/hooks.c (top_check): Likewise.
35909 (malloc_check, realloc_check, memalign_check): Adjust.
35911 2017-08-30 Joseph Myers <joseph@codesourcery.com>
35914 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35915 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35916 sigcontext and namespace requirements.
35917 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35918 * sysdeps/m68k/sys/ucontext.h: Likewise.
35919 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35920 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35921 <bits/sigcontext.h>.
35922 (__ctx): Define earlier.
35923 (mcontext_t): Define structure contents rather than using struct
35925 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35926 __glibc_reserved1 instead of __reserved.
35927 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35928 <bits/sigcontext.h>.
35929 (__ctx): Define earlier.
35930 (mcontext_t): Define structure contents rather than using struct
35932 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35933 mcontext_t instead of struct sigcontext.
35934 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35935 <bits/sigcontext.h>.
35936 (__ctx): Define earlier.
35937 (mcontext_t): Define structure contents rather than using struct
35939 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35940 <bits/sigcontext.h>.
35941 (__ctx): Define earlier.
35942 (mcontext_t): Define structure contents rather than using struct
35944 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35945 mcontext_t instead of struct sigcontext.
35946 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35947 mcontext_t instead of struct sigcontext.
35948 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35949 <bits/sigcontext.h>.
35950 (__ctx): New macro.
35951 (struct __ia64_fpreg_mcontext): New type.
35952 (mcontext_t): Define structure contents rather than using struct
35954 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35955 (uc_sigmask): Define using __ctx.
35956 (uc_stack): Likewise.
35957 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35958 <bits/sigcontext.h>.
35959 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35960 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35961 <bits/sigcontext.h>.
35962 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35963 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35964 <bits/sigcontext.h>.
35965 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35966 <bits/sigcontext.h>.
35967 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35968 <bits/sigcontext.h>.
35969 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35970 <bits/sigcontext.h>.
35971 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35972 <bits/sigcontext.h>.
35973 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35974 <bits/sigcontext.h>.
35975 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35976 <bits/sigcontext.h>.
35977 (__ctx): Define earlier.
35978 (mcontext_t): Define structure contents rather than using struct
35980 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35981 <bits/sigcontext.h>. Include <bits/types.h>.
35982 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35983 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35984 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35985 (test-xfail-UNIX98/signal.h/conform): Likewise.
35986 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35987 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35988 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35989 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35990 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35991 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35992 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35993 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35994 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35996 2017-08-30 Florian Weimer <fweimer@redhat.com>
35998 * malloc/dynarray_emplace_enlarge.c
35999 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
36000 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
36001 * malloc/tst-dynarray.c (test_long_overflow): New function.
36002 (do_test): Call it.
36004 2017-08-30 Florian Weimer <fweimer@redhat.com>
36006 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
36007 (set_arena_corrupt): Remove definitions.
36008 (mtrim): Do not check for corrupt arena.
36009 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
36012 2017-08-30 Florian Weimer <fweimer@redhat.com>
36015 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
36017 (ptmalloc_init): Do not set or use check_action.
36018 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
36019 call to malloc_printerr. Remove return statement.
36020 (free_check): Likewise. Remove arena unlock.
36021 (top_check): Update comment. Adjust call to malloc_printerr.
36022 Remove heap repair code.
36023 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
36024 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
36025 (sysmalloc): Adjust call to malloc_printerr.
36026 (munmap_chunk, __libc_realloc): Likewise. Remove return
36028 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
36029 Remove errout label and corresponding gotos.
36030 (_int_free): Likewise. Remove arena unlock.
36031 (do_set_mallopt_check): Do not set check_action.
36032 (malloc_printerr): Adjust parameter list. Do not mark arena as
36034 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
36036 * manual/probes.texi (Memory Allocation Probes): Remove
36037 memory_mallopt_check_action.
36039 2017-08-30 Steve Ellcey <sellcey@cavium.com>
36041 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
36042 Use pointer to uint64_t instead of long int for sp.
36044 2017-08-30 Florian Weimer <fweimer@redhat.com>
36047 * malloc/malloc.c (malloc_printerr): Always terminate the process,
36048 without printing a backtrace. Do not leak any information in the
36050 * manual/memory.texi (Heap Consistency Checking): Update.
36051 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
36053 2017-08-30 Florian Weimer <fweimer@redhat.com>
36055 Do not scale NPTL tests with available number of CPUs.
36056 * nptl/tst-cond16.c (count): Set to constant value of 8.
36057 * nptl/tst-cond18.c (count): Likewise.
36059 2017-08-29 Joseph Myers <joseph@codesourcery.com>
36062 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
36063 Define to take a second argument that is a macro that
36064 concatentates a suffix, not the suffix itself.
36065 (__CONCAT_d): New macro.
36066 (__CONCAT_f): Likewise.
36067 (__CONCAT_l): Likewise.
36069 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
36071 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
36074 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36075 Aurelien Jarno <aurelien@aurel32.net>
36076 Maciej W. Rozycki <macro@imgtec.com>
36079 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
36080 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
36081 `mips16-syscall6' and `mips16-syscall7'.
36082 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
36083 (CFLAGS-mips16-syscall7.c): Remove.
36084 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
36085 Remove `__mips16_syscall5', `__mips16_syscall6' and
36086 `__mips16_syscall7'.
36087 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
36088 (__mips16_syscall0): Rename `__mips16_syscall_return' to
36089 `__mips_syscall_return'.
36090 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
36091 (__mips16_syscall1): Likewise.
36092 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
36093 (__mips16_syscall2): Likewise.
36094 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
36095 (__mips16_syscall3): Likewise.
36096 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
36097 (__mips16_syscall4): Likewise.
36098 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
36100 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
36102 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
36104 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
36105 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
36106 `__mips16_syscall5'. Remove prototype.
36107 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
36108 `__mips16_syscall6'. Remove prototype.
36109 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
36110 `__mips16_syscall7'. Remove prototype.
36111 (__nomips16, __mips16_syscall_return): Move to...
36112 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
36113 (__nomips16, __mips_syscall_return): ... here.
36114 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
36115 `__mips16_syscall_return' to `__mips_syscall_return'.
36116 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
36117 `internal_syscall##nr'.
36118 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
36119 `internal_syscall##nr'.
36120 (FORCE_FRAME_POINTER): Remove.
36121 (__mips_syscall5): New prototype.
36122 (internal_syscall5): Rewrite to call `__mips_syscall5'.
36123 (__mips_syscall6): New prototype.
36124 (internal_syscall6): Rewrite to call `__mips_syscall6'.
36125 (__mips_syscall7): New prototype.
36126 (internal_syscall7): Rewrite to call `__mips_syscall7'.
36127 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
36128 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
36129 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
36130 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
36131 (sysdep_routines): Add libc-do-syscall.
36132 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
36133 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
36135 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36138 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
36139 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
36140 (advise_stack_range): New function.
36141 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
36142 stack non required to advise_stack_range at allocatestack.c
36144 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
36146 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
36148 2017-08-29 Florian Weimer <fweimer@redhat.com>
36151 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
36152 __end_fct. Mangle __end_fct after setting it to NULL.
36153 * iconv/Makefile (tests): Add tst-gconv-init-failure.
36154 (modules-names, modules-names-tests): Add
36155 tst-gconv-init-failure-mod.
36156 (gconv-modules): New target.
36157 (tst-gconv-init-failure-mod.so): Link against libsupport.
36158 (tst-gconv-init-failure): Depend on gconv-modules,
36159 tst-gconv-init-failure-mod.so.
36160 * iconv/tst-gconv-init-failure-mod.c: New file.
36161 * iconv/tst-gconv-init-failure.c: Likewise.
36162 * iconv/test-gconv-modules: Likewise.
36164 2017-08-29 Florian Weimer <fweimer@redhat.com>
36167 * iconv/gconv_db.c (free_derivation): Remove redundant
36169 (gen_steps): Unconditionally mangle __btowc_fct after
36171 (increment_counter): Likewise. Do not call init_fct for internal
36174 2017-08-29 Joseph Myers <joseph@codesourcery.com>
36177 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
36178 (_MSUF_): Remove macro.
36179 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
36181 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
36182 (__REDIRFROM_X): New macro.
36183 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
36185 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
36186 (__REDIRTO_X): Likewise.
36187 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
36189 (__MATH_REDIRCALL_2): Likewise.
36190 (__MATH_REDIRCALL_INTERNAL): Likewise.
36191 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
36192 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
36193 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
36194 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
36195 * math/test-finite-macros.c: New file.
36196 * math/Makefile (tests): Add test-finite-macros.
36197 (CFLAGS-test-finite-macros.c): New variable.
36199 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
36200 Jeff Law <law@redhat.com>
36203 Mangle NULL pointers in iconv/gconv.
36204 * iconv/gconv_cache.c (find_module): Demangle init_fct before
36205 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
36206 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
36207 is non-NULL before demangling the end_fct. Check for NULL
36208 end_fct after demangling.
36209 (__gconv_release_step): Demangle the end_fct before checking
36210 it for NULL. Remove assert on __shlibc_handle != NULL.
36211 (gen_steps): Don't check btowc_fct for NULL before mangling.
36212 Demangle init_fct before checking for NULL.
36213 (increment_counter): Likewise.
36214 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
36215 end_fct for NULL before mangling.
36216 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
36219 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
36222 * locale/iso-639.def: add Morisyen.
36224 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36227 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
36228 (iszero): New C++ implementation that does not use
36229 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
36230 signaling nans are enabled, since __builtin_types_compatible_p
36231 is a C-only feature.
36232 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
36233 defined, include ieee754_float128.h for access to the union and
36234 member ieee854_float128.ieee.
36235 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
36236 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
36237 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36238 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
36239 options of test-math-zero on powerpc64le.
36241 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
36243 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
36244 Change double to float.
36246 2017-08-28 Joseph Myers <joseph@codesourcery.com>
36248 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
36250 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
36251 conditional code; define contents only for [LIBM_SVID_COMPAT].
36253 2017-08-28 Florian Weimer <fweimer@redhat.com>
36255 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
36256 (abi-lp64_be-options): Remove.
36257 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
36258 (abi-hard-options): Likewise.
36259 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
36260 (abi-o32_hard-options, abi-o32_soft_2008-options)
36261 (abi-o32_hard_2008-options, abi-n32_soft-options)
36262 (abi-n32_hard-options, abi-n32_soft_2008-options)
36263 (abi-n32_hard_2008-options, abi-n64_soft-options)
36264 (abi-n64_hard-options, abi-n64_soft_2008-options)
36265 (abi-n64_hard_2008-options): Likewise.
36266 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
36267 (abi-64-v1-options, abi-64-v2-options): Likewise.
36268 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
36269 (abi-64-options): Likewise.
36270 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
36271 (abi-64-options): Likewise.
36272 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
36273 (abi-64-options): Likewise.
36274 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
36275 (abi-64-options, abi-x32-options): Likewise.
36277 2017-08-28 Florian Weimer <fweimer@redhat.com>
36279 Store supported list of SYS_* system calls in the source tree.
36280 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
36281 (bits/syscall.h): Generate from list file.
36282 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
36283 [$(subdir) = misc] (tests): Add tst-syscall-list.
36284 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
36285 [$(subdir) = misc] (tst-syscall-list-macros.list)
36286 [$(subdir) = misc] (tst-syscall-list-nr.list)
36287 (tst-syscall-list-sys.list): Helper targets for new
36288 tst-syscall-list test.
36289 [$(subdir) = misc] (tst-syscall-list.out): Run test script
36290 tst-syscall-list.sh.
36291 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
36292 target. Do not include bits/syscall.d.
36293 [$(subdir) = misc] (generated): Do not update.
36294 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
36295 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
36296 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
36297 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
36299 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
36301 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
36302 (tst-cxa_atexit, tst-on_exit): Likewise.
36303 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
36304 tst-cxa_atexit, and tst-on_exit.
36305 * stdlib/tst-atexit-common.c: New file.
36306 * stdlib/tst-atexit.c: New file.
36307 * stdlib/tst-at_quick_exit.c: New file.
36308 * stdlib/tst-cxa_atexit.c: New file.
36309 * stdlib/tst-on_exit.c: New file.
36311 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
36313 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
36314 * mach/stack_chk_fail_local.c: New file.
36315 * hurd/stack_chk_fail_local.c: New file.
36316 * mach/Machrules ($(interface-library)-routines): Add
36317 stack_chk_fail_local.
36318 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
36319 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
36320 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
36321 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
36322 * hurd/Makefile (CFLAGS-hurdstartup.o,
36323 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
36325 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
36327 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
36328 (index_cpu_*, index_arch_*): Removed.
36330 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
36332 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
36333 Use uint64_t instead of unsigned long.
36335 2017-08-25 Joseph Myers <joseph@codesourcery.com>
36337 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
36338 [__HAVE_DISTINCT_FLOAT128].
36340 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
36341 of <bits/math-finite.h>.
36342 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
36343 inclusion of <bits/math-finite.h>.
36344 * math/bits/math-finite.h (__REDIRTO_X): Do not define
36345 conditionally on [__MATH_DECLARING_LDOUBLE && defined
36346 __NO_LONG_DOUBLE_MATH].
36347 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
36348 (__MATH_REDIRCALL_2): Likewise.
36349 (__MATH_REDIRCALL_INTERNAL): Likewise.
36350 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
36351 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
36352 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
36354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
36356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
36358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
36360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
36362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
36364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
36366 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36367 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36368 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36369 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
36371 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
36372 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
36373 w_sqrtf_compat-ppc32.
36375 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36377 * math/math.h [defined __cplusplus] (issignaling): In the long
36378 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
36379 is not defined. Call __issignaling, otherwise.
36381 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36383 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
36384 syscall definitions and replace __builtin_expect with __glibc_likely.
36385 * sysdeps/unix/syscall-template.S: Update comment about cancellable
36387 (SYSCALL_CANCELLABLE): Removedefinition
36388 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
36390 (PSEUDO_END): Likewise.
36391 [IS_IN (libpthread)] (CENABLE): Likewise.
36392 [IS_IN (libpthread)] (CDISABLE): Likewise.
36393 [IS_IN (libc)] (CENABLE): Likewise.
36394 [IS_IN (libc)] (CENABLE): Likewise.
36395 [IS_IN (librt)] (CDISABLE): Likewise.
36396 [IS_IN (librt)] (CDISABLE): Likewise.
36397 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36398 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
36400 (PSEUDO_END): Likewise.
36401 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
36402 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
36403 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36404 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36405 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36406 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36407 (CENABLE): Likewise.
36408 (CDISABLE): Likewise.
36409 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36410 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
36412 (PSEUDO_END): Likewise.
36413 [IS_IN (libpthread)] (CENABLE): Likewise.
36414 [IS_IN (libpthread)] (CDISABLE): Likewise.
36415 [IS_IN (libc)] (CENABLE): Likewise.
36416 [IS_IN (libc)] (CENABLE): Likewise.
36417 [IS_IN (librt)] (CDISABLE): Likewise.
36418 [IS_IN (librt)] (CDISABLE): Likewise.
36419 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36420 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
36422 (PSEUDO_END): Likewise.
36423 [IS_IN (libpthread)] (CENABLE): Likewise.
36424 [IS_IN (libpthread)] (CDISABLE): Likewise.
36425 [IS_IN (libc)] (CENABLE): Likewise.
36426 [IS_IN (libc)] (CENABLE): Likewise.
36427 [IS_IN (librt)] (CDISABLE): Likewise.
36428 [IS_IN (librt)] (CDISABLE): Likewise.
36429 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36430 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
36432 (PSEUDO_END): Likewise.
36433 [IS_IN (libpthread)] (CENABLE): Likewise.
36434 [IS_IN (libpthread)] (CDISABLE): Likewise.
36435 [IS_IN (libc)] (CENABLE): Likewise.
36436 [IS_IN (libc)] (CENABLE): Likewise.
36437 [IS_IN (librt)] (CDISABLE): Likewise.
36438 [IS_IN (librt)] (CDISABLE): Likewise.
36439 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36440 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
36442 (PSEUDO_END): Likewise.
36443 [IS_IN (libpthread)] (CENABLE): Likewise.
36444 [IS_IN (libpthread)] (CDISABLE): Likewise.
36445 [IS_IN (libc)] (CENABLE): Likewise.
36446 [IS_IN (libc)] (CENABLE): Likewise.
36447 [IS_IN (librt)] (CDISABLE): Likewise.
36448 [IS_IN (librt)] (CDISABLE): Likewise.
36449 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36450 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
36452 (PSEUDO_END): Likewise.
36453 [IS_IN (libpthread)] (CENABLE): Likewise.
36454 [IS_IN (libpthread)] (CDISABLE): Likewise.
36455 [IS_IN (libc)] (CENABLE): Likewise.
36456 [IS_IN (libc)] (CENABLE): Likewise.
36457 [IS_IN (librt)] (CDISABLE): Likewise.
36458 [IS_IN (librt)] (CDISABLE): Likewise.
36459 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36460 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
36462 (PSEUDO_END): Likewise.
36463 [IS_IN (libpthread)] (CENABLE): Likewise.
36464 [IS_IN (libpthread)] (CDISABLE): Likewise.
36465 [IS_IN (libc)] (CENABLE): Likewise.
36466 [IS_IN (libc)] (CENABLE): Likewise.
36467 [IS_IN (librt)] (CDISABLE): Likewise.
36468 [IS_IN (librt)] (CDISABLE): Likewise.
36469 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36470 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
36472 (PSEUDO_END): Likewise.
36473 [IS_IN (libpthread)] (CENABLE): Likewise.
36474 [IS_IN (libpthread)] (CDISABLE): Likewise.
36475 [IS_IN (libc)] (CENABLE): Likewise.
36476 [IS_IN (libc)] (CENABLE): Likewise.
36477 [IS_IN (librt)] (CDISABLE): Likewise.
36478 [IS_IN (librt)] (CDISABLE): Likewise.
36479 (SINGLE_THREAD_P): Likewise.
36480 * sysdeps/unix/sysv/linux/mips/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/nios2/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/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
36501 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36502 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
36503 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
36505 (PSEUDO_END): Likewise.
36506 [IS_IN (libpthread)] (CENABLE): Likewise.
36507 [IS_IN (libpthread)] (CDISABLE): Likewise.
36508 [IS_IN (libc)] (CENABLE): Likewise.
36509 [IS_IN (libc)] (CENABLE): Likewise.
36510 [IS_IN (librt)] (CDISABLE): Likewise.
36511 [IS_IN (librt)] (CDISABLE): Likewise.
36512 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36513 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
36515 (PSEUDO_END): Likewise.
36516 [IS_IN (libpthread)] (CENABLE): Likewise.
36517 [IS_IN (libpthread)] (CDISABLE): Likewise.
36518 [IS_IN (libc)] (CENABLE): Likewise.
36519 [IS_IN (libc)] (CENABLE): Likewise.
36520 [IS_IN (librt)] (CDISABLE): Likewise.
36521 [IS_IN (librt)] (CDISABLE): Likewise.
36522 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36523 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
36525 (PSEUDO_END): Likewise.
36526 [IS_IN (libpthread)] (CENABLE): Likewise.
36527 [IS_IN (libpthread)] (CDISABLE): Likewise.
36528 [IS_IN (libc)] (CENABLE): Likewise.
36529 [IS_IN (libc)] (CENABLE): Likewise.
36530 [IS_IN (librt)] (CDISABLE): Likewise.
36531 [IS_IN (librt)] (CDISABLE): Likewise.
36532 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36533 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
36534 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36535 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
36536 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
36538 (PSEUDO_END): Likewise.
36539 [IS_IN (libpthread)] (CENABLE): Likewise.
36540 [IS_IN (libpthread)] (CDISABLE): Likewise.
36541 [IS_IN (libc)] (CENABLE): Likewise.
36542 [IS_IN (libc)] (CENABLE): Likewise.
36543 [IS_IN (librt)] (CDISABLE): Likewise.
36544 [IS_IN (librt)] (CDISABLE): Likewise.
36545 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36546 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36548 (PSEUDO_END): Likewise.
36549 [IS_IN (libpthread)] (CENABLE): Likewise.
36550 [IS_IN (libpthread)] (CDISABLE): Likewise.
36551 [IS_IN (libc)] (CENABLE): Likewise.
36552 [IS_IN (libc)] (CENABLE): Likewise.
36553 [IS_IN (librt)] (CDISABLE): Likewise.
36554 [IS_IN (librt)] (CDISABLE): Likewise.
36555 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36557 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36559 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36561 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36563 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36565 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36568 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36569 middle and outer with size_t instead of int. Repleace %d and
36570 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36571 "MAX (outer, nchars - 64)" to support unsigned outer and
36572 nchars. Also exit loop when outer == 0.
36574 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36576 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36577 * include/signal.h (__sigsuspend_nocancel): Likewise.
36578 * include/time.h (__nanosleep_nocancel): Likewise.
36579 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36580 * login/utmp_file.c: Include non cancellable syscall header.
36581 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36584 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36586 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36587 .byte sequences with AVX512F instructions.
36588 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36589 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36590 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36591 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36593 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36596 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36597 Steve Ellcey <sellcey@cavium.com>
36599 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36600 Use PTR_REG macro in cmp instruction.
36602 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36604 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36605 Change the return type of the ifunc resolver to match the return
36606 type of the target function.
36608 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36610 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36611 (preadv64): Likewise.
36612 (pwrite64(: Likewise.
36613 (pwritev64): Likewise.
36615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36616 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36617 (LOAD_ARGS_0): Likewise.
36618 (LOAD_ARGS_1): Likewise.
36619 (LOAD_ARGS_2): Likewise.
36620 (LOAD_ARGS_3): Likewise.
36621 (LOAD_ARGS_4): Likewise.
36622 (LOAD_ARGS_5): Likewise.
36623 (LOAD_ARGS_6): Likewise.
36624 (LOAD_REGS_0): Likewise.
36625 (LOAD_REGS_1): Likewise.
36626 (LOAD_REGS_2): Likewise.
36627 (LOAD_REGS_3): Likewise.
36628 (LOAD_REGS_4): Likewise.
36629 (LOAD_REGS_5): Likewise.
36630 (LOAD_REGS_6): Likewise.
36631 (ASM_ARGS_0): Likewise.
36632 (ASM_ARGS_1): Likewise.
36633 (ASM_ARGS_2): Likewise.
36634 (ASM_ARGS_3): Likewise.
36635 (ASM_ARGS_4): Likewise.
36636 (ASM_ARGS_5): Likewise.
36637 (ASM_ARGS_6): Likewise.
36638 (LOAD_ARGS_TYPES_1): Likewise.
36639 (LOAD_ARGS_TYPES_2): Likewise.
36640 (LOAD_ARGS_TYPES_3): Likewise.
36641 (LOAD_ARGS_TYPES_4): Likewise.
36642 (LOAD_ARGS_TYPES_5): Likewise.
36643 (LOAD_ARGS_TYPES_6): Likewise.
36644 (LOAD_REGS_TYPES_1): Likewise.
36645 (LOAD_REGS_TYPES_2): Likewise.
36646 (LOAD_REGS_TYPES_3): Likewise.
36647 (LOAD_REGS_TYPES_4): Likewise.
36648 (LOAD_REGS_TYPES_5): Likewise.
36649 (LOAD_REGS_TYPES_6): Likewise.
36650 (TYPEFY): New define.
36651 (ARGIFY): Likewise.
36652 (internal_syscall0): Likewise.
36653 (internal_syscall1): Likewise.
36654 (internal_syscall2): Likewise.
36655 (internal_syscall3): Likewise.
36656 (internal_syscall4): Likewise.
36657 (internal_syscall5): Likewise.
36658 (internal_syscall6): Likewise.
36659 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36660 (INTERNAL_SYSCALL_NCS): Remove define.
36661 (internal_syscall1): Add define.
36663 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36665 * math/w_remainder_compat.c: Remove duplicate inclusion of
36666 math-svid-compat.h.
36667 * math/w_remainderf_compat.c: Likewise.
36668 * math/w_remainderl_compat.c: Likewise.
36670 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36674 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36677 * math/tgmath.h (__floating_type): Simplify definitions.
36678 (__real_integer_type): New macro.
36679 (__complex_integer_type): Likewise.
36680 (__expr_is_real): Likewise.
36681 (__tgmath_real_type_sub): Update comment to describe handling of
36683 (__tgmath_complex_type_sub): New macro.
36684 (__tgmath_complex_type): Likewise.
36685 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36686 (__TGMATH_CF128): Use __expr_is_real.
36687 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36689 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36690 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36691 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36694 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36696 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36698 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36700 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36703 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36704 nanosleep_not_cancel with __nanosleep_nocancel.
36705 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36706 (__nanosleep_nocancel): New macro.
36707 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36709 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36711 (__nanosleep_nocancel): New prototype.
36713 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36714 pause_not_cancel with __pause_nocancel.
36715 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36716 (__pause_nocancel): New macro.
36717 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36719 (__pause_nocancel): New prototype.
36720 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36722 2017-08-22 Martin Sebor <msebor@redhat.com>
36724 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36725 to return a pointer to the same type as the target function.
36727 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36731 * include/printf.h (__printf_fphex): Add attribute_hidden.
36732 (__guess_grouping): New prototype.
36733 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36734 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36735 libc_hidden_proto and libc_hidden_def.
36736 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36737 (__vstrfmon_l): Remove the third argument passed to
36740 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36742 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36743 definition for issignaling that does not rely on __MATH_TG,
36744 since __MATH_TG uses __builtin_types_compatible_p, which is only
36745 available in C mode.
36746 (CFLAGS-test-math-issignaling.cc): New variable.
36747 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36748 * math/test-math-issignaling.cc: New test for C++ implementation
36749 of type-generic issignaling.
36750 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36751 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36752 options of test-math-issignaling on powerpc64le.
36754 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36756 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36758 (hidden_proto): Likewise.
36759 (hidden_tls_proto): Likewise.
36760 (__hidden_proto): Likewise.
36762 2017-08-22 Florian Weimer <fweimer@redhat.com>
36764 math: Statically link tests of internal functionality.
36765 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36767 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36768 (gmp-objs): Remove assignment.
36769 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36771 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36774 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36776 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36778 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36781 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36782 variable definitions above inclusion of ../Rules.
36784 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36786 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36787 case calling __builtin_unreachable.
36789 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36791 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36792 __waitpid_nocancel.
36793 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36794 (__waitpid_nocancel): New macro.
36795 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36797 (__waitpid_nocancel): Replace macro with a function.
36798 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36801 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36803 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36804 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36806 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36807 __writev_nocancel_nostatus.
36808 (write_call_graph): Likewise.
36809 (write_bb_counts): Likewise.
36810 * resolv/herror.c (herror): Likewise.
36811 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36813 (__writev_nocancel_nostatus): New macro.
36814 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36816 (__writev_nocancel_nostatus): New function.
36818 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36821 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36823 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36825 (hidden_proto): Likewise.
36826 (hidden_tls_proto): Likewise.
36827 (__hidden_proto): Likewise.
36830 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36831 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36840 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36841 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36842 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36843 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36844 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36845 GLIBC_2.0 sqrtl symbol.
36847 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36848 [__USE_MISC] (_LIB_VERSION): Likewise.
36849 [__USE_MISC] (struct exception): Likewise.
36850 [__USE_MISC] (matherr): Likewise.
36851 [__USE_MISC] (DOMAIN): Likewise.
36852 [__USE_MISC] (SING): Likewise.
36853 [__USE_MISC] (OVERFLOW): Likewise.
36854 [__USE_MISC] (UNDERFLOW): Likewise.
36855 [__USE_MISC] (TLOSS): Likewise.
36856 [__USE_MISC] (PLOSS): Likewise.
36857 [__USE_MISC] (HUGE): Likewise.
36858 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36859 * math/math-svid-compat.h: New file.
36860 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36862 * include/math.h [!_ISOMAC] (__matherr): Remove.
36863 * manual/arith.texi (FP Exceptions): Do not document matherr.
36864 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36865 (tests-internal): New variable.
36866 (install-lib): Do not add libieee.a.
36867 (non-lib.a): Likewise.
36868 (extra-objs): Do not add libieee.a and ieee-math.o.
36869 (CPPFLAGS-s_lib_version.c): Remove variable.
36870 ($(objpfx)libieee.a): Remove rule.
36871 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36872 * math/ieee-math.c: Remove.
36873 * math/libm-test-support.c (matherr): Remove.
36874 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36875 and license notices. Include <math-svid-compat.h> and
36877 (matherr): Undefine as macro. Use compat_symbol_reference.
36878 (_LIB_VERSION): Likewise.
36879 * math/test-matherr-2.c: New file.
36880 * math/test-matherr-3.c: Likewise.
36881 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36883 (__kernel_standard_f): Likewise.
36884 (__kernel_standard_l): Likewise.
36885 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36886 <math_private.h>. Include <math-svid-compat.h>.
36887 (_LIB_VERSION): Undefine as macro.
36888 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36889 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36890 [LIBM_SVID_COMPAT], use compat_symbol.
36891 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36892 <math_private.h>. Include <math-svid-compat.h>.
36893 (matherr): Undefine as macro.
36894 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36896 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36897 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36898 compat_symbol_reference.
36899 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36900 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36901 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36902 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36903 (MATHERR_D): Remove declaration.
36904 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36905 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36906 [LIBM_BUILD] (pmatherrf): Likewise.
36907 [LIBM_BUILD] (pmatherr): Likewise.
36908 [LIBM_BUILD] (pmatherrl): Likewise.
36909 (DOMAIN): Likewise.
36911 (OVERFLOW): Likewise.
36912 (UNDERFLOW): Likewise.
36915 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36916 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36918 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36919 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36921 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36922 * math/w_acos_compat.c: Likewise.
36923 * math/w_acosf_compat.c: Likewise.
36924 * math/w_acosh_compat.c: Likewise.
36925 * math/w_acoshf_compat.c: Likewise.
36926 * math/w_acoshl_compat.c: Likewise.
36927 * math/w_acosl_compat.c: Likewise.
36928 * math/w_asin_compat.c: Likewise.
36929 * math/w_asinf_compat.c: Likewise.
36930 * math/w_asinl_compat.c: Likewise.
36931 * math/w_atan2_compat.c: Likewise.
36932 * math/w_atan2f_compat.c: Likewise.
36933 * math/w_atan2l_compat.c: Likewise.
36934 * math/w_atanh_compat.c: Likewise.
36935 * math/w_atanhf_compat.c: Likewise.
36936 * math/w_atanhl_compat.c: Likewise.
36937 * math/w_cosh_compat.c: Likewise.
36938 * math/w_coshf_compat.c: Likewise.
36939 * math/w_coshl_compat.c: Likewise.
36940 * math/w_exp10_compat.c: Likewise.
36941 * math/w_exp10f_compat.c: Likewise.
36942 * math/w_exp10l_compat.c: Likewise.
36943 * math/w_exp2_compat.c: Likewise.
36944 * math/w_exp2f_compat.c: Likewise.
36945 * math/w_exp2l_compat.c: Likewise.
36946 * math/w_fmod_compat.c: Likewise.
36947 * math/w_fmodf_compat.c: Likewise.
36948 * math/w_fmodl_compat.c: Likewise.
36949 * math/w_hypot_compat.c: Likewise.
36950 * math/w_hypotf_compat.c: Likewise.
36951 * math/w_hypotl_compat.c: Likewise.
36952 * math/w_j0_compat.c: Likewise.
36953 * math/w_j0f_compat.c: Likewise.
36954 * math/w_j0l_compat.c: Likewise.
36955 * math/w_j1_compat.c: Likewise.
36956 * math/w_j1f_compat.c: Likewise.
36957 * math/w_j1l_compat.c: Likewise.
36958 * math/w_jn_compat.c: Likewise.
36959 * math/w_jnf_compat.c: Likewise.
36960 * math/w_jnl_compat.c: Likewise.
36961 * math/w_lgamma_main.c: Likewise.
36962 * math/w_lgamma_r_compat.c: Likewise.
36963 * math/w_lgammaf_main.c: Likewise.
36964 * math/w_lgammaf_r_compat.c: Likewise.
36965 * math/w_lgammal_main.c: Likewise.
36966 * math/w_lgammal_r_compat.c: Likewise.
36967 * math/w_log10_compat.c: Likewise.
36968 * math/w_log10f_compat.c: Likewise.
36969 * math/w_log10l_compat.c: Likewise.
36970 * math/w_log2_compat.c: Likewise.
36971 * math/w_log2f_compat.c: Likewise.
36972 * math/w_log2l_compat.c: Likewise.
36973 * math/w_log_compat.c: Likewise.
36974 * math/w_logf_compat.c: Likewise.
36975 * math/w_logl_compat.c: Likewise.
36976 * math/w_pow_compat.c: Likewise.
36977 * math/w_powf_compat.c: Likewise.
36978 * math/w_powl_compat.c: Likewise.
36979 * math/w_remainder_compat.c: Likewise.
36980 * math/w_remainderf_compat.c: Likewise.
36981 * math/w_remainderl_compat.c: Likewise.
36982 * math/w_scalb_compat.c: Likewise.
36983 * math/w_scalbf_compat.c: Likewise.
36984 * math/w_scalbl_compat.c: Likewise.
36985 * math/w_sinh_compat.c: Likewise.
36986 * math/w_sinhf_compat.c: Likewise.
36987 * math/w_sinhl_compat.c: Likewise.
36988 * math/w_sqrt_compat.c: Likewise.
36989 * math/w_sqrtf_compat.c: Likewise.
36990 * math/w_sqrtl_compat.c: Likewise.
36991 * math/w_tgamma_compat.c: Likewise.
36992 * math/w_tgammaf_compat.c: Likewise.
36993 * math/w_tgammal_compat.c: Likewise.
36994 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36995 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36996 * sysdeps/ieee754/k_standard.c: Likewise.
36997 * sysdeps/ieee754/k_standardf.c: Likewise.
36998 * sysdeps/ieee754/k_standardl.c: Likewise.
36999 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
37000 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
37001 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
37002 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
37003 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
37004 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
37005 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
37006 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
37007 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
37008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
37010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
37012 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
37013 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
37014 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
37015 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
37017 2017-08-21 Florian Weimer <fweimer@redhat.com>
37020 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
37021 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
37022 Move before inclusion of ../Rules.
37024 2017-08-21 Florian Weimer <fweimer@redhat.com>
37027 * assert/assert.h (assert): Use static_cast (bool) for C++.
37028 Use the ternary operator in the warning branch for GNU C.
37029 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
37030 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
37031 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
37032 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
37033 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
37035 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37038 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37039 (__syscall_clock_gettime): Add attribute_hidden.
37040 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
37041 (__start_context): Likewise.
37043 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37045 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
37047 (hidden_proto): Likewise.
37048 (hidden_tls_proto): Likewise.
37049 (__hidden_proto): Likewise.
37051 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37053 * include/libc-symbols.h (attribute_hidden): Enable hidden
37054 visibility in libc.a compiled with PIE.
37056 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37059 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
37060 Add attribute_hidden.
37062 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37065 * Makerules (all-nonlib): Add $(others-extras).
37066 * catgets/Makefile (others-extras): New.
37067 * elf/Makefile (others-extras): Likewise.
37068 * nss/Makefile (others-extras): Likewise.
37070 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37073 * csu/libc-start.c (__libc_multiple_libcs): Removed.
37074 * elf/dl-open.c: Include <libc-internal.h>.
37075 (__libc_multiple_libcs): Removed.
37076 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
37078 * include/libc-internal.h (__libc_multiple_libcs): New.
37079 * misc/sbrk.c: Include <libc-internal.h>.
37080 (__libc_multiple_libcs): Removed.
37082 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37085 * grp/initgroups.c (__nss_group_database): Removed.
37086 (__nss_initgroups_database): Likewise.
37087 * nscd/gai.c (__nss_hosts_database): Likewise.
37088 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
37089 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
37090 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
37091 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
37092 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
37093 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
37095 * nss/nsswitch.c (__nss_database_custom): Define only if
37096 USE_NSCD is defined.
37097 (__nss_configure_lookup): Use __nss_database_custom only if
37098 USE_NSCD is defined.
37099 * nss/nsswitch.h (__nss_database_custom): Declare only if
37100 USE_NSCD is defined. Add attribute_hidden.
37101 (__nss_setent): Add attribute_hidden.
37102 (__nss_endent): Likewise.
37103 (__nss_getent_r): Likewise.
37104 (__nss_getent): Likewise.
37105 (DEFINE_DATABASE): Declare __nss_##arg##_database.
37107 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37110 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
37111 libc_hidden_proto and libc_hidden_def.
37113 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37116 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
37117 Add libc_hidden_proto.
37118 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
37119 Add libc_hidden_def.
37121 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37124 * gmon/Makefile (routines): Remove bb_init_func and
37126 (elide-routines.os): Removed.
37127 * gmon/bb_exit_func.c: Likewise.
37128 * gmon/bb_init_func.c: Likewise.
37129 * include/sys/gmon.h (__bb): Likewise.
37130 (__bb_init_func): Likewise.
37131 (__bb_exit_func): Likewise.
37132 * sysdeps/alpha/bb_init_func.S: Likewise.
37134 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37136 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
37137 * include/setjmp.h (____longjmp_chk): Here. Add
37140 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
37143 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
37145 (__strspn_sse2): Likewise.
37147 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37149 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
37150 (close_not_cancel_no_status): Likewise.
37151 (__close_nocancel): New macro.
37152 (__close_nocancel_nostatus): Likewise.
37153 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
37155 (close_not_cancel): Likewise.
37156 (close_not_cancel_no_status): Likewise.
37157 (__close_nocancel): New prototype.
37158 (__close_nocancel_nostatus): New function.
37159 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
37160 * catgets/open_catalog.c (__open_catalog): Replace
37161 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
37162 * gmon/gmon.c (write_gmon): Likewise.
37163 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37164 * intl/loadmsgcat.c (close): Likewise.
37165 * io/ftw.c (open_dir_stream): Likewise.
37166 (ftw_startup): Likewise.
37167 * libio/fileops.c (_IO_file_open): Likewise.
37168 (_IO_file_close_mmap): Likewise.
37169 (_IO_file_close): Likewise.
37170 * libio/iopopen.c (_IO_dup2): Likewise.
37171 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37172 * locale/loadlocale.c (_nl_load_locale): Likewise.
37173 * login/utmp_file.c (pututline_file): Likewise.
37174 (endutent_file): Likewise.
37175 * misc/daemon.c (daemon): Likewise.
37176 * nscd/nscd_getai.c (__nscd_getai): Likewise.
37177 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37178 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
37179 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
37180 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37181 * nscd/nscd_helper.c (open_socket): Likewise.
37182 (__nscd_open_socket): Likewise.
37183 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
37184 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
37185 (__nscd_innetgr): Likewise.
37186 * nss/nss_db/db-open.c (internal_setent): Likewise.
37187 * resolv/res-close.c (__res_iclose): Likewise.
37188 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
37189 * sysdeps/posix/closedir.c (__closedir): Likewise.
37190 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
37191 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37192 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
37193 (opendir_tail): Likewise.
37194 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37195 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
37196 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37197 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37198 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37199 (gethostid): Likewise.
37200 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37201 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37203 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37204 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
37205 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37206 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37208 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
37209 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
37210 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37212 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
37213 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37215 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37217 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
37218 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37219 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37222 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
37223 (openat_not_cancel_3): Likewise.
37224 (openat64_not_cancel_3): Likewise).
37225 (openat_not_cancel_3): Likewise).
37226 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
37228 (openat_not_cancel_3): Likewise.
37229 (openat64_not_cancel): Likewise.
37230 (openat64_not_cancel_3): Likewise.
37231 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
37232 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
37233 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
37234 __open{64}_nocancel.
37235 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
37236 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37237 * sysdeps/posix/opendir.c (__opendirat): Likewise.
37239 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37242 * include/argz.h (__argz_create_sep): New function prototype.
37243 (__argz_append): Likewise.
37244 (__argz_add): Likewise.
37245 (__argz_add_sep): Likewise.
37246 (__argz_delete): Likewise.
37247 (__argz_insert): Likewise.
37248 (__argz_replace): Likewise.
37249 * string/argz.h (__argz_create_sep): Removed.
37250 (__argz_append): Likewise.
37251 (__argz_add): Likewise.
37252 (__argz_add_sep): Likewise.
37253 (__argz_delete): Likewise.
37254 (__argz_insert): Likewise.
37255 (__argz_replace): Likewise.
37257 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37259 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
37260 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
37261 (GNU_PROPERTY_STACK_SIZE): Likewie.
37262 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
37263 (GNU_PROPERTY_LOPROC): Likewise.
37264 (GNU_PROPERTY_HIPROC): Likewise.
37265 (GNU_PROPERTY_LOUSER): Likewise.
37266 (GNU_PROPERTY_HIUSER): Likewise.
37267 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
37268 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
37269 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
37270 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
37271 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
37272 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
37273 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
37274 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
37275 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
37276 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
37277 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
37278 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
37279 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
37280 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
37281 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
37282 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
37283 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
37284 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
37285 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
37286 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
37287 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
37288 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
37289 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
37291 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37293 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
37296 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37299 * math/math.h (isinf): Check if in C or C++ mode before using
37300 __builtin_types_compatible_p, since this is a C mode feature.
37302 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37304 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
37305 (__write_nocancel): New macro.
37306 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
37307 Rewrite as a function prototype.
37308 (write_not_cancel): Remove macro.
37309 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
37310 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
37311 (write_gmon): Likewise.
37312 * libio/fileops.c (_IO_new_file_write): Likewise.
37313 * login/utmp_file.c (pututline_file): Likewise.
37314 (updwtmp_file): Likewise.
37315 * stdio-common/psiginfo.c (psiginfo): Likewise.
37316 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37317 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37318 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37320 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37323 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
37324 (__read_nocancel): New macro.
37325 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37327 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
37329 (__read_nocancel): New prototype.
37330 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
37331 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
37332 with __read_nocancel.
37333 * intl/loadmsgcat.c (read): Likewise.
37334 * libio/fileops.c (_IO_file_read): Likewise.
37335 * locale/loadlocale.c (_nl_load_locale): Likewise.
37336 * login/utmp_file.c (getutent_r_file): Likewise.
37337 (internal_getut_r): Likewise.
37338 (getutline_r_file): Likewise.
37339 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
37340 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
37341 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37342 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37344 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
37345 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37346 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37348 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37350 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37352 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37354 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37356 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37359 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
37360 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
37363 2017-08-17 DJ Delorie <dj@redhat.com>
37365 * bug17079.c: Update to new test harness.
37366 * test-digits-dots.c: Likewise.
37367 * test-netdb.c: Likewise.
37368 * tst-field.c: Likewise.
37369 * tst-nss-getpwent.c: Likewise.
37370 * tst-nss-static.c: Likewise.
37371 * tst-nss-test1.c: Likewise.
37372 * tst-nss-test2.c: Likewise.
37373 * tst-nss-test3.c: Likewise.
37374 * tst-nss-test4.c: Likewise.
37375 * tst-nss-test5.c: Likewise.
37377 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37379 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
37380 (open_not_cancel_2): Likewise.
37381 (open_nocancel): New macro.
37382 (open64_nocancel): Likewise.
37383 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
37384 (open_not_cancel_2): Likewise.
37385 (__open_nocancel): New prototype.
37386 (__open64_nocancel): Likewise.
37387 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37389 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
37390 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
37391 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
37392 with __open_nocancel.
37393 * csu/check_fds.c (check_one_fd): Likewise.
37394 * gmon/gmon.c (write_gmon): Likewise.
37395 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
37396 * intl/loadmsgcat.c (open): Likewise.
37397 * libio/fileops.c (_IO_file_open): Likewise.
37398 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37399 * locale/loadlocale.c (_nl_load_locale): Likewise.
37400 * login/utmp_file.c (setutent_file): Likewise.
37401 * misc/daemon.c (daemon): Likewise.
37402 * nss/nss_db/db-open.c (internal_setent): Likewise.
37403 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
37404 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
37405 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
37406 (__opendir): Likewise.
37407 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37408 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
37409 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37410 (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 (__get_nprocs): Likewise.
37415 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
37416 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37417 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37419 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37421 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37423 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37425 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37427 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37429 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
37430 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37432 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
37434 * benchtests/bench-skeleton.c (main): Add support for
37435 latency benchmarking.
37436 * benchtests/scripts/bench.py: Add support for latency benchmarking.
37438 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
37440 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
37441 the startup object.
37443 2017-08-17 Florian Weimer <fweimer@redhat.com>
37445 * include/sys/socket.h (__opensock): Remove internal_function.
37446 * socket/opensock.c (__opensock): Likewise.
37447 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
37449 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37452 * signal/bits/types/__sigval_t.h: New file.
37453 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
37454 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
37455 and define sigval_t using __sigval_t.
37456 * include/bits/types/__sigval_t.h: New file.
37457 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
37458 instead of <bits/types/__sigval_t.h>.
37459 (struct sigevent): Use __sigval_t instead of sigval_t.
37460 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
37461 instead of <bits/types/__sigval_t.h>.
37462 (siginfo_t): Use __sigval_t instead of sigval_t.
37463 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
37464 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37465 (struct sigevent): Use __sigval_t instead of sigval_t.
37466 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
37467 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37468 (siginfo_t): Use __sigval_t instead of sigval_t.
37469 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
37471 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37473 * NEWS: Remove "[Add new features here]" for 2.27.
37475 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37477 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
37480 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37482 * NEWS: Mention x86-64 FMA optimization.
37484 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37487 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37489 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
37490 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
37491 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
37493 2017-08-16 Andreas Schwab <schwab@suse.de>
37497 * elf/ldd.bash.in: Never run file directly.
37499 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
37502 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
37503 (L(SP_INF_0)): Likewise.
37505 2017-08-15 Florian Weimer <fweimer@redhat.com>
37507 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
37510 2017-08-15 Florian Weimer <fweimer@redhat.com>
37512 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
37513 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
37514 BROKEN_THREAD_SIGNALS code.
37515 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
37516 request_list): Remove caller_pid member used for
37517 BROKEN_THREAD_SIGNALS.
37518 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
37519 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
37520 Remove BROKEN_THREAD_SIGNALS support.
37521 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
37522 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
37524 2017-08-15 Florian Weimer <fweimer@redhat.com>
37526 * gmon/Makefile (tests): Add tst-gmon.
37527 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
37529 (tests-special): Add tst-gmon-prof.out.
37530 (tst-gmon.out): Depend on clean-tst-gmon-data.
37531 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
37532 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
37533 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
37535 * aclocal.m4 (GPROF): Set and substitute.
37536 * config.amke.in (GPROF): Set.
37537 * configure: Regenerate.
37539 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
37541 * elf/elf.h A (NT_PPC_TAR): New macro.
37542 (NT_PPC_PPR): Likewise.
37543 (NT_PPC_DSCR): Likewise.
37544 (NT_PPC_EBB): Likewise.
37545 (NT_PPC_PMU): Likewise.
37546 (NT_PPC_TM_CGPR): Likewise.
37547 (NT_PPC_TM_CFPR): Likewise.
37548 (NT_PPC_TM_CVMX): Likewise.
37549 (NT_PPC_TM_CVSX): Likewise.
37550 (NT_PPC_TM_SPR): Likewise.
37551 (NT_PPC_TM_CTAR): Likewise.
37552 (NT_PPC_TM_CPPR): Likewise.
37553 (NT_PPC_TM_CDSCR): Likewise.
37555 2017-08-15 Florian Weimer <fweimer@redhat.com>
37557 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37558 regparm (2) instead of internal_function.
37559 (_MCOUNT_DECL): Adjust.
37561 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37563 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37564 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37566 2017-08-14 Joseph Myers <joseph@codesourcery.com>
37568 * conform/data/sys/wait.h-data (si_value): Do not expect for
37571 2017-08-14 Florian Weimer <fweimer@redhat.com>
37574 NSS: Create stubs for accidentally exported lookup functions.
37575 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37576 Remove declaration.
37577 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37578 (ether_hostton): Call __nss_ethers_lookup2 instead.
37579 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37580 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37581 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37582 (setup): Call __nss_netgroup_lookup2 instead.
37583 * nss/Makefile (routines): Add compat-lookup.
37584 * nss/Versions (GLIBC_2.27): Add symbol version.
37585 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37586 (DB_COMPAT_FCT): Remove.
37587 * nss/compat-lookup.c: New file.
37588 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37589 from databases.def.
37590 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37591 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37592 (netname2user): Call __nss_publickey_lookup2 instead.
37593 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37594 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37597 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37598 Sergei Trofimovich <slyfox@inbox.ru>
37601 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37602 Rename to MMAP2_PAGE_UNIT.
37603 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37604 __OFF_T_MATCHES_OFF64_T is not defined.
37605 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37607 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37608 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37610 2017-08-14 Florian Weimer <fweimer@redhat.com>
37612 i386: Do not set internal_function.
37613 * config.h.in (USE_REGPARMS, internal_function): Remove.
37614 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37615 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37617 2017-08-14 Florian Weimer <fweimer@redhat.com>
37619 * elf/dl-init.c (_dl_init): Remove internal_function.
37620 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37621 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37623 2017-08-14 Florian Weimer <fweimer@redhat.com>
37625 * elf/rtld.c (_dl_start): Remove internal_function.
37626 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37629 2017-08-14 Florian Weimer <fweimer@redhat.com>
37631 * elf/dl-fini.c (_dl_fini): Remove internal_function
37632 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37634 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37636 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
37637 (bit_cpu_SHSTK): Likewise.
37638 (index_cpu_IBT): Likewise.
37639 (index_cpu_SHSTK): Likewise.
37640 (reg_IBT): Likewise.
37641 (reg_SHSTK): Likewise.
37642 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37643 Handle index_cpu_IBT and index_cpu_SHSTK.
37645 2017-08-14 Mike FABIAN <mfabian@redhat.com>
37648 * po/fr.po: Fix spelling mistake.
37650 2017-08-13 Florian Weimer <fweimer@redhat.com>
37652 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37653 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37654 (_dl_catch_error, _dl_receive_error): Likewise.
37655 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37656 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37657 (_dl_deallocate_tls): Likewise.
37658 * include/dlfcn.h (_dl_addr): Likewise.
37659 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37660 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37661 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37664 2017-08-13 Florian Weimer <fweimer@redhat.com>
37666 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37667 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37669 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37671 2017-08-13 Florian Weimer <fweimer@redhat.com>
37673 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37675 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37676 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37677 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37678 internal_function from _dl_make_stack_executable_hook member.
37679 (_dl_make_stack_executable): Remove internal_function.
37680 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37682 * sysdeps/unix/sysv/linux/dl-execstack.c
37683 (_dl_make_stack_executable): Likewise.
37685 2017-08-13 Florian Weimer <fweimer@redhat.com>
37687 * sysdeps/unix/sysv/linux/netlinkaccess.h
37688 (__netlink_assert_response): Remove internal_function.
37689 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37690 (__netlink_assert_response): Likewise.
37692 2017-08-13 Florian Weimer <fweimer@redhat.com>
37694 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37696 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37698 2017-08-13 Florian Weimer <fweimer@redhat.com>
37700 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37702 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37703 * inet/netgroup.h (__internal_setnetgrent)
37704 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37705 * inet/getnetgrent_r.c (__internal_setnetgrent)
37706 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37707 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37708 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37709 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37710 * nss/nsswitch.h (db_lookup_function): Likewise.
37712 2017-08-13 Florian Weimer <fweimer@redhat.com>
37714 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37715 Remove internal_function.
37716 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37717 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37718 message argument on the stack.
37719 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37722 2017-08-12 Mike FABIAN <mfabian@redhat.com>
37724 Adapt test case data to the changes in the thousands
37728 * localedata/tst-langinfo.sh: Adapt test case data.
37729 * stdlib/tst-strfmon_l.c: Likewise.
37730 * stdlib/tst-strtod4.c: Likewise.
37731 * stdlib/tst-strtod5i.c: Likewise.
37733 2017-08-11 Florian Weimer <fweimer@redhat.com>
37736 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37737 Suppress pedantic warning resulting from statement expression.
37738 (__ASSERT_FUNCTION): Add missing __extension__.
37740 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37742 * benchtests/bench-memmove-large.c: Print output in JSON
37744 * benchtests/bench-memmove.c: Likewise.
37746 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37747 * benchtests/bench-memchr.c (do_one_test): Likewise.
37748 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37749 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37750 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37751 * benchtests/bench-memmove.c (do_one_test): Likewise.
37752 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37753 * benchtests/bench-memset.c (do_one_test): Likewise.
37754 * benchtests/bench-string.h (test_init): Remove memsets.
37756 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37759 (Computing the Width of an Integer Data Type): Rename section to
37760 "Width of an Integer Type". Remove inaccurate statement regarding
37761 lack of C language facilities for determining width of integer
37762 types, and reorder content to improve flow and context of
37765 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37767 * lang.texi (va_copy): Change standard from ISO to C99.
37768 (__va_copy): Add standard and header annotation.
37769 Update description for clarity of origins and current use.
37771 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37774 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37775 xssqrtqp requires operands to be in Vector Registers
37776 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37777 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37778 (__ieee754_sqrtf128): Likewise.
37780 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37782 * sysdeps/aarch64/memcmp.S (memcmp):
37783 Rewrite of optimized memcmp.
37785 2017-08-10 Florian Weimer <fweimer@redhat.com>
37787 Introduce ld.so exceptions.
37788 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37789 (_dl_exception_create, _dl_exception_create_format)
37790 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37791 (_dl_catch_exception): Declare.
37792 (_dl_catch_error): Update comment.
37793 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37794 errstring, malloced members with exception member.
37795 (_dl_out_of_memory): Remove.
37796 (fatal_error): New function, extracted from _dl_signal_error.
37797 (_dl_signal_exception, _dl_signal_cexception): New functions.
37798 (_dl_signal_error): Call _dl_exception_create to allocate an
37800 (_dl_catch_exception): New function, based on _dl_catch_error.
37801 (_dl_catch_error): Implement using _dl_catch_exception.
37802 * elf/dl-exception.c: New file.
37803 * elf/Makefile (dl-routines): Add dl-exception.
37804 (elide-routines.os): Likewise.
37805 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37806 _dl_exception_create_format, _dl_exception_free.
37807 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37808 _dl_signal_exception.
37809 * elf/dl-lookup.c (make_string): Remove.
37810 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37811 _dl_signal_cexception, _dl_exception_free.
37812 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37813 _dl_signal_exception.
37814 * elf/dl-sym.c (do_sym): Likewise.
37815 * elf/dl-version.c (make_string): Remove.
37816 (match_symbol): Use _dl_exception_create_format,
37817 _dl_signal_cexception, _dl_exception_free.
37818 (_dl_check_map_versions): Likewise.
37819 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37820 _dl_catch_exception.
37821 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37822 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37823 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37824 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37825 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37826 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37827 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37828 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37830 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37837 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37838 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37839 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37841 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37843 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37845 2017-08-10 Florian Weimer <fweimer@redhat.com>
37847 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37848 attribute_hidden, internal_function.
37849 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37852 2017-08-10 Florian Weimer <fweimer@redhat.com>
37854 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37855 function which calls __builtin_unreachable.
37857 2017-08-10 Mike FABIAN <mfabian@redhat.com>
37859 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37860 Indian monetary formatting
37861 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37864 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37866 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37867 Fix typo in comment.
37870 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37871 PTRACE_SEIZE_DEVEL): Remove.
37872 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37873 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37874 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37875 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37876 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37878 2017-08-09 Joseph Myers <joseph@codesourcery.com>
37880 * posix/bits/types.h (__qaddr_t): Remove.
37883 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37884 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37886 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37887 (ucontext_t): Use __ctx with uc_flags.
37888 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37889 (__ctxt): Likewise.
37890 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37892 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37893 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37895 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37896 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37898 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37900 (ucontext_t): Use __ctx with uc_flags.
37901 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37902 (ucontext_t): Use __ctx with uc_flags.
37903 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37904 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37905 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37906 (ucontext_t): Use __ctx with uc_flags.
37907 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37908 undefine further down.
37909 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37911 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37912 undefine further down.
37913 (ucontext_t): Use __ctx with uc_flags.
37914 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37915 undefine further down.
37916 (ucontext_t): Use __ctx with uc_flags.
37917 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37918 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37919 Rename uc_pad to __glibc_reserved1.
37920 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37921 undefine further down.
37922 (ucontext_t): Use __ctx with uc_flags.
37923 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37925 (ucontext_t): Use __ctx with uc_flags.
37926 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37927 __ctx with uc_flags.
37928 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37929 (ucontext_t): Use __ctx with uc_flags.
37930 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37931 __ctx with uc_flags.
37933 2017-08-09 Florian Weimer <fweimer@redhat.com>
37936 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37937 before early return.
37939 2017-08-09 Andreas Schwab <schwab@suse.de>
37942 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37946 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37947 tst-compat-forwarder.
37948 (modules-names): Add tst-compat-forwarder-mod.
37949 ($(objpfx)tst-compat-forwarder): Depend on
37950 $(objpfx)tst-compat-forwarder-mod.so.
37951 * nptl/tst-compat-forwarder.c: New file.
37952 * nptl/tst-compat-forwarder-mod.c: New file.
37954 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37956 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37959 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37960 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37962 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37964 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37965 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37966 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37967 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37969 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37972 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37975 * manual/setjmp.texi (getcontex): Document uc_stack value
37976 compatibility differences.
37978 2017-08-08 Joseph Myers <joseph@codesourcery.com>
37980 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37981 (old_malloc_hook): Likewise.
37982 (old_memalign_hook): Likewise.
37983 (old_realloc_hook): Likewise.
37984 (struct hdr): Likewise.
37986 (freehook): Likewise.
37987 (mallochook): Likewise.
37988 (memalignhook): Likewise.
37989 (reallochook): Likewise.
37990 (mprobe): Likewise.
37991 * malloc/mtrace.c (mallwatch): Likewise.
37992 (tr_old_free_hook): Likewise.
37993 (tr_old_malloc_hook): Likewise.
37994 (tr_old_realloc_hook): Likewise.
37995 (tr_old_memalign_hook): Likewise.
37996 (tr_where): Likewise.
37997 (lock_and_info): Likewise.
37998 (tr_freehook): Likewise.
37999 (tr_mallochook): Likewise.
38000 (tr_reallochook): Likewise.
38001 (tr_memalignhook): Likewise.
38002 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
38003 * misc/mmap.c (__mmap): Likewise.
38004 * misc/mmap64.c (__mmap64): Likewise.
38005 * misc/mprotect.c (__mprotect): Likewise.
38006 * misc/msync.c (msync): Likewise.
38007 * misc/munmap.c (__munmap): Likewise.
38008 * posix/posix_madvise.c (posix_madvise): Likewise.
38009 * socket/send.c (__send): Likewise.
38010 * socket/sendto.c (__sendto): Likewise.
38011 * socket/setsockopt.c (__setsockopt): Likewise.
38012 * string/memcmp.c (__ptr_t): Remove macro.
38013 (MEMCMP): Use void * instead of ptr_t.
38014 * string/memrchr.c (__ptr_t): Remove macro.
38015 (__memrchr): Use void * instead of ptr_t.
38016 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
38017 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
38018 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
38019 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
38020 * sysdeps/mach/msync.c (msync): Likewise.
38021 * sysdeps/mach/munmap.c (__munmap): Likewise.
38022 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
38024 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
38025 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
38026 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
38027 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
38028 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
38029 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38030 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
38031 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
38033 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38034 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
38035 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
38036 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
38037 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
38038 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
38039 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
38040 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
38041 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
38043 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
38044 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
38045 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
38046 (MEMCMP): Use void * instead of ptr_t.
38047 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
38048 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
38050 2017-08-08 Florian Weimer <fweimer@redhat.com>
38052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
38055 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
38058 * csu/libc-tls.c: Include <startup.h> first.
38059 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
38060 * elf/dl-tunables.c: Include <startup.h> first.
38061 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
38062 * sysdeps/generic/startup.h: New file.
38063 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
38064 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
38065 (I386_USE_SYSENTER): New. Defined to 0.
38067 2017-08-08 Andreas Schwab <schwab@suse.de>
38070 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
38071 * nptl/pt-system.c (system): Likewise.
38073 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38076 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
38078 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
38079 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
38080 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
38081 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
38082 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
38083 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
38084 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
38086 2017-08-07 Joseph Myers <joseph@codesourcery.com>
38089 * bits/sigaction.h (struct sigaction): Define sa_handler and
38090 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
38091 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38092 [__USE_XOPEN_EXTENDED].
38093 (SA_RESTART): Likewise.
38094 (SA_NODEFER): Likewise.
38095 (SA_RESETHAND): Likewise.
38096 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
38097 (struct sigaction): Define sa_handler and sa_sigaction using union
38098 also for [__USE_XOPEN_EXTENDED].
38099 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38100 [__USE_XOPEN_EXTENDED].
38101 (SA_RESTART): Likewise.
38102 (SA_NODEFER): Likewise.
38103 (SA_RESETHAND): Likewise.
38104 * sysdeps/unix/sysv/linux/bits/sigaction.h
38105 (struct sigaction): Define sa_handler and sa_sigaction using union
38106 also for [__USE_XOPEN_EXTENDED].
38107 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38108 [__USE_XOPEN_EXTENDED].
38109 (SA_RESTART): Likewise.
38110 (SA_NODEFER): Likewise.
38111 (SA_RESETHAND): Likewise.
38112 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
38113 (struct sigaction): Define sa_handler and sa_sigaction using union
38114 also for [__USE_XOPEN_EXTENDED].
38115 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38116 [__USE_XOPEN_EXTENDED].
38117 (SA_RESTART): Likewise.
38118 (SA_NODEFER): Likewise.
38119 (SA_RESETHAND): Likewise.
38120 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
38121 (struct sigaction): Define sa_handler and sa_sigaction using union
38122 also for [__USE_XOPEN_EXTENDED].
38123 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38124 [__USE_XOPEN_EXTENDED].
38125 (SA_RESTART): Likewise.
38126 (SA_NODEFER): Likewise.
38127 (SA_RESETHAND): Likewise.
38128 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
38129 (struct sigaction): Define sa_handler and sa_sigaction using union
38130 also for [__USE_XOPEN_EXTENDED].
38131 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38132 [__USE_XOPEN_EXTENDED].
38133 (SA_RESTART): Likewise.
38134 (SA_NODEFER): Likewise.
38135 (SA_RESETHAND): Likewise.
38136 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38137 (struct sigaction): Define sa_handler and sa_sigaction using union
38138 also for [__USE_XOPEN_EXTENDED].
38139 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38140 [__USE_XOPEN_EXTENDED].
38141 (SA_RESTART): Likewise.
38142 (SA_NODEFER): Likewise.
38143 (SA_RESETHAND): Likewise.
38144 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38145 (struct sigaction): Define sa_handler and sa_sigaction using union
38146 also for [__USE_XOPEN_EXTENDED].
38147 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38148 [__USE_XOPEN_EXTENDED].
38149 (SA_RESTART): Likewise.
38150 (SA_NODEFER): Likewise. Define directly rather than as alias.
38151 (SA_RESETHAND): Likewise.
38152 (SA_INTERRUPT): Define only for [__USE_MISC].
38153 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
38154 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
38156 (SA_STACK): Define only for [__USE_MISC].
38157 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
38158 (struct sigaction): Define sa_handler and sa_sigaction using union
38159 also for [__USE_XOPEN_EXTENDED].
38160 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38161 [__USE_XOPEN_EXTENDED].
38162 (SA_RESTART): Likewise.
38163 (SA_NODEFER): Likewise.
38164 (SA_RESETHAND): Likewise.
38165 (SA_NOPTRACE): Define only for [__USE_MISC].
38167 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
38168 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
38169 (struct catalog_info): Likewise.
38170 * inet/htontest.c (lo): Likewise.
38172 * inet/inet_lnaof.c (inet_lnaof): Likewise.
38173 * inet/inet_net.c (inet_network): Likewise.
38174 * inet/inet_netof.c (inet_netof): Likewise.
38175 * inet/rcmd.c (__ivaliduser): Likewise.
38176 (iruserok): Likewise.
38177 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
38178 * locale/programs/locale-spec.c (locale_special): Likewise.
38179 * nis/nis_findserv.c (struct findserv_req): Likewise.
38180 (__nis_findfastest_with_timeout): Likewise.
38181 * nss/test-netdb.c (test_network): Likewise.
38182 * resolv/inet_neta.c (inet_neta): Likewise.
38183 * resolv/ns_date.c (ns_datetosecs): Likewise.
38184 (SECS_PER_DAY): Likewise.
38185 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
38187 * resolv/res_comp.c (__putlong): Likewise.
38188 (__putshort): Likewise.
38189 (_getlong): Likewise.
38190 (_getshort): Likewise.
38191 * resolv/res_debug.c (p_time): Likewise.
38192 (precsize_ntoa): Likewise.
38193 (precsize_aton): Likewise.
38194 (latlon2ul): Likewise.
38195 (loc_aton): Likewise.
38196 (loc_ntoa): Likewise.
38197 * resolv/res_hconf.c (struct netaddr): Likewise.
38198 (_res_hconf_reorder_addrs): Likewise.
38199 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
38200 (clnttcp_control): Likewise.
38201 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38202 (clntudp_control): Likewise.
38203 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
38204 (clntunix_control): Likewise.
38205 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
38206 * sunrpc/rpc/auth.h (union des_block): Likewise.
38207 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
38208 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
38209 (xdrrec_create): Likewise.
38210 (xdrrec_endofrecord): Likewise.
38211 (flush_out): Likewise.
38212 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
38213 (xdrstdio_putlong): Likewise.
38214 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
38217 * misc/sys/cdefs.h (__long_double_t): Remove.
38218 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
38219 instead of __long_double_t,
38220 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
38222 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
38224 * benchtests/scripts/compare_strings.py: Avoid display error when
38225 running on a text terminal.
38227 * benchtests/scripts/compare_strings.py (main): Add an
38228 optional -base option.
38229 (process_results): New argument base_func.
38231 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
38233 * benchtests/bench-memcpy-large.c (test_name): Likewise.
38234 * benchtests/bench-memcpy-random.c (test_name): Likewise.
38236 2017-08-07 Andreas Schwab <schwab@suse.de>
38238 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
38239 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38240 * intl/Makefile ($(objpfx)tst-gettext.out)
38241 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
38242 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
38243 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38244 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38245 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
38246 * posix/Makefile ($(objpfx)globtest.out)
38247 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
38248 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
38249 ($(objpfx)tst-printf.out): Likewise.
38250 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
38251 ($(objpfx)tst-setcontext3.out): Likewise.
38253 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
38255 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38256 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
38257 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
38258 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
38259 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
38261 (CFLAGS-doasin-fma.c): New.
38262 (CFLAGS-dosincos-fma.c): Likewise.
38263 (CFLAGS-e_asin-fma.c): Likewise.
38264 (CFLAGS-e_atan2-fma.c): Likewise.
38265 (CFLAGS-e_exp-fma.c): Likewise.
38266 (CFLAGS-e_log-fma.c): Likewise.
38267 (CFLAGS-e_pow-fma.c): Likewise.
38268 (CFLAGS-halfulp-fma.c): Likewise.
38269 (CFLAGS-mpa-fma.c): Likewise.
38270 (CFLAGS-mpatan-fma.c): Likewise.
38271 (CFLAGS-mpatan2-fma.c): Likewise.
38272 (CFLAGS-mpexp-fma.c): Likewise.
38273 (CFLAGS-mplog-fma.c): Likewise.
38274 (CFLAGS-mpsqrt-fma.c): Likewise.
38275 (CFLAGS-mptan-fma.c): Likewise.
38276 (CFLAGS-s_atan-fma.c): Likewise.
38277 (CFLAGS-sincos32-fma.c): Likewise.
38278 (CFLAGS-slowexp-fma.c): Likewise.
38279 (CFLAGS-slowpow-fma.c): Likewise.
38280 (CFLAGS-s_sin-fma.c): Likewise.
38281 (CFLAGS-s_tan-fma.c): Likewise.
38282 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
38283 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
38284 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
38285 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
38286 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
38287 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
38288 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
38289 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
38290 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
38291 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
38292 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
38293 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
38294 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
38295 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
38296 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
38297 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
38298 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
38299 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
38300 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
38301 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
38302 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
38303 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
38304 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
38305 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
38306 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38307 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38308 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38309 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
38310 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38311 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38312 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38314 2017-08-04 Joseph Myers <joseph@codesourcery.com>
38316 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
38317 (min_of_type_f): New macro.
38318 (min_of_type_): Likewise.
38319 (min_of_type_l): Likewise.
38320 (min_of_type_f128): Likewise.
38321 (min_of_type): Define using __MATH_TG and taking an expression
38323 (math_check_force_underflow): Pass expression instead of type to
38325 (math_check_force_underflow_nonneg): Likewise.
38327 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38329 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
38330 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
38331 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
38333 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38336 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
38337 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
38338 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
38339 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
38340 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
38341 memcpy_chk-nonshared, mempcpy_chk-nonshared,
38342 memmove_chk-nonshared and memset_chk-nonshared
38343 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
38344 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
38345 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
38346 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
38347 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
38348 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
38349 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
38350 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
38351 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
38352 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
38353 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
38354 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
38355 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
38356 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
38357 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
38358 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
38359 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
38360 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
38361 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
38362 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
38363 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
38364 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
38365 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
38366 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
38367 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
38368 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
38369 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
38370 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
38371 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
38372 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
38373 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
38374 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
38375 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
38376 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38377 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38378 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
38379 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
38380 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
38381 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
38382 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
38383 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
38384 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
38385 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
38386 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
38387 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
38388 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
38389 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
38390 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
38391 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
38392 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
38393 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
38394 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
38395 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
38396 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
38397 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
38398 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
38399 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
38400 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
38401 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
38402 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
38403 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
38404 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
38405 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
38406 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
38407 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
38408 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
38409 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
38410 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
38411 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
38412 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
38413 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
38414 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38415 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38416 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38417 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38418 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38419 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38420 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38421 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38422 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38423 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38424 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38425 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38426 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38427 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38428 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38429 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38430 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38431 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38432 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38433 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38434 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38435 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38436 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38437 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38438 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38439 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38440 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38441 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38442 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38443 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38444 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38445 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38446 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38447 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38448 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38449 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38450 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38452 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38454 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
38455 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
38456 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
38457 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
38458 svml_d_log2_core-sse2, svml_d_log4_core-sse,
38459 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
38460 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
38461 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
38462 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
38463 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
38464 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
38465 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
38466 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
38467 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
38468 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
38469 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
38470 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
38471 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
38472 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
38473 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
38474 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
38475 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
38476 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
38477 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
38478 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
38479 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
38480 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
38481 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
38482 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
38483 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
38484 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
38485 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
38486 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
38487 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
38488 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
38489 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
38490 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
38491 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
38492 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
38493 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
38494 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
38495 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
38496 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
38497 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
38498 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
38499 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
38500 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
38501 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
38502 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
38503 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
38504 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
38505 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
38506 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
38507 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
38508 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
38509 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
38510 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
38511 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
38512 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
38514 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
38515 Don't include <sysdep.h> nor <init-arch.h>.
38516 (_ZGVbN2v_cos): Removed.
38517 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
38519 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
38520 Don't include <sysdep.h> nor <init-arch.h>.
38521 (_ZGVdN4v_cos): Removed.
38522 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
38524 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
38525 Don't include <sysdep.h> nor <init-arch.h>.
38526 (_ZGVeN8v_cos): Removed.
38527 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
38529 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
38530 Don't include <sysdep.h> nor <init-arch.h>.
38531 (_ZGVbN2v_exp): Removed.
38532 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
38534 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
38535 Don't include <sysdep.h> nor <init-arch.h>.
38536 (_ZGVdN4v_exp): Removed.
38537 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
38539 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
38540 Don't include <sysdep.h> nor <init-arch.h>.
38541 (_ZGVeN8v_exp): Removed.
38542 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
38544 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
38545 Don't include <sysdep.h> nor <init-arch.h>.
38546 (_ZGVbN2v_log): Removed.
38547 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38549 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38550 Don't include <sysdep.h> nor <init-arch.h>.
38551 (_ZGVdN4v_log): Removed.
38552 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38554 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38555 Don't include <sysdep.h> nor <init-arch.h>.
38556 (_ZGVeN8v_log): Removed.
38557 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38559 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38560 Don't include <sysdep.h> nor <init-arch.h>.
38561 (_ZGVbN2vv_pow): Removed.
38562 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38564 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38565 Don't include <sysdep.h> nor <init-arch.h>.
38566 (_ZGVdN4vv_pow): Removed.
38567 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38569 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38570 Don't include <sysdep.h> nor <init-arch.h>.
38571 (_ZGVeN8vv_pow): Removed.
38572 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38574 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38575 Don't include <sysdep.h> nor <init-arch.h>.
38576 (_ZGVbN2v_sin): Removed.
38577 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38579 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38580 Don't include <sysdep.h> nor <init-arch.h>.
38581 (_ZGVbN4v_sin): Removed.
38582 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38584 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38585 Don't include <sysdep.h> nor <init-arch.h>.
38586 (_ZGVbN8v_sin): Removed.
38587 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38589 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38590 Don't include <sysdep.h> nor <init-arch.h>.
38591 (_ZGVbN2vvv_sincos): Removed.
38592 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38594 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38595 Don't include <sysdep.h> nor <init-arch.h>.
38596 (_ZGVdN4vvv_sincos): Removed.
38597 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38599 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38600 Don't include <sysdep.h> nor <init-arch.h>.
38601 (_ZGVeN8vvv_sincos): Removed.
38602 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38604 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38605 Don't include <sysdep.h> nor <init-arch.h>.
38606 (_ZGVeN16v_cosf): Removed.
38607 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38609 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38610 Don't include <sysdep.h> nor <init-arch.h>.
38611 (_ZGVbN4v_cosf): Removed.
38612 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38614 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38615 Don't include <sysdep.h> nor <init-arch.h>.
38616 (_ZGVdN8v_cosf): Removed.
38617 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38619 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38620 Don't include <sysdep.h> nor <init-arch.h>.
38621 (_ZGVeN16v_expf): Removed.
38622 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38624 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38625 Don't include <sysdep.h> nor <init-arch.h>.
38626 (_ZGVbN4v_expf): Removed.
38627 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38629 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38630 Don't include <sysdep.h> nor <init-arch.h>.
38631 (_ZGVdN8v_expf): Removed.
38632 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38634 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38635 Don't include <sysdep.h> nor <init-arch.h>.
38636 (_ZGVeN16v_logf): Removed.
38637 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38639 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38640 Don't include <sysdep.h> nor <init-arch.h>.
38641 (_ZGVbN4v_logf): Removed.
38642 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38644 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38645 Don't include <sysdep.h> nor <init-arch.h>.
38646 (_ZGVdN8v_logf): Removed.
38647 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38649 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38650 Don't include <sysdep.h> nor <init-arch.h>.
38651 (_ZGVeN16vv_powf): Removed.
38652 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38654 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38655 Don't include <sysdep.h> nor <init-arch.h>.
38656 (_ZGVbN4vv_powf): Removed.
38657 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38659 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38660 Don't include <sysdep.h> nor <init-arch.h>.
38661 (_ZGVdN8vv_powf): Removed.
38662 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38664 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38665 Don't include <sysdep.h> nor <init-arch.h>.
38666 (_ZGVeN16vvv_sincosf): Removed.
38667 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38669 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38670 Don't include <sysdep.h> nor <init-arch.h>.
38671 (_ZGVbN4vvv_sincosf): Removed.
38672 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38674 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38675 Don't include <sysdep.h> nor <init-arch.h>.
38676 (_ZGVdN8vvv_sincosf): Removed.
38677 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38679 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38680 Don't include <sysdep.h> nor <init-arch.h>.
38681 (_ZGVeN16v_sinf): Removed.
38682 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38684 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38685 Don't include <sysdep.h> nor <init-arch.h>.
38686 (_ZGVbN4v_sinf): Removed.
38687 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38689 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38690 Don't include <sysdep.h> nor <init-arch.h>.
38691 (_ZGVdN8v_sinf): Removed.
38693 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38695 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38696 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38697 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38698 s_rint-sse4_1 and s_rintf-sse4_1.
38699 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38700 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38701 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38702 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38703 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38704 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38705 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38706 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38707 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38708 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38709 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38710 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38712 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38713 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38714 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38715 (__ceilf): Removed.
38716 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38717 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38718 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38719 (__floor): Removed.
38720 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38721 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38722 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38723 (__floorf): Removed.
38724 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38725 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38726 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38727 (__nearbyint): Removed.
38728 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38729 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38730 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38731 (__nearbyintf): Removed.
38732 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38733 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38734 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38736 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38737 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38738 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38739 (__rintf): Removed.
38741 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38743 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38744 SHARED. Avoid dynamic relocation against main in static PIE.
38746 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38749 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38750 (LDFLAGS-tst-prelink): Likewise.
38752 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38754 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38755 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38756 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38757 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38758 (INTERNAL_SYSCALL_NCS): Likewise.
38759 (LOADARGS_1): Likewise.
38760 (LOADARGS_5): Likewise.
38761 (RESTOREARGS_1): Likewise.
38762 (RESTOREARGS_5): Likewise.
38764 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38766 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38767 (MEMPCPY_SYMBOL): Likewise.
38768 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38769 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38770 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38772 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38773 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38775 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38776 (__hidden_ver1): Don't use in libc.a.
38777 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38778 (__mempcpy): Don't create a weak alias in libc.a.
38779 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38781 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38782 (__hidden_ver1): Don't use in libc.a.
38784 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38786 * config.make.in (have-insert): New.
38787 * configure.ac (libc_cv_insert): New. Set to yes if linker
38788 supports INSERT in linker script.
38789 (AC_SUBST(libc_cv_insert): New.
38790 * configure: Regenerated.
38791 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38792 if $(have-insert) == yes.
38794 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38796 * elf/Makefile (tests): Add vismain only if
38797 $(have-protected-data) == yes.
38798 (tests-pie): Likewise.
38800 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38803 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38804 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38806 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38809 * sysdeps/i386/i586/memset.S
38810 (__memset_zero_constant_len_parameter): Removed.
38811 * sysdeps/i386/i686/memset.S
38812 (__memset_zero_constant_len_parameter): Likewise.
38813 * sysdeps/i386/i686/multiarch/memset_chk.S
38814 (__memset_zero_constant_len_parameter): Likewise.
38815 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38818 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38820 * stdlib/getentropy.c (getentropy): Change return type to int.
38822 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38824 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38826 2017-08-03 Joseph Myers <joseph@codesourcery.com>
38828 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38830 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38831 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38833 (ieee_float_shape_type): Likewise.
38834 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38835 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38836 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38837 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38838 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38839 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38840 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38841 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38842 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38844 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38845 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38846 (__ieee754_yn): Likewise.
38847 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38848 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38849 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38851 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38852 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38853 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38854 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38855 (__erfc): Likewise.
38856 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38857 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38858 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38859 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38860 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38861 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38863 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38864 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38865 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38866 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38867 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38868 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38869 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38870 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38871 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38872 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38873 (__issignaling): Likewise.
38874 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38875 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38876 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38878 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38879 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38880 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38881 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38883 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38885 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38886 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38887 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38888 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38889 (__erfcf): Likewise.
38890 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38891 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38892 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38893 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38895 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38896 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38898 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38899 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38900 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38901 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38902 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38903 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38904 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38905 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38907 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38909 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38911 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38912 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38914 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38916 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38917 (__ieee754_ynl): Likewise.
38918 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38919 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38921 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38923 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38924 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38925 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38927 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38928 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38929 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38930 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38931 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38932 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38933 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38934 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38936 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38937 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38938 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38940 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38941 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38942 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38943 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38944 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38945 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38947 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38949 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38951 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38953 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38954 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38955 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38956 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38957 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38958 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38959 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38961 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38963 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38964 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38966 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38967 (__ieee754_remainderl): Likewise.
38968 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38969 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38970 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38971 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38973 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38974 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38976 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38977 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38978 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38979 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38980 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38981 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38983 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38984 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38985 (__ieee754_y0l): Likewise.
38988 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38989 (__ieee754_y1l): Likewise.
38992 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38993 (__ieee754_ynl): Likewise.
38994 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38995 (__ieee754_lgammal_r): Likewise.
38996 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38998 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38999 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
39000 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
39001 (__erfcl): Likewise.
39002 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
39003 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
39005 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
39006 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
39007 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
39008 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
39009 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
39010 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39011 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39013 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
39014 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39015 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
39016 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
39017 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39019 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
39020 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
39022 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
39023 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
39024 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
39025 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39026 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
39028 2017-08-03 Florian Weimer <fweimer@redhat.com>
39031 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
39032 on memory allocation failure.
39034 2017-08-03 Alan Modra <amodra@gmail.com>
39036 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
39037 tst-tlsopt-powerpc.c with function name change and no test harness.
39038 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
39039 Call tls_get_addr_opt_test.
39040 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
39041 (modules-names): Add mod-tlsopt-powerpc.
39042 (mod-tlsopt-powerpc.so-no-z-defs): Define.
39043 (tst-tlsopt-powerpc): Depend on .so.
39044 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
39045 define. Expand use in TLS_GD and TLS_LD.
39047 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39049 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
39051 * sysdeps/posix/shm_open.c: Include <pthread.h>.
39053 2017-08-02 Joseph Myers <joseph@codesourcery.com>
39056 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
39057 comparing size with that of double.
39058 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
39059 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
39060 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
39061 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
39062 (__TGMATH_BINARY_REAL_IMAG): Likewise.
39063 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
39064 unsigned __int128 types.
39066 2017-08-02 Steve Ellcey <sellcey@cavium.com>
39068 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
39069 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
39070 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
39071 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
39072 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
39074 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
39076 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
39078 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
39080 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
39082 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
39083 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39084 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39085 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39086 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39087 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39088 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39090 2017-08-02 Joseph Myers <joseph@codesourcery.com>
39093 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
39094 bit-field expressions passed to sizeof or typeof.
39095 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
39096 (__TGMATH_F128): Likewise.
39097 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
39098 (__TGMATH_CF128): Likewise.
39099 (__TGMATH_UNARY_REAL_ONLY): Likewise.
39100 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
39101 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
39102 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
39103 (__TGMATH_BINARY_REAL_ONLY): Likewise.
39104 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
39105 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
39106 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
39107 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
39108 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
39109 (__TGMATH_UNARY_REAL_IMAG): Likewise.
39110 (__TGMATH_UNARY_IMAG): Likewise.
39111 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
39112 (__TGMATH_BINARY_REAL_IMAG): Likewise.
39113 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
39115 (define_vars_for_type): Handle bit_field type specially.
39116 (Tests.__init__): Declare structure with bit-field element.
39118 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
39121 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
39122 (MEMCPY_CHK): Define only if SHARED is defined.
39123 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
39125 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
39128 See ChangeLog.18 for earlier changes.